Bug 738223 - ami-a570b3cc 5.7 i386 us-east-1
Summary: ami-a570b3cc 5.7 i386 us-east-1
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Cloud Image Validation
Classification: Red Hat
Component: images
Version: RHEL5.7
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: wes hayutin
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-09-14 11:06 UTC by Kedar Bidarkar
Modified: 2011-12-16 15:35 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-16 15:35:38 UTC


Attachments (Terms of Use)

Description Kedar Bidarkar 2011-09-14 11:06:12 UTC

Comment 1 Kedar Bidarkar 2011-09-14 11:14:46 UTC
IMAGE ID= ami-a570b3cc_us-east-1_c1.medium
######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
######################################################################################
# NEW TEST: Fetching Host Details 
######################################################################################
This is not a Hourly image
/root/valid/src
ip-10-102-61-205
Red Hat Enterprise Linux Server release 5.7 (Tikanga)
######################################################################################
# NEW TEST: The selected image has the version RHEL 5.7
######################################################################################
######################################################################################
# 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-274
CURRENT_UNAME_KERNAL_VERSION=2.6.18-274
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed 's/\(.*\)......./\1/'
RESULT: 2.6.18-274 
EXPECTED RESULT: 2.6.18-274
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-274
RESULT: title RHEL5.7-Server-20110711.5-Server-i386-starter-ec2 (2.6.18-274.el5xen)
        kernel /boot/vmlinuz-2.6.18-274.el5xen ro root=LABEL=/ 
        initrd /boot/initrd-2.6.18-274.el5xen.img 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# 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
######################################################################################
# NEW TEST: ## Partition Format  ...
######################################################################################
mount | grep /dev/sda1 | awk '{ print  }'
COMMAND:  echo ext3
RESULT: ext3 
EXPECTED RESULT: ext3
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Partition Size ...
######################################################################################
size=5904748
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: true
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify turning on/off swap file ... 
######################################################################################
COMMAND:  /sbin/swapoff /dev/sda3 && /sbin/swapon /dev/sda3
swapoff: /dev/sda3: Invalid argument
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 255
FAIL2

######################################################################################
# NEW TEST: ## Verify swap size ... 
######################################################################################
free | grep Swap | awk '{print }'
COMMAND:  echo false
RESULT: false 
EXPECTED RESULT: 1
RETURN CODE: 0
FAIL2
false
######################################################################################
# NEW TEST: ## /sbin/getenforce ... 
######################################################################################
COMMAND:  /usr/sbin/getenforce
RESULT: Enforcing 
EXPECTED RESULT: Enforcing
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify SELINUX enforcing ... 
######################################################################################
COMMAND:  grep ^SELINUX= /etc/sysconfig/selinux | cut -d\= -f2
RESULT: enforcing 
EXPECTED RESULT: enforcing
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify SELINUXTYPE targeted ... 
######################################################################################
COMMAND:  grep ^SELINUXTYPE= /etc/sysconfig/selinux | cut -d\= -f2
RESULT: targeted 
EXPECTED RESULT: targeted
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Flip Selinux Permissive ... 
######################################################################################
COMMAND:  /usr/sbin/setenforce Permissive && /usr/sbin/getenforce
RESULT: Permissive 
EXPECTED RESULT: Permissive
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Flip Selinux Enforcing ... 
######################################################################################
COMMAND:  /usr/sbin/setenforce Enforcing && /usr/sbin/getenforce
RESULT: Enforcing 
EXPECTED RESULT: Enforcing
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no missing packages ... 
######################################################################################
COMMAND: /bin/rpm -qa --queryformat='%{NAME}\n' > /tmp/rpmqa.tmp
RETURN CODE: 0
COMMAND: comm -23 packages_5 /tmp/rpmqa
RETURN CODE: 0
COUNT = 0
COMMAND:  echo test passed
RESULT: test passed 
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify RPMs ... 
######################################################################################
/bin/rpm -Va --nomtime --nosize --nomd5
....L...  c /etc/pam.d/system-auth
.M......  c /etc/sysconfig/iptables-config
    S file Size differs
    M Mode differs (includes permissions and file type)
    5 MD5 sum differs
    D Device major/minor number mismatch
    L readLink(2) path mismatch
    U User ownership differs
    G Group ownership differs
    T mTime differs

COMMAND:  cat /tmp/rpmqaV.txt | wc -l
RESULT: 2 
EXPECTED RESULT: 2
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify Version 2 ... 
######################################################################################
COMMAND:  /bin/rpm -q --queryformat '%{RELEASE}\n' redhat-release | cut -d. -f1,2
RESULT: 5.7 
EXPECTED RESULT: 5.7
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify packager ... 
######################################################################################
COMMAND:  cat /tmp/Packager | grep -v 'Red Hat, Inc.' |  grep -v crash-trace-commandPackager| wc -l
RESULT: 0 
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify GPG checking ... 
######################################################################################
COMMAND:  grep '^gpgcheck=1' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | sort -f | uniq
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify GPG Keys ... 
######################################################################################
COMMAND:  rpm -qa gpg-pubkey* | wc -l 
RESULT: 2 
EXPECTED RESULT: 2
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify GPG RPMS ... 
######################################################################################
COMMAND:  rpm -qa gpg-pubkey* | sort -f | tail -n 1
RESULT: gpg-pubkey-37017186-45761324 
EXPECTED RESULT: gpg-pubkey-37017186-45761324
RETURN CODE: 0
PASS
COMMAND:  rpm -qa gpg-pubkey* |  grep 2fa6
RESULT: gpg-pubkey-2fa658e0-45700c69 
EXPECTED RESULT: gpg-pubkey-2fa658e0-45700c69
RETURN CODE: 0
PASS
######################################################################################
# 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: ## List the configured repositories...
######################################################################################
COMMAND:  /usr/bin/yum repolist
RESULT: Loaded plugins: amazon-id, fastestmirror, security
Loading mirror speeds from cached hostfile
repo id                       repo name                                   status
rhui-us-east-rhel-server-1y   Red Hat Enterprise Linux Server 5 (RPMs)    9,179
repolist: 9,179 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Search zsh...
######################################################################################
COMMAND:  /usr/bin/yum search zsh
RESULT: Loaded plugins: amazon-id, fastestmirror, security
Loading mirror speeds from cached hostfile
================================= Matched: zsh =================================
zsh.i386 : A powerful interactive shell
zsh-html.i386 : Zsh shell manual in html format 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## install zsh ... 
######################################################################################
COMMAND: /usr/bin/yum -y install zsh
RETURN CODE: 0
COMMAND:  /bin/rpm -q --queryformat '%{NAME}\n' zsh
RESULT: zsh 
EXPECTED RESULT: zsh
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## List available groups..
######################################################################################
COMMAND:  /usr/bin/yum grouplist
RESULT: Loaded plugins: amazon-id, fastestmirror, security
Setting up Group Process
Loading mirror speeds from cached hostfile
Installed Groups:
   Editors
   FTP Server
   Legacy Network Server
   Legacy Software Development
   Legacy Software Support
   Mail Server
   MySQL Database
   PostgreSQL Database
   Server Configuration Tools
   System Tools
   Text-based Internet
   Web Server
Available Groups:
   Administration Tools
   Authoring and Publishing
   DNS Name Server
   Development Libraries
   Development Tools
   Engineering and Scientific
   GNOME Desktop Environment
   GNOME Software Development
   Games and Entertainment
   Graphical Internet
   Graphics
   Java Development
   KDE (K Desktop Environment)
   KDE Software Development
   Network Servers
   News Server
   Office/Productivity
   OpenFabrics Enterprise Distribution
   Printing Support
   Sound and Video
   Windows File Server
   X Software Development
   X Window System
Done 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Install Development tools group...
######################################################################################
COMMAND:  /usr/bin/yum -y groupinstall 'Development tools'
RESULT: Loaded plugins: amazon-id, fastestmirror, security
Loading mirror speeds from cached hostfile
Setting up Group Process
Loading mirror speeds from cached hostfile
Package gcc-4.1.2-51.el5.i386 already installed and latest version
Package 1:make-3.81-3.el5.i386 already installed and latest version
Package 1:pkgconfig-0.21-2.el5.i386 already installed and latest version
Package gettext-0.17-1.el5.i386 already installed and latest version
Package binutils-2.17.50.0.6-14.el5.i386 already installed and latest version
Package subversion-1.6.11-7.el5_6.4.i386 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.59-12 set to be updated
--> Processing Dependency: imake for package: autoconf
---> Package automake.noarch 0:1.9.6-2.3.el5 set to be updated
---> Package automake14.noarch 0:1.4p6-13.el5.1 set to be updated
---> Package automake15.noarch 0:1.5-16.el5.2 set to be updated
---> Package automake16.noarch 0:1.6.3-8.el5.1 set to be updated
---> Package automake17.noarch 0:1.7.9-7.el5.2 set to be updated
---> Package bison.i386 0:2.3-2.1 set to be updated
---> Package byacc.i386 0:1.9-29.2.2 set to be updated
---> Package cscope.i386 0:15.5-15.1.el5_3.1 set to be updated
---> Package ctags.i386 0:5.6-1.1 set to be updated
---> Package cvs.i386 0:1.11.22-7.el5 set to be updated
---> Package dev86.i386 0:0.16.17-2.2 set to be updated
---> Package diffstat.i386 0:1.41-1.2.3.el5 set to be updated
---> Package dogtail.noarch 0:0.6.1-4.el5 set to be updated
--> Processing Dependency: pyspi >= 0.6.0 for package: dogtail
--> Processing Dependency: gnome-python2-gconf for package: dogtail
--> Processing Dependency: xorg-x11-xinit for package: dogtail
--> Processing Dependency: xorg-x11-server-Xvfb for package: dogtail
---> Package doxygen.i386 1:1.4.7-1.1 set to be updated
---> Package elfutils.i386 0:0.137-3.el5 set to be updated
--> Processing Dependency: elfutils-libs-i386 = 0.137-3.el5 for package: elfutils
--> Processing Dependency: libasm.so.1 for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.130) for package: elfutils
--> Processing Dependency: libdw.so.1 for package: elfutils
--> Processing Dependency: libasm.so.1(ELFUTILS_1.0) for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.126) for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.127) for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.122) for package: elfutils
---> Package flex.i386 0:2.5.4a-41.fc6 set to be updated
---> Package gcc-c++.i386 0:4.1.2-51.el5 set to be updated
--> Processing Dependency: libstdc++-devel = 4.1.2-51.el5 for package: gcc-c++
---> Package gcc-gfortran.i386 0:4.1.2-51.el5 set to be updated
--> Processing Dependency: libgfortran = 4.1.2-51.el5 for package: gcc-gfortran
--> Processing Dependency: libgfortran.so.1 for package: gcc-gfortran
---> Package gdb.i386 0:7.0.1-37.el5_7.1 set to be updated
---> Package indent.i386 0:2.2.9-14.fc6 set to be updated
---> Package libtool.i386 0:1.5.22-7.el5_4 set to be updated
---> Package ltrace.i386 0:0.5-13.45svn.el5 set to be updated
---> Package oprofile.i386 0:0.9.4-15.el5 set to be updated
---> Package patchutils.i386 0:0.2.31-2.2.2 set to be updated
---> Package pstack.i386 0:1.2-7.2.2 set to be updated
---> Package python-ldap.i386 0:2.2.0-2.1 set to be updated
---> Package rcs.i386 0:5.7-30.1 set to be updated
---> Package redhat-rpm-config.noarch 0:8.0.45-32.el5 set to be updated
---> Package rpm-build.i386 0:4.4.2.3-22.el5 set to be updated
---> Package splint.i386 0:3.1.1-16.el5 set to be updated
---> Package strace.i386 0:4.5.18-5.el5_5.5 set to be updated
---> Package swig.i386 0:1.3.29-2.el5 set to be updated
---> Package systemtap.i386 0:1.3-9.el5 set to be updated
--> Processing Dependency: systemtap-runtime = 1.3-9.el5 for package: systemtap
--> Processing Dependency: libavahi-client.so.3 for package: systemtap
--> Processing Dependency: libavahi-common.so.3 for package: systemtap
---> Package texinfo.i386 0:4.8-14.el5 set to be updated
---> Package valgrind.i386 1:3.5.0-5.el5 set to be updated
--> Running transaction check
---> Package avahi.i386 0:0.6.16-10.el5_6 set to be updated
--> Processing Dependency: libdaemon.so.0 for package: avahi
--> Processing Dependency: libdaemon for package: avahi
---> Package elfutils-libs.i386 0:0.137-3.el5 set to be updated
---> Package gnome-python2-gconf.i386 0:2.16.0-1.fc6 set to be updated
--> Processing Dependency: gnome-python2 = 2.16.0-1.fc6 for package: gnome-python2-gconf
--> Processing Dependency: GConf2 >= 1.1.10 for package: gnome-python2-gconf
--> Processing Dependency: libgconf-2.so.4 for package: gnome-python2-gconf
--> Processing Dependency: libORBit-2.so.0 for package: gnome-python2-gconf
---> Package imake.i386 0:1.0.2-3 set to be updated
---> Package libgfortran.i386 0:4.1.2-51.el5 set to be updated
---> Package libstdc++-devel.i386 0:4.1.2-51.el5 set to be updated
---> Package pyspi.i386 0:0.6.1-1.el5 set to be updated
--> Processing Dependency: libbonobo-2.so.0 for package: pyspi
--> Processing Dependency: libcspi.so.0 for package: pyspi
--> Processing Dependency: libspi.so.0 for package: pyspi
--> Processing Dependency: libbonobo-activation.so.4 for package: pyspi
---> Package systemtap-runtime.i386 0:1.3-9.el5 set to be updated
---> Package xorg-x11-server-Xvfb.i386 0:1.1.1-48.76.el5_6.4 set to be updated
--> Processing Dependency: xorg-x11-fonts-base for package: xorg-x11-server-Xvfb
---> Package xorg-x11-xinit.i386 0:1.0.2-15.el5 set to be updated
--> Processing Dependency: xauth for package: xorg-x11-xinit
--> Processing Dependency: xorg-x11-server-utils for package: xorg-x11-xinit
--> Running transaction check
---> Package GConf2.i386 0:2.14.0-9.el5 set to be updated
---> Package ORBit2.i386 0:2.14.3-5.el5 set to be updated
--> Processing Dependency: libIDL-2.so.0 for package: ORBit2
---> Package at-spi.i386 0:1.7.11-3.el5 set to be updated
--> Processing Dependency: gail >= 1.5.0 for package: at-spi
--> Processing Dependency: libgnomecanvas-2.so.0 for package: at-spi
--> Processing Dependency: libgailutil.so.18 for package: at-spi
--> Processing Dependency: libXevie.so.1 for package: at-spi
---> Package gnome-python2.i386 0:2.16.0-1.fc6 set to be updated
--> Processing Dependency: libbonoboui-2.so.0 for package: gnome-python2
--> Processing Dependency: libgnome-keyring.so.0 for package: gnome-python2
--> Processing Dependency: gnome-python2-gnomevfs for package: gnome-python2
--> Processing Dependency: libgnome-2.so.0 for package: gnome-python2
--> Processing Dependency: libgnomeui-2.so.0 for package: gnome-python2
--> Processing Dependency: libgnomevfs-2.so.0 for package: gnome-python2
--> Processing Dependency: gnome-python2-bonobo for package: gnome-python2
---> Package libbonobo.i386 0:2.16.0-1.1.el5_5.1 set to be updated
---> Package libdaemon.i386 0:0.10-5.el5 set to be updated
---> Package xorg-x11-fonts-base.noarch 0:7.1-2.1.el5 set to be updated
---> Package xorg-x11-server-utils.i386 0:7.1-5.el5_6.2 set to be updated
--> Processing Dependency: libXxf86misc.so.1 for package: xorg-x11-server-utils
--> Processing Dependency: libXxf86vm.so.1 for package: xorg-x11-server-utils
--> Processing Dependency: libXTrap.so.6 for package: xorg-x11-server-utils
--> Processing Dependency: libXfontcache.so.1 for package: xorg-x11-server-utils
---> Package xorg-x11-xauth.i386 1:1.0.1-2.1 set to be updated
--> Running transaction check
---> Package gail.i386 0:1.9.2-3.el5 set to be updated
---> Package gnome-keyring.i386 0:0.6.0-1.fc6 set to be updated
---> Package gnome-python2-bonobo.i386 0:2.16.0-1.fc6 set to be updated
--> Processing Dependency: pyorbit >= 2.0.l for package: gnome-python2-bonobo
---> Package gnome-python2-gnomevfs.i386 0:2.16.0-1.fc6 set to be updated
---> Package gnome-vfs2.i386 0:2.16.2-8.el5 set to be updated
--> Processing Dependency: gnome-mime-data >= 2.0.0-11 for package: gnome-vfs2
--> Processing Dependency: gnome-mount >= 0.4 for package: gnome-vfs2
--> Processing Dependency: libavahi-glib.so.1 for package: gnome-vfs2
--> Processing Dependency: shared-mime-info for package: gnome-vfs2
---> Package libIDL.i386 0:0.8.7-1.fc6 set to be updated
---> Package libXTrap.i386 0:1.0.0-3.1 set to be updated
---> Package libXevie.i386 0:1.0.1-3.1 set to be updated
---> Package libXfontcache.i386 0:1.0.2-3.1 set to be updated
---> Package libXxf86misc.i386 0:1.0.1-3.1 set to be updated
---> Package libXxf86vm.i386 0:1.0.1-3.1 set to be updated
---> Package libbonoboui.i386 0:2.16.0-1.fc6 set to be updated
---> Package libgnome.i386 0:2.16.0-6.el5 set to be updated
--> Processing Dependency: libxslt >= 1.0.19 for package: libgnome
--> Processing Dependency: libaudiofile.so.0 for package: libgnome
--> Processing Dependency: libesd.so.0 for package: libgnome
---> Package libgnomecanvas.i386 0:2.14.0-4.1 set to be updated
---> Package libgnomeui.i386 0:2.16.0-5.el5 set to be updated
--> Running transaction check
---> Package audiofile.i386 1:0.2.6-5 set to be updated
---> Package avahi-glib.i386 0:0.6.16-10.el5_6 set to be updated
---> Package esound.i386 1:0.2.36-3 set to be updated
---> Package gnome-mime-data.i386 0:2.4.2-3.1 set to be updated
---> Package gnome-mount.i386 0:0.5-3.el5 set to be updated
--> Processing Dependency: libnotify.so.1 for package: gnome-mount
---> Package libxslt.i386 0:1.1.17-2.el5_2.2 set to be updated
---> Package pyorbit.i386 0:2.14.1-3.el5 set to be updated
---> Package shared-mime-info.i386 0:0.19-5.el5 set to be updated
--> Running transaction check
---> Package libnotify.i386 0:0.4.2-6.el5 set to be updated
--> Processing Dependency: desktop-notification-daemon for package: libnotify
--> Running transaction check
---> Package notification-daemon.i386 0:0.3.5-9.el5 set to be updated
--> Processing Dependency: libwnck-1.so.18 for package: notification-daemon
--> Running transaction check
---> Package libwnck.i386 0:2.16.0-4.fc6 set to be updated
--> Processing Dependency: startup-notification >= 0.5 for package: libwnck
--> Processing Dependency: libstartup-notification-1.so.0 for package: libwnck
--> Processing Dependency: libXRes.so.1 for package: libwnck
--> Running transaction check
---> Package libXres.i386 0:1.0.1-3.1 set to be updated
---> Package startup-notification.i386 0:0.8-4.1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package              Arch   Version          Repository                   Size
================================================================================
Installing:
 autoconf             noarch 2.59-12          rhui-us-east-rhel-server-1y 646 k
 automake             noarch 1.9.6-2.3.el5    rhui-us-east-rhel-server-1y 476 k

Comment 2 Kedar Bidarkar 2011-09-14 11:14:49 UTC
 automake14           noarch 1.4p6-13.el5.1   rhui-us-east-rhel-server-1y 200 k
 automake15           noarch 1.5-16.el5.2     rhui-us-east-rhel-server-1y 230 k
 automake16           noarch 1.6.3-8.el5.1    rhui-us-east-rhel-server-1y 241 k
 automake17           noarch 1.7.9-7.el5.2    rhui-us-east-rhel-server-1y 278 k
 bison                i386   2.3-2.1          rhui-us-east-rhel-server-1y 536 k
 byacc                i386   1.9-29.2.2       rhui-us-east-rhel-server-1y  38 k
 cscope               i386   15.5-15.1.el5_3.1
                                              rhui-us-east-rhel-server-1y 136 k
 ctags                i386   5.6-1.1          rhui-us-east-rhel-server-1y 127 k
 cvs                  i386   1.11.22-7.el5    rhui-us-east-rhel-server-1y 725 k
 dev86                i386   0.16.17-2.2      rhui-us-east-rhel-server-1y 372 k
 diffstat             i386   1.41-1.2.3.el5   rhui-us-east-rhel-server-1y  18 k
 dogtail              noarch 0.6.1-4.el5      rhui-us-east-rhel-server-1y 172 k
 doxygen              i386   1:1.4.7-1.1      rhui-us-east-rhel-server-1y 2.3 M
 elfutils             i386   0.137-3.el5      rhui-us-east-rhel-server-1y 228 k
 flex                 i386   2.5.4a-41.fc6    rhui-us-east-rhel-server-1y 124 k
 gcc-c++              i386   4.1.2-51.el5     rhui-us-east-rhel-server-1y 3.4 M
 gcc-gfortran         i386   4.1.2-51.el5     rhui-us-east-rhel-server-1y 3.1 M
 gdb                  i386   7.0.1-37.el5_7.1 rhui-us-east-rhel-server-1y 2.4 M
 indent               i386   2.2.9-14.fc6     rhui-us-east-rhel-server-1y  93 k
 libtool              i386   1.5.22-7.el5_4   rhui-us-east-rhel-server-1y 667 k
 ltrace               i386   0.5-13.45svn.el5 rhui-us-east-rhel-server-1y  61 k
 oprofile             i386   0.9.4-15.el5     rhui-us-east-rhel-server-1y 2.7 M
 patchutils           i386   0.2.31-2.2.2     rhui-us-east-rhel-server-1y 109 k
 pstack               i386   1.2-7.2.2        rhui-us-east-rhel-server-1y 4.6 k
 python-ldap          i386   2.2.0-2.1        rhui-us-east-rhel-server-1y 122 k
 rcs                  i386   5.7-30.1         rhui-us-east-rhel-server-1y 332 k
 redhat-rpm-config    noarch 8.0.45-32.el5    rhui-us-east-rhel-server-1y  54 k
 rpm-build            i386   4.4.2.3-22.el5   rhui-us-east-rhel-server-1y 302 k
 splint               i386   3.1.1-16.el5     rhui-us-east-rhel-server-1y 1.5 M
 strace               i386   4.5.18-5.el5_5.5 rhui-us-east-rhel-server-1y 172 k
 swig                 i386   1.3.29-2.el5     rhui-us-east-rhel-server-1y 2.9 M
 systemtap            i386   1.3-9.el5        rhui-us-east-rhel-server-1y 2.5 M
 texinfo              i386   4.8-14.el5       rhui-us-east-rhel-server-1y 753 k
 valgrind             i386   1:3.5.0-5.el5    rhui-us-east-rhel-server-1y  20 M
Installing for dependencies:
 GConf2               i386   2.14.0-9.el5     rhui-us-east-rhel-server-1y 1.5 M
 ORBit2               i386   2.14.3-5.el5     rhui-us-east-rhel-server-1y 253 k
 at-spi               i386   1.7.11-3.el5     rhui-us-east-rhel-server-1y 290 k
 audiofile            i386   1:0.2.6-5        rhui-us-east-rhel-server-1y 107 k
 avahi                i386   0.6.16-10.el5_6  rhui-us-east-rhel-server-1y 251 k
 avahi-glib           i386   0.6.16-10.el5_6  rhui-us-east-rhel-server-1y  15 k
 elfutils-libs        i386   0.137-3.el5      rhui-us-east-rhel-server-1y 193 k
 esound               i386   1:0.2.36-3       rhui-us-east-rhel-server-1y 130 k
 gail                 i386   1.9.2-3.el5      rhui-us-east-rhel-server-1y 350 k
 gnome-keyring        i386   0.6.0-1.fc6      rhui-us-east-rhel-server-1y 170 k
 gnome-mime-data      i386   2.4.2-3.1        rhui-us-east-rhel-server-1y 691 k
 gnome-mount          i386   0.5-3.el5        rhui-us-east-rhel-server-1y  70 k
 gnome-python2        i386   2.16.0-1.fc6     rhui-us-east-rhel-server-1y 126 k
 gnome-python2-bonobo i386   2.16.0-1.fc6     rhui-us-east-rhel-server-1y  64 k
 gnome-python2-gconf  i386   2.16.0-1.fc6     rhui-us-east-rhel-server-1y  32 k
 gnome-python2-gnomevfs
                      i386   2.16.0-1.fc6     rhui-us-east-rhel-server-1y  65 k
 gnome-vfs2           i386   2.16.2-8.el5     rhui-us-east-rhel-server-1y 1.2 M
 imake                i386   1.0.2-3          rhui-us-east-rhel-server-1y 318 k
 libIDL               i386   0.8.7-1.fc6      rhui-us-east-rhel-server-1y  85 k
 libXTrap             i386   1.0.0-3.1        rhui-us-east-rhel-server-1y  23 k
 libXevie             i386   1.0.1-3.1        rhui-us-east-rhel-server-1y  14 k
 libXfontcache        i386   1.0.2-3.1        rhui-us-east-rhel-server-1y 9.7 k
 libXres              i386   1.0.1-3.1        rhui-us-east-rhel-server-1y  14 k
 libXxf86misc         i386   1.0.1-3.1        rhui-us-east-rhel-server-1y  12 k
 libXxf86vm           i386   1.0.1-3.1        rhui-us-east-rhel-server-1y  14 k
 libbonobo            i386   2.16.0-1.1.el5_5.1
                                              rhui-us-east-rhel-server-1y 502 k
 libbonoboui          i386   2.16.0-1.fc6     rhui-us-east-rhel-server-1y 390 k
 libdaemon            i386   0.10-5.el5       rhui-us-east-rhel-server-1y  24 k
 libgfortran          i386   4.1.2-51.el5     rhui-us-east-rhel-server-1y 232 k
 libgnome             i386   2.16.0-6.el5     rhui-us-east-rhel-server-1y 859 k
 libgnomecanvas       i386   2.14.0-4.1       rhui-us-east-rhel-server-1y 222 k
 libgnomeui           i386   2.16.0-5.el5     rhui-us-east-rhel-server-1y 977 k
 libnotify            i386   0.4.2-6.el5      rhui-us-east-rhel-server-1y  37 k
 libstdc++-devel      i386   4.1.2-51.el5     rhui-us-east-rhel-server-1y 2.8 M
 libwnck              i386   2.16.0-4.fc6     rhui-us-east-rhel-server-1y 185 k
 libxslt              i386   1.1.17-2.el5_2.2 rhui-us-east-rhel-server-1y 485 k
 notification-daemon  i386   0.3.5-9.el5      rhui-us-east-rhel-server-1y  47 k
 pyorbit              i386   2.14.1-3.el5     rhui-us-east-rhel-server-1y  48 k
 pyspi                i386   0.6.1-1.el5      rhui-us-east-rhel-server-1y  79 k
 shared-mime-info     i386   0.19-5.el5       rhui-us-east-rhel-server-1y 148 k
 startup-notification i386   0.8-4.1          rhui-us-east-rhel-server-1y  32 k
 systemtap-runtime    i386   1.3-9.el5        rhui-us-east-rhel-server-1y  93 k
 xorg-x11-fonts-base  noarch 7.1-2.1.el5      rhui-us-east-rhel-server-1y 3.7 M
 xorg-x11-server-Xvfb i386   1.1.1-48.76.el5_6.4
                                              rhui-us-east-rhel-server-1y 1.6 M
 xorg-x11-server-utils
                      i386   7.1-5.el5_6.2    rhui-us-east-rhel-server-1y 164 k
 xorg-x11-xauth       i386   1:1.0.1-2.1      rhui-us-east-rhel-server-1y  31 k
 xorg-x11-xinit       i386   1.0.2-15.el5     rhui-us-east-rhel-server-1y  26 k

Transaction Summary
================================================================================
Install      83 Package(s)
Upgrade       0 Package(s)

Total download size: 66 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           2.7 MB/s |  66 MB     00:24     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction

  Installing     : libgnomecanvas                                          1/83 

  Installing     : gnome-keyring                                           2/83 

  Installing     : libIDL                                                  3/83 

  Installing     : ORBit2                                                  4/83 

  Installing     : GConf2                                                  5/83 

  Installing     : libbonobo                                               6/83 

  Installing     : audiofile                                               7/83 

  Installing     : esound                                                  8/83 

  Installing     : pyorbit                                                 9/83 

  Installing     : gail                                                   10/83 

  Installing     : libgfortran                                            11/83 

  Installing     : libXTrap                                               12/83 

  Installing     : startup-notification                                   13/83 

  Installing     : libXxf86misc                                           14/83 

  Installing     : elfutils-libs                                          15/83 

  Installing     : elfutils                                               16/83 

  Installing     : libXfontcache                                          17/83 

  Installing     : libxslt                                                18/83 

  Installing     : xorg-x11-xauth                                         19/83 

  Installing     : libdaemon                                              20/83 

  Installing     : avahi                                                  21/83 

  Installing     : avahi-glib                                             22/83 

  Installing     : libXres                                                23/83 

  Installing     : libwnck                                                24/83 

  Installing     : notification-daemon                                    25/83 

  Installing     : libnotify                                              26/83 

  Installing     : imake                                                  27/83 

  Installing     : libXxf86vm                                             28/83 

  Installing     : xorg-x11-server-utils                                  29/83 

  Installing     : xorg-x11-xinit                                         30/83 

  Installing     : gdb                                                    31/83 

  Installing     : libXevie                                               32/83 

  Installing     : at-spi                                                 33/83 

  Installing     : pyspi                                                  34/83 

  Installing     : shared-mime-info                                       35/83 

  Installing     : rpm-build                                              36/83 

  Installing     : gcc-gfortran                                           37/83 

  Installing     : oprofile                                               38/83 

  Installing     : indent                                                 39/83 

  Installing     : texinfo                                                40/83 

  Installing     : splint                                                 41/83 

  Installing     : cvs                                                    42/83 

  Installing     : cscope                                                 43/83 

  Installing     : ltrace                                                 44/83 

  Installing     : doxygen                                                45/83 

  Installing     : strace                                                 46/83 

  Installing     : flex                                                   47/83 

  Installing     : python-ldap                                            48/83 

  Installing     : valgrind                                               49/83 

  Installing     : swig                                                   50/83 

  Installing     : dev86                                                  51/83 

  Installing     : bison                                                  52/83 

  Installing     : diffstat                                               53/83 

  Installing     : byacc                                                  54/83 

  Installing     : patchutils                                             55/83 

  Installing     : rcs                                                    56/83 

  Installing     : ctags                                                  57/83 

  Installing     : autoconf                                               58/83 

  Installing     : automake                                               59/83 

  Installing     : xorg-x11-fonts-base                                    60/83 

  Installing     : systemtap-runtime                                      61/83 

  Installing     : libstdc++-devel                                        62/83 

  Installing     : gnome-mime-data                                        63/83 

  Installing     : systemtap                                              64/83 

  Installing     : libtool                                                65/83 

  Installing     : automake17                                             66/83 

  Installing     : pstack                                                 67/83 

  Installing     : automake14                                             68/83 

  Installing     : automake15                                             69/83 

  Installing     : redhat-rpm-config                                      70/83 

  Installing     : automake16                                             71/83 

  Installing     : xorg-x11-server-Xvfb                                   72/83 

  Installing     : gcc-c++                                                73/83 

  Installing     : gnome-vfs2                                             74/83 

  Installing     : libgnome                                               75/83 

  Installing     : libbonoboui                                            76/83 

  Installing     : libgnomeui                                             77/83 

  Installing     : gnome-mount                                            78/83 

  Installing     : gnome-python2-bonobo                                   79/83 

  Installing     : gnome-python2                                          80/83 

  Installing     : gnome-python2-gconf                                    81/83 

  Installing     : dogtail                                                82/83 

  Installing     : gnome-python2-gnomevfs                                 83/83 

Installed:
  autoconf.noarch 0:2.59-12                  automake.noarch 0:1.9.6-2.3.el5    
  automake14.noarch 0:1.4p6-13.el5.1         automake15.noarch 0:1.5-16.el5.2   
  automake16.noarch 0:1.6.3-8.el5.1          automake17.noarch 0:1.7.9-7.el5.2  
  bison.i386 0:2.3-2.1                       byacc.i386 0:1.9-29.2.2            
  cscope.i386 0:15.5-15.1.el5_3.1            ctags.i386 0:5.6-1.1               
  cvs.i386 0:1.11.22-7.el5                   dev86.i386 0:0.16.17-2.2           
  diffstat.i386 0:1.41-1.2.3.el5             dogtail.noarch 0:0.6.1-4.el5       
  doxygen.i386 1:1.4.7-1.1                   elfutils.i386 0:0.137-3.el5        
  flex.i386 0:2.5.4a-41.fc6                  gcc-c++.i386 0:4.1.2-51.el5        
  gcc-gfortran.i386 0:4.1.2-51.el5           gdb.i386 0:7.0.1-37.el5_7.1        
  indent.i386 0:2.2.9-14.fc6                 libtool.i386 0:1.5.22-7.el5_4      
  ltrace.i386 0:0.5-13.45svn.el5             oprofile.i386 0:0.9.4-15.el5       
  patchutils.i386 0:0.2.31-2.2.2             pstack.i386 0:1.2-7.2.2            
  python-ldap.i386 0:2.2.0-2.1               rcs.i386 0:5.7-30.1                
  redhat-rpm-config.noarch 0:8.0.45-32.el5   rpm-build.i386 0:4.4.2.3-22.el5    
  splint.i386 0:3.1.1-16.el5                 strace.i386 0:4.5.18-5.el5_5.5     
  swig.i386 0:1.3.29-2.el5                   systemtap.i386 0:1.3-9.el5         
  texinfo.i386 0:4.8-14.el5                  valgrind.i386 1:3.5.0-5.el5        

Dependency Installed:
  GConf2.i386 0:2.14.0-9.el5                                                    
  ORBit2.i386 0:2.14.3-5.el5                                                    
  at-spi.i386 0:1.7.11-3.el5                                                    
  audiofile.i386 1:0.2.6-5                                                      
  avahi.i386 0:0.6.16-10.el5_6                                                  
  avahi-glib.i386 0:0.6.16-10.el5_6                                             
  elfutils-libs.i386 0:0.137-3.el5                                              
  esound.i386 1:0.2.36-3                                                        
  gail.i386 0:1.9.2-3.el5                                                       
  gnome-keyring.i386 0:0.6.0-1.fc6                                              
  gnome-mime-data.i386 0:2.4.2-3.1                                              
  gnome-mount.i386 0:0.5-3.el5                                                  
  gnome-python2.i386 0:2.16.0-1.fc6                                             
  gnome-python2-bonobo.i386 0:2.16.0-1.fc6                                      
  gnome-python2-gconf.i386 0:2.16.0-1.fc6                                       
  gnome-python2-gnomevfs.i386 0:2.16.0-1.fc6                                    
  gnome-vfs2.i386 0:2.16.2-8.el5                                                
  imake.i386 0:1.0.2-3                                                          
  libIDL.i386 0:0.8.7-1.fc6                                                     
  libXTrap.i386 0:1.0.0-3.1                                                     
  libXevie.i386 0:1.0.1-3.1                                                     
  libXfontcache.i386 0:1.0.2-3.1                                                
  libXres.i386 0:1.0.1-3.1                                                      
  libXxf86misc.i386 0:1.0.1-3.1                                                 
  libXxf86vm.i386 0:1.0.1-3.1                                                   
  libbonobo.i386 0:2.16.0-1.1.el5_5.1                                           
  libbonoboui.i386 0:2.16.0-1.fc6                                               
  libdaemon.i386 0:0.10-5.el5                                                   
  libgfortran.i386 0:4.1.2-51.el5                                               
  libgnome.i386 0:2.16.0-6.el5                                                  
  libgnomecanvas.i386 0:2.14.0-4.1                                              
  libgnomeui.i386 0:2.16.0-5.el5                                                
  libnotify.i386 0:0.4.2-6.el5                                                  
  libstdc++-devel.i386 0:4.1.2-51.el5                                           
  libwnck.i386 0:2.16.0-4.fc6                                                   
  libxslt.i386 0:1.1.17-2.el5_2.2                                               
  notification-daemon.i386 0:0.3.5-9.el5                                        
  pyorbit.i386 0:2.14.1-3.el5                                                   
  pyspi.i386 0:0.6.1-1.el5                                                      
  shared-mime-info.i386 0:0.19-5.el5                                            
  startup-notification.i386 0:0.8-4.1                                           
  systemtap-runtime.i386 0:1.3-9.el5                                            
  xorg-x11-fonts-base.noarch 0:7.1-2.1.el5                                      
  xorg-x11-server-Xvfb.i386 0:1.1.1-48.76.el5_6.4                               
  xorg-x11-server-utils.i386 0:7.1-5.el5_6.2                                    
  xorg-x11-xauth.i386 1:1.0.1-2.1                                               
  xorg-x11-xinit.i386 0:1.0.2-15.el5                                            

Complete! 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
RESULT: Loaded plugins: amazon-id, fastestmirror, security
Loading mirror speeds from cached hostfile
Skipping security plugin, no data
Setting up Update Process
Resolving Dependencies
Skipping security plugin, no data
--> Running transaction check
---> Package curl.i386 0:7.15.5-9.el5_7.4 set to be updated
---> Package dbus.i386 0:1.1.2-16.el5_7 set to be updated
---> Package dbus-libs.i386 0:1.1.2-16.el5_7 set to be updated
---> Package device-mapper-multipath.i386 0:0.4.7-46.el5_7.1 set to be updated
---> Package dhclient.i386 12:3.0.5-29.el5_7.1 set to be updated
---> Package gdbm.i386 0:1.8.0-26.2.1.el5_6.1 set to be updated
---> Package httpd.i386 0:2.2.3-53.el5_7.1 set to be updated
---> Package kernel-headers.i386 0:2.6.18-274.3.1.el5 set to be updated
---> Package kernel-xen.i686 0:2.6.18-274.3.1.el5 set to be installed
---> Package kernel-xen-devel.i686 0:2.6.18-274.3.1.el5 set to be installed
---> Package kpartx.i386 0:0.4.7-46.el5_7.1 set to be updated
---> Package libXfont.i386 0:1.2.2-1.0.4.el5_7 set to be updated
---> Package libpng.i386 2:1.2.10-7.1.el5_7.5 set to be updated
---> Package libsmbclient.i386 0:3.0.33-3.29.el5_7.4 set to be updated
---> Package lvm2.i386 0:2.02.84-6.el5_7.1 set to be updated
---> Package mod_ssl.i386 1:2.2.3-53.el5_7.1 set to be updated
---> Package net-snmp.i386 1:5.3.2.2-14.el5_7.1 set to be updated
---> Package net-snmp-libs.i386 1:5.3.2.2-14.el5_7.1 set to be updated
---> Package nspr.i386 0:4.8.8-1.el5_7 set to be updated
---> Package nss.i386 0:3.12.10-4.el5_7 set to be updated
---> Package nss-tools.i386 0:3.12.10-4.el5_7 set to be updated
---> Package openssh.i386 0:4.3p2-72.el5_7.5 set to be updated
---> Package openssh-clients.i386 0:4.3p2-72.el5_7.5 set to be updated
---> Package openssh-server.i386 0:4.3p2-72.el5_7.5 set to be updated
---> Package rsync.i386 0:3.0.6-4.el5_7.1 set to be updated
---> Package samba-client.i386 0:3.0.33-3.29.el5_7.4 set to be updated
---> Package samba-common.i386 0:3.0.33-3.29.el5_7.4 set to be updated
---> Package tzdata.i386 0:2011h-2.el5 set to be updated
---> Package yum-rhn-plugin.noarch 0:0.5.4-22.el5_7.2 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package          Arch   Version              Repository                   Size
================================================================================
Installing:
 kernel-xen       i686   2.6.18-274.3.1.el5   rhui-us-east-rhel-server-1y  20 M
 kernel-xen-devel i686   2.6.18-274.3.1.el5   rhui-us-east-rhel-server-1y 5.6 M
Updating:
 curl             i386   7.15.5-9.el5_7.4     rhui-us-east-rhel-server-1y 234 k
 dbus             i386   1.1.2-16.el5_7       rhui-us-east-rhel-server-1y 235 k
 dbus-libs        i386   1.1.2-16.el5_7       rhui-us-east-rhel-server-1y 124 k
 device-mapper-multipath
                  i386   0.4.7-46.el5_7.1     rhui-us-east-rhel-server-1y 2.8 M
 dhclient         i386   12:3.0.5-29.el5_7.1  rhui-us-east-rhel-server-1y 281 k
 gdbm             i386   1.8.0-26.2.1.el5_6.1 rhui-us-east-rhel-server-1y  28 k
 httpd            i386   2.2.3-53.el5_7.1     rhui-us-east-rhel-server-1y 1.2 M
 kernel-headers   i386   2.6.18-274.3.1.el5   rhui-us-east-rhel-server-1y 1.2 M
 kpartx           i386   0.4.7-46.el5_7.1     rhui-us-east-rhel-server-1y 425 k
 libXfont         i386   1.2.2-1.0.4.el5_7    rhui-us-east-rhel-server-1y 240 k
 libpng           i386   2:1.2.10-7.1.el5_7.5 rhui-us-east-rhel-server-1y 241 k
 libsmbclient     i386   3.0.33-3.29.el5_7.4  rhui-us-east-rhel-server-1y 908 k
 lvm2             i386   2.02.84-6.el5_7.1    rhui-us-east-rhel-server-1y 2.9 M
 mod_ssl          i386   1:2.2.3-53.el5_7.1   rhui-us-east-rhel-server-1y  93 k
 net-snmp         i386   1:5.3.2.2-14.el5_7.1 rhui-us-east-rhel-server-1y 702 k
 net-snmp-libs    i386   1:5.3.2.2-14.el5_7.1 rhui-us-east-rhel-server-1y 1.3 M
 nspr             i386   4.8.8-1.el5_7        rhui-us-east-rhel-server-1y 120 k
 nss              i386   3.12.10-4.el5_7      rhui-us-east-rhel-server-1y 1.1 M
 nss-tools        i386   3.12.10-4.el5_7      rhui-us-east-rhel-server-1y 1.2 M
 openssh          i386   4.3p2-72.el5_7.5     rhui-us-east-rhel-server-1y 289 k
 openssh-clients  i386   4.3p2-72.el5_7.5     rhui-us-east-rhel-server-1y 452 k
 openssh-server   i386   4.3p2-72.el5_7.5     rhui-us-east-rhel-server-1y 273 k
 rsync            i386   3.0.6-4.el5_7.1      rhui-us-east-rhel-server-1y 338 k
 samba-client     i386   3.0.33-3.29.el5_7.4  rhui-us-east-rhel-server-1y 5.7 M
 samba-common     i386   3.0.33-3.29.el5_7.4  rhui-us-east-rhel-server-1y 6.7 M
 tzdata           i386   2011h-2.el5          rhui-us-east-rhel-server-1y 781 k
 yum-rhn-plugin   noarch 0.5.4-22.el5_7.2     rhui-us-east-rhel-server-1y  63 k

Transaction Summary
================================================================================
Install       2 Package(s)
Upgrade      27 Package(s)

Total download size: 55 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           3.9 MB/s |  55 MB     00:14     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction

  Updating       : nspr                                                    1/56 

  Updating       : nss                                                     2/56 

  Updating       : net-snmp-libs                                           3/56 

  Updating       : openssh                                                 4/56 

  Updating       : httpd                                                   5/56 

  Updating       : libsmbclient                                            6/56 

  Updating       : samba-common                                            7/56 

  Updating       : lvm2                                                    8/56 

  Updating       : libpng                                                  9/56 

  Updating       : gdbm                                                   10/56 

  Updating       : curl                                                   11/56 

  Updating       : kpartx                                                 12/56 

  Updating       : libXfont                                               13/56 

  Updating       : device-mapper-multipath                                14/56 

  Updating       : samba-client                                           15/56 

  Updating       : mod_ssl                                                16/56 

  Updating       : openssh-clients                                        17/56 

  Updating       : openssh-server                                         18/56 

  Updating       : net-snmp                                               19/56 

  Updating       : nss-tools                                              20/56 

  Updating       : dhclient                                               21/56 

  Updating       : rsync                                                  22/56 

  Installing     : kernel-xen-devel                                       23/56 

  Installing     : kernel-xen                                             24/56 

  Updating       : kernel-headers                                         25/56 

  Updating       : yum-rhn-plugin                                         26/56 

  Updating       : tzdata                                                 27/56 

  Updating       : dbus-libs                                              28/56 

  Updating       : dbus                                                   29/56 

  Cleanup        : rsync                                                  30/56 

  Cleanup        : tzdata                                                 31/56 

  Cleanup        : dbus                                                   32/56 

  Cleanup        : libXfont                                               33/56 

  Cleanup        : nss-tools                                              34/56 

  Cleanup        : openssh-clients                                        35/56 

  Cleanup        : dbus-libs                                              36/56 

  Cleanup        : openssh-server                                         37/56 

  Cleanup        : yum-rhn-plugin                                         38/56 

  Cleanup        : kpartx                                                 39/56 

  Cleanup        : samba-client                                           40/56 

  Cleanup        : curl                                                   41/56 

  Cleanup        : nspr                                                   42/56 

  Cleanup        : gdbm                                                   43/56 

  Cleanup        : kernel-headers                                         44/56 

  Cleanup        : net-snmp-libs                                          45/56 

  Cleanup        : httpd                                                  46/56 

  Cleanup        : samba-common                                           47/56 

  Cleanup        : dhclient                                               48/56 

  Cleanup        : libpng                                                 49/56 

  Cleanup        : mod_ssl                                                50/56 

  Cleanup        : openssh                                                51/56 

  Cleanup        : lvm2                                                   52/56 

  Cleanup        : nss                                                    53/56 

  Cleanup        : device-mapper-multipath                                54/56 

  Cleanup        : net-snmp                                               55/56 

  Cleanup        : libsmbclient                                           56/56 

Installed:
  kernel-xen.i686 0:2.6.18-274.3.1.el5                                          
  kernel-xen-devel.i686 0:2.6.18-274.3.1.el5                                    

Updated:
  curl.i386 0:7.15.5-9.el5_7.4                                                  
  dbus.i386 0:1.1.2-16.el5_7                                                    
  dbus-libs.i386 0:1.1.2-16.el5_7                                               
  device-mapper-multipath.i386 0:0.4.7-46.el5_7.1                               
  dhclient.i386 12:3.0.5-29.el5_7.1                                             
  gdbm.i386 0:1.8.0-26.2.1.el5_6.1                                              
  httpd.i386 0:2.2.3-53.el5_7.1                                                 
  kernel-headers.i386 0:2.6.18-274.3.1.el5                                      
  kpartx.i386 0:0.4.7-46.el5_7.1                                                
  libXfont.i386 0:1.2.2-1.0.4.el5_7                                             
  libpng.i386 2:1.2.10-7.1.el5_7.5                                              
  libsmbclient.i386 0:3.0.33-3.29.el5_7.4                                       
  lvm2.i386 0:2.02.84-6.el5_7.1                                                 
  mod_ssl.i386 1:2.2.3-53.el5_7.1                                               
  net-snmp.i386 1:5.3.2.2-14.el5_7.1                                            
  net-snmp-libs.i386 1:5.3.2.2-14.el5_7.1                                       
  nspr.i386 0:4.8.8-1.el5_7                                                     
  nss.i386 0:3.12.10-4.el5_7                                                    
  nss-tools.i386 0:3.12.10-4.el5_7                                              
  openssh.i386 0:4.3p2-72.el5_7.5                                               
  openssh-clients.i386 0:4.3p2-72.el5_7.5                                       
  openssh-server.i386 0:4.3p2-72.el5_7.5                                        
  rsync.i386 0:3.0.6-4.el5_7.1                                                  
  samba-client.i386 0:3.0.33-3.29.el5_7.4                                       
  samba-common.i386 0:3.0.33-3.29.el5_7.4                                       
  tzdata.i386 0:2011h-2.el5                                                     
  yum-rhn-plugin.noarch 0:0.5.4-22.el5_7.2                                      

Complete! 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no fa1lures in rpm package ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'failure in rpm package' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no rpm scriplet fa1lures ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'scriptlet failed, exit status 1' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify package removal... 
######################################################################################
COMMAND: /bin/rpm -e zsh
RETURN CODE: 0
COMMAND:  /bin/rpm -q zsh
RESULT: package zsh is not installed 
EXPECTED RESULT: package zsh is not installed
RETURN CODE: 1
PASS
######################################################################################
# NEW TEST: ## Verify bash_history ... 
######################################################################################
COMMAND:  cat ~/.bash_history | wc -l 
RESULT: 0 
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no systemid file ... 
######################################################################################
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rh-cloud-firstboot is OFF ... 
######################################################################################
COMMAND:  chkconfig --list | grep rh-cloud | grep 3:off | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
/etc/sysconfig/rh-cloud-firstboot FOUND
COMMAND:  echo true
RESULT: true

Comment 3 Kedar Bidarkar 2011-09-14 11:14:52 UTC
EXPECTED RESULT: 
RETURN CODE: 0
PASS
COMMAND:  cat /etc/sysconfig/rh-cloud-firstboot
RESULT: RUN_FIRSTBOOT=NO 
EXPECTED RESULT: RUN_FIRSTBOOT=NO
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify nameserver ... 
######################################################################################
COMMAND:  /usr/bin/dig clock.redhat.com 2>> /root/valid/src/validate.log | grep 66.187.233.4  | wc -l
RESULT: 1 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify group file ... 
######################################################################################
COMMAND:  cat /etc/group | grep root:x:0
RESULT: root:x:0:root 
EXPECTED RESULT: root:x:0:root
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep bin:x:1
RESULT: bin:x:1:root,bin,daemon 
EXPECTED RESULT: bin:x:1:root,bin,daemon
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep daemon:x:2
RESULT: daemon:x:2:root,bin,daemon 
EXPECTED RESULT: daemon:x:2:root,bin,daemon
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep nobody:x:99
RESULT: nobody:x:99: 
EXPECTED RESULT: nobody:x:99:
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify new passwd file ... 
######################################################################################
COMMAND:  cat /etc/passwd | grep root:x:0
RESULT: root:x:0:0:root:/root:/bin/bash 
EXPECTED RESULT: root:x:0:0:root:/root:/bin/bash
RETURN CODE: 0
PASS
COMMAND:  cat /etc/passwd | grep nobody:x:99
RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin 
EXPECTED RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin
RETURN CODE: 0
PASS
COMMAND:  cat /etc/passwd | grep sshd
RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin 
EXPECTED RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify runlevel ... 
######################################################################################
COMMAND:  cat /etc/inittab | grep id:
RESULT: id:3:initdefault: 
EXPECTED RESULT: id:3:initdefault:
RETURN CODE: 0
PASS
COMMAND:  cat /etc/inittab | grep si:
RESULT: si::sysinit:/etc/rc.d/rc.sysinit 
EXPECTED RESULT: si::sysinit:/etc/rc.d/rc.sysinit
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify new shells file ... 
######################################################################################
COMMAND:  cat /etc/shells | grep bash
RESULT: /bin/bash 
EXPECTED RESULT: /bin/bash
RETURN CODE: 0
PASS
COMMAND:  cat /etc/shells | grep nologin
RESULT: /sbin/nologin 
EXPECTED RESULT: /sbin/nologin
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify networking ... 
######################################################################################
COMMAND:  grep ^NETWORKING= /etc/sysconfig/network | cut -d\= -f2
RESULT: yes 
EXPECTED RESULT: yes
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify device ... 
######################################################################################
COMMAND:  grep ^DEVICE= /etc/sysconfig/network-scripts/ifcfg-eth0 | cut -d\= -f2
RESULT: eth0 
EXPECTED RESULT: eth0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify iptables ... 
######################################################################################
COMMAND: /etc/init.d/iptables status | grep REJECT 
10   REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-host-prohibited 
RETURN CODE: 0
COMMAND:  /etc/init.d/iptables status | grep :22 | grep ACCEPT | wc -l 
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/iptables status | grep dpt:631 | grep ACCEPT | wc -l 
RESULT: 2 
EXPECTED RESULT: 2
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/iptables status | grep dpt:5353 | grep ACCEPT | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/iptables status | grep RELATED,ESTABLISHED | grep ACCEPT | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/iptables status | grep -e esp -e ah | grep ACCEPT | wc -l
RESULT: 2 
EXPECTED RESULT: 2
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/iptables status | grep REJECT | grep all | grep 0.0.0.0/0 | grep icmp-host-prohibited |  wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify sshd ...
######################################################################################
COMMAND:  chkconfig --list | grep sshd
RESULT: sshd           	0:off	1:off	2:on	3:on	4:on	5:on	6:off 
EXPECTED RESULT: sshd           	0:off	1:off	2:on	3:on	4:on	5:on	6:off
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/sshd status | grep running | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify  chkconfig ... 
######################################################################################
COMMAND:  chkconfig --list | grep crond | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
COMMAND:  chkconfig --list | grep  iptables | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
COMMAND:  chkconfig --list | grep yum-updatesd | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rsyslog is on ... 
######################################################################################
COMMAND:  chkconfig --list | grep rsyslog | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rsyslog config ... 
######################################################################################
COMMAND:  md5sum /etc/rsyslog.conf | cut -f 1 -d  " "
RESULT: 15936b6fe4e8fadcea87b54de495f975 
EXPECTED RESULT: bd4e328df4b59d41979ef7202a05e074 OR 15936b6fe4e8fadcea87b54de495f975 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify auditd is on ... 
######################################################################################
COMMAND:  /sbin/chkconfig --list auditd | grep 3:on
RESULT: auditd         	0:off	1:off	2:on	3:on	4:on	5:on	6:off 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
COMMAND:  /sbin/chkconfig --list auditd | grep 5:on
RESULT: auditd         	0:off	1:off	2:on	3:on	4:on	5:on	6:off 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify audit.rules ... 
######################################################################################
COMMAND:  md5sum /etc/audit/audit.rules | cut -f 1 -d  " "
RESULT: f9869e1191838c461f5b9051c78a638d 
EXPECTED RESULT: f9869e1191838c461f5b9051c78a638d
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify auditd.conf ... 
######################################################################################
COMMAND:  md5sum /etc/audit/auditd.conf | cut -f 1 -d  " "
RESULT: 612ddf28c3916530d47ef56a1b1ed1ed 
EXPECTED RESULT: 612ddf28c3916530d47ef56a1b1ed1ed
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify auditd sysconfig ... 
######################################################################################
COMMAND:  md5sum /etc/sysconfig/auditd | cut -f 1 -d  " "
RESULT: 123beb3a97a32d96eba4f11509e39da2 
EXPECTED RESULT: 123beb3a97a32d96eba4f11509e39da2
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify sshd_config settings ...
######################################################################################
COMMAND:  cat /etc/ssh/sshd_config  | grep  PasswordAuthentication | grep no | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/ld.so.conf.d/libc6-xen.conf is not present ... 
######################################################################################
COMMAND:  ls /etc/ld.so.conf.d/libc6-xen.conf
ls: /etc/ld.so.conf.d/libc6-xen.conf: No such file or directory
RESULT:  
EXPECTED RESULT: 2
RETURN CODE: 2
PASS
######################################################################################
# NEW TEST: ##test menu.lst ... 
######################################################################################
COMMAND:  file /boot/grub/menu.lst  | grep symbolic | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  file /boot/grub/menu.lst  | grep grub.conf | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  cat /boot/grub/grub.conf  | grep "(hd0,0)" | wc -l
RESULT: 0 
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify resize2fs ... 
######################################################################################
COMMAND: resize2fs -p /dev/sda1 15000M
resize2fs 1.39 (29-May-2006)
RETURN CODE: 0
COMMAND:  df -h | grep 15G | wc -l 
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: Fetching Host Details 
######################################################################################
This is not a Hourly image

## Summary ##
FAILURES = 2
FAILED TESTS = ## Verify turning on/off swap file ... ## Verify swap size ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 4 Kedar Bidarkar 2011-09-14 11:20:22 UTC
IMAGE ID= ami-a570b3cc_us-east-1_m1.small
######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
######################################################################################
# NEW TEST: Fetching Host Details 
######################################################################################
This is not a Hourly image
/root/valid/src
ip-10-204-93-108
Red Hat Enterprise Linux Server release 5.7 (Tikanga)
######################################################################################
# NEW TEST: The selected image has the version RHEL 5.7
######################################################################################
######################################################################################
# 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-274
CURRENT_UNAME_KERNAL_VERSION=2.6.18-274
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed 's/\(.*\)......./\1/'
RESULT: 2.6.18-274 
EXPECTED RESULT: 2.6.18-274
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-274
RESULT: title RHEL5.7-Server-20110711.5-Server-i386-starter-ec2 (2.6.18-274.el5xen)
        kernel /boot/vmlinuz-2.6.18-274.el5xen ro root=LABEL=/ 
        initrd /boot/initrd-2.6.18-274.el5xen.img 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# 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
######################################################################################
# NEW TEST: ## Partition Format  ...
######################################################################################
mount | grep /dev/sda1 | awk '{ print  }'
COMMAND:  echo ext3
RESULT: ext3 
EXPECTED RESULT: ext3
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Partition Size ...
######################################################################################
size=5904748
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: true
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify turning on/off swap file ... 
######################################################################################
COMMAND:  /sbin/swapoff /dev/sda3 && /sbin/swapon /dev/sda3
swapoff: /dev/sda3: Invalid argument
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 255
FAIL2

######################################################################################
# NEW TEST: ## Verify swap size ... 
######################################################################################
free | grep Swap | awk '{print }'
COMMAND:  echo false
RESULT: false 
EXPECTED RESULT: 1
RETURN CODE: 0
FAIL2
false
######################################################################################
# NEW TEST: ## /sbin/getenforce ... 
######################################################################################
COMMAND:  /usr/sbin/getenforce
RESULT: Enforcing 
EXPECTED RESULT: Enforcing
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify SELINUX enforcing ... 
######################################################################################
COMMAND:  grep ^SELINUX= /etc/sysconfig/selinux | cut -d\= -f2
RESULT: enforcing 
EXPECTED RESULT: enforcing
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify SELINUXTYPE targeted ... 
######################################################################################
COMMAND:  grep ^SELINUXTYPE= /etc/sysconfig/selinux | cut -d\= -f2
RESULT: targeted 
EXPECTED RESULT: targeted
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Flip Selinux Permissive ... 
######################################################################################
COMMAND:  /usr/sbin/setenforce Permissive && /usr/sbin/getenforce
RESULT: Permissive 
EXPECTED RESULT: Permissive
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Flip Selinux Enforcing ... 
######################################################################################
COMMAND:  /usr/sbin/setenforce Enforcing && /usr/sbin/getenforce
RESULT: Enforcing 
EXPECTED RESULT: Enforcing
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no missing packages ... 
######################################################################################
COMMAND: /bin/rpm -qa --queryformat='%{NAME}\n' > /tmp/rpmqa.tmp
RETURN CODE: 0
COMMAND: comm -23 packages_5 /tmp/rpmqa
RETURN CODE: 0
COUNT = 0
COMMAND:  echo test passed
RESULT: test passed 
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify RPMs ... 
######################################################################################
/bin/rpm -Va --nomtime --nosize --nomd5
....L...  c /etc/pam.d/system-auth
.M......  c /etc/sysconfig/iptables-config
    S file Size differs
    M Mode differs (includes permissions and file type)
    5 MD5 sum differs
    D Device major/minor number mismatch
    L readLink(2) path mismatch
    U User ownership differs
    G Group ownership differs
    T mTime differs

COMMAND:  cat /tmp/rpmqaV.txt | wc -l
RESULT: 2 
EXPECTED RESULT: 2
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify Version 2 ... 
######################################################################################
COMMAND:  /bin/rpm -q --queryformat '%{RELEASE}\n' redhat-release | cut -d. -f1,2
RESULT: 5.7 
EXPECTED RESULT: 5.7
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify packager ... 
######################################################################################
COMMAND:  cat /tmp/Packager | grep -v 'Red Hat, Inc.' |  grep -v crash-trace-commandPackager| wc -l
RESULT: 0 
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify GPG checking ... 
######################################################################################
COMMAND:  grep '^gpgcheck=1' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | sort -f | uniq
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify GPG Keys ... 
######################################################################################
COMMAND:  rpm -qa gpg-pubkey* | wc -l 
RESULT: 2 
EXPECTED RESULT: 2
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify GPG RPMS ... 
######################################################################################
COMMAND:  rpm -qa gpg-pubkey* | sort -f | tail -n 1
RESULT: gpg-pubkey-37017186-45761324 
EXPECTED RESULT: gpg-pubkey-37017186-45761324
RETURN CODE: 0
PASS
COMMAND:  rpm -qa gpg-pubkey* |  grep 2fa6
RESULT: gpg-pubkey-2fa658e0-45700c69 
EXPECTED RESULT: gpg-pubkey-2fa658e0-45700c69
RETURN CODE: 0
PASS
######################################################################################
# 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: ## List the configured repositories...
######################################################################################
COMMAND:  /usr/bin/yum repolist
RESULT: Loaded plugins: amazon-id, fastestmirror, security
Loading mirror speeds from cached hostfile
repo id                       repo name                                   status
rhui-us-east-rhel-server-1y   Red Hat Enterprise Linux Server 5 (RPMs)    9,179
repolist: 9,179 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Search zsh...
######################################################################################
COMMAND:  /usr/bin/yum search zsh
RESULT: Loaded plugins: amazon-id, fastestmirror, security
Loading mirror speeds from cached hostfile
================================= Matched: zsh =================================
zsh.i386 : A powerful interactive shell
zsh-html.i386 : Zsh shell manual in html format 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## install zsh ... 
######################################################################################
COMMAND: /usr/bin/yum -y install zsh
RETURN CODE: 0
COMMAND:  /bin/rpm -q --queryformat '%{NAME}\n' zsh
RESULT: zsh 
EXPECTED RESULT: zsh
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## List available groups..
######################################################################################
COMMAND:  /usr/bin/yum grouplist
RESULT: Loaded plugins: amazon-id, fastestmirror, security
Setting up Group Process
Loading mirror speeds from cached hostfile
Installed Groups:
   Editors
   FTP Server
   Legacy Network Server
   Legacy Software Development
   Legacy Software Support
   Mail Server
   MySQL Database
   PostgreSQL Database
   Server Configuration Tools
   System Tools
   Text-based Internet
   Web Server
Available Groups:
   Administration Tools
   Authoring and Publishing
   DNS Name Server
   Development Libraries
   Development Tools
   Engineering and Scientific
   GNOME Desktop Environment
   GNOME Software Development
   Games and Entertainment
   Graphical Internet
   Graphics
   Java Development
   KDE (K Desktop Environment)
   KDE Software Development
   Network Servers
   News Server
   Office/Productivity
   OpenFabrics Enterprise Distribution
   Printing Support
   Sound and Video
   Windows File Server
   X Software Development
   X Window System
Done 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Install Development tools group...
######################################################################################
COMMAND:  /usr/bin/yum -y groupinstall 'Development tools'
RESULT: Loaded plugins: amazon-id, fastestmirror, security
Loading mirror speeds from cached hostfile
Setting up Group Process
Loading mirror speeds from cached hostfile
Package gcc-4.1.2-51.el5.i386 already installed and latest version
Package 1:make-3.81-3.el5.i386 already installed and latest version
Package 1:pkgconfig-0.21-2.el5.i386 already installed and latest version
Package gettext-0.17-1.el5.i386 already installed and latest version
Package binutils-2.17.50.0.6-14.el5.i386 already installed and latest version
Package subversion-1.6.11-7.el5_6.4.i386 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.59-12 set to be updated
--> Processing Dependency: imake for package: autoconf
---> Package automake.noarch 0:1.9.6-2.3.el5 set to be updated
---> Package automake14.noarch 0:1.4p6-13.el5.1 set to be updated
---> Package automake15.noarch 0:1.5-16.el5.2 set to be updated
---> Package automake16.noarch 0:1.6.3-8.el5.1 set to be updated
---> Package automake17.noarch 0:1.7.9-7.el5.2 set to be updated
---> Package bison.i386 0:2.3-2.1 set to be updated
---> Package byacc.i386 0:1.9-29.2.2 set to be updated
---> Package cscope.i386 0:15.5-15.1.el5_3.1 set to be updated
---> Package ctags.i386 0:5.6-1.1 set to be updated
---> Package cvs.i386 0:1.11.22-7.el5 set to be updated
---> Package dev86.i386 0:0.16.17-2.2 set to be updated
---> Package diffstat.i386 0:1.41-1.2.3.el5 set to be updated
---> Package dogtail.noarch 0:0.6.1-4.el5 set to be updated
--> Processing Dependency: pyspi >= 0.6.0 for package: dogtail
--> Processing Dependency: gnome-python2-gconf for package: dogtail
--> Processing Dependency: xorg-x11-xinit for package: dogtail
--> Processing Dependency: xorg-x11-server-Xvfb for package: dogtail
---> Package doxygen.i386 1:1.4.7-1.1 set to be updated
---> Package elfutils.i386 0:0.137-3.el5 set to be updated
--> Processing Dependency: elfutils-libs-i386 = 0.137-3.el5 for package: elfutils
--> Processing Dependency: libasm.so.1 for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.130) for package: elfutils
--> Processing Dependency: libdw.so.1 for package: elfutils
--> Processing Dependency: libasm.so.1(ELFUTILS_1.0) for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.126) for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.127) for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.122) for package: elfutils
---> Package flex.i386 0:2.5.4a-41.fc6 set to be updated
---> Package gcc-c++.i386 0:4.1.2-51.el5 set to be updated
--> Processing Dependency: libstdc++-devel = 4.1.2-51.el5 for package: gcc-c++
---> Package gcc-gfortran.i386 0:4.1.2-51.el5 set to be updated
--> Processing Dependency: libgfortran = 4.1.2-51.el5 for package: gcc-gfortran
--> Processing Dependency: libgfortran.so.1 for package: gcc-gfortran
---> Package gdb.i386 0:7.0.1-37.el5_7.1 set to be updated
---> Package indent.i386 0:2.2.9-14.fc6 set to be updated
---> Package libtool.i386 0:1.5.22-7.el5_4 set to be updated
---> Package ltrace.i386 0:0.5-13.45svn.el5 set to be updated
---> Package oprofile.i386 0:0.9.4-15.el5 set to be updated
---> Package patchutils.i386 0:0.2.31-2.2.2 set to be updated
---> Package pstack.i386 0:1.2-7.2.2 set to be updated
---> Package python-ldap.i386 0:2.2.0-2.1 set to be updated
---> Package rcs.i386 0:5.7-30.1 set to be updated
---> Package redhat-rpm-config.noarch 0:8.0.45-32.el5 set to be updated
---> Package rpm-build.i386 0:4.4.2.3-22.el5 set to be updated
---> Package splint.i386 0:3.1.1-16.el5 set to be updated
---> Package strace.i386 0:4.5.18-5.el5_5.5 set to be updated
---> Package swig.i386 0:1.3.29-2.el5 set to be updated
---> Package systemtap.i386 0:1.3-9.el5 set to be updated
--> Processing Dependency: systemtap-runtime = 1.3-9.el5 for package: systemtap
--> Processing Dependency: libavahi-client.so.3 for package: systemtap
--> Processing Dependency: libavahi-common.so.3 for package: systemtap
---> Package texinfo.i386 0:4.8-14.el5 set to be updated
---> Package valgrind.i386 1:3.5.0-5.el5 set to be updated
--> Running transaction check
---> Package avahi.i386 0:0.6.16-10.el5_6 set to be updated
--> Processing Dependency: libdaemon.so.0 for package: avahi
--> Processing Dependency: libdaemon for package: avahi
---> Package elfutils-libs.i386 0:0.137-3.el5 set to be updated
---> Package gnome-python2-gconf.i386 0:2.16.0-1.fc6 set to be updated
--> Processing Dependency: gnome-python2 = 2.16.0-1.fc6 for package: gnome-python2-gconf
--> Processing Dependency: GConf2 >= 1.1.10 for package: gnome-python2-gconf
--> Processing Dependency: libgconf-2.so.4 for package: gnome-python2-gconf
--> Processing Dependency: libORBit-2.so.0 for package: gnome-python2-gconf
---> Package imake.i386 0:1.0.2-3 set to be updated
---> Package libgfortran.i386 0:4.1.2-51.el5 set to be updated
---> Package libstdc++-devel.i386 0:4.1.2-51.el5 set to be updated
---> Package pyspi.i386 0:0.6.1-1.el5 set to be updated
--> Processing Dependency: libbonobo-2.so.0 for package: pyspi
--> Processing Dependency: libcspi.so.0 for package: pyspi
--> Processing Dependency: libspi.so.0 for package: pyspi
--> Processing Dependency: libbonobo-activation.so.4 for package: pyspi
---> Package systemtap-runtime.i386 0:1.3-9.el5 set to be updated
---> Package xorg-x11-server-Xvfb.i386 0:1.1.1-48.76.el5_6.4 set to be updated
--> Processing Dependency: xorg-x11-fonts-base for package: xorg-x11-server-Xvfb
---> Package xorg-x11-xinit.i386 0:1.0.2-15.el5 set to be updated
--> Processing Dependency: xauth for package: xorg-x11-xinit
--> Processing Dependency: xorg-x11-server-utils for package: xorg-x11-xinit
--> Running transaction check
---> Package GConf2.i386 0:2.14.0-9.el5 set to be updated
---> Package ORBit2.i386 0:2.14.3-5.el5 set to be updated
--> Processing Dependency: libIDL-2.so.0 for package: ORBit2
---> Package at-spi.i386 0:1.7.11-3.el5 set to be updated
--> Processing Dependency: gail >= 1.5.0 for package: at-spi
--> Processing Dependency: libgnomecanvas-2.so.0 for package: at-spi
--> Processing Dependency: libgailutil.so.18 for package: at-spi
--> Processing Dependency: libXevie.so.1 for package: at-spi
---> Package gnome-python2.i386 0:2.16.0-1.fc6 set to be updated
--> Processing Dependency: libbonoboui-2.so.0 for package: gnome-python2
--> Processing Dependency: libgnome-keyring.so.0 for package: gnome-python2
--> Processing Dependency: gnome-python2-gnomevfs for package: gnome-python2
--> Processing Dependency: libgnome-2.so.0 for package: gnome-python2
--> Processing Dependency: libgnomeui-2.so.0 for package: gnome-python2
--> Processing Dependency: libgnomevfs-2.so.0 for package: gnome-python2
--> Processing Dependency: gnome-python2-bonobo for package: gnome-python2
---> Package libbonobo.i386 0:2.16.0-1.1.el5_5.1 set to be updated
---> Package libdaemon.i386 0:0.10-5.el5 set to be updated
---> Package xorg-x11-fonts-base.noarch 0:7.1-2.1.el5 set to be updated
---> Package xorg-x11-server-utils.i386 0:7.1-5.el5_6.2 set to be updated
--> Processing Dependency: libXxf86misc.so.1 for package: xorg-x11-server-utils
--> Processing Dependency: libXxf86vm.so.1 for package: xorg-x11-server-utils
--> Processing Dependency: libXTrap.so.6 for package: xorg-x11-server-utils
--> Processing Dependency: libXfontcache.so.1 for package: xorg-x11-server-utils
---> Package xorg-x11-xauth.i386 1:1.0.1-2.1 set to be updated
--> Running transaction check
---> Package gail.i386 0:1.9.2-3.el5 set to be updated
---> Package gnome-keyring.i386 0:0.6.0-1.fc6 set to be updated
---> Package gnome-python2-bonobo.i386 0:2.16.0-1.fc6 set to be updated
--> Processing Dependency: pyorbit >= 2.0.l for package: gnome-python2-bonobo
---> Package gnome-python2-gnomevfs.i386 0:2.16.0-1.fc6 set to be updated
---> Package gnome-vfs2.i386 0:2.16.2-8.el5 set to be updated
--> Processing Dependency: gnome-mime-data >= 2.0.0-11 for package: gnome-vfs2
--> Processing Dependency: gnome-mount >= 0.4 for package: gnome-vfs2
--> Processing Dependency: libavahi-glib.so.1 for package: gnome-vfs2
--> Processing Dependency: shared-mime-info for package: gnome-vfs2
---> Package libIDL.i386 0:0.8.7-1.fc6 set to be updated
---> Package libXTrap.i386 0:1.0.0-3.1 set to be updated
---> Package libXevie.i386 0:1.0.1-3.1 set to be updated
---> Package libXfontcache.i386 0:1.0.2-3.1 set to be updated
---> Package libXxf86misc.i386 0:1.0.1-3.1 set to be updated
---> Package libXxf86vm.i386 0:1.0.1-3.1 set to be updated
---> Package libbonoboui.i386 0:2.16.0-1.fc6 set to be updated
---> Package libgnome.i386 0:2.16.0-6.el5 set to be updated
--> Processing Dependency: libxslt >= 1.0.19 for package: libgnome
--> Processing Dependency: libaudiofile.so.0 for package: libgnome
--> Processing Dependency: libesd.so.0 for package: libgnome
---> Package libgnomecanvas.i386 0:2.14.0-4.1 set to be updated
---> Package libgnomeui.i386 0:2.16.0-5.el5 set to be updated
--> Running transaction check
---> Package audiofile.i386 1:0.2.6-5 set to be updated
---> Package avahi-glib.i386 0:0.6.16-10.el5_6 set to be updated
---> Package esound.i386 1:0.2.36-3 set to be updated
---> Package gnome-mime-data.i386 0:2.4.2-3.1 set to be updated
---> Package gnome-mount.i386 0:0.5-3.el5 set to be updated
--> Processing Dependency: libnotify.so.1 for package: gnome-mount
---> Package libxslt.i386 0:1.1.17-2.el5_2.2 set to be updated
---> Package pyorbit.i386 0:2.14.1-3.el5 set to be updated
---> Package shared-mime-info.i386 0:0.19-5.el5 set to be updated
--> Running transaction check
---> Package libnotify.i386 0:0.4.2-6.el5 set to be updated
--> Processing Dependency: desktop-notification-daemon for package: libnotify
--> Running transaction check
---> Package notification-daemon.i386 0:0.3.5-9.el5 set to be updated
--> Processing Dependency: libwnck-1.so.18 for package: notification-daemon
--> Running transaction check
---> Package libwnck.i386 0:2.16.0-4.fc6 set to be updated
--> Processing Dependency: startup-notification >= 0.5 for package: libwnck
--> Processing Dependency: libstartup-notification-1.so.0 for package: libwnck
--> Processing Dependency: libXRes.so.1 for package: libwnck
--> Running transaction check
---> Package libXres.i386 0:1.0.1-3.1 set to be updated
---> Package startup-notification.i386 0:0.8-4.1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package              Arch   Version          Repository                   Size
================================================================================
Installing:
 autoconf             noarch 2.59-12          rhui-us-east-rhel-server-1y 646 k
 automake             noarch 1.9.6-2.3.el5    rhui-us-east-rhel-server-1y 476 k

Comment 5 Kedar Bidarkar 2011-09-14 11:20:26 UTC
 automake14           noarch 1.4p6-13.el5.1   rhui-us-east-rhel-server-1y 200 k
 automake15           noarch 1.5-16.el5.2     rhui-us-east-rhel-server-1y 230 k
 automake16           noarch 1.6.3-8.el5.1    rhui-us-east-rhel-server-1y 241 k
 automake17           noarch 1.7.9-7.el5.2    rhui-us-east-rhel-server-1y 278 k
 bison                i386   2.3-2.1          rhui-us-east-rhel-server-1y 536 k
 byacc                i386   1.9-29.2.2       rhui-us-east-rhel-server-1y  38 k
 cscope               i386   15.5-15.1.el5_3.1
                                              rhui-us-east-rhel-server-1y 136 k
 ctags                i386   5.6-1.1          rhui-us-east-rhel-server-1y 127 k
 cvs                  i386   1.11.22-7.el5    rhui-us-east-rhel-server-1y 725 k
 dev86                i386   0.16.17-2.2      rhui-us-east-rhel-server-1y 372 k
 diffstat             i386   1.41-1.2.3.el5   rhui-us-east-rhel-server-1y  18 k
 dogtail              noarch 0.6.1-4.el5      rhui-us-east-rhel-server-1y 172 k
 doxygen              i386   1:1.4.7-1.1      rhui-us-east-rhel-server-1y 2.3 M
 elfutils             i386   0.137-3.el5      rhui-us-east-rhel-server-1y 228 k
 flex                 i386   2.5.4a-41.fc6    rhui-us-east-rhel-server-1y 124 k
 gcc-c++              i386   4.1.2-51.el5     rhui-us-east-rhel-server-1y 3.4 M
 gcc-gfortran         i386   4.1.2-51.el5     rhui-us-east-rhel-server-1y 3.1 M
 gdb                  i386   7.0.1-37.el5_7.1 rhui-us-east-rhel-server-1y 2.4 M
 indent               i386   2.2.9-14.fc6     rhui-us-east-rhel-server-1y  93 k
 libtool              i386   1.5.22-7.el5_4   rhui-us-east-rhel-server-1y 667 k
 ltrace               i386   0.5-13.45svn.el5 rhui-us-east-rhel-server-1y  61 k
 oprofile             i386   0.9.4-15.el5     rhui-us-east-rhel-server-1y 2.7 M
 patchutils           i386   0.2.31-2.2.2     rhui-us-east-rhel-server-1y 109 k
 pstack               i386   1.2-7.2.2        rhui-us-east-rhel-server-1y 4.6 k
 python-ldap          i386   2.2.0-2.1        rhui-us-east-rhel-server-1y 122 k
 rcs                  i386   5.7-30.1         rhui-us-east-rhel-server-1y 332 k
 redhat-rpm-config    noarch 8.0.45-32.el5    rhui-us-east-rhel-server-1y  54 k
 rpm-build            i386   4.4.2.3-22.el5   rhui-us-east-rhel-server-1y 302 k
 splint               i386   3.1.1-16.el5     rhui-us-east-rhel-server-1y 1.5 M
 strace               i386   4.5.18-5.el5_5.5 rhui-us-east-rhel-server-1y 172 k
 swig                 i386   1.3.29-2.el5     rhui-us-east-rhel-server-1y 2.9 M
 systemtap            i386   1.3-9.el5        rhui-us-east-rhel-server-1y 2.5 M
 texinfo              i386   4.8-14.el5       rhui-us-east-rhel-server-1y 753 k
 valgrind             i386   1:3.5.0-5.el5    rhui-us-east-rhel-server-1y  20 M
Installing for dependencies:
 GConf2               i386   2.14.0-9.el5     rhui-us-east-rhel-server-1y 1.5 M
 ORBit2               i386   2.14.3-5.el5     rhui-us-east-rhel-server-1y 253 k
 at-spi               i386   1.7.11-3.el5     rhui-us-east-rhel-server-1y 290 k
 audiofile            i386   1:0.2.6-5        rhui-us-east-rhel-server-1y 107 k
 avahi                i386   0.6.16-10.el5_6  rhui-us-east-rhel-server-1y 251 k
 avahi-glib           i386   0.6.16-10.el5_6  rhui-us-east-rhel-server-1y  15 k
 elfutils-libs        i386   0.137-3.el5      rhui-us-east-rhel-server-1y 193 k
 esound               i386   1:0.2.36-3       rhui-us-east-rhel-server-1y 130 k
 gail                 i386   1.9.2-3.el5      rhui-us-east-rhel-server-1y 350 k
 gnome-keyring        i386   0.6.0-1.fc6      rhui-us-east-rhel-server-1y 170 k
 gnome-mime-data      i386   2.4.2-3.1        rhui-us-east-rhel-server-1y 691 k
 gnome-mount          i386   0.5-3.el5        rhui-us-east-rhel-server-1y  70 k
 gnome-python2        i386   2.16.0-1.fc6     rhui-us-east-rhel-server-1y 126 k
 gnome-python2-bonobo i386   2.16.0-1.fc6     rhui-us-east-rhel-server-1y  64 k
 gnome-python2-gconf  i386   2.16.0-1.fc6     rhui-us-east-rhel-server-1y  32 k
 gnome-python2-gnomevfs
                      i386   2.16.0-1.fc6     rhui-us-east-rhel-server-1y  65 k
 gnome-vfs2           i386   2.16.2-8.el5     rhui-us-east-rhel-server-1y 1.2 M
 imake                i386   1.0.2-3          rhui-us-east-rhel-server-1y 318 k
 libIDL               i386   0.8.7-1.fc6      rhui-us-east-rhel-server-1y  85 k
 libXTrap             i386   1.0.0-3.1        rhui-us-east-rhel-server-1y  23 k
 libXevie             i386   1.0.1-3.1        rhui-us-east-rhel-server-1y  14 k
 libXfontcache        i386   1.0.2-3.1        rhui-us-east-rhel-server-1y 9.7 k
 libXres              i386   1.0.1-3.1        rhui-us-east-rhel-server-1y  14 k
 libXxf86misc         i386   1.0.1-3.1        rhui-us-east-rhel-server-1y  12 k
 libXxf86vm           i386   1.0.1-3.1        rhui-us-east-rhel-server-1y  14 k
 libbonobo            i386   2.16.0-1.1.el5_5.1
                                              rhui-us-east-rhel-server-1y 502 k
 libbonoboui          i386   2.16.0-1.fc6     rhui-us-east-rhel-server-1y 390 k
 libdaemon            i386   0.10-5.el5       rhui-us-east-rhel-server-1y  24 k
 libgfortran          i386   4.1.2-51.el5     rhui-us-east-rhel-server-1y 232 k
 libgnome             i386   2.16.0-6.el5     rhui-us-east-rhel-server-1y 859 k
 libgnomecanvas       i386   2.14.0-4.1       rhui-us-east-rhel-server-1y 222 k
 libgnomeui           i386   2.16.0-5.el5     rhui-us-east-rhel-server-1y 977 k
 libnotify            i386   0.4.2-6.el5      rhui-us-east-rhel-server-1y  37 k
 libstdc++-devel      i386   4.1.2-51.el5     rhui-us-east-rhel-server-1y 2.8 M
 libwnck              i386   2.16.0-4.fc6     rhui-us-east-rhel-server-1y 185 k
 libxslt              i386   1.1.17-2.el5_2.2 rhui-us-east-rhel-server-1y 485 k
 notification-daemon  i386   0.3.5-9.el5      rhui-us-east-rhel-server-1y  47 k
 pyorbit              i386   2.14.1-3.el5     rhui-us-east-rhel-server-1y  48 k
 pyspi                i386   0.6.1-1.el5      rhui-us-east-rhel-server-1y  79 k
 shared-mime-info     i386   0.19-5.el5       rhui-us-east-rhel-server-1y 148 k
 startup-notification i386   0.8-4.1          rhui-us-east-rhel-server-1y  32 k
 systemtap-runtime    i386   1.3-9.el5        rhui-us-east-rhel-server-1y  93 k
 xorg-x11-fonts-base  noarch 7.1-2.1.el5      rhui-us-east-rhel-server-1y 3.7 M
 xorg-x11-server-Xvfb i386   1.1.1-48.76.el5_6.4
                                              rhui-us-east-rhel-server-1y 1.6 M
 xorg-x11-server-utils
                      i386   7.1-5.el5_6.2    rhui-us-east-rhel-server-1y 164 k
 xorg-x11-xauth       i386   1:1.0.1-2.1      rhui-us-east-rhel-server-1y  31 k
 xorg-x11-xinit       i386   1.0.2-15.el5     rhui-us-east-rhel-server-1y  26 k

Transaction Summary
================================================================================
Install      83 Package(s)
Upgrade       0 Package(s)

Total download size: 66 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           2.4 MB/s |  66 MB     00:27     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction

  Installing     : libgnomecanvas                                          1/83 

  Installing     : gnome-keyring                                           2/83 

  Installing     : libIDL                                                  3/83 

  Installing     : ORBit2                                                  4/83 

  Installing     : GConf2                                                  5/83 

  Installing     : libbonobo                                               6/83 

  Installing     : audiofile                                               7/83 

  Installing     : esound                                                  8/83 

  Installing     : pyorbit                                                 9/83 

  Installing     : gail                                                   10/83 

  Installing     : libgfortran                                            11/83 

  Installing     : libXTrap                                               12/83 

  Installing     : startup-notification                                   13/83 

  Installing     : libXxf86misc                                           14/83 

  Installing     : elfutils-libs                                          15/83 

  Installing     : elfutils                                               16/83 

  Installing     : libXfontcache                                          17/83 

  Installing     : libxslt                                                18/83 

  Installing     : xorg-x11-xauth                                         19/83 

  Installing     : libdaemon                                              20/83 

  Installing     : avahi                                                  21/83 

  Installing     : avahi-glib                                             22/83 

  Installing     : libXres                                                23/83 

  Installing     : libwnck                                                24/83 

  Installing     : notification-daemon                                    25/83 

  Installing     : libnotify                                              26/83 

  Installing     : imake                                                  27/83 

  Installing     : libXxf86vm                                             28/83 

  Installing     : xorg-x11-server-utils                                  29/83 

  Installing     : xorg-x11-xinit                                         30/83 

  Installing     : gdb                                                    31/83 

  Installing     : libXevie                                               32/83 

  Installing     : at-spi                                                 33/83 

  Installing     : pyspi                                                  34/83 

  Installing     : shared-mime-info                                       35/83 

  Installing     : rpm-build                                              36/83 

  Installing     : gcc-gfortran                                           37/83 

  Installing     : oprofile                                               38/83 

  Installing     : indent                                                 39/83 

  Installing     : texinfo                                                40/83 

  Installing     : splint                                                 41/83 

  Installing     : cvs                                                    42/83 

  Installing     : cscope                                                 43/83 

  Installing     : ltrace                                                 44/83 

  Installing     : doxygen                                                45/83 

  Installing     : strace                                                 46/83 

  Installing     : flex                                                   47/83 

  Installing     : python-ldap                                            48/83 

  Installing     : valgrind                                               49/83 

  Installing     : swig                                                   50/83 

  Installing     : dev86                                                  51/83 

  Installing     : bison                                                  52/83 

  Installing     : diffstat                                               53/83 

  Installing     : byacc                                                  54/83 

  Installing     : patchutils                                             55/83 

  Installing     : rcs                                                    56/83 

  Installing     : ctags                                                  57/83 

  Installing     : autoconf                                               58/83 

  Installing     : automake                                               59/83 

  Installing     : xorg-x11-fonts-base                                    60/83 

  Installing     : systemtap-runtime                                      61/83 

  Installing     : libstdc++-devel                                        62/83 

  Installing     : gnome-mime-data                                        63/83 

  Installing     : systemtap                                              64/83 

  Installing     : libtool                                                65/83 

  Installing     : automake17                                             66/83 

  Installing     : pstack                                                 67/83 

  Installing     : automake14                                             68/83 

  Installing     : automake15                                             69/83 

  Installing     : redhat-rpm-config                                      70/83 

  Installing     : automake16                                             71/83 

  Installing     : xorg-x11-server-Xvfb                                   72/83 

  Installing     : gcc-c++                                                73/83 

  Installing     : gnome-vfs2                                             74/83 

  Installing     : libgnome                                               75/83 

  Installing     : libbonoboui                                            76/83 

  Installing     : libgnomeui                                             77/83 

  Installing     : gnome-mount                                            78/83 

  Installing     : gnome-python2-bonobo                                   79/83 

  Installing     : gnome-python2                                          80/83 

  Installing     : gnome-python2-gconf                                    81/83 

  Installing     : dogtail                                                82/83 

  Installing     : gnome-python2-gnomevfs                                 83/83 

Installed:
  autoconf.noarch 0:2.59-12                  automake.noarch 0:1.9.6-2.3.el5    
  automake14.noarch 0:1.4p6-13.el5.1         automake15.noarch 0:1.5-16.el5.2   
  automake16.noarch 0:1.6.3-8.el5.1          automake17.noarch 0:1.7.9-7.el5.2  
  bison.i386 0:2.3-2.1                       byacc.i386 0:1.9-29.2.2            
  cscope.i386 0:15.5-15.1.el5_3.1            ctags.i386 0:5.6-1.1               
  cvs.i386 0:1.11.22-7.el5                   dev86.i386 0:0.16.17-2.2           
  diffstat.i386 0:1.41-1.2.3.el5             dogtail.noarch 0:0.6.1-4.el5       
  doxygen.i386 1:1.4.7-1.1                   elfutils.i386 0:0.137-3.el5        
  flex.i386 0:2.5.4a-41.fc6                  gcc-c++.i386 0:4.1.2-51.el5        
  gcc-gfortran.i386 0:4.1.2-51.el5           gdb.i386 0:7.0.1-37.el5_7.1        
  indent.i386 0:2.2.9-14.fc6                 libtool.i386 0:1.5.22-7.el5_4      
  ltrace.i386 0:0.5-13.45svn.el5             oprofile.i386 0:0.9.4-15.el5       
  patchutils.i386 0:0.2.31-2.2.2             pstack.i386 0:1.2-7.2.2            
  python-ldap.i386 0:2.2.0-2.1               rcs.i386 0:5.7-30.1                
  redhat-rpm-config.noarch 0:8.0.45-32.el5   rpm-build.i386 0:4.4.2.3-22.el5    
  splint.i386 0:3.1.1-16.el5                 strace.i386 0:4.5.18-5.el5_5.5     
  swig.i386 0:1.3.29-2.el5                   systemtap.i386 0:1.3-9.el5         
  texinfo.i386 0:4.8-14.el5                  valgrind.i386 1:3.5.0-5.el5        

Dependency Installed:
  GConf2.i386 0:2.14.0-9.el5                                                    
  ORBit2.i386 0:2.14.3-5.el5                                                    
  at-spi.i386 0:1.7.11-3.el5                                                    
  audiofile.i386 1:0.2.6-5                                                      
  avahi.i386 0:0.6.16-10.el5_6                                                  
  avahi-glib.i386 0:0.6.16-10.el5_6                                             
  elfutils-libs.i386 0:0.137-3.el5                                              
  esound.i386 1:0.2.36-3                                                        
  gail.i386 0:1.9.2-3.el5                                                       
  gnome-keyring.i386 0:0.6.0-1.fc6                                              
  gnome-mime-data.i386 0:2.4.2-3.1                                              
  gnome-mount.i386 0:0.5-3.el5                                                  
  gnome-python2.i386 0:2.16.0-1.fc6                                             
  gnome-python2-bonobo.i386 0:2.16.0-1.fc6                                      
  gnome-python2-gconf.i386 0:2.16.0-1.fc6                                       
  gnome-python2-gnomevfs.i386 0:2.16.0-1.fc6                                    
  gnome-vfs2.i386 0:2.16.2-8.el5                                                
  imake.i386 0:1.0.2-3                                                          
  libIDL.i386 0:0.8.7-1.fc6                                                     
  libXTrap.i386 0:1.0.0-3.1                                                     
  libXevie.i386 0:1.0.1-3.1                                                     
  libXfontcache.i386 0:1.0.2-3.1                                                
  libXres.i386 0:1.0.1-3.1                                                      
  libXxf86misc.i386 0:1.0.1-3.1                                                 
  libXxf86vm.i386 0:1.0.1-3.1                                                   
  libbonobo.i386 0:2.16.0-1.1.el5_5.1                                           
  libbonoboui.i386 0:2.16.0-1.fc6                                               
  libdaemon.i386 0:0.10-5.el5                                                   
  libgfortran.i386 0:4.1.2-51.el5                                               
  libgnome.i386 0:2.16.0-6.el5                                                  
  libgnomecanvas.i386 0:2.14.0-4.1                                              
  libgnomeui.i386 0:2.16.0-5.el5                                                
  libnotify.i386 0:0.4.2-6.el5                                                  
  libstdc++-devel.i386 0:4.1.2-51.el5                                           
  libwnck.i386 0:2.16.0-4.fc6                                                   
  libxslt.i386 0:1.1.17-2.el5_2.2                                               
  notification-daemon.i386 0:0.3.5-9.el5                                        
  pyorbit.i386 0:2.14.1-3.el5                                                   
  pyspi.i386 0:0.6.1-1.el5                                                      
  shared-mime-info.i386 0:0.19-5.el5                                            
  startup-notification.i386 0:0.8-4.1                                           
  systemtap-runtime.i386 0:1.3-9.el5                                            
  xorg-x11-fonts-base.noarch 0:7.1-2.1.el5                                      
  xorg-x11-server-Xvfb.i386 0:1.1.1-48.76.el5_6.4                               
  xorg-x11-server-utils.i386 0:7.1-5.el5_6.2                                    
  xorg-x11-xauth.i386 1:1.0.1-2.1                                               
  xorg-x11-xinit.i386 0:1.0.2-15.el5                                            

Complete! 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
RESULT: Loaded plugins: amazon-id, fastestmirror, security
Loading mirror speeds from cached hostfile
Skipping security plugin, no data
Setting up Update Process
Resolving Dependencies
Skipping security plugin, no data
--> Running transaction check
---> Package curl.i386 0:7.15.5-9.el5_7.4 set to be updated
---> Package dbus.i386 0:1.1.2-16.el5_7 set to be updated
---> Package dbus-libs.i386 0:1.1.2-16.el5_7 set to be updated
---> Package device-mapper-multipath.i386 0:0.4.7-46.el5_7.1 set to be updated
---> Package dhclient.i386 12:3.0.5-29.el5_7.1 set to be updated
---> Package gdbm.i386 0:1.8.0-26.2.1.el5_6.1 set to be updated
---> Package httpd.i386 0:2.2.3-53.el5_7.1 set to be updated
---> Package kernel-headers.i386 0:2.6.18-274.3.1.el5 set to be updated
---> Package kernel-xen.i686 0:2.6.18-274.3.1.el5 set to be installed
---> Package kernel-xen-devel.i686 0:2.6.18-274.3.1.el5 set to be installed
---> Package kpartx.i386 0:0.4.7-46.el5_7.1 set to be updated
---> Package libXfont.i386 0:1.2.2-1.0.4.el5_7 set to be updated
---> Package libpng.i386 2:1.2.10-7.1.el5_7.5 set to be updated
---> Package libsmbclient.i386 0:3.0.33-3.29.el5_7.4 set to be updated
---> Package lvm2.i386 0:2.02.84-6.el5_7.1 set to be updated
---> Package mod_ssl.i386 1:2.2.3-53.el5_7.1 set to be updated
---> Package net-snmp.i386 1:5.3.2.2-14.el5_7.1 set to be updated
---> Package net-snmp-libs.i386 1:5.3.2.2-14.el5_7.1 set to be updated
---> Package nspr.i386 0:4.8.8-1.el5_7 set to be updated
---> Package nss.i386 0:3.12.10-4.el5_7 set to be updated
---> Package nss-tools.i386 0:3.12.10-4.el5_7 set to be updated
---> Package openssh.i386 0:4.3p2-72.el5_7.5 set to be updated
---> Package openssh-clients.i386 0:4.3p2-72.el5_7.5 set to be updated
---> Package openssh-server.i386 0:4.3p2-72.el5_7.5 set to be updated
---> Package rsync.i386 0:3.0.6-4.el5_7.1 set to be updated
---> Package samba-client.i386 0:3.0.33-3.29.el5_7.4 set to be updated
---> Package samba-common.i386 0:3.0.33-3.29.el5_7.4 set to be updated
---> Package tzdata.i386 0:2011h-2.el5 set to be updated
---> Package yum-rhn-plugin.noarch 0:0.5.4-22.el5_7.2 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package          Arch   Version              Repository                   Size
================================================================================
Installing:
 kernel-xen       i686   2.6.18-274.3.1.el5   rhui-us-east-rhel-server-1y  20 M
 kernel-xen-devel i686   2.6.18-274.3.1.el5   rhui-us-east-rhel-server-1y 5.6 M
Updating:
 curl             i386   7.15.5-9.el5_7.4     rhui-us-east-rhel-server-1y 234 k
 dbus             i386   1.1.2-16.el5_7       rhui-us-east-rhel-server-1y 235 k
 dbus-libs        i386   1.1.2-16.el5_7       rhui-us-east-rhel-server-1y 124 k
 device-mapper-multipath
                  i386   0.4.7-46.el5_7.1     rhui-us-east-rhel-server-1y 2.8 M
 dhclient         i386   12:3.0.5-29.el5_7.1  rhui-us-east-rhel-server-1y 281 k
 gdbm             i386   1.8.0-26.2.1.el5_6.1 rhui-us-east-rhel-server-1y  28 k
 httpd            i386   2.2.3-53.el5_7.1     rhui-us-east-rhel-server-1y 1.2 M
 kernel-headers   i386   2.6.18-274.3.1.el5   rhui-us-east-rhel-server-1y 1.2 M
 kpartx           i386   0.4.7-46.el5_7.1     rhui-us-east-rhel-server-1y 425 k
 libXfont         i386   1.2.2-1.0.4.el5_7    rhui-us-east-rhel-server-1y 240 k
 libpng           i386   2:1.2.10-7.1.el5_7.5 rhui-us-east-rhel-server-1y 241 k
 libsmbclient     i386   3.0.33-3.29.el5_7.4  rhui-us-east-rhel-server-1y 908 k
 lvm2             i386   2.02.84-6.el5_7.1    rhui-us-east-rhel-server-1y 2.9 M
 mod_ssl          i386   1:2.2.3-53.el5_7.1   rhui-us-east-rhel-server-1y  93 k
 net-snmp         i386   1:5.3.2.2-14.el5_7.1 rhui-us-east-rhel-server-1y 702 k
 net-snmp-libs    i386   1:5.3.2.2-14.el5_7.1 rhui-us-east-rhel-server-1y 1.3 M
 nspr             i386   4.8.8-1.el5_7        rhui-us-east-rhel-server-1y 120 k
 nss              i386   3.12.10-4.el5_7      rhui-us-east-rhel-server-1y 1.1 M
 nss-tools        i386   3.12.10-4.el5_7      rhui-us-east-rhel-server-1y 1.2 M
 openssh          i386   4.3p2-72.el5_7.5     rhui-us-east-rhel-server-1y 289 k
 openssh-clients  i386   4.3p2-72.el5_7.5     rhui-us-east-rhel-server-1y 452 k
 openssh-server   i386   4.3p2-72.el5_7.5     rhui-us-east-rhel-server-1y 273 k
 rsync            i386   3.0.6-4.el5_7.1      rhui-us-east-rhel-server-1y 338 k
 samba-client     i386   3.0.33-3.29.el5_7.4  rhui-us-east-rhel-server-1y 5.7 M
 samba-common     i386   3.0.33-3.29.el5_7.4  rhui-us-east-rhel-server-1y 6.7 M
 tzdata           i386   2011h-2.el5          rhui-us-east-rhel-server-1y 781 k
 yum-rhn-plugin   noarch 0.5.4-22.el5_7.2     rhui-us-east-rhel-server-1y  63 k

Transaction Summary
================================================================================
Install       2 Package(s)
Upgrade      27 Package(s)

Total download size: 55 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           2.5 MB/s |  55 MB     00:22     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction

  Updating       : nspr                                                    1/56 

  Updating       : nss                                                     2/56 

  Updating       : net-snmp-libs                                           3/56 

  Updating       : openssh                                                 4/56 

  Updating       : httpd                                                   5/56 

  Updating       : libsmbclient                                            6/56 

  Updating       : samba-common                                            7/56 

  Updating       : lvm2                                                    8/56 

  Updating       : libpng                                                  9/56 

  Updating       : gdbm                                                   10/56 

  Updating       : curl                                                   11/56 

  Updating       : kpartx                                                 12/56 

  Updating       : libXfont                                               13/56 

  Updating       : device-mapper-multipath                                14/56 

  Updating       : samba-client                                           15/56 

  Updating       : mod_ssl                                                16/56 

  Updating       : openssh-clients                                        17/56 

  Updating       : openssh-server                                         18/56 

  Updating       : net-snmp                                               19/56 

  Updating       : nss-tools                                              20/56 

  Updating       : dhclient                                               21/56 

  Updating       : rsync                                                  22/56 

  Installing     : kernel-xen-devel                                       23/56 

  Installing     : kernel-xen                                             24/56 

  Updating       : kernel-headers                                         25/56 

  Updating       : yum-rhn-plugin                                         26/56 

  Updating       : tzdata                                                 27/56 

  Updating       : dbus-libs                                              28/56 

  Updating       : dbus                                                   29/56 

  Cleanup        : rsync                                                  30/56 

  Cleanup        : tzdata                                                 31/56 

  Cleanup        : dbus                                                   32/56 

  Cleanup        : libXfont                                               33/56 

  Cleanup        : nss-tools                                              34/56 

  Cleanup        : openssh-clients                                        35/56 

  Cleanup        : dbus-libs                                              36/56 

  Cleanup        : openssh-server                                         37/56 

  Cleanup        : yum-rhn-plugin                                         38/56 

  Cleanup        : kpartx                                                 39/56 

  Cleanup        : samba-client                                           40/56 

  Cleanup        : curl                                                   41/56 

  Cleanup        : nspr                                                   42/56 

  Cleanup        : gdbm                                                   43/56 

  Cleanup        : kernel-headers                                         44/56 

  Cleanup        : net-snmp-libs                                          45/56 

  Cleanup        : httpd                                                  46/56 

  Cleanup        : samba-common                                           47/56 

  Cleanup        : dhclient                                               48/56 

  Cleanup        : libpng                                                 49/56 

  Cleanup        : mod_ssl                                                50/56 

  Cleanup        : openssh                                                51/56 

  Cleanup        : lvm2                                                   52/56 

  Cleanup        : nss                                                    53/56 

  Cleanup        : device-mapper-multipath                                54/56 

  Cleanup        : net-snmp                                               55/56 

  Cleanup        : libsmbclient                                           56/56 

Installed:
  kernel-xen.i686 0:2.6.18-274.3.1.el5                                          
  kernel-xen-devel.i686 0:2.6.18-274.3.1.el5                                    

Updated:
  curl.i386 0:7.15.5-9.el5_7.4                                                  
  dbus.i386 0:1.1.2-16.el5_7                                                    
  dbus-libs.i386 0:1.1.2-16.el5_7                                               
  device-mapper-multipath.i386 0:0.4.7-46.el5_7.1                               
  dhclient.i386 12:3.0.5-29.el5_7.1                                             
  gdbm.i386 0:1.8.0-26.2.1.el5_6.1                                              
  httpd.i386 0:2.2.3-53.el5_7.1                                                 
  kernel-headers.i386 0:2.6.18-274.3.1.el5                                      
  kpartx.i386 0:0.4.7-46.el5_7.1                                                
  libXfont.i386 0:1.2.2-1.0.4.el5_7                                             
  libpng.i386 2:1.2.10-7.1.el5_7.5                                              
  libsmbclient.i386 0:3.0.33-3.29.el5_7.4                                       
  lvm2.i386 0:2.02.84-6.el5_7.1                                                 
  mod_ssl.i386 1:2.2.3-53.el5_7.1                                               
  net-snmp.i386 1:5.3.2.2-14.el5_7.1                                            
  net-snmp-libs.i386 1:5.3.2.2-14.el5_7.1                                       
  nspr.i386 0:4.8.8-1.el5_7                                                     
  nss.i386 0:3.12.10-4.el5_7                                                    
  nss-tools.i386 0:3.12.10-4.el5_7                                              
  openssh.i386 0:4.3p2-72.el5_7.5                                               
  openssh-clients.i386 0:4.3p2-72.el5_7.5                                       
  openssh-server.i386 0:4.3p2-72.el5_7.5                                        
  rsync.i386 0:3.0.6-4.el5_7.1                                                  
  samba-client.i386 0:3.0.33-3.29.el5_7.4                                       
  samba-common.i386 0:3.0.33-3.29.el5_7.4                                       
  tzdata.i386 0:2011h-2.el5                                                     
  yum-rhn-plugin.noarch 0:0.5.4-22.el5_7.2                                      

Complete! 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no fa1lures in rpm package ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'failure in rpm package' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no rpm scriplet fa1lures ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'scriptlet failed, exit status 1' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify package removal... 
######################################################################################
COMMAND: /bin/rpm -e zsh
RETURN CODE: 0
COMMAND:  /bin/rpm -q zsh
RESULT: package zsh is not installed 
EXPECTED RESULT: package zsh is not installed
RETURN CODE: 1
PASS
######################################################################################
# NEW TEST: ## Verify bash_history ... 
######################################################################################
COMMAND:  cat ~/.bash_history | wc -l 
RESULT: 0 
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no systemid file ... 
######################################################################################
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rh-cloud-firstboot is OFF ... 
######################################################################################
COMMAND:  chkconfig --list | grep rh-cloud | grep 3:off | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
/etc/sysconfig/rh-cloud-firstboot FOUND
COMMAND:  echo true
RESULT: true

Comment 6 Kedar Bidarkar 2011-09-14 11:20:30 UTC
EXPECTED RESULT: 
RETURN CODE: 0
PASS
COMMAND:  cat /etc/sysconfig/rh-cloud-firstboot
RESULT: RUN_FIRSTBOOT=NO 
EXPECTED RESULT: RUN_FIRSTBOOT=NO
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify nameserver ... 
######################################################################################
COMMAND:  /usr/bin/dig clock.redhat.com 2>> /root/valid/src/validate.log | grep 66.187.233.4  | wc -l
RESULT: 1 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify group file ... 
######################################################################################
COMMAND:  cat /etc/group | grep root:x:0
RESULT: root:x:0:root 
EXPECTED RESULT: root:x:0:root
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep bin:x:1
RESULT: bin:x:1:root,bin,daemon 
EXPECTED RESULT: bin:x:1:root,bin,daemon
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep daemon:x:2
RESULT: daemon:x:2:root,bin,daemon 
EXPECTED RESULT: daemon:x:2:root,bin,daemon
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep nobody:x:99
RESULT: nobody:x:99: 
EXPECTED RESULT: nobody:x:99:
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify new passwd file ... 
######################################################################################
COMMAND:  cat /etc/passwd | grep root:x:0
RESULT: root:x:0:0:root:/root:/bin/bash 
EXPECTED RESULT: root:x:0:0:root:/root:/bin/bash
RETURN CODE: 0
PASS
COMMAND:  cat /etc/passwd | grep nobody:x:99
RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin 
EXPECTED RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin
RETURN CODE: 0
PASS
COMMAND:  cat /etc/passwd | grep sshd
RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin 
EXPECTED RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify runlevel ... 
######################################################################################
COMMAND:  cat /etc/inittab | grep id:
RESULT: id:3:initdefault: 
EXPECTED RESULT: id:3:initdefault:
RETURN CODE: 0
PASS
COMMAND:  cat /etc/inittab | grep si:
RESULT: si::sysinit:/etc/rc.d/rc.sysinit 
EXPECTED RESULT: si::sysinit:/etc/rc.d/rc.sysinit
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify new shells file ... 
######################################################################################
COMMAND:  cat /etc/shells | grep bash
RESULT: /bin/bash 
EXPECTED RESULT: /bin/bash
RETURN CODE: 0
PASS
COMMAND:  cat /etc/shells | grep nologin
RESULT: /sbin/nologin 
EXPECTED RESULT: /sbin/nologin
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify networking ... 
######################################################################################
COMMAND:  grep ^NETWORKING= /etc/sysconfig/network | cut -d\= -f2
RESULT: yes 
EXPECTED RESULT: yes
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify device ... 
######################################################################################
COMMAND:  grep ^DEVICE= /etc/sysconfig/network-scripts/ifcfg-eth0 | cut -d\= -f2
RESULT: eth0 
EXPECTED RESULT: eth0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify iptables ... 
######################################################################################
COMMAND: /etc/init.d/iptables status | grep REJECT 
10   REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-host-prohibited 
RETURN CODE: 0
COMMAND:  /etc/init.d/iptables status | grep :22 | grep ACCEPT | wc -l 
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/iptables status | grep dpt:631 | grep ACCEPT | wc -l 
RESULT: 2 
EXPECTED RESULT: 2
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/iptables status | grep dpt:5353 | grep ACCEPT | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/iptables status | grep RELATED,ESTABLISHED | grep ACCEPT | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/iptables status | grep -e esp -e ah | grep ACCEPT | wc -l
RESULT: 2 
EXPECTED RESULT: 2
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/iptables status | grep REJECT | grep all | grep 0.0.0.0/0 | grep icmp-host-prohibited |  wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify sshd ...
######################################################################################
COMMAND:  chkconfig --list | grep sshd
RESULT: sshd           	0:off	1:off	2:on	3:on	4:on	5:on	6:off 
EXPECTED RESULT: sshd           	0:off	1:off	2:on	3:on	4:on	5:on	6:off
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/sshd status | grep running | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify  chkconfig ... 
######################################################################################
COMMAND:  chkconfig --list | grep crond | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
COMMAND:  chkconfig --list | grep  iptables | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
COMMAND:  chkconfig --list | grep yum-updatesd | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rsyslog is on ... 
######################################################################################
COMMAND:  chkconfig --list | grep rsyslog | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rsyslog config ... 
######################################################################################
COMMAND:  md5sum /etc/rsyslog.conf | cut -f 1 -d  " "
RESULT: 15936b6fe4e8fadcea87b54de495f975 
EXPECTED RESULT: bd4e328df4b59d41979ef7202a05e074 OR 15936b6fe4e8fadcea87b54de495f975 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify auditd is on ... 
######################################################################################
COMMAND:  /sbin/chkconfig --list auditd | grep 3:on
RESULT: auditd         	0:off	1:off	2:on	3:on	4:on	5:on	6:off 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
COMMAND:  /sbin/chkconfig --list auditd | grep 5:on
RESULT: auditd         	0:off	1:off	2:on	3:on	4:on	5:on	6:off 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify audit.rules ... 
######################################################################################
COMMAND:  md5sum /etc/audit/audit.rules | cut -f 1 -d  " "
RESULT: f9869e1191838c461f5b9051c78a638d 
EXPECTED RESULT: f9869e1191838c461f5b9051c78a638d
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify auditd.conf ... 
######################################################################################
COMMAND:  md5sum /etc/audit/auditd.conf | cut -f 1 -d  " "
RESULT: 612ddf28c3916530d47ef56a1b1ed1ed 
EXPECTED RESULT: 612ddf28c3916530d47ef56a1b1ed1ed
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify auditd sysconfig ... 
######################################################################################
COMMAND:  md5sum /etc/sysconfig/auditd | cut -f 1 -d  " "
RESULT: 123beb3a97a32d96eba4f11509e39da2 
EXPECTED RESULT: 123beb3a97a32d96eba4f11509e39da2
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify sshd_config settings ...
######################################################################################
COMMAND:  cat /etc/ssh/sshd_config  | grep  PasswordAuthentication | grep no | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/ld.so.conf.d/libc6-xen.conf is not present ... 
######################################################################################
COMMAND:  ls /etc/ld.so.conf.d/libc6-xen.conf
ls: /etc/ld.so.conf.d/libc6-xen.conf: No such file or directory
RESULT:  
EXPECTED RESULT: 2
RETURN CODE: 2
PASS
######################################################################################
# NEW TEST: ##test menu.lst ... 
######################################################################################
COMMAND:  file /boot/grub/menu.lst  | grep symbolic | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  file /boot/grub/menu.lst  | grep grub.conf | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  cat /boot/grub/grub.conf  | grep "(hd0,0)" | wc -l
RESULT: 0 
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify resize2fs ... 
######################################################################################
COMMAND: resize2fs -p /dev/sda1 15000M
resize2fs 1.39 (29-May-2006)
RETURN CODE: 0
COMMAND:  df -h | grep 15G | wc -l 
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: Fetching Host Details 
######################################################################################
This is not a Hourly image

## Summary ##
FAILURES = 2
FAILED TESTS = ## Verify turning on/off swap file ... ## Verify swap size ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 7 Kedar Bidarkar 2011-09-14 11:21:54 UTC
IMAGE ID= ami-a570b3cc_us-east-1_c1.medium
###### TEST KERNEL AFTER REBOOT ####  
######################################################################################
# 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-274.3.1
CURRENT_UNAME_KERNAL_VERSION=2.6.18-274
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed 's/\(.*\)......./\1/'
RESULT: 2.6.18-274 
EXPECTED RESULT: 2.6.18-274.3.1
RETURN CODE: 0
FAIL2
2.6.18-274
######################################################################################
# NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ... 
######################################################################################
COMMAND:  cat /boot/grub/menu.lst | grep 2.6.18-274.3.1
RESULT: title Red Hat Enterprise Linux Server (2.6.18-274.3.1.el5xen)
        kernel /boot/vmlinuz-2.6.18-274.3.1.el5xen ro root=LABEL=/ 
        initrd /boot/initrd-2.6.18-274.3.1.el5xen.img 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# 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
######################################################################################
# NEW TEST: ##Verify memory match hwp ... 
######################################################################################
cat /proc/meminfo | grep MemTotal: | awk '{print }'
FOUND MEMORY OF 1781944 > hwp MEMORY of 1700000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: Fetching Host Details 
######################################################################################
This is not a Hourly image
hostname
######################################################################################
# NEW TEST: The selected image has the version RHEL 5.7
######################################################################################

## Summary ##
FAILURES = 3
FAILED TESTS = ## Verify turning on/off swap file ... ## Verify swap size ...
## Verify latest installed kernel is running ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 8 Kedar Bidarkar 2011-09-14 11:21:58 UTC
 automake14           noarch 1.4p6-13.el5.1   rhui-us-east-rhel-server-1y 200 k
 automake15           noarch 1.5-16.el5.2     rhui-us-east-rhel-server-1y 230 k
 automake16           noarch 1.6.3-8.el5.1    rhui-us-east-rhel-server-1y 241 k
 automake17           noarch 1.7.9-7.el5.2    rhui-us-east-rhel-server-1y 278 k
 bison                i386   2.3-2.1          rhui-us-east-rhel-server-1y 536 k
 byacc                i386   1.9-29.2.2       rhui-us-east-rhel-server-1y  38 k
 cscope               i386   15.5-15.1.el5_3.1
                                              rhui-us-east-rhel-server-1y 136 k
 ctags                i386   5.6-1.1          rhui-us-east-rhel-server-1y 127 k
 cvs                  i386   1.11.22-7.el5    rhui-us-east-rhel-server-1y 725 k
 dev86                i386   0.16.17-2.2      rhui-us-east-rhel-server-1y 372 k
 diffstat             i386   1.41-1.2.3.el5   rhui-us-east-rhel-server-1y  18 k
 dogtail              noarch 0.6.1-4.el5      rhui-us-east-rhel-server-1y 172 k
 doxygen              i386   1:1.4.7-1.1      rhui-us-east-rhel-server-1y 2.3 M
 elfutils             i386   0.137-3.el5      rhui-us-east-rhel-server-1y 228 k
 flex                 i386   2.5.4a-41.fc6    rhui-us-east-rhel-server-1y 124 k
 gcc-c++              i386   4.1.2-51.el5     rhui-us-east-rhel-server-1y 3.4 M
 gcc-gfortran         i386   4.1.2-51.el5     rhui-us-east-rhel-server-1y 3.1 M
 gdb                  i386   7.0.1-37.el5_7.1 rhui-us-east-rhel-server-1y 2.4 M
 indent               i386   2.2.9-14.fc6     rhui-us-east-rhel-server-1y  93 k
 libtool              i386   1.5.22-7.el5_4   rhui-us-east-rhel-server-1y 667 k
 ltrace               i386   0.5-13.45svn.el5 rhui-us-east-rhel-server-1y  61 k
 oprofile             i386   0.9.4-15.el5     rhui-us-east-rhel-server-1y 2.7 M
 patchutils           i386   0.2.31-2.2.2     rhui-us-east-rhel-server-1y 109 k
 pstack               i386   1.2-7.2.2        rhui-us-east-rhel-server-1y 4.6 k
 python-ldap          i386   2.2.0-2.1        rhui-us-east-rhel-server-1y 122 k
 rcs                  i386   5.7-30.1         rhui-us-east-rhel-server-1y 332 k
 redhat-rpm-config    noarch 8.0.45-32.el5    rhui-us-east-rhel-server-1y  54 k
 rpm-build            i386   4.4.2.3-22.el5   rhui-us-east-rhel-server-1y 302 k
 splint               i386   3.1.1-16.el5     rhui-us-east-rhel-server-1y 1.5 M
 strace               i386   4.5.18-5.el5_5.5 rhui-us-east-rhel-server-1y 172 k
 swig                 i386   1.3.29-2.el5     rhui-us-east-rhel-server-1y 2.9 M
 systemtap            i386   1.3-9.el5        rhui-us-east-rhel-server-1y 2.5 M
 texinfo              i386   4.8-14.el5       rhui-us-east-rhel-server-1y 753 k
 valgrind             i386   1:3.5.0-5.el5    rhui-us-east-rhel-server-1y  20 M
Installing for dependencies:
 GConf2               i386   2.14.0-9.el5     rhui-us-east-rhel-server-1y 1.5 M
 ORBit2               i386   2.14.3-5.el5     rhui-us-east-rhel-server-1y 253 k
 at-spi               i386   1.7.11-3.el5     rhui-us-east-rhel-server-1y 290 k
 audiofile            i386   1:0.2.6-5        rhui-us-east-rhel-server-1y 107 k
 avahi                i386   0.6.16-10.el5_6  rhui-us-east-rhel-server-1y 251 k
 avahi-glib           i386   0.6.16-10.el5_6  rhui-us-east-rhel-server-1y  15 k
 elfutils-libs        i386   0.137-3.el5      rhui-us-east-rhel-server-1y 193 k
 esound               i386   1:0.2.36-3       rhui-us-east-rhel-server-1y 130 k
 gail                 i386   1.9.2-3.el5      rhui-us-east-rhel-server-1y 350 k
 gnome-keyring        i386   0.6.0-1.fc6      rhui-us-east-rhel-server-1y 170 k
 gnome-mime-data      i386   2.4.2-3.1        rhui-us-east-rhel-server-1y 691 k
 gnome-mount          i386   0.5-3.el5        rhui-us-east-rhel-server-1y  70 k
 gnome-python2        i386   2.16.0-1.fc6     rhui-us-east-rhel-server-1y 126 k
 gnome-python2-bonobo i386   2.16.0-1.fc6     rhui-us-east-rhel-server-1y  64 k
 gnome-python2-gconf  i386   2.16.0-1.fc6     rhui-us-east-rhel-server-1y  32 k
 gnome-python2-gnomevfs
                      i386   2.16.0-1.fc6     rhui-us-east-rhel-server-1y  65 k
 gnome-vfs2           i386   2.16.2-8.el5     rhui-us-east-rhel-server-1y 1.2 M
 imake                i386   1.0.2-3          rhui-us-east-rhel-server-1y 318 k
 libIDL               i386   0.8.7-1.fc6      rhui-us-east-rhel-server-1y  85 k
 libXTrap             i386   1.0.0-3.1        rhui-us-east-rhel-server-1y  23 k
 libXevie             i386   1.0.1-3.1        rhui-us-east-rhel-server-1y  14 k
 libXfontcache        i386   1.0.2-3.1        rhui-us-east-rhel-server-1y 9.7 k
 libXres              i386   1.0.1-3.1        rhui-us-east-rhel-server-1y  14 k
 libXxf86misc         i386   1.0.1-3.1        rhui-us-east-rhel-server-1y  12 k
 libXxf86vm           i386   1.0.1-3.1        rhui-us-east-rhel-server-1y  14 k
 libbonobo            i386   2.16.0-1.1.el5_5.1
                                              rhui-us-east-rhel-server-1y 502 k
 libbonoboui          i386   2.16.0-1.fc6     rhui-us-east-rhel-server-1y 390 k
 libdaemon            i386   0.10-5.el5       rhui-us-east-rhel-server-1y  24 k
 libgfortran          i386   4.1.2-51.el5     rhui-us-east-rhel-server-1y 232 k
 libgnome             i386   2.16.0-6.el5     rhui-us-east-rhel-server-1y 859 k
 libgnomecanvas       i386   2.14.0-4.1       rhui-us-east-rhel-server-1y 222 k
 libgnomeui           i386   2.16.0-5.el5     rhui-us-east-rhel-server-1y 977 k
 libnotify            i386   0.4.2-6.el5      rhui-us-east-rhel-server-1y  37 k
 libstdc++-devel      i386   4.1.2-51.el5     rhui-us-east-rhel-server-1y 2.8 M
 libwnck              i386   2.16.0-4.fc6     rhui-us-east-rhel-server-1y 185 k
 libxslt              i386   1.1.17-2.el5_2.2 rhui-us-east-rhel-server-1y 485 k
 notification-daemon  i386   0.3.5-9.el5      rhui-us-east-rhel-server-1y  47 k
 pyorbit              i386   2.14.1-3.el5     rhui-us-east-rhel-server-1y  48 k
 pyspi                i386   0.6.1-1.el5      rhui-us-east-rhel-server-1y  79 k
 shared-mime-info     i386   0.19-5.el5       rhui-us-east-rhel-server-1y 148 k
 startup-notification i386   0.8-4.1          rhui-us-east-rhel-server-1y  32 k
 systemtap-runtime    i386   1.3-9.el5        rhui-us-east-rhel-server-1y  93 k
 xorg-x11-fonts-base  noarch 7.1-2.1.el5      rhui-us-east-rhel-server-1y 3.7 M
 xorg-x11-server-Xvfb i386   1.1.1-48.76.el5_6.4
                                              rhui-us-east-rhel-server-1y 1.6 M
 xorg-x11-server-utils
                      i386   7.1-5.el5_6.2    rhui-us-east-rhel-server-1y 164 k
 xorg-x11-xauth       i386   1:1.0.1-2.1      rhui-us-east-rhel-server-1y  31 k
 xorg-x11-xinit       i386   1.0.2-15.el5     rhui-us-east-rhel-server-1y  26 k

Transaction Summary
================================================================================
Install      83 Package(s)
Upgrade       0 Package(s)

Total download size: 66 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           2.7 MB/s |  66 MB     00:24     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction

  Installing     : libgnomecanvas                                          1/83 

  Installing     : gnome-keyring                                           2/83 

  Installing     : libIDL                                                  3/83 

  Installing     : ORBit2                                                  4/83 

  Installing     : GConf2                                                  5/83 

  Installing     : libbonobo                                               6/83 

  Installing     : audiofile                                               7/83 

  Installing     : esound                                                  8/83 

  Installing     : pyorbit                                                 9/83 

  Installing     : gail                                                   10/83 

  Installing     : libgfortran                                            11/83 

  Installing     : libXTrap                                               12/83 

  Installing     : startup-notification                                   13/83 

  Installing     : libXxf86misc                                           14/83 

  Installing     : elfutils-libs                                          15/83 

  Installing     : elfutils                                               16/83 

  Installing     : libXfontcache                                          17/83 

  Installing     : libxslt                                                18/83 

  Installing     : xorg-x11-xauth                                         19/83 

  Installing     : libdaemon                                              20/83 

  Installing     : avahi                                                  21/83 

  Installing     : avahi-glib                                             22/83 

  Installing     : libXres                                                23/83 

  Installing     : libwnck                                                24/83 

  Installing     : notification-daemon                                    25/83 

  Installing     : libnotify                                              26/83 

  Installing     : imake                                                  27/83 

  Installing     : libXxf86vm                                             28/83 

  Installing     : xorg-x11-server-utils                                  29/83 

  Installing     : xorg-x11-xinit                                         30/83 

  Installing     : gdb                                                    31/83 

  Installing     : libXevie                                               32/83 

  Installing     : at-spi                                                 33/83 

  Installing     : pyspi                                                  34/83 

  Installing     : shared-mime-info                                       35/83 

  Installing     : rpm-build                                              36/83 

  Installing     : gcc-gfortran                                           37/83 

  Installing     : oprofile                                               38/83 

  Installing     : indent                                                 39/83 

  Installing     : texinfo                                                40/83 

  Installing     : splint                                                 41/83 

  Installing     : cvs                                                    42/83 

  Installing     : cscope                                                 43/83 

  Installing     : ltrace                                                 44/83 

  Installing     : doxygen                                                45/83 

  Installing     : strace                                                 46/83 

  Installing     : flex                                                   47/83 

  Installing     : python-ldap                                            48/83 

  Installing     : valgrind                                               49/83 

  Installing     : swig                                                   50/83 

  Installing     : dev86                                                  51/83 

  Installing     : bison                                                  52/83 

  Installing     : diffstat                                               53/83 

  Installing     : byacc                                                  54/83 

  Installing     : patchutils                                             55/83 

  Installing     : rcs                                                    56/83 

  Installing     : ctags                                                  57/83 

  Installing     : autoconf                                               58/83 

  Installing     : automake                                               59/83 

  Installing     : xorg-x11-fonts-base                                    60/83 

  Installing     : systemtap-runtime                                      61/83 

  Installing     : libstdc++-devel                                        62/83 

  Installing     : gnome-mime-data                                        63/83 

  Installing     : systemtap                                              64/83 

  Installing     : libtool                                                65/83 

  Installing     : automake17                                             66/83 

  Installing     : pstack                                                 67/83 

  Installing     : automake14                                             68/83 

  Installing     : automake15                                             69/83 

  Installing     : redhat-rpm-config                                      70/83 

  Installing     : automake16                                             71/83 

  Installing     : xorg-x11-server-Xvfb                                   72/83 

  Installing     : gcc-c++                                                73/83 

  Installing     : gnome-vfs2                                             74/83 

  Installing     : libgnome                                               75/83 

  Installing     : libbonoboui                                            76/83 

  Installing     : libgnomeui                                             77/83 

  Installing     : gnome-mount                                            78/83 

  Installing     : gnome-python2-bonobo                                   79/83 

  Installing     : gnome-python2                                          80/83 

  Installing     : gnome-python2-gconf                                    81/83 

  Installing     : dogtail                                                82/83 

  Installing     : gnome-python2-gnomevfs                                 83/83 

Installed:
  autoconf.noarch 0:2.59-12                  automake.noarch 0:1.9.6-2.3.el5    
  automake14.noarch 0:1.4p6-13.el5.1         automake15.noarch 0:1.5-16.el5.2   
  automake16.noarch 0:1.6.3-8.el5.1          automake17.noarch 0:1.7.9-7.el5.2  
  bison.i386 0:2.3-2.1                       byacc.i386 0:1.9-29.2.2            
  cscope.i386 0:15.5-15.1.el5_3.1            ctags.i386 0:5.6-1.1               
  cvs.i386 0:1.11.22-7.el5                   dev86.i386 0:0.16.17-2.2           
  diffstat.i386 0:1.41-1.2.3.el5             dogtail.noarch 0:0.6.1-4.el5       
  doxygen.i386 1:1.4.7-1.1                   elfutils.i386 0:0.137-3.el5        
  flex.i386 0:2.5.4a-41.fc6                  gcc-c++.i386 0:4.1.2-51.el5        
  gcc-gfortran.i386 0:4.1.2-51.el5           gdb.i386 0:7.0.1-37.el5_7.1        
  indent.i386 0:2.2.9-14.fc6                 libtool.i386 0:1.5.22-7.el5_4      
  ltrace.i386 0:0.5-13.45svn.el5             oprofile.i386 0:0.9.4-15.el5       
  patchutils.i386 0:0.2.31-2.2.2             pstack.i386 0:1.2-7.2.2            
  python-ldap.i386 0:2.2.0-2.1               rcs.i386 0:5.7-30.1                
  redhat-rpm-config.noarch 0:8.0.45-32.el5   rpm-build.i386 0:4.4.2.3-22.el5    
  splint.i386 0:3.1.1-16.el5                 strace.i386 0:4.5.18-5.el5_5.5     
  swig.i386 0:1.3.29-2.el5                   systemtap.i386 0:1.3-9.el5         
  texinfo.i386 0:4.8-14.el5                  valgrind.i386 1:3.5.0-5.el5        

Dependency Installed:
  GConf2.i386 0:2.14.0-9.el5                                                    
  ORBit2.i386 0:2.14.3-5.el5                                                    
  at-spi.i386 0:1.7.11-3.el5                                                    
  audiofile.i386 1:0.2.6-5                                                      
  avahi.i386 0:0.6.16-10.el5_6                                                  
  avahi-glib.i386 0:0.6.16-10.el5_6                                             
  elfutils-libs.i386 0:0.137-3.el5                                              
  esound.i386 1:0.2.36-3                                                        
  gail.i386 0:1.9.2-3.el5                                                       
  gnome-keyring.i386 0:0.6.0-1.fc6                                              
  gnome-mime-data.i386 0:2.4.2-3.1                                              
  gnome-mount.i386 0:0.5-3.el5                                                  
  gnome-python2.i386 0:2.16.0-1.fc6                                             
  gnome-python2-bonobo.i386 0:2.16.0-1.fc6                                      
  gnome-python2-gconf.i386 0:2.16.0-1.fc6                                       
  gnome-python2-gnomevfs.i386 0:2.16.0-1.fc6                                    
  gnome-vfs2.i386 0:2.16.2-8.el5                                                
  imake.i386 0:1.0.2-3                                                          
  libIDL.i386 0:0.8.7-1.fc6                                                     
  libXTrap.i386 0:1.0.0-3.1                                                     
  libXevie.i386 0:1.0.1-3.1                                                     
  libXfontcache.i386 0:1.0.2-3.1                                                
  libXres.i386 0:1.0.1-3.1                                                      
  libXxf86misc.i386 0:1.0.1-3.1                                                 
  libXxf86vm.i386 0:1.0.1-3.1                                                   
  libbonobo.i386 0:2.16.0-1.1.el5_5.1                                           
  libbonoboui.i386 0:2.16.0-1.fc6                                               
  libdaemon.i386 0:0.10-5.el5                                                   
  libgfortran.i386 0:4.1.2-51.el5                                               
  libgnome.i386 0:2.16.0-6.el5                                                  
  libgnomecanvas.i386 0:2.14.0-4.1                                              
  libgnomeui.i386 0:2.16.0-5.el5                                                
  libnotify.i386 0:0.4.2-6.el5                                                  
  libstdc++-devel.i386 0:4.1.2-51.el5                                           
  libwnck.i386 0:2.16.0-4.fc6                                                   
  libxslt.i386 0:1.1.17-2.el5_2.2                                               
  notification-daemon.i386 0:0.3.5-9.el5                                        
  pyorbit.i386 0:2.14.1-3.el5                                                   
  pyspi.i386 0:0.6.1-1.el5                                                      
  shared-mime-info.i386 0:0.19-5.el5                                            
  startup-notification.i386 0:0.8-4.1                                           
  systemtap-runtime.i386 0:1.3-9.el5                                            
  xorg-x11-fonts-base.noarch 0:7.1-2.1.el5                                      
  xorg-x11-server-Xvfb.i386 0:1.1.1-48.76.el5_6.4                               
  xorg-x11-server-utils.i386 0:7.1-5.el5_6.2                                    
  xorg-x11-xauth.i386 1:1.0.1-2.1                                               
  xorg-x11-xinit.i386 0:1.0.2-15.el5                                            

Complete! 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
RESULT: Loaded plugins: amazon-id, fastestmirror, security
Loading mirror speeds from cached hostfile
Skipping security plugin, no data
Setting up Update Process
Resolving Dependencies
Skipping security plugin, no data
--> Running transaction check
---> Package curl.i386 0:7.15.5-9.el5_7.4 set to be updated
---> Package dbus.i386 0:1.1.2-16.el5_7 set to be updated
---> Package dbus-libs.i386 0:1.1.2-16.el5_7 set to be updated
---> Package device-mapper-multipath.i386 0:0.4.7-46.el5_7.1 set to be updated
---> Package dhclient.i386 12:3.0.5-29.el5_7.1 set to be updated
---> Package gdbm.i386 0:1.8.0-26.2.1.el5_6.1 set to be updated
---> Package httpd.i386 0:2.2.3-53.el5_7.1 set to be updated
---> Package kernel-headers.i386 0:2.6.18-274.3.1.el5 set to be updated
---> Package kernel-xen.i686 0:2.6.18-274.3.1.el5 set to be installed
---> Package kernel-xen-devel.i686 0:2.6.18-274.3.1.el5 set to be installed
---> Package kpartx.i386 0:0.4.7-46.el5_7.1 set to be updated
---> Package libXfont.i386 0:1.2.2-1.0.4.el5_7 set to be updated
---> Package libpng.i386 2:1.2.10-7.1.el5_7.5 set to be updated
---> Package libsmbclient.i386 0:3.0.33-3.29.el5_7.4 set to be updated
---> Package lvm2.i386 0:2.02.84-6.el5_7.1 set to be updated
---> Package mod_ssl.i386 1:2.2.3-53.el5_7.1 set to be updated
---> Package net-snmp.i386 1:5.3.2.2-14.el5_7.1 set to be updated
---> Package net-snmp-libs.i386 1:5.3.2.2-14.el5_7.1 set to be updated
---> Package nspr.i386 0:4.8.8-1.el5_7 set to be updated
---> Package nss.i386 0:3.12.10-4.el5_7 set to be updated
---> Package nss-tools.i386 0:3.12.10-4.el5_7 set to be updated
---> Package openssh.i386 0:4.3p2-72.el5_7.5 set to be updated
---> Package openssh-clients.i386 0:4.3p2-72.el5_7.5 set to be updated
---> Package openssh-server.i386 0:4.3p2-72.el5_7.5 set to be updated
---> Package rsync.i386 0:3.0.6-4.el5_7.1 set to be updated
---> Package samba-client.i386 0:3.0.33-3.29.el5_7.4 set to be updated
---> Package samba-common.i386 0:3.0.33-3.29.el5_7.4 set to be updated
---> Package tzdata.i386 0:2011h-2.el5 set to be updated
---> Package yum-rhn-plugin.noarch 0:0.5.4-22.el5_7.2 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package          Arch   Version              Repository                   Size
================================================================================
Installing:
 kernel-xen       i686   2.6.18-274.3.1.el5   rhui-us-east-rhel-server-1y  20 M
 kernel-xen-devel i686   2.6.18-274.3.1.el5   rhui-us-east-rhel-server-1y 5.6 M
Updating:
 curl             i386   7.15.5-9.el5_7.4     rhui-us-east-rhel-server-1y 234 k
 dbus             i386   1.1.2-16.el5_7       rhui-us-east-rhel-server-1y 235 k
 dbus-libs        i386   1.1.2-16.el5_7       rhui-us-east-rhel-server-1y 124 k
 device-mapper-multipath
                  i386   0.4.7-46.el5_7.1     rhui-us-east-rhel-server-1y 2.8 M
 dhclient         i386   12:3.0.5-29.el5_7.1  rhui-us-east-rhel-server-1y 281 k
 gdbm             i386   1.8.0-26.2.1.el5_6.1 rhui-us-east-rhel-server-1y  28 k
 httpd            i386   2.2.3-53.el5_7.1     rhui-us-east-rhel-server-1y 1.2 M
 kernel-headers   i386   2.6.18-274.3.1.el5   rhui-us-east-rhel-server-1y 1.2 M
 kpartx           i386   0.4.7-46.el5_7.1     rhui-us-east-rhel-server-1y 425 k
 libXfont         i386   1.2.2-1.0.4.el5_7    rhui-us-east-rhel-server-1y 240 k
 libpng           i386   2:1.2.10-7.1.el5_7.5 rhui-us-east-rhel-server-1y 241 k
 libsmbclient     i386   3.0.33-3.29.el5_7.4  rhui-us-east-rhel-server-1y 908 k
 lvm2             i386   2.02.84-6.el5_7.1    rhui-us-east-rhel-server-1y 2.9 M
 mod_ssl          i386   1:2.2.3-53.el5_7.1   rhui-us-east-rhel-server-1y  93 k
 net-snmp         i386   1:5.3.2.2-14.el5_7.1 rhui-us-east-rhel-server-1y 702 k
 net-snmp-libs    i386   1:5.3.2.2-14.el5_7.1 rhui-us-east-rhel-server-1y 1.3 M
 nspr             i386   4.8.8-1.el5_7        rhui-us-east-rhel-server-1y 120 k
 nss              i386   3.12.10-4.el5_7      rhui-us-east-rhel-server-1y 1.1 M
 nss-tools        i386   3.12.10-4.el5_7      rhui-us-east-rhel-server-1y 1.2 M
 openssh          i386   4.3p2-72.el5_7.5     rhui-us-east-rhel-server-1y 289 k
 openssh-clients  i386   4.3p2-72.el5_7.5     rhui-us-east-rhel-server-1y 452 k
 openssh-server   i386   4.3p2-72.el5_7.5     rhui-us-east-rhel-server-1y 273 k
 rsync            i386   3.0.6-4.el5_7.1      rhui-us-east-rhel-server-1y 338 k
 samba-client     i386   3.0.33-3.29.el5_7.4  rhui-us-east-rhel-server-1y 5.7 M
 samba-common     i386   3.0.33-3.29.el5_7.4  rhui-us-east-rhel-server-1y 6.7 M
 tzdata           i386   2011h-2.el5          rhui-us-east-rhel-server-1y 781 k
 yum-rhn-plugin   noarch 0.5.4-22.el5_7.2     rhui-us-east-rhel-server-1y  63 k

Transaction Summary
================================================================================
Install       2 Package(s)
Upgrade      27 Package(s)

Total download size: 55 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           3.9 MB/s |  55 MB     00:14     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction

  Updating       : nspr                                                    1/56 

  Updating       : nss                                                     2/56 

  Updating       : net-snmp-libs                                           3/56 

  Updating       : openssh                                                 4/56 

  Updating       : httpd                                                   5/56 

  Updating       : libsmbclient                                            6/56 

  Updating       : samba-common                                            7/56 

  Updating       : lvm2                                                    8/56 

  Updating       : libpng                                                  9/56 

  Updating       : gdbm                                                   10/56 

  Updating       : curl                                                   11/56 

  Updating       : kpartx                                                 12/56 

  Updating       : libXfont                                               13/56 

  Updating       : device-mapper-multipath                                14/56 

  Updating       : samba-client                                           15/56 

  Updating       : mod_ssl                                                16/56 

  Updating       : openssh-clients                                        17/56 

  Updating       : openssh-server                                         18/56 

  Updating       : net-snmp                                               19/56 

  Updating       : nss-tools                                              20/56 

  Updating       : dhclient                                               21/56 

  Updating       : rsync                                                  22/56 

  Installing     : kernel-xen-devel                                       23/56 

  Installing     : kernel-xen                                             24/56 

  Updating       : kernel-headers                                         25/56 

  Updating       : yum-rhn-plugin                                         26/56 

  Updating       : tzdata                                                 27/56 

  Updating       : dbus-libs                                              28/56 

  Updating       : dbus                                                   29/56 

  Cleanup        : rsync                                                  30/56 

  Cleanup        : tzdata                                                 31/56 

  Cleanup        : dbus                                                   32/56 

  Cleanup        : libXfont                                               33/56 

  Cleanup        : nss-tools                                              34/56 

  Cleanup        : openssh-clients                                        35/56 

  Cleanup        : dbus-libs                                              36/56 

  Cleanup        : openssh-server                                         37/56 

  Cleanup        : yum-rhn-plugin                                         38/56 

  Cleanup        : kpartx                                                 39/56 

  Cleanup        : samba-client                                           40/56 

  Cleanup        : curl                                                   41/56 

  Cleanup        : nspr                                                   42/56 

  Cleanup        : gdbm                                                   43/56 

  Cleanup        : kernel-headers                                         44/56 

  Cleanup        : net-snmp-libs                                          45/56 

  Cleanup        : httpd                                                  46/56 

  Cleanup        : samba-common                                           47/56 

  Cleanup        : dhclient                                               48/56 

  Cleanup        : libpng                                                 49/56 

  Cleanup        : mod_ssl                                                50/56 

  Cleanup        : openssh                                                51/56 

  Cleanup        : lvm2                                                   52/56 

  Cleanup        : nss                                                    53/56 

  Cleanup        : device-mapper-multipath                                54/56 

  Cleanup        : net-snmp                                               55/56 

  Cleanup        : libsmbclient                                           56/56 

Installed:
  kernel-xen.i686 0:2.6.18-274.3.1.el5                                          
  kernel-xen-devel.i686 0:2.6.18-274.3.1.el5                                    

Updated:
  curl.i386 0:7.15.5-9.el5_7.4                                                  
  dbus.i386 0:1.1.2-16.el5_7                                                    
  dbus-libs.i386 0:1.1.2-16.el5_7                                               
  device-mapper-multipath.i386 0:0.4.7-46.el5_7.1                               
  dhclient.i386 12:3.0.5-29.el5_7.1                                             
  gdbm.i386 0:1.8.0-26.2.1.el5_6.1                                              
  httpd.i386 0:2.2.3-53.el5_7.1                                                 
  kernel-headers.i386 0:2.6.18-274.3.1.el5                                      
  kpartx.i386 0:0.4.7-46.el5_7.1                                                
  libXfont.i386 0:1.2.2-1.0.4.el5_7                                             
  libpng.i386 2:1.2.10-7.1.el5_7.5                                              
  libsmbclient.i386 0:3.0.33-3.29.el5_7.4                                       
  lvm2.i386 0:2.02.84-6.el5_7.1                                                 
  mod_ssl.i386 1:2.2.3-53.el5_7.1                                               
  net-snmp.i386 1:5.3.2.2-14.el5_7.1                                            
  net-snmp-libs.i386 1:5.3.2.2-14.el5_7.1                                       
  nspr.i386 0:4.8.8-1.el5_7                                                     
  nss.i386 0:3.12.10-4.el5_7                                                    
  nss-tools.i386 0:3.12.10-4.el5_7                                              
  openssh.i386 0:4.3p2-72.el5_7.5                                               
  openssh-clients.i386 0:4.3p2-72.el5_7.5                                       
  openssh-server.i386 0:4.3p2-72.el5_7.5                                        
  rsync.i386 0:3.0.6-4.el5_7.1                                                  
  samba-client.i386 0:3.0.33-3.29.el5_7.4                                       
  samba-common.i386 0:3.0.33-3.29.el5_7.4                                       
  tzdata.i386 0:2011h-2.el5                                                     
  yum-rhn-plugin.noarch 0:0.5.4-22.el5_7.2                                      

Complete! 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no fa1lures in rpm package ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'failure in rpm package' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no rpm scriplet fa1lures ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'scriptlet failed, exit status 1' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify package removal... 
######################################################################################
COMMAND: /bin/rpm -e zsh
RETURN CODE: 0
COMMAND:  /bin/rpm -q zsh
RESULT: package zsh is not installed 
EXPECTED RESULT: package zsh is not installed
RETURN CODE: 1
PASS
######################################################################################
# NEW TEST: ## Verify bash_history ... 
######################################################################################
COMMAND:  cat ~/.bash_history | wc -l 
RESULT: 0 
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no systemid file ... 
######################################################################################
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rh-cloud-firstboot is OFF ... 
######################################################################################
COMMAND:  chkconfig --list | grep rh-cloud | grep 3:off | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
/etc/sysconfig/rh-cloud-firstboot FOUND
COMMAND:  echo true
RESULT: true

Comment 9 Kedar Bidarkar 2011-09-14 11:22:01 UTC
EXPECTED RESULT: 
RETURN CODE: 0
PASS
COMMAND:  cat /etc/sysconfig/rh-cloud-firstboot
RESULT: RUN_FIRSTBOOT=NO 
EXPECTED RESULT: RUN_FIRSTBOOT=NO
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify nameserver ... 
######################################################################################
COMMAND:  /usr/bin/dig clock.redhat.com 2>> /root/valid/src/validate.log | grep 66.187.233.4  | wc -l
RESULT: 1 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify group file ... 
######################################################################################
COMMAND:  cat /etc/group | grep root:x:0
RESULT: root:x:0:root 
EXPECTED RESULT: root:x:0:root
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep bin:x:1
RESULT: bin:x:1:root,bin,daemon 
EXPECTED RESULT: bin:x:1:root,bin,daemon
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep daemon:x:2
RESULT: daemon:x:2:root,bin,daemon 
EXPECTED RESULT: daemon:x:2:root,bin,daemon
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep nobody:x:99
RESULT: nobody:x:99: 
EXPECTED RESULT: nobody:x:99:
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify new passwd file ... 
######################################################################################
COMMAND:  cat /etc/passwd | grep root:x:0
RESULT: root:x:0:0:root:/root:/bin/bash 
EXPECTED RESULT: root:x:0:0:root:/root:/bin/bash
RETURN CODE: 0
PASS
COMMAND:  cat /etc/passwd | grep nobody:x:99
RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin 
EXPECTED RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin
RETURN CODE: 0
PASS
COMMAND:  cat /etc/passwd | grep sshd
RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin 
EXPECTED RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify runlevel ... 
######################################################################################
COMMAND:  cat /etc/inittab | grep id:
RESULT: id:3:initdefault: 
EXPECTED RESULT: id:3:initdefault:
RETURN CODE: 0
PASS
COMMAND:  cat /etc/inittab | grep si:
RESULT: si::sysinit:/etc/rc.d/rc.sysinit 
EXPECTED RESULT: si::sysinit:/etc/rc.d/rc.sysinit
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify new shells file ... 
######################################################################################
COMMAND:  cat /etc/shells | grep bash
RESULT: /bin/bash 
EXPECTED RESULT: /bin/bash
RETURN CODE: 0
PASS
COMMAND:  cat /etc/shells | grep nologin
RESULT: /sbin/nologin 
EXPECTED RESULT: /sbin/nologin
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify networking ... 
######################################################################################
COMMAND:  grep ^NETWORKING= /etc/sysconfig/network | cut -d\= -f2
RESULT: yes 
EXPECTED RESULT: yes
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify device ... 
######################################################################################
COMMAND:  grep ^DEVICE= /etc/sysconfig/network-scripts/ifcfg-eth0 | cut -d\= -f2
RESULT: eth0 
EXPECTED RESULT: eth0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify iptables ... 
######################################################################################
COMMAND: /etc/init.d/iptables status | grep REJECT 
10   REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-host-prohibited 
RETURN CODE: 0
COMMAND:  /etc/init.d/iptables status | grep :22 | grep ACCEPT | wc -l 
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/iptables status | grep dpt:631 | grep ACCEPT | wc -l 
RESULT: 2 
EXPECTED RESULT: 2
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/iptables status | grep dpt:5353 | grep ACCEPT | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/iptables status | grep RELATED,ESTABLISHED | grep ACCEPT | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/iptables status | grep -e esp -e ah | grep ACCEPT | wc -l
RESULT: 2 
EXPECTED RESULT: 2
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/iptables status | grep REJECT | grep all | grep 0.0.0.0/0 | grep icmp-host-prohibited |  wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify sshd ...
######################################################################################
COMMAND:  chkconfig --list | grep sshd
RESULT: sshd           	0:off	1:off	2:on	3:on	4:on	5:on	6:off 
EXPECTED RESULT: sshd           	0:off	1:off	2:on	3:on	4:on	5:on	6:off
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/sshd status | grep running | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify  chkconfig ... 
######################################################################################
COMMAND:  chkconfig --list | grep crond | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
COMMAND:  chkconfig --list | grep  iptables | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
COMMAND:  chkconfig --list | grep yum-updatesd | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rsyslog is on ... 
######################################################################################
COMMAND:  chkconfig --list | grep rsyslog | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rsyslog config ... 
######################################################################################
COMMAND:  md5sum /etc/rsyslog.conf | cut -f 1 -d  " "
RESULT: 15936b6fe4e8fadcea87b54de495f975 
EXPECTED RESULT: bd4e328df4b59d41979ef7202a05e074 OR 15936b6fe4e8fadcea87b54de495f975 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify auditd is on ... 
######################################################################################
COMMAND:  /sbin/chkconfig --list auditd | grep 3:on
RESULT: auditd         	0:off	1:off	2:on	3:on	4:on	5:on	6:off 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
COMMAND:  /sbin/chkconfig --list auditd | grep 5:on
RESULT: auditd         	0:off	1:off	2:on	3:on	4:on	5:on	6:off 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify audit.rules ... 
######################################################################################
COMMAND:  md5sum /etc/audit/audit.rules | cut -f 1 -d  " "
RESULT: f9869e1191838c461f5b9051c78a638d 
EXPECTED RESULT: f9869e1191838c461f5b9051c78a638d
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify auditd.conf ... 
######################################################################################
COMMAND:  md5sum /etc/audit/auditd.conf | cut -f 1 -d  " "
RESULT: 612ddf28c3916530d47ef56a1b1ed1ed 
EXPECTED RESULT: 612ddf28c3916530d47ef56a1b1ed1ed
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify auditd sysconfig ... 
######################################################################################
COMMAND:  md5sum /etc/sysconfig/auditd | cut -f 1 -d  " "
RESULT: 123beb3a97a32d96eba4f11509e39da2 
EXPECTED RESULT: 123beb3a97a32d96eba4f11509e39da2
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify sshd_config settings ...
######################################################################################
COMMAND:  cat /etc/ssh/sshd_config  | grep  PasswordAuthentication | grep no | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/ld.so.conf.d/libc6-xen.conf is not present ... 
######################################################################################
COMMAND:  ls /etc/ld.so.conf.d/libc6-xen.conf
ls: /etc/ld.so.conf.d/libc6-xen.conf: No such file or directory
RESULT:  
EXPECTED RESULT: 2
RETURN CODE: 2
PASS
######################################################################################
# NEW TEST: ##test menu.lst ... 
######################################################################################
COMMAND:  file /boot/grub/menu.lst  | grep symbolic | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  file /boot/grub/menu.lst  | grep grub.conf | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  cat /boot/grub/grub.conf  | grep "(hd0,0)" | wc -l
RESULT: 0 
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify resize2fs ... 
######################################################################################
COMMAND: resize2fs -p /dev/sda1 15000M
resize2fs 1.39 (29-May-2006)
RETURN CODE: 0
COMMAND:  df -h | grep 15G | wc -l 
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: Fetching Host Details 
######################################################################################
This is not a Hourly image

## Summary ##
FAILURES = 2
FAILED TESTS = ## Verify turning on/off swap file ... ## Verify swap size ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 10 Kedar Bidarkar 2011-09-14 11:24:18 UTC
IMAGE ID= ami-a570b3cc_us-east-1_t1.micro
######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
######################################################################################
# NEW TEST: Fetching Host Details 
######################################################################################
This is not a Hourly image
/root/valid/src
domU-12-31-39-02-1C-B9
Red Hat Enterprise Linux Server release 5.7 (Tikanga)
######################################################################################
# NEW TEST: The selected image has the version RHEL 5.7
######################################################################################
######################################################################################
# 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-274
CURRENT_UNAME_KERNAL_VERSION=2.6.18-274
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed 's/\(.*\)......./\1/'
RESULT: 2.6.18-274 
EXPECTED RESULT: 2.6.18-274
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-274
RESULT: title RHEL5.7-Server-20110711.5-Server-i386-starter-ec2 (2.6.18-274.el5xen)
        kernel /boot/vmlinuz-2.6.18-274.el5xen ro root=LABEL=/ 
        initrd /boot/initrd-2.6.18-274.el5xen.img 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# 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
######################################################################################
# NEW TEST: ## Partition Format  ...
######################################################################################
mount | grep /dev/sda1 | awk '{ print  }'
COMMAND:  echo ext3
RESULT: ext3 
EXPECTED RESULT: ext3
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Partition Size ...
######################################################################################
size=5904748
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: true
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify turning on/off swap file ... 
######################################################################################
COMMAND:  /sbin/swapoff  && /sbin/swapon 
usage: swapoff [-hV]
       swapoff -a [-v]
       swapoff [-v] special ...
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 2
FAIL2

######################################################################################
# NEW TEST: ## Verify swap size ... 
######################################################################################
free | grep Swap | awk '{print }'
COMMAND:  echo false
RESULT: false 
EXPECTED RESULT: 1
RETURN CODE: 0
FAIL2
false
######################################################################################
# NEW TEST: ## /sbin/getenforce ... 
######################################################################################
COMMAND:  /usr/sbin/getenforce
RESULT: Enforcing 
EXPECTED RESULT: Enforcing
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify SELINUX enforcing ... 
######################################################################################
COMMAND:  grep ^SELINUX= /etc/sysconfig/selinux | cut -d\= -f2
RESULT: enforcing 
EXPECTED RESULT: enforcing
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify SELINUXTYPE targeted ... 
######################################################################################
COMMAND:  grep ^SELINUXTYPE= /etc/sysconfig/selinux | cut -d\= -f2
RESULT: targeted 
EXPECTED RESULT: targeted
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Flip Selinux Permissive ... 
######################################################################################
COMMAND:  /usr/sbin/setenforce Permissive && /usr/sbin/getenforce
RESULT: Permissive 
EXPECTED RESULT: Permissive
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Flip Selinux Enforcing ... 
######################################################################################
COMMAND:  /usr/sbin/setenforce Enforcing && /usr/sbin/getenforce
RESULT: Enforcing 
EXPECTED RESULT: Enforcing
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no missing packages ... 
######################################################################################
COMMAND: /bin/rpm -qa --queryformat='%{NAME}\n' > /tmp/rpmqa.tmp
RETURN CODE: 0
COMMAND: comm -23 packages_5 /tmp/rpmqa
RETURN CODE: 0
COUNT = 0
COMMAND:  echo test passed
RESULT: test passed 
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify RPMs ... 
######################################################################################
/bin/rpm -Va --nomtime --nosize --nomd5
....L...  c /etc/pam.d/system-auth
.M......  c /etc/sysconfig/iptables-config
    S file Size differs
    M Mode differs (includes permissions and file type)
    5 MD5 sum differs
    D Device major/minor number mismatch
    L readLink(2) path mismatch
    U User ownership differs
    G Group ownership differs
    T mTime differs

COMMAND:  cat /tmp/rpmqaV.txt | wc -l
RESULT: 2 
EXPECTED RESULT: 2
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify Version 2 ... 
######################################################################################
COMMAND:  /bin/rpm -q --queryformat '%{RELEASE}\n' redhat-release | cut -d. -f1,2
RESULT: 5.7 
EXPECTED RESULT: 5.7
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify packager ... 
######################################################################################
COMMAND:  cat /tmp/Packager | grep -v 'Red Hat, Inc.' |  grep -v crash-trace-commandPackager| wc -l
RESULT: 0 
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify GPG checking ... 
######################################################################################
COMMAND:  grep '^gpgcheck=1' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | sort -f | uniq
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify GPG Keys ... 
######################################################################################
COMMAND:  rpm -qa gpg-pubkey* | wc -l 
RESULT: 2 
EXPECTED RESULT: 2
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify GPG RPMS ... 
######################################################################################
COMMAND:  rpm -qa gpg-pubkey* | sort -f | tail -n 1
RESULT: gpg-pubkey-37017186-45761324 
EXPECTED RESULT: gpg-pubkey-37017186-45761324
RETURN CODE: 0
PASS
COMMAND:  rpm -qa gpg-pubkey* |  grep 2fa6
RESULT: gpg-pubkey-2fa658e0-45700c69 
EXPECTED RESULT: gpg-pubkey-2fa658e0-45700c69
RETURN CODE: 0
PASS
######################################################################################
# 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: ## List the configured repositories...
######################################################################################
COMMAND:  /usr/bin/yum repolist
RESULT: Loaded plugins: amazon-id, fastestmirror, security
Loading mirror speeds from cached hostfile
repo id                       repo name                                   status
rhui-us-east-rhel-server-1y   Red Hat Enterprise Linux Server 5 (RPMs)    9,179
repolist: 9,179 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Search zsh...
######################################################################################
COMMAND:  /usr/bin/yum search zsh
RESULT: Loaded plugins: amazon-id, fastestmirror, security
Loading mirror speeds from cached hostfile
================================= Matched: zsh =================================
zsh.i386 : A powerful interactive shell
zsh-html.i386 : Zsh shell manual in html format 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## install zsh ... 
######################################################################################
COMMAND: /usr/bin/yum -y install zsh
RETURN CODE: 0
COMMAND:  /bin/rpm -q --queryformat '%{NAME}\n' zsh
RESULT: zsh 
EXPECTED RESULT: zsh
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## List available groups..
######################################################################################
COMMAND:  /usr/bin/yum grouplist
RESULT: Loaded plugins: amazon-id, fastestmirror, security
Setting up Group Process
Loading mirror speeds from cached hostfile
Installed Groups:
   Editors
   FTP Server
   Legacy Network Server
   Legacy Software Development
   Legacy Software Support
   Mail Server
   MySQL Database
   PostgreSQL Database
   Server Configuration Tools
   System Tools
   Text-based Internet
   Web Server
Available Groups:
   Administration Tools
   Authoring and Publishing
   DNS Name Server
   Development Libraries
   Development Tools
   Engineering and Scientific
   GNOME Desktop Environment
   GNOME Software Development
   Games and Entertainment
   Graphical Internet
   Graphics
   Java Development
   KDE (K Desktop Environment)
   KDE Software Development
   Network Servers
   News Server
   Office/Productivity
   OpenFabrics Enterprise Distribution
   Printing Support
   Sound and Video
   Windows File Server
   X Software Development
   X Window System
Done 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Install Development tools group...
######################################################################################
COMMAND:  /usr/bin/yum -y groupinstall 'Development tools'
RESULT: Loaded plugins: amazon-id, fastestmirror, security
Loading mirror speeds from cached hostfile
Setting up Group Process
Loading mirror speeds from cached hostfile
Package gcc-4.1.2-51.el5.i386 already installed and latest version
Package 1:make-3.81-3.el5.i386 already installed and latest version
Package 1:pkgconfig-0.21-2.el5.i386 already installed and latest version
Package gettext-0.17-1.el5.i386 already installed and latest version
Package binutils-2.17.50.0.6-14.el5.i386 already installed and latest version
Package subversion-1.6.11-7.el5_6.4.i386 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.59-12 set to be updated
--> Processing Dependency: imake for package: autoconf
---> Package automake.noarch 0:1.9.6-2.3.el5 set to be updated
---> Package automake14.noarch 0:1.4p6-13.el5.1 set to be updated
---> Package automake15.noarch 0:1.5-16.el5.2 set to be updated
---> Package automake16.noarch 0:1.6.3-8.el5.1 set to be updated
---> Package automake17.noarch 0:1.7.9-7.el5.2 set to be updated
---> Package bison.i386 0:2.3-2.1 set to be updated
---> Package byacc.i386 0:1.9-29.2.2 set to be updated
---> Package cscope.i386 0:15.5-15.1.el5_3.1 set to be updated
---> Package ctags.i386 0:5.6-1.1 set to be updated
---> Package cvs.i386 0:1.11.22-7.el5 set to be updated
---> Package dev86.i386 0:0.16.17-2.2 set to be updated
---> Package diffstat.i386 0:1.41-1.2.3.el5 set to be updated
---> Package dogtail.noarch 0:0.6.1-4.el5 set to be updated
--> Processing Dependency: pyspi >= 0.6.0 for package: dogtail
--> Processing Dependency: gnome-python2-gconf for package: dogtail
--> Processing Dependency: xorg-x11-xinit for package: dogtail
--> Processing Dependency: xorg-x11-server-Xvfb for package: dogtail
---> Package doxygen.i386 1:1.4.7-1.1 set to be updated
---> Package elfutils.i386 0:0.137-3.el5 set to be updated
--> Processing Dependency: elfutils-libs-i386 = 0.137-3.el5 for package: elfutils
--> Processing Dependency: libasm.so.1 for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.130) for package: elfutils
--> Processing Dependency: libdw.so.1 for package: elfutils
--> Processing Dependency: libasm.so.1(ELFUTILS_1.0) for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.126) for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.127) for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.122) for package: elfutils
---> Package flex.i386 0:2.5.4a-41.fc6 set to be updated
---> Package gcc-c++.i386 0:4.1.2-51.el5 set to be updated
--> Processing Dependency: libstdc++-devel = 4.1.2-51.el5 for package: gcc-c++
---> Package gcc-gfortran.i386 0:4.1.2-51.el5 set to be updated
--> Processing Dependency: libgfortran = 4.1.2-51.el5 for package: gcc-gfortran
--> Processing Dependency: libgfortran.so.1 for package: gcc-gfortran
---> Package gdb.i386 0:7.0.1-37.el5_7.1 set to be updated
---> Package indent.i386 0:2.2.9-14.fc6 set to be updated
---> Package libtool.i386 0:1.5.22-7.el5_4 set to be updated
---> Package ltrace.i386 0:0.5-13.45svn.el5 set to be updated
---> Package oprofile.i386 0:0.9.4-15.el5 set to be updated
---> Package patchutils.i386 0:0.2.31-2.2.2 set to be updated
---> Package pstack.i386 0:1.2-7.2.2 set to be updated
---> Package python-ldap.i386 0:2.2.0-2.1 set to be updated
---> Package rcs.i386 0:5.7-30.1 set to be updated
---> Package redhat-rpm-config.noarch 0:8.0.45-32.el5 set to be updated
---> Package rpm-build.i386 0:4.4.2.3-22.el5 set to be updated
---> Package splint.i386 0:3.1.1-16.el5 set to be updated
---> Package strace.i386 0:4.5.18-5.el5_5.5 set to be updated
---> Package swig.i386 0:1.3.29-2.el5 set to be updated
---> Package systemtap.i386 0:1.3-9.el5 set to be updated
--> Processing Dependency: systemtap-runtime = 1.3-9.el5 for package: systemtap
--> Processing Dependency: libavahi-client.so.3 for package: systemtap
--> Processing Dependency: libavahi-common.so.3 for package: systemtap
---> Package texinfo.i386 0:4.8-14.el5 set to be updated
---> Package valgrind.i386 1:3.5.0-5.el5 set to be updated
--> Running transaction check
---> Package avahi.i386 0:0.6.16-10.el5_6 set to be updated
--> Processing Dependency: libdaemon.so.0 for package: avahi
--> Processing Dependency: libdaemon for package: avahi
---> Package elfutils-libs.i386 0:0.137-3.el5 set to be updated
---> Package gnome-python2-gconf.i386 0:2.16.0-1.fc6 set to be updated
--> Processing Dependency: gnome-python2 = 2.16.0-1.fc6 for package: gnome-python2-gconf
--> Processing Dependency: GConf2 >= 1.1.10 for package: gnome-python2-gconf
--> Processing Dependency: libgconf-2.so.4 for package: gnome-python2-gconf
--> Processing Dependency: libORBit-2.so.0 for package: gnome-python2-gconf
---> Package imake.i386 0:1.0.2-3 set to be updated
---> Package libgfortran.i386 0:4.1.2-51.el5 set to be updated
---> Package libstdc++-devel.i386 0:4.1.2-51.el5 set to be updated
---> Package pyspi.i386 0:0.6.1-1.el5 set to be updated
--> Processing Dependency: libbonobo-2.so.0 for package: pyspi
--> Processing Dependency: libcspi.so.0 for package: pyspi
--> Processing Dependency: libspi.so.0 for package: pyspi
--> Processing Dependency: libbonobo-activation.so.4 for package: pyspi
---> Package systemtap-runtime.i386 0:1.3-9.el5 set to be updated
---> Package xorg-x11-server-Xvfb.i386 0:1.1.1-48.76.el5_6.4 set to be updated
--> Processing Dependency: xorg-x11-fonts-base for package: xorg-x11-server-Xvfb
---> Package xorg-x11-xinit.i386 0:1.0.2-15.el5 set to be updated
--> Processing Dependency: xauth for package: xorg-x11-xinit
--> Processing Dependency: xorg-x11-server-utils for package: xorg-x11-xinit
--> Running transaction check
---> Package GConf2.i386 0:2.14.0-9.el5 set to be updated
---> Package ORBit2.i386 0:2.14.3-5.el5 set to be updated
--> Processing Dependency: libIDL-2.so.0 for package: ORBit2
---> Package at-spi.i386 0:1.7.11-3.el5 set to be updated
--> Processing Dependency: gail >= 1.5.0 for package: at-spi
--> Processing Dependency: libgnomecanvas-2.so.0 for package: at-spi
--> Processing Dependency: libgailutil.so.18 for package: at-spi
--> Processing Dependency: libXevie.so.1 for package: at-spi
---> Package gnome-python2.i386 0:2.16.0-1.fc6 set to be updated
--> Processing Dependency: libbonoboui-2.so.0 for package: gnome-python2
--> Processing Dependency: libgnome-keyring.so.0 for package: gnome-python2
--> Processing Dependency: gnome-python2-gnomevfs for package: gnome-python2
--> Processing Dependency: libgnome-2.so.0 for package: gnome-python2
--> Processing Dependency: libgnomeui-2.so.0 for package: gnome-python2
--> Processing Dependency: libgnomevfs-2.so.0 for package: gnome-python2
--> Processing Dependency: gnome-python2-bonobo for package: gnome-python2
---> Package libbonobo.i386 0:2.16.0-1.1.el5_5.1 set to be updated
---> Package libdaemon.i386 0:0.10-5.el5 set to be updated
---> Package xorg-x11-fonts-base.noarch 0:7.1-2.1.el5 set to be updated
---> Package xorg-x11-server-utils.i386 0:7.1-5.el5_6.2 set to be updated
--> Processing Dependency: libXxf86misc.so.1 for package: xorg-x11-server-utils
--> Processing Dependency: libXxf86vm.so.1 for package: xorg-x11-server-utils
--> Processing Dependency: libXTrap.so.6 for package: xorg-x11-server-utils
--> Processing Dependency: libXfontcache.so.1 for package: xorg-x11-server-utils
---> Package xorg-x11-xauth.i386 1:1.0.1-2.1 set to be updated
--> Running transaction check
---> Package gail.i386 0:1.9.2-3.el5 set to be updated
---> Package gnome-keyring.i386 0:0.6.0-1.fc6 set to be updated
---> Package gnome-python2-bonobo.i386 0:2.16.0-1.fc6 set to be updated
--> Processing Dependency: pyorbit >= 2.0.l for package: gnome-python2-bonobo
---> Package gnome-python2-gnomevfs.i386 0:2.16.0-1.fc6 set to be updated
---> Package gnome-vfs2.i386 0:2.16.2-8.el5 set to be updated
--> Processing Dependency: gnome-mime-data >= 2.0.0-11 for package: gnome-vfs2
--> Processing Dependency: gnome-mount >= 0.4 for package: gnome-vfs2
--> Processing Dependency: libavahi-glib.so.1 for package: gnome-vfs2
--> Processing Dependency: shared-mime-info for package: gnome-vfs2
---> Package libIDL.i386 0:0.8.7-1.fc6 set to be updated
---> Package libXTrap.i386 0:1.0.0-3.1 set to be updated
---> Package libXevie.i386 0:1.0.1-3.1 set to be updated
---> Package libXfontcache.i386 0:1.0.2-3.1 set to be updated
---> Package libXxf86misc.i386 0:1.0.1-3.1 set to be updated
---> Package libXxf86vm.i386 0:1.0.1-3.1 set to be updated
---> Package libbonoboui.i386 0:2.16.0-1.fc6 set to be updated
---> Package libgnome.i386 0:2.16.0-6.el5 set to be updated
--> Processing Dependency: libxslt >= 1.0.19 for package: libgnome
--> Processing Dependency: libaudiofile.so.0 for package: libgnome
--> Processing Dependency: libesd.so.0 for package: libgnome
---> Package libgnomecanvas.i386 0:2.14.0-4.1 set to be updated
---> Package libgnomeui.i386 0:2.16.0-5.el5 set to be updated
--> Running transaction check
---> Package audiofile.i386 1:0.2.6-5 set to be updated
---> Package avahi-glib.i386 0:0.6.16-10.el5_6 set to be updated
---> Package esound.i386 1:0.2.36-3 set to be updated
---> Package gnome-mime-data.i386 0:2.4.2-3.1 set to be updated
---> Package gnome-mount.i386 0:0.5-3.el5 set to be updated
--> Processing Dependency: libnotify.so.1 for package: gnome-mount
---> Package libxslt.i386 0:1.1.17-2.el5_2.2 set to be updated
---> Package pyorbit.i386 0:2.14.1-3.el5 set to be updated
---> Package shared-mime-info.i386 0:0.19-5.el5 set to be updated
--> Running transaction check
---> Package libnotify.i386 0:0.4.2-6.el5 set to be updated
--> Processing Dependency: desktop-notification-daemon for package: libnotify
--> Running transaction check
---> Package notification-daemon.i386 0:0.3.5-9.el5 set to be updated
--> Processing Dependency: libwnck-1.so.18 for package: notification-daemon
--> Running transaction check
---> Package libwnck.i386 0:2.16.0-4.fc6 set to be updated
--> Processing Dependency: startup-notification >= 0.5 for package: libwnck
--> Processing Dependency: libstartup-notification-1.so.0 for package: libwnck
--> Processing Dependency: libXRes.so.1 for package: libwnck
--> Running transaction check
---> Package libXres.i386 0:1.0.1-3.1 set to be updated
---> Package startup-notification.i386 0:0.8-4.1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package              Arch   Version          Repository                   Size
================================================================================
Installing:

Comment 11 Kedar Bidarkar 2011-09-14 11:24:22 UTC
 autoconf             noarch 2.59-12          rhui-us-east-rhel-server-1y 646 k
 automake             noarch 1.9.6-2.3.el5    rhui-us-east-rhel-server-1y 476 k
 automake14           noarch 1.4p6-13.el5.1   rhui-us-east-rhel-server-1y 200 k
 automake15           noarch 1.5-16.el5.2     rhui-us-east-rhel-server-1y 230 k
 automake16           noarch 1.6.3-8.el5.1    rhui-us-east-rhel-server-1y 241 k
 automake17           noarch 1.7.9-7.el5.2    rhui-us-east-rhel-server-1y 278 k
 bison                i386   2.3-2.1          rhui-us-east-rhel-server-1y 536 k
 byacc                i386   1.9-29.2.2       rhui-us-east-rhel-server-1y  38 k
 cscope               i386   15.5-15.1.el5_3.1
                                              rhui-us-east-rhel-server-1y 136 k
 ctags                i386   5.6-1.1          rhui-us-east-rhel-server-1y 127 k
 cvs                  i386   1.11.22-7.el5    rhui-us-east-rhel-server-1y 725 k
 dev86                i386   0.16.17-2.2      rhui-us-east-rhel-server-1y 372 k
 diffstat             i386   1.41-1.2.3.el5   rhui-us-east-rhel-server-1y  18 k
 dogtail              noarch 0.6.1-4.el5      rhui-us-east-rhel-server-1y 172 k
 doxygen              i386   1:1.4.7-1.1      rhui-us-east-rhel-server-1y 2.3 M
 elfutils             i386   0.137-3.el5      rhui-us-east-rhel-server-1y 228 k
 flex                 i386   2.5.4a-41.fc6    rhui-us-east-rhel-server-1y 124 k
 gcc-c++              i386   4.1.2-51.el5     rhui-us-east-rhel-server-1y 3.4 M
 gcc-gfortran         i386   4.1.2-51.el5     rhui-us-east-rhel-server-1y 3.1 M
 gdb                  i386   7.0.1-37.el5_7.1 rhui-us-east-rhel-server-1y 2.4 M
 indent               i386   2.2.9-14.fc6     rhui-us-east-rhel-server-1y  93 k
 libtool              i386   1.5.22-7.el5_4   rhui-us-east-rhel-server-1y 667 k
 ltrace               i386   0.5-13.45svn.el5 rhui-us-east-rhel-server-1y  61 k
 oprofile             i386   0.9.4-15.el5     rhui-us-east-rhel-server-1y 2.7 M
 patchutils           i386   0.2.31-2.2.2     rhui-us-east-rhel-server-1y 109 k
 pstack               i386   1.2-7.2.2        rhui-us-east-rhel-server-1y 4.6 k
 python-ldap          i386   2.2.0-2.1        rhui-us-east-rhel-server-1y 122 k
 rcs                  i386   5.7-30.1         rhui-us-east-rhel-server-1y 332 k
 redhat-rpm-config    noarch 8.0.45-32.el5    rhui-us-east-rhel-server-1y  54 k
 rpm-build            i386   4.4.2.3-22.el5   rhui-us-east-rhel-server-1y 302 k
 splint               i386   3.1.1-16.el5     rhui-us-east-rhel-server-1y 1.5 M
 strace               i386   4.5.18-5.el5_5.5 rhui-us-east-rhel-server-1y 172 k
 swig                 i386   1.3.29-2.el5     rhui-us-east-rhel-server-1y 2.9 M
 systemtap            i386   1.3-9.el5        rhui-us-east-rhel-server-1y 2.5 M
 texinfo              i386   4.8-14.el5       rhui-us-east-rhel-server-1y 753 k
 valgrind             i386   1:3.5.0-5.el5    rhui-us-east-rhel-server-1y  20 M
Installing for dependencies:
 GConf2               i386   2.14.0-9.el5     rhui-us-east-rhel-server-1y 1.5 M
 ORBit2               i386   2.14.3-5.el5     rhui-us-east-rhel-server-1y 253 k
 at-spi               i386   1.7.11-3.el5     rhui-us-east-rhel-server-1y 290 k
 audiofile            i386   1:0.2.6-5        rhui-us-east-rhel-server-1y 107 k
 avahi                i386   0.6.16-10.el5_6  rhui-us-east-rhel-server-1y 251 k
 avahi-glib           i386   0.6.16-10.el5_6  rhui-us-east-rhel-server-1y  15 k
 elfutils-libs        i386   0.137-3.el5      rhui-us-east-rhel-server-1y 193 k
 esound               i386   1:0.2.36-3       rhui-us-east-rhel-server-1y 130 k
 gail                 i386   1.9.2-3.el5      rhui-us-east-rhel-server-1y 350 k
 gnome-keyring        i386   0.6.0-1.fc6      rhui-us-east-rhel-server-1y 170 k
 gnome-mime-data      i386   2.4.2-3.1        rhui-us-east-rhel-server-1y 691 k
 gnome-mount          i386   0.5-3.el5        rhui-us-east-rhel-server-1y  70 k
 gnome-python2        i386   2.16.0-1.fc6     rhui-us-east-rhel-server-1y 126 k
 gnome-python2-bonobo i386   2.16.0-1.fc6     rhui-us-east-rhel-server-1y  64 k
 gnome-python2-gconf  i386   2.16.0-1.fc6     rhui-us-east-rhel-server-1y  32 k
 gnome-python2-gnomevfs
                      i386   2.16.0-1.fc6     rhui-us-east-rhel-server-1y  65 k
 gnome-vfs2           i386   2.16.2-8.el5     rhui-us-east-rhel-server-1y 1.2 M
 imake                i386   1.0.2-3          rhui-us-east-rhel-server-1y 318 k
 libIDL               i386   0.8.7-1.fc6      rhui-us-east-rhel-server-1y  85 k
 libXTrap             i386   1.0.0-3.1        rhui-us-east-rhel-server-1y  23 k
 libXevie             i386   1.0.1-3.1        rhui-us-east-rhel-server-1y  14 k
 libXfontcache        i386   1.0.2-3.1        rhui-us-east-rhel-server-1y 9.7 k
 libXres              i386   1.0.1-3.1        rhui-us-east-rhel-server-1y  14 k
 libXxf86misc         i386   1.0.1-3.1        rhui-us-east-rhel-server-1y  12 k
 libXxf86vm           i386   1.0.1-3.1        rhui-us-east-rhel-server-1y  14 k
 libbonobo            i386   2.16.0-1.1.el5_5.1
                                              rhui-us-east-rhel-server-1y 502 k
 libbonoboui          i386   2.16.0-1.fc6     rhui-us-east-rhel-server-1y 390 k
 libdaemon            i386   0.10-5.el5       rhui-us-east-rhel-server-1y  24 k
 libgfortran          i386   4.1.2-51.el5     rhui-us-east-rhel-server-1y 232 k
 libgnome             i386   2.16.0-6.el5     rhui-us-east-rhel-server-1y 859 k
 libgnomecanvas       i386   2.14.0-4.1       rhui-us-east-rhel-server-1y 222 k
 libgnomeui           i386   2.16.0-5.el5     rhui-us-east-rhel-server-1y 977 k
 libnotify            i386   0.4.2-6.el5      rhui-us-east-rhel-server-1y  37 k
 libstdc++-devel      i386   4.1.2-51.el5     rhui-us-east-rhel-server-1y 2.8 M
 libwnck              i386   2.16.0-4.fc6     rhui-us-east-rhel-server-1y 185 k
 libxslt              i386   1.1.17-2.el5_2.2 rhui-us-east-rhel-server-1y 485 k
 notification-daemon  i386   0.3.5-9.el5      rhui-us-east-rhel-server-1y  47 k
 pyorbit              i386   2.14.1-3.el5     rhui-us-east-rhel-server-1y  48 k
 pyspi                i386   0.6.1-1.el5      rhui-us-east-rhel-server-1y  79 k
 shared-mime-info     i386   0.19-5.el5       rhui-us-east-rhel-server-1y 148 k
 startup-notification i386   0.8-4.1          rhui-us-east-rhel-server-1y  32 k
 systemtap-runtime    i386   1.3-9.el5        rhui-us-east-rhel-server-1y  93 k
 xorg-x11-fonts-base  noarch 7.1-2.1.el5      rhui-us-east-rhel-server-1y 3.7 M
 xorg-x11-server-Xvfb i386   1.1.1-48.76.el5_6.4
                                              rhui-us-east-rhel-server-1y 1.6 M
 xorg-x11-server-utils
                      i386   7.1-5.el5_6.2    rhui-us-east-rhel-server-1y 164 k
 xorg-x11-xauth       i386   1:1.0.1-2.1      rhui-us-east-rhel-server-1y  31 k
 xorg-x11-xinit       i386   1.0.2-15.el5     rhui-us-east-rhel-server-1y  26 k

Transaction Summary
================================================================================
Install      83 Package(s)
Upgrade       0 Package(s)

Total download size: 66 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           842 kB/s |  66 MB     01:20     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction

  Installing     : libgnomecanvas                                          1/83 

  Installing     : gnome-keyring                                           2/83 

  Installing     : libIDL                                                  3/83 

  Installing     : ORBit2                                                  4/83 

  Installing     : GConf2                                                  5/83 

  Installing     : libbonobo                                               6/83 

  Installing     : audiofile                                               7/83 

  Installing     : esound                                                  8/83 

  Installing     : pyorbit                                                 9/83 

  Installing     : gail                                                   10/83 

  Installing     : libgfortran                                            11/83 

  Installing     : libXTrap                                               12/83 

  Installing     : startup-notification                                   13/83 

  Installing     : libXxf86misc                                           14/83 

  Installing     : elfutils-libs                                          15/83 

  Installing     : elfutils                                               16/83 

  Installing     : libXfontcache                                          17/83 

  Installing     : libxslt                                                18/83 

  Installing     : xorg-x11-xauth                                         19/83 

  Installing     : libdaemon                                              20/83 

  Installing     : avahi                                                  21/83 

  Installing     : avahi-glib                                             22/83 

  Installing     : libXres                                                23/83 

  Installing     : libwnck                                                24/83 

  Installing     : notification-daemon                                    25/83 

  Installing     : libnotify                                              26/83 

  Installing     : imake                                                  27/83 

  Installing     : libXxf86vm                                             28/83 

  Installing     : xorg-x11-server-utils                                  29/83 

  Installing     : xorg-x11-xinit                                         30/83 

  Installing     : gdb                                                    31/83 

  Installing     : libXevie                                               32/83 

  Installing     : at-spi                                                 33/83 

  Installing     : pyspi                                                  34/83 

  Installing     : shared-mime-info                                       35/83 

  Installing     : rpm-build                                              36/83 

  Installing     : gcc-gfortran                                           37/83 

  Installing     : oprofile                                               38/83 

  Installing     : indent                                                 39/83 

  Installing     : texinfo                                                40/83 

  Installing     : splint                                                 41/83 

  Installing     : cvs                                                    42/83 

  Installing     : cscope                                                 43/83 

  Installing     : ltrace                                                 44/83 

  Installing     : doxygen                                                45/83 

  Installing     : strace                                                 46/83 

  Installing     : flex                                                   47/83 

  Installing     : python-ldap                                            48/83 

  Installing     : valgrind                                               49/83 

  Installing     : swig                                                   50/83 

  Installing     : dev86                                                  51/83 

  Installing     : bison                                                  52/83 

  Installing     : diffstat                                               53/83 

  Installing     : byacc                                                  54/83 

  Installing     : patchutils                                             55/83 

  Installing     : rcs                                                    56/83 

  Installing     : ctags                                                  57/83 

  Installing     : autoconf                                               58/83 

  Installing     : automake                                               59/83 

  Installing     : xorg-x11-fonts-base                                    60/83 

  Installing     : systemtap-runtime                                      61/83 

  Installing     : libstdc++-devel                                        62/83 

  Installing     : gnome-mime-data                                        63/83 

  Installing     : systemtap                                              64/83 

  Installing     : libtool                                                65/83 

  Installing     : automake17                                             66/83 

  Installing     : pstack                                                 67/83 

  Installing     : automake14                                             68/83 

  Installing     : automake15                                             69/83 

  Installing     : redhat-rpm-config                                      70/83 

  Installing     : automake16                                             71/83 

  Installing     : xorg-x11-server-Xvfb                                   72/83 

  Installing     : gcc-c++                                                73/83 

  Installing     : gnome-vfs2                                             74/83 

  Installing     : libgnome                                               75/83 

  Installing     : libbonoboui                                            76/83 

  Installing     : libgnomeui                                             77/83 

  Installing     : gnome-mount                                            78/83 

  Installing     : gnome-python2-bonobo                                   79/83 

  Installing     : gnome-python2                                          80/83 

  Installing     : gnome-python2-gconf                                    81/83 

  Installing     : dogtail                                                82/83 

  Installing     : gnome-python2-gnomevfs                                 83/83 

Installed:
  autoconf.noarch 0:2.59-12                  automake.noarch 0:1.9.6-2.3.el5    
  automake14.noarch 0:1.4p6-13.el5.1         automake15.noarch 0:1.5-16.el5.2   
  automake16.noarch 0:1.6.3-8.el5.1          automake17.noarch 0:1.7.9-7.el5.2  
  bison.i386 0:2.3-2.1                       byacc.i386 0:1.9-29.2.2            
  cscope.i386 0:15.5-15.1.el5_3.1            ctags.i386 0:5.6-1.1               
  cvs.i386 0:1.11.22-7.el5                   dev86.i386 0:0.16.17-2.2           
  diffstat.i386 0:1.41-1.2.3.el5             dogtail.noarch 0:0.6.1-4.el5       
  doxygen.i386 1:1.4.7-1.1                   elfutils.i386 0:0.137-3.el5        
  flex.i386 0:2.5.4a-41.fc6                  gcc-c++.i386 0:4.1.2-51.el5        
  gcc-gfortran.i386 0:4.1.2-51.el5           gdb.i386 0:7.0.1-37.el5_7.1        
  indent.i386 0:2.2.9-14.fc6                 libtool.i386 0:1.5.22-7.el5_4      
  ltrace.i386 0:0.5-13.45svn.el5             oprofile.i386 0:0.9.4-15.el5       
  patchutils.i386 0:0.2.31-2.2.2             pstack.i386 0:1.2-7.2.2            
  python-ldap.i386 0:2.2.0-2.1               rcs.i386 0:5.7-30.1                
  redhat-rpm-config.noarch 0:8.0.45-32.el5   rpm-build.i386 0:4.4.2.3-22.el5    
  splint.i386 0:3.1.1-16.el5                 strace.i386 0:4.5.18-5.el5_5.5     
  swig.i386 0:1.3.29-2.el5                   systemtap.i386 0:1.3-9.el5         
  texinfo.i386 0:4.8-14.el5                  valgrind.i386 1:3.5.0-5.el5        

Dependency Installed:
  GConf2.i386 0:2.14.0-9.el5                                                    
  ORBit2.i386 0:2.14.3-5.el5                                                    
  at-spi.i386 0:1.7.11-3.el5                                                    
  audiofile.i386 1:0.2.6-5                                                      
  avahi.i386 0:0.6.16-10.el5_6                                                  
  avahi-glib.i386 0:0.6.16-10.el5_6                                             
  elfutils-libs.i386 0:0.137-3.el5                                              
  esound.i386 1:0.2.36-3                                                        
  gail.i386 0:1.9.2-3.el5                                                       
  gnome-keyring.i386 0:0.6.0-1.fc6                                              
  gnome-mime-data.i386 0:2.4.2-3.1                                              
  gnome-mount.i386 0:0.5-3.el5                                                  
  gnome-python2.i386 0:2.16.0-1.fc6                                             
  gnome-python2-bonobo.i386 0:2.16.0-1.fc6                                      
  gnome-python2-gconf.i386 0:2.16.0-1.fc6                                       
  gnome-python2-gnomevfs.i386 0:2.16.0-1.fc6                                    
  gnome-vfs2.i386 0:2.16.2-8.el5                                                
  imake.i386 0:1.0.2-3                                                          
  libIDL.i386 0:0.8.7-1.fc6                                                     
  libXTrap.i386 0:1.0.0-3.1                                                     
  libXevie.i386 0:1.0.1-3.1                                                     
  libXfontcache.i386 0:1.0.2-3.1                                                
  libXres.i386 0:1.0.1-3.1                                                      
  libXxf86misc.i386 0:1.0.1-3.1                                                 
  libXxf86vm.i386 0:1.0.1-3.1                                                   
  libbonobo.i386 0:2.16.0-1.1.el5_5.1                                           
  libbonoboui.i386 0:2.16.0-1.fc6                                               
  libdaemon.i386 0:0.10-5.el5                                                   
  libgfortran.i386 0:4.1.2-51.el5                                               
  libgnome.i386 0:2.16.0-6.el5                                                  
  libgnomecanvas.i386 0:2.14.0-4.1                                              
  libgnomeui.i386 0:2.16.0-5.el5                                                
  libnotify.i386 0:0.4.2-6.el5                                                  
  libstdc++-devel.i386 0:4.1.2-51.el5                                           
  libwnck.i386 0:2.16.0-4.fc6                                                   
  libxslt.i386 0:1.1.17-2.el5_2.2                                               
  notification-daemon.i386 0:0.3.5-9.el5                                        
  pyorbit.i386 0:2.14.1-3.el5                                                   
  pyspi.i386 0:0.6.1-1.el5                                                      
  shared-mime-info.i386 0:0.19-5.el5                                            
  startup-notification.i386 0:0.8-4.1                                           
  systemtap-runtime.i386 0:1.3-9.el5                                            
  xorg-x11-fonts-base.noarch 0:7.1-2.1.el5                                      
  xorg-x11-server-Xvfb.i386 0:1.1.1-48.76.el5_6.4                               
  xorg-x11-server-utils.i386 0:7.1-5.el5_6.2                                    
  xorg-x11-xauth.i386 1:1.0.1-2.1                                               
  xorg-x11-xinit.i386 0:1.0.2-15.el5                                            

Complete! 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
RESULT: Loaded plugins: amazon-id, fastestmirror, security
Loading mirror speeds from cached hostfile
Skipping security plugin, no data
Setting up Update Process
Resolving Dependencies
Skipping security plugin, no data
--> Running transaction check
---> Package curl.i386 0:7.15.5-9.el5_7.4 set to be updated
---> Package dbus.i386 0:1.1.2-16.el5_7 set to be updated
---> Package dbus-libs.i386 0:1.1.2-16.el5_7 set to be updated
---> Package device-mapper-multipath.i386 0:0.4.7-46.el5_7.1 set to be updated
---> Package dhclient.i386 12:3.0.5-29.el5_7.1 set to be updated
---> Package gdbm.i386 0:1.8.0-26.2.1.el5_6.1 set to be updated
---> Package httpd.i386 0:2.2.3-53.el5_7.1 set to be updated
---> Package kernel-headers.i386 0:2.6.18-274.3.1.el5 set to be updated
---> Package kernel-xen.i686 0:2.6.18-274.3.1.el5 set to be installed
---> Package kernel-xen-devel.i686 0:2.6.18-274.3.1.el5 set to be installed
---> Package kpartx.i386 0:0.4.7-46.el5_7.1 set to be updated
---> Package libXfont.i386 0:1.2.2-1.0.4.el5_7 set to be updated
---> Package libpng.i386 2:1.2.10-7.1.el5_7.5 set to be updated
---> Package libsmbclient.i386 0:3.0.33-3.29.el5_7.4 set to be updated
---> Package lvm2.i386 0:2.02.84-6.el5_7.1 set to be updated
---> Package mod_ssl.i386 1:2.2.3-53.el5_7.1 set to be updated
---> Package net-snmp.i386 1:5.3.2.2-14.el5_7.1 set to be updated
---> Package net-snmp-libs.i386 1:5.3.2.2-14.el5_7.1 set to be updated
---> Package nspr.i386 0:4.8.8-1.el5_7 set to be updated
---> Package nss.i386 0:3.12.10-4.el5_7 set to be updated
---> Package nss-tools.i386 0:3.12.10-4.el5_7 set to be updated
---> Package openssh.i386 0:4.3p2-72.el5_7.5 set to be updated
---> Package openssh-clients.i386 0:4.3p2-72.el5_7.5 set to be updated
---> Package openssh-server.i386 0:4.3p2-72.el5_7.5 set to be updated
---> Package rsync.i386 0:3.0.6-4.el5_7.1 set to be updated
---> Package samba-client.i386 0:3.0.33-3.29.el5_7.4 set to be updated
---> Package samba-common.i386 0:3.0.33-3.29.el5_7.4 set to be updated
---> Package tzdata.i386 0:2011h-2.el5 set to be updated
---> Package yum-rhn-plugin.noarch 0:0.5.4-22.el5_7.2 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package          Arch   Version              Repository                   Size
================================================================================
Installing:
 kernel-xen       i686   2.6.18-274.3.1.el5   rhui-us-east-rhel-server-1y  20 M
 kernel-xen-devel i686   2.6.18-274.3.1.el5   rhui-us-east-rhel-server-1y 5.6 M
Updating:
 curl             i386   7.15.5-9.el5_7.4     rhui-us-east-rhel-server-1y 234 k
 dbus             i386   1.1.2-16.el5_7       rhui-us-east-rhel-server-1y 235 k
 dbus-libs        i386   1.1.2-16.el5_7       rhui-us-east-rhel-server-1y 124 k
 device-mapper-multipath
                  i386   0.4.7-46.el5_7.1     rhui-us-east-rhel-server-1y 2.8 M
 dhclient         i386   12:3.0.5-29.el5_7.1  rhui-us-east-rhel-server-1y 281 k
 gdbm             i386   1.8.0-26.2.1.el5_6.1 rhui-us-east-rhel-server-1y  28 k
 httpd            i386   2.2.3-53.el5_7.1     rhui-us-east-rhel-server-1y 1.2 M
 kernel-headers   i386   2.6.18-274.3.1.el5   rhui-us-east-rhel-server-1y 1.2 M
 kpartx           i386   0.4.7-46.el5_7.1     rhui-us-east-rhel-server-1y 425 k
 libXfont         i386   1.2.2-1.0.4.el5_7    rhui-us-east-rhel-server-1y 240 k
 libpng           i386   2:1.2.10-7.1.el5_7.5 rhui-us-east-rhel-server-1y 241 k
 libsmbclient     i386   3.0.33-3.29.el5_7.4  rhui-us-east-rhel-server-1y 908 k
 lvm2             i386   2.02.84-6.el5_7.1    rhui-us-east-rhel-server-1y 2.9 M
 mod_ssl          i386   1:2.2.3-53.el5_7.1   rhui-us-east-rhel-server-1y  93 k
 net-snmp         i386   1:5.3.2.2-14.el5_7.1 rhui-us-east-rhel-server-1y 702 k
 net-snmp-libs    i386   1:5.3.2.2-14.el5_7.1 rhui-us-east-rhel-server-1y 1.3 M
 nspr             i386   4.8.8-1.el5_7        rhui-us-east-rhel-server-1y 120 k
 nss              i386   3.12.10-4.el5_7      rhui-us-east-rhel-server-1y 1.1 M
 nss-tools        i386   3.12.10-4.el5_7      rhui-us-east-rhel-server-1y 1.2 M
 openssh          i386   4.3p2-72.el5_7.5     rhui-us-east-rhel-server-1y 289 k
 openssh-clients  i386   4.3p2-72.el5_7.5     rhui-us-east-rhel-server-1y 452 k
 openssh-server   i386   4.3p2-72.el5_7.5     rhui-us-east-rhel-server-1y 273 k
 rsync            i386   3.0.6-4.el5_7.1      rhui-us-east-rhel-server-1y 338 k
 samba-client     i386   3.0.33-3.29.el5_7.4  rhui-us-east-rhel-server-1y 5.7 M
 samba-common     i386   3.0.33-3.29.el5_7.4  rhui-us-east-rhel-server-1y 6.7 M
 tzdata           i386   2011h-2.el5          rhui-us-east-rhel-server-1y 781 k
 yum-rhn-plugin   noarch 0.5.4-22.el5_7.2     rhui-us-east-rhel-server-1y  63 k

Transaction Summary
================================================================================
Install       2 Package(s)
Upgrade      27 Package(s)

Total download size: 55 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           1.2 MB/s |  55 MB     00:45     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction

  Updating       : nspr                                                    1/56 

  Updating       : nss                                                     2/56 

  Updating       : net-snmp-libs                                           3/56 

  Updating       : openssh                                                 4/56 

  Updating       : httpd                                                   5/56 

  Updating       : libsmbclient                                            6/56 

  Updating       : samba-common                                            7/56 

  Updating       : lvm2                                                    8/56 

  Updating       : libpng                                                  9/56 

  Updating       : gdbm                                                   10/56 

  Updating       : curl                                                   11/56 

  Updating       : kpartx                                                 12/56 

  Updating       : libXfont                                               13/56 

  Updating       : device-mapper-multipath                                14/56 

  Updating       : samba-client                                           15/56 

  Updating       : mod_ssl                                                16/56 

  Updating       : openssh-clients                                        17/56 

  Updating       : openssh-server                                         18/56 

  Updating       : net-snmp                                               19/56 

  Updating       : nss-tools                                              20/56 

  Updating       : dhclient                                               21/56 

  Updating       : rsync                                                  22/56 

  Installing     : kernel-xen-devel                                       23/56 

  Installing     : kernel-xen                                             24/56 

  Updating       : kernel-headers                                         25/56 

  Updating       : yum-rhn-plugin                                         26/56 

  Updating       : tzdata                                                 27/56 

  Updating       : dbus-libs                                              28/56 

  Updating       : dbus                                                   29/56 

  Cleanup        : rsync                                                  30/56 

  Cleanup        : tzdata                                                 31/56 

  Cleanup        : dbus                                                   32/56 

  Cleanup        : libXfont                                               33/56 

  Cleanup        : nss-tools                                              34/56 

  Cleanup        : openssh-clients                                        35/56 

  Cleanup        : dbus-libs                                              36/56 

  Cleanup        : openssh-server                                         37/56 

  Cleanup        : yum-rhn-plugin                                         38/56 

  Cleanup        : kpartx                                                 39/56 

  Cleanup        : samba-client                                           40/56 

  Cleanup        : curl                                                   41/56 

  Cleanup        : nspr                                                   42/56 

  Cleanup        : gdbm                                                   43/56 

  Cleanup        : kernel-headers                                         44/56 

  Cleanup        : net-snmp-libs                                          45/56 

  Cleanup        : httpd                                                  46/56 

  Cleanup        : samba-common                                           47/56 

  Cleanup        : dhclient                                               48/56 

  Cleanup        : libpng                                                 49/56 

  Cleanup        : mod_ssl                                                50/56 

  Cleanup        : openssh                                                51/56 

  Cleanup        : lvm2                                                   52/56 

  Cleanup        : nss                                                    53/56 

  Cleanup        : device-mapper-multipath                                54/56 

  Cleanup        : net-snmp                                               55/56 

  Cleanup        : libsmbclient                                           56/56 

Installed:
  kernel-xen.i686 0:2.6.18-274.3.1.el5                                          
  kernel-xen-devel.i686 0:2.6.18-274.3.1.el5                                    

Updated:
  curl.i386 0:7.15.5-9.el5_7.4                                                  
  dbus.i386 0:1.1.2-16.el5_7                                                    
  dbus-libs.i386 0:1.1.2-16.el5_7                                               
  device-mapper-multipath.i386 0:0.4.7-46.el5_7.1                               
  dhclient.i386 12:3.0.5-29.el5_7.1                                             
  gdbm.i386 0:1.8.0-26.2.1.el5_6.1                                              
  httpd.i386 0:2.2.3-53.el5_7.1                                                 
  kernel-headers.i386 0:2.6.18-274.3.1.el5                                      
  kpartx.i386 0:0.4.7-46.el5_7.1                                                
  libXfont.i386 0:1.2.2-1.0.4.el5_7                                             
  libpng.i386 2:1.2.10-7.1.el5_7.5                                              
  libsmbclient.i386 0:3.0.33-3.29.el5_7.4                                       
  lvm2.i386 0:2.02.84-6.el5_7.1                                                 
  mod_ssl.i386 1:2.2.3-53.el5_7.1                                               
  net-snmp.i386 1:5.3.2.2-14.el5_7.1                                            
  net-snmp-libs.i386 1:5.3.2.2-14.el5_7.1                                       
  nspr.i386 0:4.8.8-1.el5_7                                                     
  nss.i386 0:3.12.10-4.el5_7                                                    
  nss-tools.i386 0:3.12.10-4.el5_7                                              
  openssh.i386 0:4.3p2-72.el5_7.5                                               
  openssh-clients.i386 0:4.3p2-72.el5_7.5                                       
  openssh-server.i386 0:4.3p2-72.el5_7.5                                        
  rsync.i386 0:3.0.6-4.el5_7.1                                                  
  samba-client.i386 0:3.0.33-3.29.el5_7.4                                       
  samba-common.i386 0:3.0.33-3.29.el5_7.4                                       
  tzdata.i386 0:2011h-2.el5                                                     
  yum-rhn-plugin.noarch 0:0.5.4-22.el5_7.2                                      

Complete! 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no fa1lures in rpm package ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'failure in rpm package' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no rpm scriplet fa1lures ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'scriptlet failed, exit status 1' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify package removal... 
######################################################################################
COMMAND: /bin/rpm -e zsh
RETURN CODE: 0
COMMAND:  /bin/rpm -q zsh
RESULT: package zsh is not installed 
EXPECTED RESULT: package zsh is not installed
RETURN CODE: 1
PASS
######################################################################################
# NEW TEST: ## Verify bash_history ... 
######################################################################################
COMMAND:  cat ~/.bash_history | wc -l 
RESULT: 0 
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no systemid file ... 
######################################################################################
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rh-cloud-firstboot is OFF ... 
######################################################################################
COMMAND:  chkconfig --list | grep rh-cloud | grep 3:off | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
/etc/sysconfig/rh-cloud-firstboot FOUND

Comment 12 Kedar Bidarkar 2011-09-14 11:24:26 UTC
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
COMMAND:  cat /etc/sysconfig/rh-cloud-firstboot
RESULT: RUN_FIRSTBOOT=NO 
EXPECTED RESULT: RUN_FIRSTBOOT=NO
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify nameserver ... 
######################################################################################
COMMAND:  /usr/bin/dig clock.redhat.com 2>> /root/valid/src/validate.log | grep 66.187.233.4  | wc -l
RESULT: 1 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify group file ... 
######################################################################################
COMMAND:  cat /etc/group | grep root:x:0
RESULT: root:x:0:root 
EXPECTED RESULT: root:x:0:root
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep bin:x:1
RESULT: bin:x:1:root,bin,daemon 
EXPECTED RESULT: bin:x:1:root,bin,daemon
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep daemon:x:2
RESULT: daemon:x:2:root,bin,daemon 
EXPECTED RESULT: daemon:x:2:root,bin,daemon
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep nobody:x:99
RESULT: nobody:x:99: 
EXPECTED RESULT: nobody:x:99:
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify new passwd file ... 
######################################################################################
COMMAND:  cat /etc/passwd | grep root:x:0
RESULT: root:x:0:0:root:/root:/bin/bash 
EXPECTED RESULT: root:x:0:0:root:/root:/bin/bash
RETURN CODE: 0
PASS
COMMAND:  cat /etc/passwd | grep nobody:x:99
RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin 
EXPECTED RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin
RETURN CODE: 0
PASS
COMMAND:  cat /etc/passwd | grep sshd
RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin 
EXPECTED RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify runlevel ... 
######################################################################################
COMMAND:  cat /etc/inittab | grep id:
RESULT: id:3:initdefault: 
EXPECTED RESULT: id:3:initdefault:
RETURN CODE: 0
PASS
COMMAND:  cat /etc/inittab | grep si:
RESULT: si::sysinit:/etc/rc.d/rc.sysinit 
EXPECTED RESULT: si::sysinit:/etc/rc.d/rc.sysinit
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify new shells file ... 
######################################################################################
COMMAND:  cat /etc/shells | grep bash
RESULT: /bin/bash 
EXPECTED RESULT: /bin/bash
RETURN CODE: 0
PASS
COMMAND:  cat /etc/shells | grep nologin
RESULT: /sbin/nologin 
EXPECTED RESULT: /sbin/nologin
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify networking ... 
######################################################################################
COMMAND:  grep ^NETWORKING= /etc/sysconfig/network | cut -d\= -f2
RESULT: yes 
EXPECTED RESULT: yes
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify device ... 
######################################################################################
COMMAND:  grep ^DEVICE= /etc/sysconfig/network-scripts/ifcfg-eth0 | cut -d\= -f2
RESULT: eth0 
EXPECTED RESULT: eth0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify iptables ... 
######################################################################################
COMMAND: /etc/init.d/iptables status | grep REJECT 
10   REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-host-prohibited 
RETURN CODE: 0
COMMAND:  /etc/init.d/iptables status | grep :22 | grep ACCEPT | wc -l 
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/iptables status | grep dpt:631 | grep ACCEPT | wc -l 
RESULT: 2 
EXPECTED RESULT: 2
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/iptables status | grep dpt:5353 | grep ACCEPT | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/iptables status | grep RELATED,ESTABLISHED | grep ACCEPT | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/iptables status | grep -e esp -e ah | grep ACCEPT | wc -l
RESULT: 2 
EXPECTED RESULT: 2
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/iptables status | grep REJECT | grep all | grep 0.0.0.0/0 | grep icmp-host-prohibited |  wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify sshd ...
######################################################################################
COMMAND:  chkconfig --list | grep sshd
RESULT: sshd           	0:off	1:off	2:on	3:on	4:on	5:on	6:off 
EXPECTED RESULT: sshd           	0:off	1:off	2:on	3:on	4:on	5:on	6:off
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/sshd status | grep running | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify  chkconfig ... 
######################################################################################
COMMAND:  chkconfig --list | grep crond | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
COMMAND:  chkconfig --list | grep  iptables | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
COMMAND:  chkconfig --list | grep yum-updatesd | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rsyslog is on ... 
######################################################################################
COMMAND:  chkconfig --list | grep rsyslog | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rsyslog config ... 
######################################################################################
COMMAND:  md5sum /etc/rsyslog.conf | cut -f 1 -d  " "
RESULT: 15936b6fe4e8fadcea87b54de495f975 
EXPECTED RESULT: bd4e328df4b59d41979ef7202a05e074 OR 15936b6fe4e8fadcea87b54de495f975 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify auditd is on ... 
######################################################################################
COMMAND:  /sbin/chkconfig --list auditd | grep 3:on
RESULT: auditd         	0:off	1:off	2:on	3:on	4:on	5:on	6:off 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
COMMAND:  /sbin/chkconfig --list auditd | grep 5:on
RESULT: auditd         	0:off	1:off	2:on	3:on	4:on	5:on	6:off 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify audit.rules ... 
######################################################################################
COMMAND:  md5sum /etc/audit/audit.rules | cut -f 1 -d  " "
RESULT: f9869e1191838c461f5b9051c78a638d 
EXPECTED RESULT: f9869e1191838c461f5b9051c78a638d
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify auditd.conf ... 
######################################################################################
COMMAND:  md5sum /etc/audit/auditd.conf | cut -f 1 -d  " "
RESULT: 612ddf28c3916530d47ef56a1b1ed1ed 
EXPECTED RESULT: 612ddf28c3916530d47ef56a1b1ed1ed
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify auditd sysconfig ... 
######################################################################################
COMMAND:  md5sum /etc/sysconfig/auditd | cut -f 1 -d  " "
RESULT: 123beb3a97a32d96eba4f11509e39da2 
EXPECTED RESULT: 123beb3a97a32d96eba4f11509e39da2
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify sshd_config settings ...
######################################################################################
COMMAND:  cat /etc/ssh/sshd_config  | grep  PasswordAuthentication | grep no | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/ld.so.conf.d/libc6-xen.conf is not present ... 
######################################################################################
COMMAND:  ls /etc/ld.so.conf.d/libc6-xen.conf
ls: /etc/ld.so.conf.d/libc6-xen.conf: No such file or directory
RESULT:  
EXPECTED RESULT: 2
RETURN CODE: 2
PASS
######################################################################################
# NEW TEST: ##test menu.lst ... 
######################################################################################
COMMAND:  file /boot/grub/menu.lst  | grep symbolic | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  file /boot/grub/menu.lst  | grep grub.conf | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  cat /boot/grub/grub.conf  | grep "(hd0,0)" | wc -l
RESULT: 0 
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify resize2fs ... 
######################################################################################
COMMAND: resize2fs -p /dev/sda1 15000M
resize2fs 1.39 (29-May-2006)
RETURN CODE: 0
COMMAND:  df -h | grep 15G | wc -l 
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: Fetching Host Details 
######################################################################################
This is not a Hourly image

## Summary ##
FAILURES = 2
FAILED TESTS = ## Verify turning on/off swap file ... ## Verify swap size ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 13 Kedar Bidarkar 2011-09-14 11:28:03 UTC
IMAGE ID= ami-a570b3cc_us-east-1_m1.small
###### TEST KERNEL AFTER REBOOT ####  
######################################################################################
# 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-274.3.1
CURRENT_UNAME_KERNAL_VERSION=2.6.18-274
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed 's/\(.*\)......./\1/'
RESULT: 2.6.18-274 
EXPECTED RESULT: 2.6.18-274.3.1
RETURN CODE: 0
FAIL2
2.6.18-274
######################################################################################
# NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ... 
######################################################################################
COMMAND:  cat /boot/grub/menu.lst | grep 2.6.18-274.3.1
RESULT: title Red Hat Enterprise Linux Server (2.6.18-274.3.1.el5xen)
        kernel /boot/vmlinuz-2.6.18-274.3.1.el5xen ro root=LABEL=/ 
        initrd /boot/initrd-2.6.18-274.3.1.el5xen.img 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# 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
######################################################################################
# NEW TEST: ##Verify memory match hwp ... 
######################################################################################
cat /proc/meminfo | grep MemTotal: | awk '{print }'
FOUND MEMORY OF 1740984 > hwp MEMORY of 1700000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: Fetching Host Details 
######################################################################################
This is not a Hourly image
hostname
######################################################################################
# NEW TEST: The selected image has the version RHEL 5.7
######################################################################################

## Summary ##
FAILURES = 3
FAILED TESTS = ## Verify turning on/off swap file ... ## Verify swap size ...
## Verify latest installed kernel is running ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 14 Kedar Bidarkar 2011-09-14 11:28:07 UTC
 automake14           noarch 1.4p6-13.el5.1   rhui-us-east-rhel-server-1y 200 k
 automake15           noarch 1.5-16.el5.2     rhui-us-east-rhel-server-1y 230 k
 automake16           noarch 1.6.3-8.el5.1    rhui-us-east-rhel-server-1y 241 k
 automake17           noarch 1.7.9-7.el5.2    rhui-us-east-rhel-server-1y 278 k
 bison                i386   2.3-2.1          rhui-us-east-rhel-server-1y 536 k
 byacc                i386   1.9-29.2.2       rhui-us-east-rhel-server-1y  38 k
 cscope               i386   15.5-15.1.el5_3.1
                                              rhui-us-east-rhel-server-1y 136 k
 ctags                i386   5.6-1.1          rhui-us-east-rhel-server-1y 127 k
 cvs                  i386   1.11.22-7.el5    rhui-us-east-rhel-server-1y 725 k
 dev86                i386   0.16.17-2.2      rhui-us-east-rhel-server-1y 372 k
 diffstat             i386   1.41-1.2.3.el5   rhui-us-east-rhel-server-1y  18 k
 dogtail              noarch 0.6.1-4.el5      rhui-us-east-rhel-server-1y 172 k
 doxygen              i386   1:1.4.7-1.1      rhui-us-east-rhel-server-1y 2.3 M
 elfutils             i386   0.137-3.el5      rhui-us-east-rhel-server-1y 228 k
 flex                 i386   2.5.4a-41.fc6    rhui-us-east-rhel-server-1y 124 k
 gcc-c++              i386   4.1.2-51.el5     rhui-us-east-rhel-server-1y 3.4 M
 gcc-gfortran         i386   4.1.2-51.el5     rhui-us-east-rhel-server-1y 3.1 M
 gdb                  i386   7.0.1-37.el5_7.1 rhui-us-east-rhel-server-1y 2.4 M
 indent               i386   2.2.9-14.fc6     rhui-us-east-rhel-server-1y  93 k
 libtool              i386   1.5.22-7.el5_4   rhui-us-east-rhel-server-1y 667 k
 ltrace               i386   0.5-13.45svn.el5 rhui-us-east-rhel-server-1y  61 k
 oprofile             i386   0.9.4-15.el5     rhui-us-east-rhel-server-1y 2.7 M
 patchutils           i386   0.2.31-2.2.2     rhui-us-east-rhel-server-1y 109 k
 pstack               i386   1.2-7.2.2        rhui-us-east-rhel-server-1y 4.6 k
 python-ldap          i386   2.2.0-2.1        rhui-us-east-rhel-server-1y 122 k
 rcs                  i386   5.7-30.1         rhui-us-east-rhel-server-1y 332 k
 redhat-rpm-config    noarch 8.0.45-32.el5    rhui-us-east-rhel-server-1y  54 k
 rpm-build            i386   4.4.2.3-22.el5   rhui-us-east-rhel-server-1y 302 k
 splint               i386   3.1.1-16.el5     rhui-us-east-rhel-server-1y 1.5 M
 strace               i386   4.5.18-5.el5_5.5 rhui-us-east-rhel-server-1y 172 k
 swig                 i386   1.3.29-2.el5     rhui-us-east-rhel-server-1y 2.9 M
 systemtap            i386   1.3-9.el5        rhui-us-east-rhel-server-1y 2.5 M
 texinfo              i386   4.8-14.el5       rhui-us-east-rhel-server-1y 753 k
 valgrind             i386   1:3.5.0-5.el5    rhui-us-east-rhel-server-1y  20 M
Installing for dependencies:
 GConf2               i386   2.14.0-9.el5     rhui-us-east-rhel-server-1y 1.5 M
 ORBit2               i386   2.14.3-5.el5     rhui-us-east-rhel-server-1y 253 k
 at-spi               i386   1.7.11-3.el5     rhui-us-east-rhel-server-1y 290 k
 audiofile            i386   1:0.2.6-5        rhui-us-east-rhel-server-1y 107 k
 avahi                i386   0.6.16-10.el5_6  rhui-us-east-rhel-server-1y 251 k
 avahi-glib           i386   0.6.16-10.el5_6  rhui-us-east-rhel-server-1y  15 k
 elfutils-libs        i386   0.137-3.el5      rhui-us-east-rhel-server-1y 193 k
 esound               i386   1:0.2.36-3       rhui-us-east-rhel-server-1y 130 k
 gail                 i386   1.9.2-3.el5      rhui-us-east-rhel-server-1y 350 k
 gnome-keyring        i386   0.6.0-1.fc6      rhui-us-east-rhel-server-1y 170 k
 gnome-mime-data      i386   2.4.2-3.1        rhui-us-east-rhel-server-1y 691 k
 gnome-mount          i386   0.5-3.el5        rhui-us-east-rhel-server-1y  70 k
 gnome-python2        i386   2.16.0-1.fc6     rhui-us-east-rhel-server-1y 126 k
 gnome-python2-bonobo i386   2.16.0-1.fc6     rhui-us-east-rhel-server-1y  64 k
 gnome-python2-gconf  i386   2.16.0-1.fc6     rhui-us-east-rhel-server-1y  32 k
 gnome-python2-gnomevfs
                      i386   2.16.0-1.fc6     rhui-us-east-rhel-server-1y  65 k
 gnome-vfs2           i386   2.16.2-8.el5     rhui-us-east-rhel-server-1y 1.2 M
 imake                i386   1.0.2-3          rhui-us-east-rhel-server-1y 318 k
 libIDL               i386   0.8.7-1.fc6      rhui-us-east-rhel-server-1y  85 k
 libXTrap             i386   1.0.0-3.1        rhui-us-east-rhel-server-1y  23 k
 libXevie             i386   1.0.1-3.1        rhui-us-east-rhel-server-1y  14 k
 libXfontcache        i386   1.0.2-3.1        rhui-us-east-rhel-server-1y 9.7 k
 libXres              i386   1.0.1-3.1        rhui-us-east-rhel-server-1y  14 k
 libXxf86misc         i386   1.0.1-3.1        rhui-us-east-rhel-server-1y  12 k
 libXxf86vm           i386   1.0.1-3.1        rhui-us-east-rhel-server-1y  14 k
 libbonobo            i386   2.16.0-1.1.el5_5.1
                                              rhui-us-east-rhel-server-1y 502 k
 libbonoboui          i386   2.16.0-1.fc6     rhui-us-east-rhel-server-1y 390 k
 libdaemon            i386   0.10-5.el5       rhui-us-east-rhel-server-1y  24 k
 libgfortran          i386   4.1.2-51.el5     rhui-us-east-rhel-server-1y 232 k
 libgnome             i386   2.16.0-6.el5     rhui-us-east-rhel-server-1y 859 k
 libgnomecanvas       i386   2.14.0-4.1       rhui-us-east-rhel-server-1y 222 k
 libgnomeui           i386   2.16.0-5.el5     rhui-us-east-rhel-server-1y 977 k
 libnotify            i386   0.4.2-6.el5      rhui-us-east-rhel-server-1y  37 k
 libstdc++-devel      i386   4.1.2-51.el5     rhui-us-east-rhel-server-1y 2.8 M
 libwnck              i386   2.16.0-4.fc6     rhui-us-east-rhel-server-1y 185 k
 libxslt              i386   1.1.17-2.el5_2.2 rhui-us-east-rhel-server-1y 485 k
 notification-daemon  i386   0.3.5-9.el5      rhui-us-east-rhel-server-1y  47 k
 pyorbit              i386   2.14.1-3.el5     rhui-us-east-rhel-server-1y  48 k
 pyspi                i386   0.6.1-1.el5      rhui-us-east-rhel-server-1y  79 k
 shared-mime-info     i386   0.19-5.el5       rhui-us-east-rhel-server-1y 148 k
 startup-notification i386   0.8-4.1          rhui-us-east-rhel-server-1y  32 k
 systemtap-runtime    i386   1.3-9.el5        rhui-us-east-rhel-server-1y  93 k
 xorg-x11-fonts-base  noarch 7.1-2.1.el5      rhui-us-east-rhel-server-1y 3.7 M
 xorg-x11-server-Xvfb i386   1.1.1-48.76.el5_6.4
                                              rhui-us-east-rhel-server-1y 1.6 M
 xorg-x11-server-utils
                      i386   7.1-5.el5_6.2    rhui-us-east-rhel-server-1y 164 k
 xorg-x11-xauth       i386   1:1.0.1-2.1      rhui-us-east-rhel-server-1y  31 k
 xorg-x11-xinit       i386   1.0.2-15.el5     rhui-us-east-rhel-server-1y  26 k

Transaction Summary
================================================================================
Install      83 Package(s)
Upgrade       0 Package(s)

Total download size: 66 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           2.4 MB/s |  66 MB     00:27     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction

  Installing     : libgnomecanvas                                          1/83 

  Installing     : gnome-keyring                                           2/83 

  Installing     : libIDL                                                  3/83 

  Installing     : ORBit2                                                  4/83 

  Installing     : GConf2                                                  5/83 

  Installing     : libbonobo                                               6/83 

  Installing     : audiofile                                               7/83 

  Installing     : esound                                                  8/83 

  Installing     : pyorbit                                                 9/83 

  Installing     : gail                                                   10/83 

  Installing     : libgfortran                                            11/83 

  Installing     : libXTrap                                               12/83 

  Installing     : startup-notification                                   13/83 

  Installing     : libXxf86misc                                           14/83 

  Installing     : elfutils-libs                                          15/83 

  Installing     : elfutils                                               16/83 

  Installing     : libXfontcache                                          17/83 

  Installing     : libxslt                                                18/83 

  Installing     : xorg-x11-xauth                                         19/83 

  Installing     : libdaemon                                              20/83 

  Installing     : avahi                                                  21/83 

  Installing     : avahi-glib                                             22/83 

  Installing     : libXres                                                23/83 

  Installing     : libwnck                                                24/83 

  Installing     : notification-daemon                                    25/83 

  Installing     : libnotify                                              26/83 

  Installing     : imake                                                  27/83 

  Installing     : libXxf86vm                                             28/83 

  Installing     : xorg-x11-server-utils                                  29/83 

  Installing     : xorg-x11-xinit                                         30/83 

  Installing     : gdb                                                    31/83 

  Installing     : libXevie                                               32/83 

  Installing     : at-spi                                                 33/83 

  Installing     : pyspi                                                  34/83 

  Installing     : shared-mime-info                                       35/83 

  Installing     : rpm-build                                              36/83 

  Installing     : gcc-gfortran                                           37/83 

  Installing     : oprofile                                               38/83 

  Installing     : indent                                                 39/83 

  Installing     : texinfo                                                40/83 

  Installing     : splint                                                 41/83 

  Installing     : cvs                                                    42/83 

  Installing     : cscope                                                 43/83 

  Installing     : ltrace                                                 44/83 

  Installing     : doxygen                                                45/83 

  Installing     : strace                                                 46/83 

  Installing     : flex                                                   47/83 

  Installing     : python-ldap                                            48/83 

  Installing     : valgrind                                               49/83 

  Installing     : swig                                                   50/83 

  Installing     : dev86                                                  51/83 

  Installing     : bison                                                  52/83 

  Installing     : diffstat                                               53/83 

  Installing     : byacc                                                  54/83 

  Installing     : patchutils                                             55/83 

  Installing     : rcs                                                    56/83 

  Installing     : ctags                                                  57/83 

  Installing     : autoconf                                               58/83 

  Installing     : automake                                               59/83 

  Installing     : xorg-x11-fonts-base                                    60/83 

  Installing     : systemtap-runtime                                      61/83 

  Installing     : libstdc++-devel                                        62/83 

  Installing     : gnome-mime-data                                        63/83 

  Installing     : systemtap                                              64/83 

  Installing     : libtool                                                65/83 

  Installing     : automake17                                             66/83 

  Installing     : pstack                                                 67/83 

  Installing     : automake14                                             68/83 

  Installing     : automake15                                             69/83 

  Installing     : redhat-rpm-config                                      70/83 

  Installing     : automake16                                             71/83 

  Installing     : xorg-x11-server-Xvfb                                   72/83 

  Installing     : gcc-c++                                                73/83 

  Installing     : gnome-vfs2                                             74/83 

  Installing     : libgnome                                               75/83 

  Installing     : libbonoboui                                            76/83 

  Installing     : libgnomeui                                             77/83 

  Installing     : gnome-mount                                            78/83 

  Installing     : gnome-python2-bonobo                                   79/83 

  Installing     : gnome-python2                                          80/83 

  Installing     : gnome-python2-gconf                                    81/83 

  Installing     : dogtail                                                82/83 

  Installing     : gnome-python2-gnomevfs                                 83/83 

Installed:
  autoconf.noarch 0:2.59-12                  automake.noarch 0:1.9.6-2.3.el5    
  automake14.noarch 0:1.4p6-13.el5.1         automake15.noarch 0:1.5-16.el5.2   
  automake16.noarch 0:1.6.3-8.el5.1          automake17.noarch 0:1.7.9-7.el5.2  
  bison.i386 0:2.3-2.1                       byacc.i386 0:1.9-29.2.2            
  cscope.i386 0:15.5-15.1.el5_3.1            ctags.i386 0:5.6-1.1               
  cvs.i386 0:1.11.22-7.el5                   dev86.i386 0:0.16.17-2.2           
  diffstat.i386 0:1.41-1.2.3.el5             dogtail.noarch 0:0.6.1-4.el5       
  doxygen.i386 1:1.4.7-1.1                   elfutils.i386 0:0.137-3.el5        
  flex.i386 0:2.5.4a-41.fc6                  gcc-c++.i386 0:4.1.2-51.el5        
  gcc-gfortran.i386 0:4.1.2-51.el5           gdb.i386 0:7.0.1-37.el5_7.1        
  indent.i386 0:2.2.9-14.fc6                 libtool.i386 0:1.5.22-7.el5_4      
  ltrace.i386 0:0.5-13.45svn.el5             oprofile.i386 0:0.9.4-15.el5       
  patchutils.i386 0:0.2.31-2.2.2             pstack.i386 0:1.2-7.2.2            
  python-ldap.i386 0:2.2.0-2.1               rcs.i386 0:5.7-30.1                
  redhat-rpm-config.noarch 0:8.0.45-32.el5   rpm-build.i386 0:4.4.2.3-22.el5    
  splint.i386 0:3.1.1-16.el5                 strace.i386 0:4.5.18-5.el5_5.5     
  swig.i386 0:1.3.29-2.el5                   systemtap.i386 0:1.3-9.el5         
  texinfo.i386 0:4.8-14.el5                  valgrind.i386 1:3.5.0-5.el5        

Dependency Installed:
  GConf2.i386 0:2.14.0-9.el5                                                    
  ORBit2.i386 0:2.14.3-5.el5                                                    
  at-spi.i386 0:1.7.11-3.el5                                                    
  audiofile.i386 1:0.2.6-5                                                      
  avahi.i386 0:0.6.16-10.el5_6                                                  
  avahi-glib.i386 0:0.6.16-10.el5_6                                             
  elfutils-libs.i386 0:0.137-3.el5                                              
  esound.i386 1:0.2.36-3                                                        
  gail.i386 0:1.9.2-3.el5                                                       
  gnome-keyring.i386 0:0.6.0-1.fc6                                              
  gnome-mime-data.i386 0:2.4.2-3.1                                              
  gnome-mount.i386 0:0.5-3.el5                                                  
  gnome-python2.i386 0:2.16.0-1.fc6                                             
  gnome-python2-bonobo.i386 0:2.16.0-1.fc6                                      
  gnome-python2-gconf.i386 0:2.16.0-1.fc6                                       
  gnome-python2-gnomevfs.i386 0:2.16.0-1.fc6                                    
  gnome-vfs2.i386 0:2.16.2-8.el5                                                
  imake.i386 0:1.0.2-3                                                          
  libIDL.i386 0:0.8.7-1.fc6                                                     
  libXTrap.i386 0:1.0.0-3.1                                                     
  libXevie.i386 0:1.0.1-3.1                                                     
  libXfontcache.i386 0:1.0.2-3.1                                                
  libXres.i386 0:1.0.1-3.1                                                      
  libXxf86misc.i386 0:1.0.1-3.1                                                 
  libXxf86vm.i386 0:1.0.1-3.1                                                   
  libbonobo.i386 0:2.16.0-1.1.el5_5.1                                           
  libbonoboui.i386 0:2.16.0-1.fc6                                               
  libdaemon.i386 0:0.10-5.el5                                                   
  libgfortran.i386 0:4.1.2-51.el5                                               
  libgnome.i386 0:2.16.0-6.el5                                                  
  libgnomecanvas.i386 0:2.14.0-4.1                                              
  libgnomeui.i386 0:2.16.0-5.el5                                                
  libnotify.i386 0:0.4.2-6.el5                                                  
  libstdc++-devel.i386 0:4.1.2-51.el5                                           
  libwnck.i386 0:2.16.0-4.fc6                                                   
  libxslt.i386 0:1.1.17-2.el5_2.2                                               
  notification-daemon.i386 0:0.3.5-9.el5                                        
  pyorbit.i386 0:2.14.1-3.el5                                                   
  pyspi.i386 0:0.6.1-1.el5                                                      
  shared-mime-info.i386 0:0.19-5.el5                                            
  startup-notification.i386 0:0.8-4.1                                           
  systemtap-runtime.i386 0:1.3-9.el5                                            
  xorg-x11-fonts-base.noarch 0:7.1-2.1.el5                                      
  xorg-x11-server-Xvfb.i386 0:1.1.1-48.76.el5_6.4                               
  xorg-x11-server-utils.i386 0:7.1-5.el5_6.2                                    
  xorg-x11-xauth.i386 1:1.0.1-2.1                                               
  xorg-x11-xinit.i386 0:1.0.2-15.el5                                            

Complete! 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
RESULT: Loaded plugins: amazon-id, fastestmirror, security
Loading mirror speeds from cached hostfile
Skipping security plugin, no data
Setting up Update Process
Resolving Dependencies
Skipping security plugin, no data
--> Running transaction check
---> Package curl.i386 0:7.15.5-9.el5_7.4 set to be updated
---> Package dbus.i386 0:1.1.2-16.el5_7 set to be updated
---> Package dbus-libs.i386 0:1.1.2-16.el5_7 set to be updated
---> Package device-mapper-multipath.i386 0:0.4.7-46.el5_7.1 set to be updated
---> Package dhclient.i386 12:3.0.5-29.el5_7.1 set to be updated
---> Package gdbm.i386 0:1.8.0-26.2.1.el5_6.1 set to be updated
---> Package httpd.i386 0:2.2.3-53.el5_7.1 set to be updated
---> Package kernel-headers.i386 0:2.6.18-274.3.1.el5 set to be updated
---> Package kernel-xen.i686 0:2.6.18-274.3.1.el5 set to be installed
---> Package kernel-xen-devel.i686 0:2.6.18-274.3.1.el5 set to be installed
---> Package kpartx.i386 0:0.4.7-46.el5_7.1 set to be updated
---> Package libXfont.i386 0:1.2.2-1.0.4.el5_7 set to be updated
---> Package libpng.i386 2:1.2.10-7.1.el5_7.5 set to be updated
---> Package libsmbclient.i386 0:3.0.33-3.29.el5_7.4 set to be updated
---> Package lvm2.i386 0:2.02.84-6.el5_7.1 set to be updated
---> Package mod_ssl.i386 1:2.2.3-53.el5_7.1 set to be updated
---> Package net-snmp.i386 1:5.3.2.2-14.el5_7.1 set to be updated
---> Package net-snmp-libs.i386 1:5.3.2.2-14.el5_7.1 set to be updated
---> Package nspr.i386 0:4.8.8-1.el5_7 set to be updated
---> Package nss.i386 0:3.12.10-4.el5_7 set to be updated
---> Package nss-tools.i386 0:3.12.10-4.el5_7 set to be updated
---> Package openssh.i386 0:4.3p2-72.el5_7.5 set to be updated
---> Package openssh-clients.i386 0:4.3p2-72.el5_7.5 set to be updated
---> Package openssh-server.i386 0:4.3p2-72.el5_7.5 set to be updated
---> Package rsync.i386 0:3.0.6-4.el5_7.1 set to be updated
---> Package samba-client.i386 0:3.0.33-3.29.el5_7.4 set to be updated
---> Package samba-common.i386 0:3.0.33-3.29.el5_7.4 set to be updated
---> Package tzdata.i386 0:2011h-2.el5 set to be updated
---> Package yum-rhn-plugin.noarch 0:0.5.4-22.el5_7.2 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package          Arch   Version              Repository                   Size
================================================================================
Installing:
 kernel-xen       i686   2.6.18-274.3.1.el5   rhui-us-east-rhel-server-1y  20 M
 kernel-xen-devel i686   2.6.18-274.3.1.el5   rhui-us-east-rhel-server-1y 5.6 M
Updating:
 curl             i386   7.15.5-9.el5_7.4     rhui-us-east-rhel-server-1y 234 k
 dbus             i386   1.1.2-16.el5_7       rhui-us-east-rhel-server-1y 235 k
 dbus-libs        i386   1.1.2-16.el5_7       rhui-us-east-rhel-server-1y 124 k
 device-mapper-multipath
                  i386   0.4.7-46.el5_7.1     rhui-us-east-rhel-server-1y 2.8 M
 dhclient         i386   12:3.0.5-29.el5_7.1  rhui-us-east-rhel-server-1y 281 k
 gdbm             i386   1.8.0-26.2.1.el5_6.1 rhui-us-east-rhel-server-1y  28 k
 httpd            i386   2.2.3-53.el5_7.1     rhui-us-east-rhel-server-1y 1.2 M
 kernel-headers   i386   2.6.18-274.3.1.el5   rhui-us-east-rhel-server-1y 1.2 M
 kpartx           i386   0.4.7-46.el5_7.1     rhui-us-east-rhel-server-1y 425 k
 libXfont         i386   1.2.2-1.0.4.el5_7    rhui-us-east-rhel-server-1y 240 k
 libpng           i386   2:1.2.10-7.1.el5_7.5 rhui-us-east-rhel-server-1y 241 k
 libsmbclient     i386   3.0.33-3.29.el5_7.4  rhui-us-east-rhel-server-1y 908 k
 lvm2             i386   2.02.84-6.el5_7.1    rhui-us-east-rhel-server-1y 2.9 M
 mod_ssl          i386   1:2.2.3-53.el5_7.1   rhui-us-east-rhel-server-1y  93 k
 net-snmp         i386   1:5.3.2.2-14.el5_7.1 rhui-us-east-rhel-server-1y 702 k
 net-snmp-libs    i386   1:5.3.2.2-14.el5_7.1 rhui-us-east-rhel-server-1y 1.3 M
 nspr             i386   4.8.8-1.el5_7        rhui-us-east-rhel-server-1y 120 k
 nss              i386   3.12.10-4.el5_7      rhui-us-east-rhel-server-1y 1.1 M
 nss-tools        i386   3.12.10-4.el5_7      rhui-us-east-rhel-server-1y 1.2 M
 openssh          i386   4.3p2-72.el5_7.5     rhui-us-east-rhel-server-1y 289 k
 openssh-clients  i386   4.3p2-72.el5_7.5     rhui-us-east-rhel-server-1y 452 k
 openssh-server   i386   4.3p2-72.el5_7.5     rhui-us-east-rhel-server-1y 273 k
 rsync            i386   3.0.6-4.el5_7.1      rhui-us-east-rhel-server-1y 338 k
 samba-client     i386   3.0.33-3.29.el5_7.4  rhui-us-east-rhel-server-1y 5.7 M
 samba-common     i386   3.0.33-3.29.el5_7.4  rhui-us-east-rhel-server-1y 6.7 M
 tzdata           i386   2011h-2.el5          rhui-us-east-rhel-server-1y 781 k
 yum-rhn-plugin   noarch 0.5.4-22.el5_7.2     rhui-us-east-rhel-server-1y  63 k

Transaction Summary
================================================================================
Install       2 Package(s)
Upgrade      27 Package(s)

Total download size: 55 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           2.5 MB/s |  55 MB     00:22     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction

  Updating       : nspr                                                    1/56 

  Updating       : nss                                                     2/56 

  Updating       : net-snmp-libs                                           3/56 

  Updating       : openssh                                                 4/56 

  Updating       : httpd                                                   5/56 

  Updating       : libsmbclient                                            6/56 

  Updating       : samba-common                                            7/56 

  Updating       : lvm2                                                    8/56 

  Updating       : libpng                                                  9/56 

  Updating       : gdbm                                                   10/56 

  Updating       : curl                                                   11/56 

  Updating       : kpartx                                                 12/56 

  Updating       : libXfont                                               13/56 

  Updating       : device-mapper-multipath                                14/56 

  Updating       : samba-client                                           15/56 

  Updating       : mod_ssl                                                16/56 

  Updating       : openssh-clients                                        17/56 

  Updating       : openssh-server                                         18/56 

  Updating       : net-snmp                                               19/56 

  Updating       : nss-tools                                              20/56 

  Updating       : dhclient                                               21/56 

  Updating       : rsync                                                  22/56 

  Installing     : kernel-xen-devel                                       23/56 

  Installing     : kernel-xen                                             24/56 

  Updating       : kernel-headers                                         25/56 

  Updating       : yum-rhn-plugin                                         26/56 

  Updating       : tzdata                                                 27/56 

  Updating       : dbus-libs                                              28/56 

  Updating       : dbus                                                   29/56 

  Cleanup        : rsync                                                  30/56 

  Cleanup        : tzdata                                                 31/56 

  Cleanup        : dbus                                                   32/56 

  Cleanup        : libXfont                                               33/56 

  Cleanup        : nss-tools                                              34/56 

  Cleanup        : openssh-clients                                        35/56 

  Cleanup        : dbus-libs                                              36/56 

  Cleanup        : openssh-server                                         37/56 

  Cleanup        : yum-rhn-plugin                                         38/56 

  Cleanup        : kpartx                                                 39/56 

  Cleanup        : samba-client                                           40/56 

  Cleanup        : curl                                                   41/56 

  Cleanup        : nspr                                                   42/56 

  Cleanup        : gdbm                                                   43/56 

  Cleanup        : kernel-headers                                         44/56 

  Cleanup        : net-snmp-libs                                          45/56 

  Cleanup        : httpd                                                  46/56 

  Cleanup        : samba-common                                           47/56 

  Cleanup        : dhclient                                               48/56 

  Cleanup        : libpng                                                 49/56 

  Cleanup        : mod_ssl                                                50/56 

  Cleanup        : openssh                                                51/56 

  Cleanup        : lvm2                                                   52/56 

  Cleanup        : nss                                                    53/56 

  Cleanup        : device-mapper-multipath                                54/56 

  Cleanup        : net-snmp                                               55/56 

  Cleanup        : libsmbclient                                           56/56 

Installed:
  kernel-xen.i686 0:2.6.18-274.3.1.el5                                          
  kernel-xen-devel.i686 0:2.6.18-274.3.1.el5                                    

Updated:
  curl.i386 0:7.15.5-9.el5_7.4                                                  
  dbus.i386 0:1.1.2-16.el5_7                                                    
  dbus-libs.i386 0:1.1.2-16.el5_7                                               
  device-mapper-multipath.i386 0:0.4.7-46.el5_7.1                               
  dhclient.i386 12:3.0.5-29.el5_7.1                                             
  gdbm.i386 0:1.8.0-26.2.1.el5_6.1                                              
  httpd.i386 0:2.2.3-53.el5_7.1                                                 
  kernel-headers.i386 0:2.6.18-274.3.1.el5                                      
  kpartx.i386 0:0.4.7-46.el5_7.1                                                
  libXfont.i386 0:1.2.2-1.0.4.el5_7                                             
  libpng.i386 2:1.2.10-7.1.el5_7.5                                              
  libsmbclient.i386 0:3.0.33-3.29.el5_7.4                                       
  lvm2.i386 0:2.02.84-6.el5_7.1                                                 
  mod_ssl.i386 1:2.2.3-53.el5_7.1                                               
  net-snmp.i386 1:5.3.2.2-14.el5_7.1                                            
  net-snmp-libs.i386 1:5.3.2.2-14.el5_7.1                                       
  nspr.i386 0:4.8.8-1.el5_7                                                     
  nss.i386 0:3.12.10-4.el5_7                                                    
  nss-tools.i386 0:3.12.10-4.el5_7                                              
  openssh.i386 0:4.3p2-72.el5_7.5                                               
  openssh-clients.i386 0:4.3p2-72.el5_7.5                                       
  openssh-server.i386 0:4.3p2-72.el5_7.5                                        
  rsync.i386 0:3.0.6-4.el5_7.1                                                  
  samba-client.i386 0:3.0.33-3.29.el5_7.4                                       
  samba-common.i386 0:3.0.33-3.29.el5_7.4                                       
  tzdata.i386 0:2011h-2.el5                                                     
  yum-rhn-plugin.noarch 0:0.5.4-22.el5_7.2                                      

Complete! 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no fa1lures in rpm package ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'failure in rpm package' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no rpm scriplet fa1lures ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'scriptlet failed, exit status 1' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify package removal... 
######################################################################################
COMMAND: /bin/rpm -e zsh
RETURN CODE: 0
COMMAND:  /bin/rpm -q zsh
RESULT: package zsh is not installed 
EXPECTED RESULT: package zsh is not installed
RETURN CODE: 1
PASS
######################################################################################
# NEW TEST: ## Verify bash_history ... 
######################################################################################
COMMAND:  cat ~/.bash_history | wc -l 
RESULT: 0 
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no systemid file ... 
######################################################################################
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rh-cloud-firstboot is OFF ... 
######################################################################################
COMMAND:  chkconfig --list | grep rh-cloud | grep 3:off | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
/etc/sysconfig/rh-cloud-firstboot FOUND
COMMAND:  echo true
RESULT: true

Comment 15 Kedar Bidarkar 2011-09-14 11:28:10 UTC
EXPECTED RESULT: 
RETURN CODE: 0
PASS
COMMAND:  cat /etc/sysconfig/rh-cloud-firstboot
RESULT: RUN_FIRSTBOOT=NO 
EXPECTED RESULT: RUN_FIRSTBOOT=NO
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify nameserver ... 
######################################################################################
COMMAND:  /usr/bin/dig clock.redhat.com 2>> /root/valid/src/validate.log | grep 66.187.233.4  | wc -l
RESULT: 1 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify group file ... 
######################################################################################
COMMAND:  cat /etc/group | grep root:x:0
RESULT: root:x:0:root 
EXPECTED RESULT: root:x:0:root
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep bin:x:1
RESULT: bin:x:1:root,bin,daemon 
EXPECTED RESULT: bin:x:1:root,bin,daemon
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep daemon:x:2
RESULT: daemon:x:2:root,bin,daemon 
EXPECTED RESULT: daemon:x:2:root,bin,daemon
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep nobody:x:99
RESULT: nobody:x:99: 
EXPECTED RESULT: nobody:x:99:
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify new passwd file ... 
######################################################################################
COMMAND:  cat /etc/passwd | grep root:x:0
RESULT: root:x:0:0:root:/root:/bin/bash 
EXPECTED RESULT: root:x:0:0:root:/root:/bin/bash
RETURN CODE: 0
PASS
COMMAND:  cat /etc/passwd | grep nobody:x:99
RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin 
EXPECTED RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin
RETURN CODE: 0
PASS
COMMAND:  cat /etc/passwd | grep sshd
RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin 
EXPECTED RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify runlevel ... 
######################################################################################
COMMAND:  cat /etc/inittab | grep id:
RESULT: id:3:initdefault: 
EXPECTED RESULT: id:3:initdefault:
RETURN CODE: 0
PASS
COMMAND:  cat /etc/inittab | grep si:
RESULT: si::sysinit:/etc/rc.d/rc.sysinit 
EXPECTED RESULT: si::sysinit:/etc/rc.d/rc.sysinit
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify new shells file ... 
######################################################################################
COMMAND:  cat /etc/shells | grep bash
RESULT: /bin/bash 
EXPECTED RESULT: /bin/bash
RETURN CODE: 0
PASS
COMMAND:  cat /etc/shells | grep nologin
RESULT: /sbin/nologin 
EXPECTED RESULT: /sbin/nologin
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify networking ... 
######################################################################################
COMMAND:  grep ^NETWORKING= /etc/sysconfig/network | cut -d\= -f2
RESULT: yes 
EXPECTED RESULT: yes
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify device ... 
######################################################################################
COMMAND:  grep ^DEVICE= /etc/sysconfig/network-scripts/ifcfg-eth0 | cut -d\= -f2
RESULT: eth0 
EXPECTED RESULT: eth0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify iptables ... 
######################################################################################
COMMAND: /etc/init.d/iptables status | grep REJECT 
10   REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-host-prohibited 
RETURN CODE: 0
COMMAND:  /etc/init.d/iptables status | grep :22 | grep ACCEPT | wc -l 
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/iptables status | grep dpt:631 | grep ACCEPT | wc -l 
RESULT: 2 
EXPECTED RESULT: 2
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/iptables status | grep dpt:5353 | grep ACCEPT | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/iptables status | grep RELATED,ESTABLISHED | grep ACCEPT | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/iptables status | grep -e esp -e ah | grep ACCEPT | wc -l
RESULT: 2 
EXPECTED RESULT: 2
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/iptables status | grep REJECT | grep all | grep 0.0.0.0/0 | grep icmp-host-prohibited |  wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify sshd ...
######################################################################################
COMMAND:  chkconfig --list | grep sshd
RESULT: sshd           	0:off	1:off	2:on	3:on	4:on	5:on	6:off 
EXPECTED RESULT: sshd           	0:off	1:off	2:on	3:on	4:on	5:on	6:off
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/sshd status | grep running | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify  chkconfig ... 
######################################################################################
COMMAND:  chkconfig --list | grep crond | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
COMMAND:  chkconfig --list | grep  iptables | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
COMMAND:  chkconfig --list | grep yum-updatesd | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rsyslog is on ... 
######################################################################################
COMMAND:  chkconfig --list | grep rsyslog | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rsyslog config ... 
######################################################################################
COMMAND:  md5sum /etc/rsyslog.conf | cut -f 1 -d  " "
RESULT: 15936b6fe4e8fadcea87b54de495f975 
EXPECTED RESULT: bd4e328df4b59d41979ef7202a05e074 OR 15936b6fe4e8fadcea87b54de495f975 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify auditd is on ... 
######################################################################################
COMMAND:  /sbin/chkconfig --list auditd | grep 3:on
RESULT: auditd         	0:off	1:off	2:on	3:on	4:on	5:on	6:off 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
COMMAND:  /sbin/chkconfig --list auditd | grep 5:on
RESULT: auditd         	0:off	1:off	2:on	3:on	4:on	5:on	6:off 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify audit.rules ... 
######################################################################################
COMMAND:  md5sum /etc/audit/audit.rules | cut -f 1 -d  " "
RESULT: f9869e1191838c461f5b9051c78a638d 
EXPECTED RESULT: f9869e1191838c461f5b9051c78a638d
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify auditd.conf ... 
######################################################################################
COMMAND:  md5sum /etc/audit/auditd.conf | cut -f 1 -d  " "
RESULT: 612ddf28c3916530d47ef56a1b1ed1ed 
EXPECTED RESULT: 612ddf28c3916530d47ef56a1b1ed1ed
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify auditd sysconfig ... 
######################################################################################
COMMAND:  md5sum /etc/sysconfig/auditd | cut -f 1 -d  " "
RESULT: 123beb3a97a32d96eba4f11509e39da2 
EXPECTED RESULT: 123beb3a97a32d96eba4f11509e39da2
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify sshd_config settings ...
######################################################################################
COMMAND:  cat /etc/ssh/sshd_config  | grep  PasswordAuthentication | grep no | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/ld.so.conf.d/libc6-xen.conf is not present ... 
######################################################################################
COMMAND:  ls /etc/ld.so.conf.d/libc6-xen.conf
ls: /etc/ld.so.conf.d/libc6-xen.conf: No such file or directory
RESULT:  
EXPECTED RESULT: 2
RETURN CODE: 2
PASS
######################################################################################
# NEW TEST: ##test menu.lst ... 
######################################################################################
COMMAND:  file /boot/grub/menu.lst  | grep symbolic | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  file /boot/grub/menu.lst  | grep grub.conf | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  cat /boot/grub/grub.conf  | grep "(hd0,0)" | wc -l
RESULT: 0 
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify resize2fs ... 
######################################################################################
COMMAND: resize2fs -p /dev/sda1 15000M
resize2fs 1.39 (29-May-2006)
RETURN CODE: 0
COMMAND:  df -h | grep 15G | wc -l 
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: Fetching Host Details 
######################################################################################
This is not a Hourly image

## Summary ##
FAILURES = 2
FAILED TESTS = ## Verify turning on/off swap file ... ## Verify swap size ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 16 Kedar Bidarkar 2011-09-14 11:31:45 UTC
IMAGE ID= ami-a570b3cc_us-east-1_t1.micro
###### TEST KERNEL AFTER REBOOT ####  
######################################################################################
# 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-274.3.1
CURRENT_UNAME_KERNAL_VERSION=2.6.18-274
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed 's/\(.*\)......./\1/'
RESULT: 2.6.18-274 
EXPECTED RESULT: 2.6.18-274.3.1
RETURN CODE: 0
FAIL2
2.6.18-274
######################################################################################
# NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ... 
######################################################################################
COMMAND:  cat /boot/grub/menu.lst | grep 2.6.18-274.3.1
RESULT: title Red Hat Enterprise Linux Server (2.6.18-274.3.1.el5xen)
        kernel /boot/vmlinuz-2.6.18-274.3.1.el5xen ro root=LABEL=/ 
        initrd /boot/initrd-2.6.18-274.3.1.el5xen.img 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# 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
######################################################################################
# NEW TEST: ##Verify memory match hwp ... 
######################################################################################
cat /proc/meminfo | grep MemTotal: | awk '{print }'
FOUND MEMORY OF 629944 > hwp MEMORY of 600000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: Fetching Host Details 
######################################################################################
This is not a Hourly image
hostname
######################################################################################
# NEW TEST: The selected image has the version RHEL 5.7
######################################################################################

## Summary ##
FAILURES = 3
FAILED TESTS = ## Verify turning on/off swap file ... ## Verify swap size ...
## Verify latest installed kernel is running ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 17 Kedar Bidarkar 2011-09-14 11:31:49 UTC
 autoconf             noarch 2.59-12          rhui-us-east-rhel-server-1y 646 k
 automake             noarch 1.9.6-2.3.el5    rhui-us-east-rhel-server-1y 476 k
 automake14           noarch 1.4p6-13.el5.1   rhui-us-east-rhel-server-1y 200 k
 automake15           noarch 1.5-16.el5.2     rhui-us-east-rhel-server-1y 230 k
 automake16           noarch 1.6.3-8.el5.1    rhui-us-east-rhel-server-1y 241 k
 automake17           noarch 1.7.9-7.el5.2    rhui-us-east-rhel-server-1y 278 k
 bison                i386   2.3-2.1          rhui-us-east-rhel-server-1y 536 k
 byacc                i386   1.9-29.2.2       rhui-us-east-rhel-server-1y  38 k
 cscope               i386   15.5-15.1.el5_3.1
                                              rhui-us-east-rhel-server-1y 136 k
 ctags                i386   5.6-1.1          rhui-us-east-rhel-server-1y 127 k
 cvs                  i386   1.11.22-7.el5    rhui-us-east-rhel-server-1y 725 k
 dev86                i386   0.16.17-2.2      rhui-us-east-rhel-server-1y 372 k
 diffstat             i386   1.41-1.2.3.el5   rhui-us-east-rhel-server-1y  18 k
 dogtail              noarch 0.6.1-4.el5      rhui-us-east-rhel-server-1y 172 k
 doxygen              i386   1:1.4.7-1.1      rhui-us-east-rhel-server-1y 2.3 M
 elfutils             i386   0.137-3.el5      rhui-us-east-rhel-server-1y 228 k
 flex                 i386   2.5.4a-41.fc6    rhui-us-east-rhel-server-1y 124 k
 gcc-c++              i386   4.1.2-51.el5     rhui-us-east-rhel-server-1y 3.4 M
 gcc-gfortran         i386   4.1.2-51.el5     rhui-us-east-rhel-server-1y 3.1 M
 gdb                  i386   7.0.1-37.el5_7.1 rhui-us-east-rhel-server-1y 2.4 M
 indent               i386   2.2.9-14.fc6     rhui-us-east-rhel-server-1y  93 k
 libtool              i386   1.5.22-7.el5_4   rhui-us-east-rhel-server-1y 667 k
 ltrace               i386   0.5-13.45svn.el5 rhui-us-east-rhel-server-1y  61 k
 oprofile             i386   0.9.4-15.el5     rhui-us-east-rhel-server-1y 2.7 M
 patchutils           i386   0.2.31-2.2.2     rhui-us-east-rhel-server-1y 109 k
 pstack               i386   1.2-7.2.2        rhui-us-east-rhel-server-1y 4.6 k
 python-ldap          i386   2.2.0-2.1        rhui-us-east-rhel-server-1y 122 k
 rcs                  i386   5.7-30.1         rhui-us-east-rhel-server-1y 332 k
 redhat-rpm-config    noarch 8.0.45-32.el5    rhui-us-east-rhel-server-1y  54 k
 rpm-build            i386   4.4.2.3-22.el5   rhui-us-east-rhel-server-1y 302 k
 splint               i386   3.1.1-16.el5     rhui-us-east-rhel-server-1y 1.5 M
 strace               i386   4.5.18-5.el5_5.5 rhui-us-east-rhel-server-1y 172 k
 swig                 i386   1.3.29-2.el5     rhui-us-east-rhel-server-1y 2.9 M
 systemtap            i386   1.3-9.el5        rhui-us-east-rhel-server-1y 2.5 M
 texinfo              i386   4.8-14.el5       rhui-us-east-rhel-server-1y 753 k
 valgrind             i386   1:3.5.0-5.el5    rhui-us-east-rhel-server-1y  20 M
Installing for dependencies:
 GConf2               i386   2.14.0-9.el5     rhui-us-east-rhel-server-1y 1.5 M
 ORBit2               i386   2.14.3-5.el5     rhui-us-east-rhel-server-1y 253 k
 at-spi               i386   1.7.11-3.el5     rhui-us-east-rhel-server-1y 290 k
 audiofile            i386   1:0.2.6-5        rhui-us-east-rhel-server-1y 107 k
 avahi                i386   0.6.16-10.el5_6  rhui-us-east-rhel-server-1y 251 k
 avahi-glib           i386   0.6.16-10.el5_6  rhui-us-east-rhel-server-1y  15 k
 elfutils-libs        i386   0.137-3.el5      rhui-us-east-rhel-server-1y 193 k
 esound               i386   1:0.2.36-3       rhui-us-east-rhel-server-1y 130 k
 gail                 i386   1.9.2-3.el5      rhui-us-east-rhel-server-1y 350 k
 gnome-keyring        i386   0.6.0-1.fc6      rhui-us-east-rhel-server-1y 170 k
 gnome-mime-data      i386   2.4.2-3.1        rhui-us-east-rhel-server-1y 691 k
 gnome-mount          i386   0.5-3.el5        rhui-us-east-rhel-server-1y  70 k
 gnome-python2        i386   2.16.0-1.fc6     rhui-us-east-rhel-server-1y 126 k
 gnome-python2-bonobo i386   2.16.0-1.fc6     rhui-us-east-rhel-server-1y  64 k
 gnome-python2-gconf  i386   2.16.0-1.fc6     rhui-us-east-rhel-server-1y  32 k
 gnome-python2-gnomevfs
                      i386   2.16.0-1.fc6     rhui-us-east-rhel-server-1y  65 k
 gnome-vfs2           i386   2.16.2-8.el5     rhui-us-east-rhel-server-1y 1.2 M
 imake                i386   1.0.2-3          rhui-us-east-rhel-server-1y 318 k
 libIDL               i386   0.8.7-1.fc6      rhui-us-east-rhel-server-1y  85 k
 libXTrap             i386   1.0.0-3.1        rhui-us-east-rhel-server-1y  23 k
 libXevie             i386   1.0.1-3.1        rhui-us-east-rhel-server-1y  14 k
 libXfontcache        i386   1.0.2-3.1        rhui-us-east-rhel-server-1y 9.7 k
 libXres              i386   1.0.1-3.1        rhui-us-east-rhel-server-1y  14 k
 libXxf86misc         i386   1.0.1-3.1        rhui-us-east-rhel-server-1y  12 k
 libXxf86vm           i386   1.0.1-3.1        rhui-us-east-rhel-server-1y  14 k
 libbonobo            i386   2.16.0-1.1.el5_5.1
                                              rhui-us-east-rhel-server-1y 502 k
 libbonoboui          i386   2.16.0-1.fc6     rhui-us-east-rhel-server-1y 390 k
 libdaemon            i386   0.10-5.el5       rhui-us-east-rhel-server-1y  24 k
 libgfortran          i386   4.1.2-51.el5     rhui-us-east-rhel-server-1y 232 k
 libgnome             i386   2.16.0-6.el5     rhui-us-east-rhel-server-1y 859 k
 libgnomecanvas       i386   2.14.0-4.1       rhui-us-east-rhel-server-1y 222 k
 libgnomeui           i386   2.16.0-5.el5     rhui-us-east-rhel-server-1y 977 k
 libnotify            i386   0.4.2-6.el5      rhui-us-east-rhel-server-1y  37 k
 libstdc++-devel      i386   4.1.2-51.el5     rhui-us-east-rhel-server-1y 2.8 M
 libwnck              i386   2.16.0-4.fc6     rhui-us-east-rhel-server-1y 185 k
 libxslt              i386   1.1.17-2.el5_2.2 rhui-us-east-rhel-server-1y 485 k
 notification-daemon  i386   0.3.5-9.el5      rhui-us-east-rhel-server-1y  47 k
 pyorbit              i386   2.14.1-3.el5     rhui-us-east-rhel-server-1y  48 k
 pyspi                i386   0.6.1-1.el5      rhui-us-east-rhel-server-1y  79 k
 shared-mime-info     i386   0.19-5.el5       rhui-us-east-rhel-server-1y 148 k
 startup-notification i386   0.8-4.1          rhui-us-east-rhel-server-1y  32 k
 systemtap-runtime    i386   1.3-9.el5        rhui-us-east-rhel-server-1y  93 k
 xorg-x11-fonts-base  noarch 7.1-2.1.el5      rhui-us-east-rhel-server-1y 3.7 M
 xorg-x11-server-Xvfb i386   1.1.1-48.76.el5_6.4
                                              rhui-us-east-rhel-server-1y 1.6 M
 xorg-x11-server-utils
                      i386   7.1-5.el5_6.2    rhui-us-east-rhel-server-1y 164 k
 xorg-x11-xauth       i386   1:1.0.1-2.1      rhui-us-east-rhel-server-1y  31 k
 xorg-x11-xinit       i386   1.0.2-15.el5     rhui-us-east-rhel-server-1y  26 k

Transaction Summary
================================================================================
Install      83 Package(s)
Upgrade       0 Package(s)

Total download size: 66 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           842 kB/s |  66 MB     01:20     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction

  Installing     : libgnomecanvas                                          1/83 

  Installing     : gnome-keyring                                           2/83 

  Installing     : libIDL                                                  3/83 

  Installing     : ORBit2                                                  4/83 

  Installing     : GConf2                                                  5/83 

  Installing     : libbonobo                                               6/83 

  Installing     : audiofile                                               7/83 

  Installing     : esound                                                  8/83 

  Installing     : pyorbit                                                 9/83 

  Installing     : gail                                                   10/83 

  Installing     : libgfortran                                            11/83 

  Installing     : libXTrap                                               12/83 

  Installing     : startup-notification                                   13/83 

  Installing     : libXxf86misc                                           14/83 

  Installing     : elfutils-libs                                          15/83 

  Installing     : elfutils                                               16/83 

  Installing     : libXfontcache                                          17/83 

  Installing     : libxslt                                                18/83 

  Installing     : xorg-x11-xauth                                         19/83 

  Installing     : libdaemon                                              20/83 

  Installing     : avahi                                                  21/83 

  Installing     : avahi-glib                                             22/83 

  Installing     : libXres                                                23/83 

  Installing     : libwnck                                                24/83 

  Installing     : notification-daemon                                    25/83 

  Installing     : libnotify                                              26/83 

  Installing     : imake                                                  27/83 

  Installing     : libXxf86vm                                             28/83 

  Installing     : xorg-x11-server-utils                                  29/83 

  Installing     : xorg-x11-xinit                                         30/83 

  Installing     : gdb                                                    31/83 

  Installing     : libXevie                                               32/83 

  Installing     : at-spi                                                 33/83 

  Installing     : pyspi                                                  34/83 

  Installing     : shared-mime-info                                       35/83 

  Installing     : rpm-build                                              36/83 

  Installing     : gcc-gfortran                                           37/83 

  Installing     : oprofile                                               38/83 

  Installing     : indent                                                 39/83 

  Installing     : texinfo                                                40/83 

  Installing     : splint                                                 41/83 

  Installing     : cvs                                                    42/83 

  Installing     : cscope                                                 43/83 

  Installing     : ltrace                                                 44/83 

  Installing     : doxygen                                                45/83 

  Installing     : strace                                                 46/83 

  Installing     : flex                                                   47/83 

  Installing     : python-ldap                                            48/83 

  Installing     : valgrind                                               49/83 

  Installing     : swig                                                   50/83 

  Installing     : dev86                                                  51/83 

  Installing     : bison                                                  52/83 

  Installing     : diffstat                                               53/83 

  Installing     : byacc                                                  54/83 

  Installing     : patchutils                                             55/83 

  Installing     : rcs                                                    56/83 

  Installing     : ctags                                                  57/83 

  Installing     : autoconf                                               58/83 

  Installing     : automake                                               59/83 

  Installing     : xorg-x11-fonts-base                                    60/83 

  Installing     : systemtap-runtime                                      61/83 

  Installing     : libstdc++-devel                                        62/83 

  Installing     : gnome-mime-data                                        63/83 

  Installing     : systemtap                                              64/83 

  Installing     : libtool                                                65/83 

  Installing     : automake17                                             66/83 

  Installing     : pstack                                                 67/83 

  Installing     : automake14                                             68/83 

  Installing     : automake15                                             69/83 

  Installing     : redhat-rpm-config                                      70/83 

  Installing     : automake16                                             71/83 

  Installing     : xorg-x11-server-Xvfb                                   72/83 

  Installing     : gcc-c++                                                73/83 

  Installing     : gnome-vfs2                                             74/83 

  Installing     : libgnome                                               75/83 

  Installing     : libbonoboui                                            76/83 

  Installing     : libgnomeui                                             77/83 

  Installing     : gnome-mount                                            78/83 

  Installing     : gnome-python2-bonobo                                   79/83 

  Installing     : gnome-python2                                          80/83 

  Installing     : gnome-python2-gconf                                    81/83 

  Installing     : dogtail                                                82/83 

  Installing     : gnome-python2-gnomevfs                                 83/83 

Installed:
  autoconf.noarch 0:2.59-12                  automake.noarch 0:1.9.6-2.3.el5    
  automake14.noarch 0:1.4p6-13.el5.1         automake15.noarch 0:1.5-16.el5.2   
  automake16.noarch 0:1.6.3-8.el5.1          automake17.noarch 0:1.7.9-7.el5.2  
  bison.i386 0:2.3-2.1                       byacc.i386 0:1.9-29.2.2            
  cscope.i386 0:15.5-15.1.el5_3.1            ctags.i386 0:5.6-1.1               
  cvs.i386 0:1.11.22-7.el5                   dev86.i386 0:0.16.17-2.2           
  diffstat.i386 0:1.41-1.2.3.el5             dogtail.noarch 0:0.6.1-4.el5       
  doxygen.i386 1:1.4.7-1.1                   elfutils.i386 0:0.137-3.el5        
  flex.i386 0:2.5.4a-41.fc6                  gcc-c++.i386 0:4.1.2-51.el5        
  gcc-gfortran.i386 0:4.1.2-51.el5           gdb.i386 0:7.0.1-37.el5_7.1        
  indent.i386 0:2.2.9-14.fc6                 libtool.i386 0:1.5.22-7.el5_4      
  ltrace.i386 0:0.5-13.45svn.el5             oprofile.i386 0:0.9.4-15.el5       
  patchutils.i386 0:0.2.31-2.2.2             pstack.i386 0:1.2-7.2.2            
  python-ldap.i386 0:2.2.0-2.1               rcs.i386 0:5.7-30.1                
  redhat-rpm-config.noarch 0:8.0.45-32.el5   rpm-build.i386 0:4.4.2.3-22.el5    
  splint.i386 0:3.1.1-16.el5                 strace.i386 0:4.5.18-5.el5_5.5     
  swig.i386 0:1.3.29-2.el5                   systemtap.i386 0:1.3-9.el5         
  texinfo.i386 0:4.8-14.el5                  valgrind.i386 1:3.5.0-5.el5        

Dependency Installed:
  GConf2.i386 0:2.14.0-9.el5                                                    
  ORBit2.i386 0:2.14.3-5.el5                                                    
  at-spi.i386 0:1.7.11-3.el5                                                    
  audiofile.i386 1:0.2.6-5                                                      
  avahi.i386 0:0.6.16-10.el5_6                                                  
  avahi-glib.i386 0:0.6.16-10.el5_6                                             
  elfutils-libs.i386 0:0.137-3.el5                                              
  esound.i386 1:0.2.36-3                                                        
  gail.i386 0:1.9.2-3.el5                                                       
  gnome-keyring.i386 0:0.6.0-1.fc6                                              
  gnome-mime-data.i386 0:2.4.2-3.1                                              
  gnome-mount.i386 0:0.5-3.el5                                                  
  gnome-python2.i386 0:2.16.0-1.fc6                                             
  gnome-python2-bonobo.i386 0:2.16.0-1.fc6                                      
  gnome-python2-gconf.i386 0:2.16.0-1.fc6                                       
  gnome-python2-gnomevfs.i386 0:2.16.0-1.fc6                                    
  gnome-vfs2.i386 0:2.16.2-8.el5                                                
  imake.i386 0:1.0.2-3                                                          
  libIDL.i386 0:0.8.7-1.fc6                                                     
  libXTrap.i386 0:1.0.0-3.1                                                     
  libXevie.i386 0:1.0.1-3.1                                                     
  libXfontcache.i386 0:1.0.2-3.1                                                
  libXres.i386 0:1.0.1-3.1                                                      
  libXxf86misc.i386 0:1.0.1-3.1                                                 
  libXxf86vm.i386 0:1.0.1-3.1                                                   
  libbonobo.i386 0:2.16.0-1.1.el5_5.1                                           
  libbonoboui.i386 0:2.16.0-1.fc6                                               
  libdaemon.i386 0:0.10-5.el5                                                   
  libgfortran.i386 0:4.1.2-51.el5                                               
  libgnome.i386 0:2.16.0-6.el5                                                  
  libgnomecanvas.i386 0:2.14.0-4.1                                              
  libgnomeui.i386 0:2.16.0-5.el5                                                
  libnotify.i386 0:0.4.2-6.el5                                                  
  libstdc++-devel.i386 0:4.1.2-51.el5                                           
  libwnck.i386 0:2.16.0-4.fc6                                                   
  libxslt.i386 0:1.1.17-2.el5_2.2                                               
  notification-daemon.i386 0:0.3.5-9.el5                                        
  pyorbit.i386 0:2.14.1-3.el5                                                   
  pyspi.i386 0:0.6.1-1.el5                                                      
  shared-mime-info.i386 0:0.19-5.el5                                            
  startup-notification.i386 0:0.8-4.1                                           
  systemtap-runtime.i386 0:1.3-9.el5                                            
  xorg-x11-fonts-base.noarch 0:7.1-2.1.el5                                      
  xorg-x11-server-Xvfb.i386 0:1.1.1-48.76.el5_6.4                               
  xorg-x11-server-utils.i386 0:7.1-5.el5_6.2                                    
  xorg-x11-xauth.i386 1:1.0.1-2.1                                               
  xorg-x11-xinit.i386 0:1.0.2-15.el5                                            

Complete! 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
RESULT: Loaded plugins: amazon-id, fastestmirror, security
Loading mirror speeds from cached hostfile
Skipping security plugin, no data
Setting up Update Process
Resolving Dependencies
Skipping security plugin, no data
--> Running transaction check
---> Package curl.i386 0:7.15.5-9.el5_7.4 set to be updated
---> Package dbus.i386 0:1.1.2-16.el5_7 set to be updated
---> Package dbus-libs.i386 0:1.1.2-16.el5_7 set to be updated
---> Package device-mapper-multipath.i386 0:0.4.7-46.el5_7.1 set to be updated
---> Package dhclient.i386 12:3.0.5-29.el5_7.1 set to be updated
---> Package gdbm.i386 0:1.8.0-26.2.1.el5_6.1 set to be updated
---> Package httpd.i386 0:2.2.3-53.el5_7.1 set to be updated
---> Package kernel-headers.i386 0:2.6.18-274.3.1.el5 set to be updated
---> Package kernel-xen.i686 0:2.6.18-274.3.1.el5 set to be installed
---> Package kernel-xen-devel.i686 0:2.6.18-274.3.1.el5 set to be installed
---> Package kpartx.i386 0:0.4.7-46.el5_7.1 set to be updated
---> Package libXfont.i386 0:1.2.2-1.0.4.el5_7 set to be updated
---> Package libpng.i386 2:1.2.10-7.1.el5_7.5 set to be updated
---> Package libsmbclient.i386 0:3.0.33-3.29.el5_7.4 set to be updated
---> Package lvm2.i386 0:2.02.84-6.el5_7.1 set to be updated
---> Package mod_ssl.i386 1:2.2.3-53.el5_7.1 set to be updated
---> Package net-snmp.i386 1:5.3.2.2-14.el5_7.1 set to be updated
---> Package net-snmp-libs.i386 1:5.3.2.2-14.el5_7.1 set to be updated
---> Package nspr.i386 0:4.8.8-1.el5_7 set to be updated
---> Package nss.i386 0:3.12.10-4.el5_7 set to be updated
---> Package nss-tools.i386 0:3.12.10-4.el5_7 set to be updated
---> Package openssh.i386 0:4.3p2-72.el5_7.5 set to be updated
---> Package openssh-clients.i386 0:4.3p2-72.el5_7.5 set to be updated
---> Package openssh-server.i386 0:4.3p2-72.el5_7.5 set to be updated
---> Package rsync.i386 0:3.0.6-4.el5_7.1 set to be updated
---> Package samba-client.i386 0:3.0.33-3.29.el5_7.4 set to be updated
---> Package samba-common.i386 0:3.0.33-3.29.el5_7.4 set to be updated
---> Package tzdata.i386 0:2011h-2.el5 set to be updated
---> Package yum-rhn-plugin.noarch 0:0.5.4-22.el5_7.2 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package          Arch   Version              Repository                   Size
================================================================================
Installing:
 kernel-xen       i686   2.6.18-274.3.1.el5   rhui-us-east-rhel-server-1y  20 M
 kernel-xen-devel i686   2.6.18-274.3.1.el5   rhui-us-east-rhel-server-1y 5.6 M
Updating:
 curl             i386   7.15.5-9.el5_7.4     rhui-us-east-rhel-server-1y 234 k
 dbus             i386   1.1.2-16.el5_7       rhui-us-east-rhel-server-1y 235 k
 dbus-libs        i386   1.1.2-16.el5_7       rhui-us-east-rhel-server-1y 124 k
 device-mapper-multipath
                  i386   0.4.7-46.el5_7.1     rhui-us-east-rhel-server-1y 2.8 M
 dhclient         i386   12:3.0.5-29.el5_7.1  rhui-us-east-rhel-server-1y 281 k
 gdbm             i386   1.8.0-26.2.1.el5_6.1 rhui-us-east-rhel-server-1y  28 k
 httpd            i386   2.2.3-53.el5_7.1     rhui-us-east-rhel-server-1y 1.2 M
 kernel-headers   i386   2.6.18-274.3.1.el5   rhui-us-east-rhel-server-1y 1.2 M
 kpartx           i386   0.4.7-46.el5_7.1     rhui-us-east-rhel-server-1y 425 k
 libXfont         i386   1.2.2-1.0.4.el5_7    rhui-us-east-rhel-server-1y 240 k
 libpng           i386   2:1.2.10-7.1.el5_7.5 rhui-us-east-rhel-server-1y 241 k
 libsmbclient     i386   3.0.33-3.29.el5_7.4  rhui-us-east-rhel-server-1y 908 k
 lvm2             i386   2.02.84-6.el5_7.1    rhui-us-east-rhel-server-1y 2.9 M
 mod_ssl          i386   1:2.2.3-53.el5_7.1   rhui-us-east-rhel-server-1y  93 k
 net-snmp         i386   1:5.3.2.2-14.el5_7.1 rhui-us-east-rhel-server-1y 702 k
 net-snmp-libs    i386   1:5.3.2.2-14.el5_7.1 rhui-us-east-rhel-server-1y 1.3 M
 nspr             i386   4.8.8-1.el5_7        rhui-us-east-rhel-server-1y 120 k
 nss              i386   3.12.10-4.el5_7      rhui-us-east-rhel-server-1y 1.1 M
 nss-tools        i386   3.12.10-4.el5_7      rhui-us-east-rhel-server-1y 1.2 M
 openssh          i386   4.3p2-72.el5_7.5     rhui-us-east-rhel-server-1y 289 k
 openssh-clients  i386   4.3p2-72.el5_7.5     rhui-us-east-rhel-server-1y 452 k
 openssh-server   i386   4.3p2-72.el5_7.5     rhui-us-east-rhel-server-1y 273 k
 rsync            i386   3.0.6-4.el5_7.1      rhui-us-east-rhel-server-1y 338 k
 samba-client     i386   3.0.33-3.29.el5_7.4  rhui-us-east-rhel-server-1y 5.7 M
 samba-common     i386   3.0.33-3.29.el5_7.4  rhui-us-east-rhel-server-1y 6.7 M
 tzdata           i386   2011h-2.el5          rhui-us-east-rhel-server-1y 781 k
 yum-rhn-plugin   noarch 0.5.4-22.el5_7.2     rhui-us-east-rhel-server-1y  63 k

Transaction Summary
================================================================================
Install       2 Package(s)
Upgrade      27 Package(s)

Total download size: 55 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           1.2 MB/s |  55 MB     00:45     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction

  Updating       : nspr                                                    1/56 

  Updating       : nss                                                     2/56 

  Updating       : net-snmp-libs                                           3/56 

  Updating       : openssh                                                 4/56 

  Updating       : httpd                                                   5/56 

  Updating       : libsmbclient                                            6/56 

  Updating       : samba-common                                            7/56 

  Updating       : lvm2                                                    8/56 

  Updating       : libpng                                                  9/56 

  Updating       : gdbm                                                   10/56 

  Updating       : curl                                                   11/56 

  Updating       : kpartx                                                 12/56 

  Updating       : libXfont                                               13/56 

  Updating       : device-mapper-multipath                                14/56 

  Updating       : samba-client                                           15/56 

  Updating       : mod_ssl                                                16/56 

  Updating       : openssh-clients                                        17/56 

  Updating       : openssh-server                                         18/56 

  Updating       : net-snmp                                               19/56 

  Updating       : nss-tools                                              20/56 

  Updating       : dhclient                                               21/56 

  Updating       : rsync                                                  22/56 

  Installing     : kernel-xen-devel                                       23/56 

  Installing     : kernel-xen                                             24/56 

  Updating       : kernel-headers                                         25/56 

  Updating       : yum-rhn-plugin                                         26/56 

  Updating       : tzdata                                                 27/56 

  Updating       : dbus-libs                                              28/56 

  Updating       : dbus                                                   29/56 

  Cleanup        : rsync                                                  30/56 

  Cleanup        : tzdata                                                 31/56 

  Cleanup        : dbus                                                   32/56 

  Cleanup        : libXfont                                               33/56 

  Cleanup        : nss-tools                                              34/56 

  Cleanup        : openssh-clients                                        35/56 

  Cleanup        : dbus-libs                                              36/56 

  Cleanup        : openssh-server                                         37/56 

  Cleanup        : yum-rhn-plugin                                         38/56 

  Cleanup        : kpartx                                                 39/56 

  Cleanup        : samba-client                                           40/56 

  Cleanup        : curl                                                   41/56 

  Cleanup        : nspr                                                   42/56 

  Cleanup        : gdbm                                                   43/56 

  Cleanup        : kernel-headers                                         44/56 

  Cleanup        : net-snmp-libs                                          45/56 

  Cleanup        : httpd                                                  46/56 

  Cleanup        : samba-common                                           47/56 

  Cleanup        : dhclient                                               48/56 

  Cleanup        : libpng                                                 49/56 

  Cleanup        : mod_ssl                                                50/56 

  Cleanup        : openssh                                                51/56 

  Cleanup        : lvm2                                                   52/56 

  Cleanup        : nss                                                    53/56 

  Cleanup        : device-mapper-multipath                                54/56 

  Cleanup        : net-snmp                                               55/56 

  Cleanup        : libsmbclient                                           56/56 

Installed:
  kernel-xen.i686 0:2.6.18-274.3.1.el5                                          
  kernel-xen-devel.i686 0:2.6.18-274.3.1.el5                                    

Updated:
  curl.i386 0:7.15.5-9.el5_7.4                                                  
  dbus.i386 0:1.1.2-16.el5_7                                                    
  dbus-libs.i386 0:1.1.2-16.el5_7                                               
  device-mapper-multipath.i386 0:0.4.7-46.el5_7.1                               
  dhclient.i386 12:3.0.5-29.el5_7.1                                             
  gdbm.i386 0:1.8.0-26.2.1.el5_6.1                                              
  httpd.i386 0:2.2.3-53.el5_7.1                                                 
  kernel-headers.i386 0:2.6.18-274.3.1.el5                                      
  kpartx.i386 0:0.4.7-46.el5_7.1                                                
  libXfont.i386 0:1.2.2-1.0.4.el5_7                                             
  libpng.i386 2:1.2.10-7.1.el5_7.5                                              
  libsmbclient.i386 0:3.0.33-3.29.el5_7.4                                       
  lvm2.i386 0:2.02.84-6.el5_7.1                                                 
  mod_ssl.i386 1:2.2.3-53.el5_7.1                                               
  net-snmp.i386 1:5.3.2.2-14.el5_7.1                                            
  net-snmp-libs.i386 1:5.3.2.2-14.el5_7.1                                       
  nspr.i386 0:4.8.8-1.el5_7                                                     
  nss.i386 0:3.12.10-4.el5_7                                                    
  nss-tools.i386 0:3.12.10-4.el5_7                                              
  openssh.i386 0:4.3p2-72.el5_7.5                                               
  openssh-clients.i386 0:4.3p2-72.el5_7.5                                       
  openssh-server.i386 0:4.3p2-72.el5_7.5                                        
  rsync.i386 0:3.0.6-4.el5_7.1                                                  
  samba-client.i386 0:3.0.33-3.29.el5_7.4                                       
  samba-common.i386 0:3.0.33-3.29.el5_7.4                                       
  tzdata.i386 0:2011h-2.el5                                                     
  yum-rhn-plugin.noarch 0:0.5.4-22.el5_7.2                                      

Complete! 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no fa1lures in rpm package ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'failure in rpm package' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no rpm scriplet fa1lures ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'scriptlet failed, exit status 1' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify package removal... 
######################################################################################
COMMAND: /bin/rpm -e zsh
RETURN CODE: 0
COMMAND:  /bin/rpm -q zsh
RESULT: package zsh is not installed 
EXPECTED RESULT: package zsh is not installed
RETURN CODE: 1
PASS
######################################################################################
# NEW TEST: ## Verify bash_history ... 
######################################################################################
COMMAND:  cat ~/.bash_history | wc -l 
RESULT: 0 
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no systemid file ... 
######################################################################################
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rh-cloud-firstboot is OFF ... 
######################################################################################
COMMAND:  chkconfig --list | grep rh-cloud | grep 3:off | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
/etc/sysconfig/rh-cloud-firstboot FOUND

Comment 18 Kedar Bidarkar 2011-09-14 11:31:52 UTC
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
COMMAND:  cat /etc/sysconfig/rh-cloud-firstboot
RESULT: RUN_FIRSTBOOT=NO 
EXPECTED RESULT: RUN_FIRSTBOOT=NO
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify nameserver ... 
######################################################################################
COMMAND:  /usr/bin/dig clock.redhat.com 2>> /root/valid/src/validate.log | grep 66.187.233.4  | wc -l
RESULT: 1 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify group file ... 
######################################################################################
COMMAND:  cat /etc/group | grep root:x:0
RESULT: root:x:0:root 
EXPECTED RESULT: root:x:0:root
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep bin:x:1
RESULT: bin:x:1:root,bin,daemon 
EXPECTED RESULT: bin:x:1:root,bin,daemon
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep daemon:x:2
RESULT: daemon:x:2:root,bin,daemon 
EXPECTED RESULT: daemon:x:2:root,bin,daemon
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep nobody:x:99
RESULT: nobody:x:99: 
EXPECTED RESULT: nobody:x:99:
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify new passwd file ... 
######################################################################################
COMMAND:  cat /etc/passwd | grep root:x:0
RESULT: root:x:0:0:root:/root:/bin/bash 
EXPECTED RESULT: root:x:0:0:root:/root:/bin/bash
RETURN CODE: 0
PASS
COMMAND:  cat /etc/passwd | grep nobody:x:99
RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin 
EXPECTED RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin
RETURN CODE: 0
PASS
COMMAND:  cat /etc/passwd | grep sshd
RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin 
EXPECTED RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify runlevel ... 
######################################################################################
COMMAND:  cat /etc/inittab | grep id:
RESULT: id:3:initdefault: 
EXPECTED RESULT: id:3:initdefault:
RETURN CODE: 0
PASS
COMMAND:  cat /etc/inittab | grep si:
RESULT: si::sysinit:/etc/rc.d/rc.sysinit 
EXPECTED RESULT: si::sysinit:/etc/rc.d/rc.sysinit
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify new shells file ... 
######################################################################################
COMMAND:  cat /etc/shells | grep bash
RESULT: /bin/bash 
EXPECTED RESULT: /bin/bash
RETURN CODE: 0
PASS
COMMAND:  cat /etc/shells | grep nologin
RESULT: /sbin/nologin 
EXPECTED RESULT: /sbin/nologin
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify networking ... 
######################################################################################
COMMAND:  grep ^NETWORKING= /etc/sysconfig/network | cut -d\= -f2
RESULT: yes 
EXPECTED RESULT: yes
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify device ... 
######################################################################################
COMMAND:  grep ^DEVICE= /etc/sysconfig/network-scripts/ifcfg-eth0 | cut -d\= -f2
RESULT: eth0 
EXPECTED RESULT: eth0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify iptables ... 
######################################################################################
COMMAND: /etc/init.d/iptables status | grep REJECT 
10   REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-host-prohibited 
RETURN CODE: 0
COMMAND:  /etc/init.d/iptables status | grep :22 | grep ACCEPT | wc -l 
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/iptables status | grep dpt:631 | grep ACCEPT | wc -l 
RESULT: 2 
EXPECTED RESULT: 2
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/iptables status | grep dpt:5353 | grep ACCEPT | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/iptables status | grep RELATED,ESTABLISHED | grep ACCEPT | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/iptables status | grep -e esp -e ah | grep ACCEPT | wc -l
RESULT: 2 
EXPECTED RESULT: 2
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/iptables status | grep REJECT | grep all | grep 0.0.0.0/0 | grep icmp-host-prohibited |  wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify sshd ...
######################################################################################
COMMAND:  chkconfig --list | grep sshd
RESULT: sshd           	0:off	1:off	2:on	3:on	4:on	5:on	6:off 
EXPECTED RESULT: sshd           	0:off	1:off	2:on	3:on	4:on	5:on	6:off
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/sshd status | grep running | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify  chkconfig ... 
######################################################################################
COMMAND:  chkconfig --list | grep crond | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
COMMAND:  chkconfig --list | grep  iptables | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
COMMAND:  chkconfig --list | grep yum-updatesd | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rsyslog is on ... 
######################################################################################
COMMAND:  chkconfig --list | grep rsyslog | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rsyslog config ... 
######################################################################################
COMMAND:  md5sum /etc/rsyslog.conf | cut -f 1 -d  " "
RESULT: 15936b6fe4e8fadcea87b54de495f975 
EXPECTED RESULT: bd4e328df4b59d41979ef7202a05e074 OR 15936b6fe4e8fadcea87b54de495f975 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify auditd is on ... 
######################################################################################
COMMAND:  /sbin/chkconfig --list auditd | grep 3:on
RESULT: auditd         	0:off	1:off	2:on	3:on	4:on	5:on	6:off 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
COMMAND:  /sbin/chkconfig --list auditd | grep 5:on
RESULT: auditd         	0:off	1:off	2:on	3:on	4:on	5:on	6:off 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify audit.rules ... 
######################################################################################
COMMAND:  md5sum /etc/audit/audit.rules | cut -f 1 -d  " "
RESULT: f9869e1191838c461f5b9051c78a638d 
EXPECTED RESULT: f9869e1191838c461f5b9051c78a638d
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify auditd.conf ... 
######################################################################################
COMMAND:  md5sum /etc/audit/auditd.conf | cut -f 1 -d  " "
RESULT: 612ddf28c3916530d47ef56a1b1ed1ed 
EXPECTED RESULT: 612ddf28c3916530d47ef56a1b1ed1ed
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify auditd sysconfig ... 
######################################################################################
COMMAND:  md5sum /etc/sysconfig/auditd | cut -f 1 -d  " "
RESULT: 123beb3a97a32d96eba4f11509e39da2 
EXPECTED RESULT: 123beb3a97a32d96eba4f11509e39da2
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify sshd_config settings ...
######################################################################################
COMMAND:  cat /etc/ssh/sshd_config  | grep  PasswordAuthentication | grep no | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/ld.so.conf.d/libc6-xen.conf is not present ... 
######################################################################################
COMMAND:  ls /etc/ld.so.conf.d/libc6-xen.conf
ls: /etc/ld.so.conf.d/libc6-xen.conf: No such file or directory
RESULT:  
EXPECTED RESULT: 2
RETURN CODE: 2
PASS
######################################################################################
# NEW TEST: ##test menu.lst ... 
######################################################################################
COMMAND:  file /boot/grub/menu.lst  | grep symbolic | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  file /boot/grub/menu.lst  | grep grub.conf | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  cat /boot/grub/grub.conf  | grep "(hd0,0)" | wc -l
RESULT: 0 
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify resize2fs ... 
######################################################################################
COMMAND: resize2fs -p /dev/sda1 15000M
resize2fs 1.39 (29-May-2006)
RETURN CODE: 0
COMMAND:  df -h | grep 15G | wc -l 
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: Fetching Host Details 
######################################################################################
This is not a Hourly image

## Summary ##
FAILURES = 2
FAILED TESTS = ## Verify turning on/off swap file ... ## Verify swap size ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 19 wes hayutin 2011-12-16 15:35:38 UTC
closing old bugs


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