Bug 798345 - ami-fa6cb3e7 5.8 x86_64 sa-east-1
ami-fa6cb3e7 5.8 x86_64 sa-east-1
Status: CLOSED NOTABUG
Product: Cloud Image Validation
Classification: Red Hat
Component: images (Show other bugs)
RHEL5.8
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: mkovacik
mkovacik
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-02-28 12:11 EST by mkovacik
Modified: 2012-06-13 07:45 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-06-13 07:45:51 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description mkovacik 2012-02-28 12:11:55 EST

    
Comment 1 mkovacik 2012-02-28 12:23:55 EST
IMAGE ID= 
=====image_validation.sh Tue Feb 28 12:19:19 EST 2012=====
######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
######################################################################################
# NEW TEST: Fetching the identity doc Details
######################################################################################
Verifying that signature exists
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the IMAGE ID
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the Architecture
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
This Host => ec2-177-71-149-146.sa-east-1.compute.amazonaws.com with Image Id : ami-fa6cb3e7, is launched with Instance Id : i-e27af4ff , Instance Type : m1.xlarge and Arch : x86_64 in the Region : sa-east-1b
The Validate Signature is : USXs/eRfLKcVWGR2F38JZaXflgnu0HBvuH5uGPUKXVblTKDymgCxBIoKI2YeciXs/5a0w5tYjE/F
MWrXbUQv93xu5Vrp8EJLUKryneRU3tWlWzo90lGhbE0DeAEOziSxD8IQ6J7jofvB4jzuN4hmBPJ9
JJGH1BsDFet9R6c/AKI=
This is a Cloud Access image
/root/valid/src
ip-10-252-11-34
Red Hat Enterprise Linux Server release 5.8 (Tikanga)
######################################################################################
# NEW TEST: The selected image has the version RHEL 5.8
######################################################################################
######################################################################################
# NEW TEST: ## Verify IPv6 disabled ... 
######################################################################################
COMMAND:  grep ^NETWORKING_IPV6= /etc/sysconfig/network
RESULT: NETWORKING_IPV6=no 
EXPECTED RESULT: NETWORKING_IPV6=no
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 bash_history ... 
######################################################################################
COMMAND:  cat ~/.bash_history | wc -l 
RESULT: 0 
EXPECTED RESULT: 0
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 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 
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: ## 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: Fetching the identity doc Details
######################################################################################
Verifying that signature exists
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the IMAGE ID
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the Architecture
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
This Host => ec2-177-71-149-146.sa-east-1.compute.amazonaws.com with Image Id : ami-fa6cb3e7, is launched with Instance Id : i-e27af4ff , Instance Type : m1.xlarge and Arch : x86_64 in the Region : sa-east-1b
The Validate Signature is : USXs/eRfLKcVWGR2F38JZaXflgnu0HBvuH5uGPUKXVblTKDymgCxBIoKI2YeciXs/5a0w5tYjE/F
MWrXbUQv93xu5Vrp8EJLUKryneRU3tWlWzo90lGhbE0DeAEOziSxD8IQ6J7jofvB4jzuN4hmBPJ9
JJGH1BsDFet9R6c/AKI=
This is a Cloud Access image
######################################################################################
# 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 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: ##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 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 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 /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: ##Verify memory match hwp ... 
######################################################################################
cat /proc/meminfo | grep MemTotal: | awk '{print }'
FOUND MEMORY OF 15728640 > hwp MEMORY of 15000000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
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 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 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 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: ## test repo files ... 
######################################################################################
COMMAND:  ls /etc/yum.repos.d/ | wc -l 
RESULT: 4 
EXPECTED RESULT: 4
RETURN CODE: 0
PASS
COMMAND:  ls /etc/yum.repos.d/redhat* | wc -l
RESULT: 2 
EXPECTED RESULT: 2
RETURN CODE: 0
PASS
COMMAND:  ls /etc/yum.repos.d/rhel* | wc -l
RESULT: 1 
EXPECTED RESULT: 1
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
/root/valid/src
ip-10-252-11-34
Red Hat Enterprise Linux Server release 5.8 (Tikanga)
######################################################################################
# NEW TEST: The selected image has the version RHEL 5.8
######################################################################################
######################################################################################
# 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 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 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 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
this machine doesn't require swap
######################################################################################
# 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 no systemid file ... 
######################################################################################
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify kernel name ...
Comment 2 mkovacik 2012-02-28 12:24:00 EST
######################################################################################
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-307
CURRENT_UNAME_KERNAL_VERSION=2.6.18-307
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed 's/\(.*\)......./\1/'
RESULT: 2.6.18-307 
EXPECTED RESULT: 2.6.18-307
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-307
RESULT: title RHEL5.8-Server-20120126.1-Server-x86_64-starter-ec2 (2.6.18-307.el5xen)
        kernel /boot/vmlinuz-2.6.18-307.el5xen ro root=LABEL=/ 
        initrd /boot/initrd-2.6.18-307.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 system up to date
######################################################################################
COMMAND:  _check_sys_update_phase1
# no update was required
RESULT: # checking sys update done
# no update was required 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify RPMs ... 
######################################################################################
....L...  c /etc/pam.d/system-auth
.M......  c /etc/sysconfig/iptables-config
.M......    /var/cache/yum
    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: 3 
EXPECTED RESULT: 3
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify Version 2 ... 
######################################################################################
COMMAND:  /bin/rpm -q --queryformat '%{RELEASE}\n' redhat-release | cut -d. -f1,2
RESULT: 5.8 
EXPECTED RESULT: 5.8
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: ## List the configured repositories...
######################################################################################
COMMAND:  /usr/bin/yum repolist
RESULT: Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
repo id                               repo name                           status
rhui-sa-east-1-client-config-server-5 Red Hat Update Infrastructure 2.0 C      0
rhui-sa-east-1-rhel-server            Red Hat Enterprise Linux Server 5 ( 13,371
repolist: 13,371 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Search zsh...
######################################################################################
COMMAND:  /usr/bin/yum search zsh
RESULT: Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
================================= Matched: zsh =================================
zsh.x86_64 : A powerful interactive shell
zsh-html.x86_64 : 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, rhui-lb, security
Setting up Group Process
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
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, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
Setting up Group Process
Checking for new repos for mirrors
Package gcc-4.1.2-52.el5.x86_64 already installed and latest version
Package 1:make-3.81-3.el5.x86_64 already installed and latest version
Package 1:pkgconfig-0.21-2.el5.x86_64 already installed and latest version
Package gettext-0.17-1.el5.x86_64 already installed and latest version
Package binutils-2.17.50.0.6-20.el5.x86_64 already installed and latest version
Package subversion-1.6.11-7.el5_6.4.x86_64 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.x86_64 0:2.3-2.1 set to be updated
---> Package byacc.x86_64 0:1.9-29.2.2 set to be updated
---> Package cscope.x86_64 0:15.5-15.1.el5_3.1 set to be updated
---> Package ctags.x86_64 0:5.6-1.1 set to be updated
---> Package cvs.x86_64 0:1.11.22-11.el5_8.1 set to be updated
---> Package dev86.x86_64 0:0.16.17-2.2 set to be updated
---> Package diffstat.x86_64 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: xorg-x11-xinit for package: dogtail
--> Processing Dependency: xorg-x11-server-Xvfb for package: dogtail
--> Processing Dependency: gnome-python2-gconf for package: dogtail
---> Package doxygen.x86_64 1:1.4.7-1.1 set to be updated
---> Package elfutils.x86_64 0:0.137-3.el5 set to be updated
--> Processing Dependency: elfutils-libs-x86_64 = 0.137-3.el5 for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.130)(64bit) for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.127)(64bit) for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.126)(64bit) for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.122)(64bit) for package: elfutils
--> Processing Dependency: libasm.so.1(ELFUTILS_1.0)(64bit) for package: elfutils
--> Processing Dependency: libdw.so.1()(64bit) for package: elfutils
--> Processing Dependency: libasm.so.1()(64bit) for package: elfutils
---> Package flex.x86_64 0:2.5.4a-41.fc6 set to be updated
---> Package gcc-c++.x86_64 0:4.1.2-52.el5 set to be updated
--> Processing Dependency: libstdc++-devel = 4.1.2-52.el5 for package: gcc-c++
---> Package gcc-gfortran.x86_64 0:4.1.2-52.el5 set to be updated
--> Processing Dependency: libgfortran = 4.1.2-52.el5 for package: gcc-gfortran
--> Processing Dependency: libgfortran.so.1()(64bit) for package: gcc-gfortran
---> Package gdb.x86_64 0:7.0.1-42.el5 set to be updated
---> Package gettext.i386 0:0.17-1.el5 set to be updated
--> Processing Dependency: libgomp.so.1(GOMP_1.0) for package: gettext
--> Processing Dependency: libgomp.so.1 for package: gettext
---> Package indent.x86_64 0:2.2.9-14.fc6 set to be updated
---> Package libtool.x86_64 0:1.5.22-7.el5_4 set to be updated
---> Package ltrace.x86_64 0:0.5-13.45svn.el5_7.12 set to be updated
---> Package oprofile.x86_64 0:0.9.4-20.el5 set to be updated
---> Package patchutils.x86_64 0:0.2.31-2.2.2 set to be updated
---> Package pstack.x86_64 0:1.2-7.2.2 set to be updated
---> Package python-ldap.x86_64 0:2.2.0-2.1 set to be updated
---> Package rcs.x86_64 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.x86_64 0:4.4.2.3-27.el5 set to be updated
--> Processing Dependency: xz for package: rpm-build
---> Package splint.x86_64 0:3.1.1-16.el5 set to be updated
---> Package strace.x86_64 0:4.5.18-11.el5_8 set to be updated
---> Package swig.x86_64 0:1.3.29-2.el5 set to be updated
---> Package systemtap.x86_64 0:1.6-6.el5 set to be updated
--> Processing Dependency: systemtap-runtime = 1.6-6.el5 for package: systemtap
--> Processing Dependency: libavahi-common.so.3()(64bit) for package: systemtap
--> Processing Dependency: libavahi-client.so.3()(64bit) for package: systemtap
---> Package texinfo.x86_64 0:4.8-14.el5 set to be updated
---> Package valgrind.i386 1:3.5.0-5.el5 set to be updated
---> Package valgrind.x86_64 1:3.5.0-5.el5 set to be updated
--> Running transaction check
---> Package avahi.x86_64 0:0.6.16-10.el5_6 set to be updated
--> Processing Dependency: libdaemon for package: avahi
--> Processing Dependency: libdaemon.so.0()(64bit) for package: avahi
---> Package elfutils-libs.x86_64 0:0.137-3.el5 set to be updated
---> Package gnome-python2-gconf.x86_64 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()(64bit) for package: gnome-python2-gconf
--> Processing Dependency: libORBit-2.so.0()(64bit) for package: gnome-python2-gconf
---> Package imake.x86_64 0:1.0.2-3 set to be updated
---> Package libgfortran.x86_64 0:4.1.2-52.el5 set to be updated
---> Package libgomp.i386 0:4.4.6-3.el5.1 set to be updated
---> Package libstdc++-devel.x86_64 0:4.1.2-52.el5 set to be updated
---> Package pyspi.x86_64 0:0.6.1-1.el5 set to be updated
--> Processing Dependency: libspi.so.0()(64bit) for package: pyspi
--> Processing Dependency: libcspi.so.0()(64bit) for package: pyspi
--> Processing Dependency: libbonobo-activation.so.4()(64bit) for package: pyspi
--> Processing Dependency: libbonobo-2.so.0()(64bit) for package: pyspi
---> Package systemtap-runtime.x86_64 0:1.6-6.el5 set to be updated
---> Package xorg-x11-server-Xvfb.x86_64 0:1.1.1-48.90.el5 set to be updated
--> Processing Dependency: xorg-x11-fonts-base for package: xorg-x11-server-Xvfb
---> Package xorg-x11-xinit.x86_64 0:1.0.2-15.el5 set to be updated
--> Processing Dependency: xorg-x11-server-utils for package: xorg-x11-xinit
--> Processing Dependency: xauth for package: xorg-x11-xinit
---> Package xz.x86_64 0:4.999.9-0.3.beta.20091007git.el5 set to be updated
--> Processing Dependency: xz-libs = 4.999.9-0.3.beta.20091007git.el5 for package: xz
--> Processing Dependency: liblzma.so.0()(64bit) for package: xz
--> Running transaction check
---> Package GConf2.x86_64 0:2.14.0-9.el5 set to be updated
---> Package ORBit2.x86_64 0:2.14.3-5.el5 set to be updated
--> Processing Dependency: libIDL-2.so.0()(64bit) for package: ORBit2
---> Package at-spi.x86_64 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()(64bit) for package: at-spi
--> Processing Dependency: libgailutil.so.18()(64bit) for package: at-spi
--> Processing Dependency: libXevie.so.1()(64bit) for package: at-spi
---> Package gnome-python2.x86_64 0:2.16.0-1.fc6 set to be updated
--> Processing Dependency: gnome-python2-gnomevfs for package: gnome-python2
--> Processing Dependency: gnome-python2-bonobo for package: gnome-python2
--> Processing Dependency: libgnomevfs-2.so.0()(64bit) for package: gnome-python2
--> Processing Dependency: libgnomeui-2.so.0()(64bit) for package: gnome-python2
--> Processing Dependency: libgnome-keyring.so.0()(64bit) for package: gnome-python2
--> Processing Dependency: libgnome-2.so.0()(64bit) for package: gnome-python2
--> Processing Dependency: libbonoboui-2.so.0()(64bit) for package: gnome-python2
---> Package libbonobo.x86_64 0:2.16.0-1.1.el5_5.1 set to be updated
---> Package libdaemon.x86_64 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.x86_64 0:7.1-5.el5_6.2 set to be updated
--> Processing Dependency: libXxf86vm.so.1()(64bit) for package: xorg-x11-server-utils
--> Processing Dependency: libXxf86misc.so.1()(64bit) for package: xorg-x11-server-utils
--> Processing Dependency: libXfontcache.so.1()(64bit) for package: xorg-x11-server-utils
--> Processing Dependency: libXTrap.so.6()(64bit) for package: xorg-x11-server-utils
---> Package xorg-x11-xauth.x86_64 1:1.0.1-2.1 set to be updated
---> Package xz-libs.x86_64 0:4.999.9-0.3.beta.20091007git.el5 set to be updated
--> Running transaction check
---> Package gail.x86_64 0:1.9.2-3.el5 set to be updated
---> Package gnome-keyring.x86_64 0:0.6.0-1.fc6 set to be updated
---> Package gnome-python2-bonobo.x86_64 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.x86_64 0:2.16.0-1.fc6 set to be updated
---> Package gnome-vfs2.x86_64 0:2.16.2-8.el5 set to be updated
--> Processing Dependency: gnome-mount >= 0.4 for package: gnome-vfs2
--> Processing Dependency: gnome-mime-data >= 2.0.0-11 for package: gnome-vfs2
--> Processing Dependency: shared-mime-info for package: gnome-vfs2
--> Processing Dependency: libavahi-glib.so.1()(64bit) for package: gnome-vfs2
---> Package libIDL.x86_64 0:0.8.7-1.fc6 set to be updated
---> Package libXTrap.x86_64 0:1.0.0-3.1 set to be updated
---> Package libXevie.x86_64 0:1.0.1-3.1 set to be updated
---> Package libXfontcache.x86_64 0:1.0.2-3.1 set to be updated
---> Package libXxf86misc.x86_64 0:1.0.1-3.1 set to be updated
---> Package libXxf86vm.x86_64 0:1.0.1-3.1 set to be updated
---> Package libbonoboui.x86_64 0:2.16.0-1.fc6 set to be updated
---> Package libgnome.x86_64 0:2.16.0-6.el5 set to be updated
--> Processing Dependency: libxslt >= 1.0.19 for package: libgnome
--> Processing Dependency: libesd.so.0()(64bit) for package: libgnome
--> Processing Dependency: libaudiofile.so.0()(64bit) for package: libgnome
---> Package libgnomecanvas.x86_64 0:2.14.0-4.1 set to be updated
---> Package libgnomeui.x86_64 0:2.16.0-5.el5 set to be updated
--> Running transaction check
---> Package audiofile.x86_64 1:0.2.6-5 set to be updated
---> Package avahi-glib.x86_64 0:0.6.16-10.el5_6 set to be updated
---> Package esound.x86_64 1:0.2.36-4 set to be updated
---> Package gnome-mime-data.x86_64 0:2.4.2-3.1 set to be updated
---> Package gnome-mount.x86_64 0:0.5-3.el5 set to be updated
--> Processing Dependency: libnotify.so.1()(64bit) for package: gnome-mount
---> Package libxslt.x86_64 0:1.1.17-2.el5_2.2 set to be updated
---> Package pyorbit.x86_64 0:2.14.1-3.el5 set to be updated
---> Package shared-mime-info.x86_64 0:0.19-5.el5 set to be updated
--> Running transaction check
---> Package libnotify.x86_64 0:0.4.2-6.el5 set to be updated
--> Processing Dependency: desktop-notification-daemon for package: libnotify
--> Running transaction check
---> Package notification-daemon.x86_64 0:0.3.5-9.el5 set to be updated
--> Processing Dependency: libwnck-1.so.18()(64bit) for package: notification-daemon
--> Running transaction check
---> Package libwnck.x86_64 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()(64bit) for package: libwnck
--> Processing Dependency: libXRes.so.1()(64bit) for package: libwnck
--> Running transaction check
---> Package libXres.x86_64 0:1.0.1-3.1 set to be updated
---> Package startup-notification.x86_64 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-sa-east-1-rhel-server 646 k
 automake             noarch 1.9.6-2.3.el5     rhui-sa-east-1-rhel-server 476 k
 automake14           noarch 1.4p6-13.el5.1    rhui-sa-east-1-rhel-server 200 k
 automake15           noarch 1.5-16.el5.2      rhui-sa-east-1-rhel-server 230 k
 automake16           noarch 1.6.3-8.el5.1     rhui-sa-east-1-rhel-server 241 k
 automake17           noarch 1.7.9-7.el5.2     rhui-sa-east-1-rhel-server 278 k
 bison                x86_64 2.3-2.1           rhui-sa-east-1-rhel-server 549 k
 byacc                x86_64 1.9-29.2.2        rhui-sa-east-1-rhel-server  41 k
 cscope               x86_64 15.5-15.1.el5_3.1 rhui-sa-east-1-rhel-server 144 k
 ctags                x86_64 5.6-1.1           rhui-sa-east-1-rhel-server 131 k
 cvs                  x86_64 1.11.22-11.el5_8.1
                                               rhui-sa-east-1-rhel-server 738 k
 dev86                x86_64 0.16.17-2.2       rhui-sa-east-1-rhel-server 397 k
 diffstat             x86_64 1.41-1.2.3.el5    rhui-sa-east-1-rhel-server  19 k
 dogtail              noarch 0.6.1-4.el5       rhui-sa-east-1-rhel-server 172 k
 doxygen              x86_64 1:1.4.7-1.1       rhui-sa-east-1-rhel-server 2.4 M
 elfutils             x86_64 0.137-3.el5       rhui-sa-east-1-rhel-server 216 k
 flex                 x86_64 2.5.4a-41.fc6     rhui-sa-east-1-rhel-server 131 k
 gcc-c++              x86_64 4.1.2-52.el5      rhui-sa-east-1-rhel-server 3.8 M
 gcc-gfortran         x86_64 4.1.2-52.el5      rhui-sa-east-1-rhel-server 3.5 M
 gdb                  x86_64 7.0.1-42.el5      rhui-sa-east-1-rhel-server 2.4 M
 gettext              i386   0.17-1.el5        rhui-sa-east-1-rhel-server 2.4 M
 indent               x86_64 2.2.9-14.fc6      rhui-sa-east-1-rhel-server  97 k
 libtool              x86_64 1.5.22-7.el5_4    rhui-sa-east-1-rhel-server 667 k
 ltrace               x86_64 0.5-13.45svn.el5_7.12
                                               rhui-sa-east-1-rhel-server  70 k
 oprofile             x86_64 0.9.4-20.el5      rhui-sa-east-1-rhel-server 2.6 M
 patchutils           x86_64 0.2.31-2.2.2      rhui-sa-east-1-rhel-server 111 k
 pstack               x86_64 1.2-7.2.2         rhui-sa-east-1-rhel-server 4.6 k
 python-ldap          x86_64 2.2.0-2.1         rhui-sa-east-1-rhel-server 123 k
 rcs                  x86_64 5.7-30.1          rhui-sa-east-1-rhel-server 349 k
 redhat-rpm-config    noarch 8.0.45-32.el5     rhui-sa-east-1-rhel-server  54 k
 rpm-build            x86_64 4.4.2.3-27.el5    rhui-sa-east-1-rhel-server 302 k
 splint               x86_64 3.1.1-16.el5      rhui-sa-east-1-rhel-server 1.5 M
 strace               x86_64 4.5.18-11.el5_8   rhui-sa-east-1-rhel-server 177 k
 swig                 x86_64 1.3.29-2.el5      rhui-sa-east-1-rhel-server 2.9 M
 systemtap            x86_64 1.6-6.el5         rhui-sa-east-1-rhel-server 2.7 M
 texinfo              x86_64 4.8-14.el5        rhui-sa-east-1-rhel-server 763 k
 valgrind             i386   1:3.5.0-5.el5     rhui-sa-east-1-rhel-server  20 M
 valgrind             x86_64 1:3.5.0-5.el5     rhui-sa-east-1-rhel-server  21 M
Installing for dependencies:
 GConf2               x86_64 2.14.0-9.el5      rhui-sa-east-1-rhel-server 1.5 M
 ORBit2               x86_64 2.14.3-5.el5      rhui-sa-east-1-rhel-server 262 k
 at-spi               x86_64 1.7.11-3.el5      rhui-sa-east-1-rhel-server 304 k
 audiofile            x86_64 1:0.2.6-5         rhui-sa-east-1-rhel-server 106 k
 avahi                x86_64 0.6.16-10.el5_6   rhui-sa-east-1-rhel-server 258 k
 avahi-glib           x86_64 0.6.16-10.el5_6   rhui-sa-east-1-rhel-server  15 k
 elfutils-libs        x86_64 0.137-3.el5       rhui-sa-east-1-rhel-server 183 k
 esound               x86_64 1:0.2.36-4        rhui-sa-east-1-rhel-server 131 k
 gail                 x86_64 1.9.2-3.el5       rhui-sa-east-1-rhel-server 352 k
 gnome-keyring        x86_64 0.6.0-1.fc6       rhui-sa-east-1-rhel-server 166 k
 gnome-mime-data      x86_64 2.4.2-3.1         rhui-sa-east-1-rhel-server 690 k
 gnome-mount          x86_64 0.5-3.el5         rhui-sa-east-1-rhel-server  71 k
 gnome-python2        x86_64 2.16.0-1.fc6      rhui-sa-east-1-rhel-server 131 k
 gnome-python2-bonobo x86_64 2.16.0-1.fc6      rhui-sa-east-1-rhel-server  71 k
 gnome-python2-gconf  x86_64 2.16.0-1.fc6      rhui-sa-east-1-rhel-server  34 k
 gnome-python2-gnomevfs
                      x86_64 2.16.0-1.fc6      rhui-sa-east-1-rhel-server  70 k
 gnome-vfs2           x86_64 2.16.2-8.el5      rhui-sa-east-1-rhel-server 1.3 M
 imake                x86_64 1.0.2-3           rhui-sa-east-1-rhel-server 319 k
 libIDL               x86_64 0.8.7-1.fc6       rhui-sa-east-1-rhel-server  88 k
 libXTrap             x86_64 1.0.0-3.1         rhui-sa-east-1-rhel-server  23 k
 libXevie             x86_64 1.0.1-3.1         rhui-sa-east-1-rhel-server  14 k
 libXfontcache        x86_64 1.0.2-3.1         rhui-sa-east-1-rhel-server 9.8 k
 libXres              x86_64 1.0.1-3.1         rhui-sa-east-1-rhel-server  14 k
 libXxf86misc         x86_64 1.0.1-3.1         rhui-sa-east-1-rhel-server  12 k
 libXxf86vm           x86_64 1.0.1-3.1         rhui-sa-east-1-rhel-server  14 k
 libbonobo            x86_64 2.16.0-1.1.el5_5.1
                                               rhui-sa-east-1-rhel-server 524 k
 libbonoboui          x86_64 2.16.0-1.fc6      rhui-sa-east-1-rhel-server 395 k
 libdaemon            x86_64 0.10-5.el5        rhui-sa-east-1-rhel-server  24 k
 libgfortran          x86_64 4.1.2-52.el5      rhui-sa-east-1-rhel-server 244 k
 libgnome             x86_64 2.16.0-6.el5      rhui-sa-east-1-rhel-server 860 k
 libgnomecanvas       x86_64 2.14.0-4.1        rhui-sa-east-1-rhel-server 224 k
 libgnomeui           x86_64 2.16.0-5.el5      rhui-sa-east-1-rhel-server 984 k
 libgomp              i386   4.4.6-3.el5.1     rhui-sa-east-1-rhel-server  72 k
 libnotify            x86_64 0.4.2-6.el5       rhui-sa-east-1-rhel-server  38 k
 libstdc++-devel      x86_64 4.1.2-52.el5      rhui-sa-east-1-rhel-server 2.8 M
 libwnck              x86_64 2.16.0-4.fc6      rhui-sa-east-1-rhel-server 187 k
 libxslt              x86_64 1.1.17-2.el5_2.2  rhui-sa-east-1-rhel-server 487 k
 notification-daemon  x86_64 0.3.5-9.el5       rhui-sa-east-1-rhel-server  48 k
 pyorbit              x86_64 2.14.1-3.el5      rhui-sa-east-1-rhel-server  50 k
 pyspi                x86_64 0.6.1-1.el5       rhui-sa-east-1-rhel-server  98 k
 shared-mime-info     x86_64 0.19-5.el5        rhui-sa-east-1-rhel-server 149 k
 startup-notification x86_64 0.8-4.1           rhui-sa-east-1-rhel-server  32 k
 systemtap-runtime    x86_64 1.6-6.el5         rhui-sa-east-1-rhel-server 215 k
 xorg-x11-fonts-base  noarch 7.1-2.1.el5       rhui-sa-east-1-rhel-server 3.7 M
 xorg-x11-server-Xvfb x86_64 1.1.1-48.90.el5   rhui-sa-east-1-rhel-server 1.6 M
 xorg-x11-server-utils
                      x86_64 7.1-5.el5_6.2     rhui-sa-east-1-rhel-server 172 k
 xorg-x11-xauth       x86_64 1:1.0.1-2.1       rhui-sa-east-1-rhel-server  32 k
 xorg-x11-xinit       x86_64 1.0.2-15.el5      rhui-sa-east-1-rhel-server  26 k
 xz                   x86_64 4.999.9-0.3.beta.20091007git.el5
                                               rhui-sa-east-1-rhel-server 146 k
 xz-libs              x86_64 4.999.9-0.3.beta.20091007git.el5
                                               rhui-sa-east-1-rhel-server  95 k

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

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

  Installing     : libgnomecanvas                                          1/88 

  Installing     : gnome-keyring                                           2/88 

  Installing     : audiofile                                               3/88 

  Installing     : esound                                                  4/88 

  Installing     : libIDL                                                  5/88
Comment 3 mkovacik 2012-02-28 12:24:05 EST
  Installing     : ORBit2                                                  6/88 

  Installing     : GConf2                                                  7/88 

  Installing     : libbonobo                                               8/88 

  Installing     : pyorbit                                                 9/88 

  Installing     : gail                                                   10/88 

  Installing     : libXfontcache                                          11/88 

  Installing     : startup-notification                                   12/88 

  Installing     : libXxf86misc                                           13/88 

  Installing     : imake                                                  14/88 

  Installing     : xz-libs                                                15/88 

  Installing     : xz                                                     16/88 

  Installing     : libgfortran                                            17/88 

  Installing     : libdaemon                                              18/88 

  Installing     : avahi                                                  19/88 

  Installing     : avahi-glib                                             20/88 

  Installing     : xorg-x11-xauth                                         21/88 

  Installing     : libXevie                                               22/88 

  Installing     : at-spi                                                 23/88 

  Installing     : pyspi                                                  24/88 

  Installing     : shared-mime-info                                       25/88 

  Installing     : libxslt                                                26/88 

  Installing     : libXxf86vm                                             27/88 

  Installing     : libXTrap                                               28/88 

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

  Installing     : xorg-x11-xinit                                         30/88 

  Installing     : elfutils-libs                                          31/88 

  Installing     : elfutils                                               32/88 

  Installing     : gdb                                                    33/88 

  Installing     : libXres                                                34/88 

  Installing     : autoconf                                               35/88 

  Installing     : libwnck                                                36/88 

  Installing     : notification-daemon                                    37/88 

  Installing     : libnotify                                              38/88 

  Installing     : automake                                               39/88 

  Installing     : xorg-x11-fonts-base                                    40/88 

  Installing     : xorg-x11-server-Xvfb                                   41/88 

  Installing     : systemtap-runtime                                      42/88 

  Installing     : gnome-mime-data                                        43/88 

  Installing     : libstdc++-devel                                        44/88 

  Installing     : gcc-c++                                                45/88 

  Installing     : rpm-build                                              46/88 

  Installing     : gcc-gfortran                                           47/88 

  Installing     : splint                                                 48/88 

  Installing     : oprofile                                               49/88 

  Installing     : dev86                                                  50/88 

  Installing     : ctags                                                  51/88 

  Installing     : doxygen                                                52/88 

  Installing     : patchutils                                             53/88 

  Installing     : python-ldap                                            54/88 

  Installing     : valgrind                                               55/88 

  Installing     : cvs                                                    56/88 

  Installing     : texinfo                                                57/88 

  Installing     : flex                                                   58/88 

  Installing     : bison                                                  59/88 

  Installing     : rcs                                                    60/88 

  Installing     : byacc                                                  61/88 

  Installing     : strace                                                 62/88 

  Installing     : cscope                                                 63/88 

  Installing     : ltrace                                                 64/88 

  Installing     : indent                                                 65/88 

  Installing     : diffstat                                               66/88 

  Installing     : swig                                                   67/88 

  Installing     : systemtap                                              68/88 

  Installing     : libtool                                                69/88 

  Installing     : automake17                                             70/88 

  Installing     : pstack                                                 71/88 

  Installing     : automake15                                             72/88 

  Installing     : redhat-rpm-config                                      73/88 

  Installing     : automake14                                             74/88 

  Installing     : automake16                                             75/88 

  Installing     : libgomp                                                76/88 

  Installing     : gettext                                                77/88 

  Installing     : valgrind                                               78/88 

  Installing     : gnome-vfs2                                             79/88 

  Installing     : libgnome                                               80/88 

  Installing     : libbonoboui                                            81/88 

  Installing     : libgnomeui                                             82/88 

  Installing     : gnome-mount                                            83/88 

  Installing     : gnome-python2-bonobo                                   84/88 

  Installing     : gnome-python2                                          85/88 

  Installing     : gnome-python2-gconf                                    86/88 

  Installing     : dogtail                                                87/88 

  Installing     : gnome-python2-gnomevfs                                 88/88 

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.x86_64 0:2.3-2.1              byacc.x86_64 0:1.9-29.2.2                
  cscope.x86_64 0:15.5-15.1.el5_3.1   ctags.x86_64 0:5.6-1.1                   
  cvs.x86_64 0:1.11.22-11.el5_8.1     dev86.x86_64 0:0.16.17-2.2               
  diffstat.x86_64 0:1.41-1.2.3.el5    dogtail.noarch 0:0.6.1-4.el5             
  doxygen.x86_64 1:1.4.7-1.1          elfutils.x86_64 0:0.137-3.el5            
  flex.x86_64 0:2.5.4a-41.fc6         gcc-c++.x86_64 0:4.1.2-52.el5            
  gcc-gfortran.x86_64 0:4.1.2-52.el5  gdb.x86_64 0:7.0.1-42.el5                
  gettext.i386 0:0.17-1.el5           indent.x86_64 0:2.2.9-14.fc6             
  libtool.x86_64 0:1.5.22-7.el5_4     ltrace.x86_64 0:0.5-13.45svn.el5_7.12    
  oprofile.x86_64 0:0.9.4-20.el5      patchutils.x86_64 0:0.2.31-2.2.2         
  pstack.x86_64 0:1.2-7.2.2           python-ldap.x86_64 0:2.2.0-2.1           
  rcs.x86_64 0:5.7-30.1               redhat-rpm-config.noarch 0:8.0.45-32.el5 
  rpm-build.x86_64 0:4.4.2.3-27.el5   splint.x86_64 0:3.1.1-16.el5             
  strace.x86_64 0:4.5.18-11.el5_8     swig.x86_64 0:1.3.29-2.el5               
  systemtap.x86_64 0:1.6-6.el5        texinfo.x86_64 0:4.8-14.el5              
  valgrind.i386 1:3.5.0-5.el5         valgrind.x86_64 1:3.5.0-5.el5            

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

Complete! 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
# checking possible sys update
Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
Skipping security plugin, no data
# no sys update found
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
RESULT: Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
Skipping security plugin, no data
Setting up Update Process
Resolving Dependencies
Skipping security plugin, no data
--> Running transaction check
---> Package gnutls.x86_64 0:1.4.1-7.el5_8.1 set to be updated
---> Package httpd.x86_64 0:2.2.3-63.el5_8.1 set to be updated
---> Package hwdata.noarch 0:0.213.26-1.el5 set to be updated
---> Package kernel-headers.x86_64 0:2.6.18-308.el5 set to be updated
---> Package kernel-xen.x86_64 0:2.6.18-308.el5 set to be installed
---> Package kernel-xen-devel.x86_64 0:2.6.18-308.el5 set to be installed
---> Package libpng.x86_64 2:1.2.10-15.el5_7 set to be updated
---> Package libsmbclient.x86_64 0:3.0.33-3.38.el5_8 set to be updated
---> Package libxml2.x86_64 0:2.6.26-2.1.15.el5_8.2 set to be updated
---> Package libxml2-python.x86_64 0:2.6.26-2.1.15.el5_8.2 set to be updated
---> Package mod_ssl.x86_64 1:2.2.3-63.el5_8.1 set to be updated
---> Package mysql.x86_64 0:5.0.95-1.el5_7.1 set to be updated
---> Package nspr.i386 0:4.8.9-1.el5_8 set to be updated
---> Package nspr.x86_64 0:4.8.9-1.el5_8 set to be updated
---> Package nss.i386 0:3.13.1-3.el5_8 set to be updated
---> Package nss.x86_64 0:3.13.1-3.el5_8 set to be updated
---> Package nss-tools.x86_64 0:3.13.1-3.el5_8 set to be updated
---> Package samba-client.x86_64 0:3.0.33-3.38.el5_8 set to be updated
---> Package samba-common.x86_64 0:3.0.33-3.38.el5_8 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package          Arch   Version               Repository                  Size
================================================================================
Installing:
 kernel-xen       x86_64 2.6.18-308.el5        rhui-sa-east-1-rhel-server  22 M
 kernel-xen-devel x86_64 2.6.18-308.el5        rhui-sa-east-1-rhel-server 5.7 M
Updating:
 gnutls           x86_64 1.4.1-7.el5_8.1       rhui-sa-east-1-rhel-server 365 k
 httpd            x86_64 2.2.3-63.el5_8.1      rhui-sa-east-1-rhel-server 1.3 M
 hwdata           noarch 0.213.26-1.el5        rhui-sa-east-1-rhel-server 423 k
 kernel-headers   x86_64 2.6.18-308.el5        rhui-sa-east-1-rhel-server 1.4 M
 libpng           x86_64 2:1.2.10-15.el5_7     rhui-sa-east-1-rhel-server 235 k
 libsmbclient     x86_64 3.0.33-3.38.el5_8     rhui-sa-east-1-rhel-server 917 k
 libxml2          x86_64 2.6.26-2.1.15.el5_8.2 rhui-sa-east-1-rhel-server 809 k
 libxml2-python   x86_64 2.6.26-2.1.15.el5_8.2 rhui-sa-east-1-rhel-server 714 k
 mod_ssl          x86_64 1:2.2.3-63.el5_8.1    rhui-sa-east-1-rhel-server  95 k
 mysql            x86_64 5.0.95-1.el5_7.1      rhui-sa-east-1-rhel-server 4.9 M
 nspr             i386   4.8.9-1.el5_8         rhui-sa-east-1-rhel-server 121 k
 nspr             x86_64 4.8.9-1.el5_8         rhui-sa-east-1-rhel-server 120 k
 nss              i386   3.13.1-3.el5_8        rhui-sa-east-1-rhel-server 1.1 M
 nss              x86_64 3.13.1-3.el5_8        rhui-sa-east-1-rhel-server 1.1 M
 nss-tools        x86_64 3.13.1-3.el5_8        rhui-sa-east-1-rhel-server 1.1 M
 samba-client     x86_64 3.0.33-3.38.el5_8     rhui-sa-east-1-rhel-server 5.7 M
 samba-common     x86_64 3.0.33-3.38.el5_8     rhui-sa-east-1-rhel-server 6.8 M

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

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

  Updating       : nspr                                                    1/36 

  Updating       : nss                                                     2/36 

  Updating       : libxml2                                                 3/36 

  Updating       : httpd                                                   4/36 

  Updating       : libpng                                                  5/36 

  Updating       : gnutls                                                  6/36 

  Updating       : mysql                                                   7/36 

  Updating       : libsmbclient                                            8/36 

  Updating       : samba-common                                            9/36 

  Updating       : samba-client                                           10/36 

  Updating       : mod_ssl                                                11/36 

  Updating       : libxml2-python                                         12/36 

  Updating       : nss-tools                                              13/36 

  Installing     : kernel-xen                                             14/36 

  Updating       : hwdata                                                 15/36 

  Updating       : kernel-headers                                         16/36 

  Installing     : kernel-xen-devel                                       17/36 

  Updating       : nspr                                                   18/36 

  Updating       : nss                                                    19/36 

  Cleanup        : samba-common                                           20/36 

  Cleanup        : httpd                                                  21/36 

  Cleanup        : kernel-headers                                         22/36 

  Cleanup        : nss                                                    23/36 

  Cleanup        : nss                                                    24/36 

  Cleanup        : nspr                                                   25/36 

  Cleanup        : nspr                                                   26/36 

  Cleanup        : samba-client                                           27/36 

  Cleanup        : libsmbclient                                           28/36 

  Cleanup        : mod_ssl                                                29/36 

  Cleanup        : mysql                                                  30/36 

  Cleanup        : libxml2                                                31/36 

  Cleanup        : libxml2-python                                         32/36 

  Cleanup        : nss-tools                                              33/36 

  Cleanup        : gnutls                                                 34/36 

  Cleanup        : libpng                                                 35/36 

  Cleanup        : hwdata                                                 36/36 

Installed:
  kernel-xen.x86_64 0:2.6.18-308.el5  kernel-xen-devel.x86_64 0:2.6.18-308.el5 

Updated:
  gnutls.x86_64 0:1.4.1-7.el5_8.1                                               
  httpd.x86_64 0:2.2.3-63.el5_8.1                                               
  hwdata.noarch 0:0.213.26-1.el5                                                
  kernel-headers.x86_64 0:2.6.18-308.el5                                        
  libpng.x86_64 2:1.2.10-15.el5_7                                               
  libsmbclient.x86_64 0:3.0.33-3.38.el5_8                                       
  libxml2.x86_64 0:2.6.26-2.1.15.el5_8.2                                        
  libxml2-python.x86_64 0:2.6.26-2.1.15.el5_8.2                                 
  mod_ssl.x86_64 1:2.2.3-63.el5_8.1                                             
  mysql.x86_64 0:5.0.95-1.el5_7.1                                               
  nspr.i386 0:4.8.9-1.el5_8                                                     
  nspr.x86_64 0:4.8.9-1.el5_8                                                   
  nss.i386 0:3.13.1-3.el5_8                                                     
  nss.x86_64 0:3.13.1-3.el5_8                                                   
  nss-tools.x86_64 0:3.13.1-3.el5_8                                             
  samba-client.x86_64 0:3.0.33-3.38.el5_8                                       
  samba-common.x86_64 0:3.0.33-3.38.el5_8                                       

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: ## 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: ## 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
# checking possible sys update
Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
Skipping security plugin, no data
# no sys update found
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
RESULT: Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
Skipping security plugin, no data
Setting up Update Process
No Packages marked for Update 
EXPECTED RESULT: 
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

## Summary ##
FAILURES = 0
FAILED TESTS = 
LOG FILE = /root/valid/src/validate.log
## Summary ##

######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
Comment 4 mkovacik 2012-02-28 12:29:24 EST
IMAGE ID= 
=====image_validation.sh Tue Feb 28 12:23:16 EST 2012=====
######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
######################################################################################
# NEW TEST: Fetching the identity doc Details
######################################################################################
Verifying that signature exists
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the IMAGE ID
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the Architecture
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
This Host => ec2-177-71-155-197.sa-east-1.compute.amazonaws.com with Image Id : ami-fa6cb3e7, is launched with Instance Id : i-0a7bf517 , Instance Type : t1.micro and Arch : x86_64 in the Region : sa-east-1b
The Validate Signature is : KEc/jfh/rTl3QBvW2YGlffOw+64rhAegYwstpiS4WFuMW/NV1U2PPKIq3V+uDj1gp0fTSZu+vY2e
eAtn+5gDWs++kZKGCWiHMUmGnC334QQpTRqqDqwdaCpEQQlLZoJ76OxUly/TknnpK698E30ohqL0
rmL4itCUcvFgpmw7PaE=
This is a Cloud Access image
/root/valid/src
ip-10-252-19-80
Red Hat Enterprise Linux Server release 5.8 (Tikanga)
######################################################################################
# NEW TEST: The selected image has the version RHEL 5.8
######################################################################################
######################################################################################
# NEW TEST: ## Verify IPv6 disabled ... 
######################################################################################
COMMAND:  grep ^NETWORKING_IPV6= /etc/sysconfig/network
RESULT: NETWORKING_IPV6=no 
EXPECTED RESULT: NETWORKING_IPV6=no
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 bash_history ... 
######################################################################################
COMMAND:  cat ~/.bash_history | wc -l 
RESULT: 0 
EXPECTED RESULT: 0
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 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 
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: ## 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: Fetching the identity doc Details
######################################################################################
Verifying that signature exists
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the IMAGE ID
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the Architecture
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
This Host => ec2-177-71-155-197.sa-east-1.compute.amazonaws.com with Image Id : ami-fa6cb3e7, is launched with Instance Id : i-0a7bf517 , Instance Type : t1.micro and Arch : x86_64 in the Region : sa-east-1b
The Validate Signature is : KEc/jfh/rTl3QBvW2YGlffOw+64rhAegYwstpiS4WFuMW/NV1U2PPKIq3V+uDj1gp0fTSZu+vY2e
eAtn+5gDWs++kZKGCWiHMUmGnC334QQpTRqqDqwdaCpEQQlLZoJ76OxUly/TknnpK698E30ohqL0
rmL4itCUcvFgpmw7PaE=
This is a Cloud Access image
######################################################################################
# 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 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: ##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 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 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 /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: ##Verify memory match hwp ... 
######################################################################################
cat /proc/meminfo | grep MemTotal: | awk '{print }'
FOUND MEMORY OF 629760 > hwp MEMORY of 600000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
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 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 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 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: ## test repo files ... 
######################################################################################
COMMAND:  ls /etc/yum.repos.d/ | wc -l 
RESULT: 4 
EXPECTED RESULT: 4
RETURN CODE: 0
PASS
COMMAND:  ls /etc/yum.repos.d/redhat* | wc -l
RESULT: 2 
EXPECTED RESULT: 2
RETURN CODE: 0
PASS
COMMAND:  ls /etc/yum.repos.d/rhel* | wc -l
RESULT: 1 
EXPECTED RESULT: 1
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
/root/valid/src
ip-10-252-19-80
Red Hat Enterprise Linux Server release 5.8 (Tikanga)
######################################################################################
# NEW TEST: The selected image has the version RHEL 5.8
######################################################################################
######################################################################################
# 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 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 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 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
this machine doesn't require swap
######################################################################################
# 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 no systemid file ... 
######################################################################################
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify kernel name ...
Comment 5 mkovacik 2012-02-28 12:29:30 EST
######################################################################################
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-307
CURRENT_UNAME_KERNAL_VERSION=2.6.18-307
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed 's/\(.*\)......./\1/'
RESULT: 2.6.18-307 
EXPECTED RESULT: 2.6.18-307
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-307
RESULT: title RHEL5.8-Server-20120126.1-Server-x86_64-starter-ec2 (2.6.18-307.el5xen)
        kernel /boot/vmlinuz-2.6.18-307.el5xen ro root=LABEL=/ 
        initrd /boot/initrd-2.6.18-307.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 system up to date
######################################################################################
COMMAND:  _check_sys_update_phase1
# no update was required
RESULT: # checking sys update done
# no update was required 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify RPMs ... 
######################################################################################
....L...  c /etc/pam.d/system-auth
.M......  c /etc/sysconfig/iptables-config
.M......    /var/cache/yum
    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: 3 
EXPECTED RESULT: 3
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify Version 2 ... 
######################################################################################
COMMAND:  /bin/rpm -q --queryformat '%{RELEASE}\n' redhat-release | cut -d. -f1,2
RESULT: 5.8 
EXPECTED RESULT: 5.8
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: ## List the configured repositories...
######################################################################################
COMMAND:  /usr/bin/yum repolist
RESULT: Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
repo id                               repo name                           status
rhui-sa-east-1-client-config-server-5 Red Hat Update Infrastructure 2.0 C      0
rhui-sa-east-1-rhel-server            Red Hat Enterprise Linux Server 5 ( 13,371
repolist: 13,371 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Search zsh...
######################################################################################
COMMAND:  /usr/bin/yum search zsh
RESULT: Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
================================= Matched: zsh =================================
zsh.x86_64 : A powerful interactive shell
zsh-html.x86_64 : 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, rhui-lb, security
Setting up Group Process
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
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, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
Setting up Group Process
Checking for new repos for mirrors
Package gcc-4.1.2-52.el5.x86_64 already installed and latest version
Package 1:make-3.81-3.el5.x86_64 already installed and latest version
Package 1:pkgconfig-0.21-2.el5.x86_64 already installed and latest version
Package gettext-0.17-1.el5.x86_64 already installed and latest version
Package binutils-2.17.50.0.6-20.el5.x86_64 already installed and latest version
Package subversion-1.6.11-7.el5_6.4.x86_64 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.x86_64 0:2.3-2.1 set to be updated
---> Package byacc.x86_64 0:1.9-29.2.2 set to be updated
---> Package cscope.x86_64 0:15.5-15.1.el5_3.1 set to be updated
---> Package ctags.x86_64 0:5.6-1.1 set to be updated
---> Package cvs.x86_64 0:1.11.22-11.el5_8.1 set to be updated
---> Package dev86.x86_64 0:0.16.17-2.2 set to be updated
---> Package diffstat.x86_64 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: xorg-x11-xinit for package: dogtail
--> Processing Dependency: xorg-x11-server-Xvfb for package: dogtail
--> Processing Dependency: gnome-python2-gconf for package: dogtail
---> Package doxygen.x86_64 1:1.4.7-1.1 set to be updated
---> Package elfutils.x86_64 0:0.137-3.el5 set to be updated
--> Processing Dependency: elfutils-libs-x86_64 = 0.137-3.el5 for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.130)(64bit) for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.127)(64bit) for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.126)(64bit) for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.122)(64bit) for package: elfutils
--> Processing Dependency: libasm.so.1(ELFUTILS_1.0)(64bit) for package: elfutils
--> Processing Dependency: libdw.so.1()(64bit) for package: elfutils
--> Processing Dependency: libasm.so.1()(64bit) for package: elfutils
---> Package flex.x86_64 0:2.5.4a-41.fc6 set to be updated
---> Package gcc-c++.x86_64 0:4.1.2-52.el5 set to be updated
--> Processing Dependency: libstdc++-devel = 4.1.2-52.el5 for package: gcc-c++
---> Package gcc-gfortran.x86_64 0:4.1.2-52.el5 set to be updated
--> Processing Dependency: libgfortran = 4.1.2-52.el5 for package: gcc-gfortran
--> Processing Dependency: libgfortran.so.1()(64bit) for package: gcc-gfortran
---> Package gdb.x86_64 0:7.0.1-42.el5 set to be updated
---> Package gettext.i386 0:0.17-1.el5 set to be updated
--> Processing Dependency: libgomp.so.1(GOMP_1.0) for package: gettext
--> Processing Dependency: libgomp.so.1 for package: gettext
---> Package indent.x86_64 0:2.2.9-14.fc6 set to be updated
---> Package libtool.x86_64 0:1.5.22-7.el5_4 set to be updated
---> Package ltrace.x86_64 0:0.5-13.45svn.el5_7.12 set to be updated
---> Package oprofile.x86_64 0:0.9.4-20.el5 set to be updated
---> Package patchutils.x86_64 0:0.2.31-2.2.2 set to be updated
---> Package pstack.x86_64 0:1.2-7.2.2 set to be updated
---> Package python-ldap.x86_64 0:2.2.0-2.1 set to be updated
---> Package rcs.x86_64 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.x86_64 0:4.4.2.3-27.el5 set to be updated
--> Processing Dependency: xz for package: rpm-build
---> Package splint.x86_64 0:3.1.1-16.el5 set to be updated
---> Package strace.x86_64 0:4.5.18-11.el5_8 set to be updated
---> Package swig.x86_64 0:1.3.29-2.el5 set to be updated
---> Package systemtap.x86_64 0:1.6-6.el5 set to be updated
--> Processing Dependency: systemtap-runtime = 1.6-6.el5 for package: systemtap
--> Processing Dependency: libavahi-common.so.3()(64bit) for package: systemtap
--> Processing Dependency: libavahi-client.so.3()(64bit) for package: systemtap
---> Package texinfo.x86_64 0:4.8-14.el5 set to be updated
---> Package valgrind.i386 1:3.5.0-5.el5 set to be updated
---> Package valgrind.x86_64 1:3.5.0-5.el5 set to be updated
--> Running transaction check
---> Package avahi.x86_64 0:0.6.16-10.el5_6 set to be updated
--> Processing Dependency: libdaemon for package: avahi
--> Processing Dependency: libdaemon.so.0()(64bit) for package: avahi
---> Package elfutils-libs.x86_64 0:0.137-3.el5 set to be updated
---> Package gnome-python2-gconf.x86_64 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()(64bit) for package: gnome-python2-gconf
--> Processing Dependency: libORBit-2.so.0()(64bit) for package: gnome-python2-gconf
---> Package imake.x86_64 0:1.0.2-3 set to be updated
---> Package libgfortran.x86_64 0:4.1.2-52.el5 set to be updated
---> Package libgomp.i386 0:4.4.6-3.el5.1 set to be updated
---> Package libstdc++-devel.x86_64 0:4.1.2-52.el5 set to be updated
---> Package pyspi.x86_64 0:0.6.1-1.el5 set to be updated
--> Processing Dependency: libspi.so.0()(64bit) for package: pyspi
--> Processing Dependency: libcspi.so.0()(64bit) for package: pyspi
--> Processing Dependency: libbonobo-activation.so.4()(64bit) for package: pyspi
--> Processing Dependency: libbonobo-2.so.0()(64bit) for package: pyspi
---> Package systemtap-runtime.x86_64 0:1.6-6.el5 set to be updated
---> Package xorg-x11-server-Xvfb.x86_64 0:1.1.1-48.90.el5 set to be updated
--> Processing Dependency: xorg-x11-fonts-base for package: xorg-x11-server-Xvfb
---> Package xorg-x11-xinit.x86_64 0:1.0.2-15.el5 set to be updated
--> Processing Dependency: xorg-x11-server-utils for package: xorg-x11-xinit
--> Processing Dependency: xauth for package: xorg-x11-xinit
---> Package xz.x86_64 0:4.999.9-0.3.beta.20091007git.el5 set to be updated
--> Processing Dependency: xz-libs = 4.999.9-0.3.beta.20091007git.el5 for package: xz
--> Processing Dependency: liblzma.so.0()(64bit) for package: xz
--> Running transaction check
---> Package GConf2.x86_64 0:2.14.0-9.el5 set to be updated
---> Package ORBit2.x86_64 0:2.14.3-5.el5 set to be updated
--> Processing Dependency: libIDL-2.so.0()(64bit) for package: ORBit2
---> Package at-spi.x86_64 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()(64bit) for package: at-spi
--> Processing Dependency: libgailutil.so.18()(64bit) for package: at-spi
--> Processing Dependency: libXevie.so.1()(64bit) for package: at-spi
---> Package gnome-python2.x86_64 0:2.16.0-1.fc6 set to be updated
--> Processing Dependency: gnome-python2-gnomevfs for package: gnome-python2
--> Processing Dependency: gnome-python2-bonobo for package: gnome-python2
--> Processing Dependency: libgnomevfs-2.so.0()(64bit) for package: gnome-python2
--> Processing Dependency: libgnomeui-2.so.0()(64bit) for package: gnome-python2
--> Processing Dependency: libgnome-keyring.so.0()(64bit) for package: gnome-python2
--> Processing Dependency: libgnome-2.so.0()(64bit) for package: gnome-python2
--> Processing Dependency: libbonoboui-2.so.0()(64bit) for package: gnome-python2
---> Package libbonobo.x86_64 0:2.16.0-1.1.el5_5.1 set to be updated
---> Package libdaemon.x86_64 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.x86_64 0:7.1-5.el5_6.2 set to be updated
--> Processing Dependency: libXxf86vm.so.1()(64bit) for package: xorg-x11-server-utils
--> Processing Dependency: libXxf86misc.so.1()(64bit) for package: xorg-x11-server-utils
--> Processing Dependency: libXfontcache.so.1()(64bit) for package: xorg-x11-server-utils
--> Processing Dependency: libXTrap.so.6()(64bit) for package: xorg-x11-server-utils
---> Package xorg-x11-xauth.x86_64 1:1.0.1-2.1 set to be updated
---> Package xz-libs.x86_64 0:4.999.9-0.3.beta.20091007git.el5 set to be updated
--> Running transaction check
---> Package gail.x86_64 0:1.9.2-3.el5 set to be updated
---> Package gnome-keyring.x86_64 0:0.6.0-1.fc6 set to be updated
---> Package gnome-python2-bonobo.x86_64 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.x86_64 0:2.16.0-1.fc6 set to be updated
---> Package gnome-vfs2.x86_64 0:2.16.2-8.el5 set to be updated
--> Processing Dependency: gnome-mount >= 0.4 for package: gnome-vfs2
--> Processing Dependency: gnome-mime-data >= 2.0.0-11 for package: gnome-vfs2
--> Processing Dependency: shared-mime-info for package: gnome-vfs2
--> Processing Dependency: libavahi-glib.so.1()(64bit) for package: gnome-vfs2
---> Package libIDL.x86_64 0:0.8.7-1.fc6 set to be updated
---> Package libXTrap.x86_64 0:1.0.0-3.1 set to be updated
---> Package libXevie.x86_64 0:1.0.1-3.1 set to be updated
---> Package libXfontcache.x86_64 0:1.0.2-3.1 set to be updated
---> Package libXxf86misc.x86_64 0:1.0.1-3.1 set to be updated
---> Package libXxf86vm.x86_64 0:1.0.1-3.1 set to be updated
---> Package libbonoboui.x86_64 0:2.16.0-1.fc6 set to be updated
---> Package libgnome.x86_64 0:2.16.0-6.el5 set to be updated
--> Processing Dependency: libxslt >= 1.0.19 for package: libgnome
--> Processing Dependency: libesd.so.0()(64bit) for package: libgnome
--> Processing Dependency: libaudiofile.so.0()(64bit) for package: libgnome
---> Package libgnomecanvas.x86_64 0:2.14.0-4.1 set to be updated
---> Package libgnomeui.x86_64 0:2.16.0-5.el5 set to be updated
--> Running transaction check
---> Package audiofile.x86_64 1:0.2.6-5 set to be updated
---> Package avahi-glib.x86_64 0:0.6.16-10.el5_6 set to be updated
---> Package esound.x86_64 1:0.2.36-4 set to be updated
---> Package gnome-mime-data.x86_64 0:2.4.2-3.1 set to be updated
---> Package gnome-mount.x86_64 0:0.5-3.el5 set to be updated
--> Processing Dependency: libnotify.so.1()(64bit) for package: gnome-mount
---> Package libxslt.x86_64 0:1.1.17-2.el5_2.2 set to be updated
---> Package pyorbit.x86_64 0:2.14.1-3.el5 set to be updated
---> Package shared-mime-info.x86_64 0:0.19-5.el5 set to be updated
--> Running transaction check
---> Package libnotify.x86_64 0:0.4.2-6.el5 set to be updated
--> Processing Dependency: desktop-notification-daemon for package: libnotify
--> Running transaction check
---> Package notification-daemon.x86_64 0:0.3.5-9.el5 set to be updated
--> Processing Dependency: libwnck-1.so.18()(64bit) for package: notification-daemon
--> Running transaction check
---> Package libwnck.x86_64 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()(64bit) for package: libwnck
--> Processing Dependency: libXRes.so.1()(64bit) for package: libwnck
--> Running transaction check
---> Package libXres.x86_64 0:1.0.1-3.1 set to be updated
---> Package startup-notification.x86_64 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-sa-east-1-rhel-server 646 k
 automake             noarch 1.9.6-2.3.el5     rhui-sa-east-1-rhel-server 476 k
 automake14           noarch 1.4p6-13.el5.1    rhui-sa-east-1-rhel-server 200 k
 automake15           noarch 1.5-16.el5.2      rhui-sa-east-1-rhel-server 230 k
 automake16           noarch 1.6.3-8.el5.1     rhui-sa-east-1-rhel-server 241 k
 automake17           noarch 1.7.9-7.el5.2     rhui-sa-east-1-rhel-server 278 k
 bison                x86_64 2.3-2.1           rhui-sa-east-1-rhel-server 549 k
 byacc                x86_64 1.9-29.2.2        rhui-sa-east-1-rhel-server  41 k
 cscope               x86_64 15.5-15.1.el5_3.1 rhui-sa-east-1-rhel-server 144 k
 ctags                x86_64 5.6-1.1           rhui-sa-east-1-rhel-server 131 k
 cvs                  x86_64 1.11.22-11.el5_8.1
                                               rhui-sa-east-1-rhel-server 738 k
 dev86                x86_64 0.16.17-2.2       rhui-sa-east-1-rhel-server 397 k
 diffstat             x86_64 1.41-1.2.3.el5    rhui-sa-east-1-rhel-server  19 k
 dogtail              noarch 0.6.1-4.el5       rhui-sa-east-1-rhel-server 172 k
 doxygen              x86_64 1:1.4.7-1.1       rhui-sa-east-1-rhel-server 2.4 M
 elfutils             x86_64 0.137-3.el5       rhui-sa-east-1-rhel-server 216 k
 flex                 x86_64 2.5.4a-41.fc6     rhui-sa-east-1-rhel-server 131 k
 gcc-c++              x86_64 4.1.2-52.el5      rhui-sa-east-1-rhel-server 3.8 M
 gcc-gfortran         x86_64 4.1.2-52.el5      rhui-sa-east-1-rhel-server 3.5 M
 gdb                  x86_64 7.0.1-42.el5      rhui-sa-east-1-rhel-server 2.4 M
 gettext              i386   0.17-1.el5        rhui-sa-east-1-rhel-server 2.4 M
 indent               x86_64 2.2.9-14.fc6      rhui-sa-east-1-rhel-server  97 k
 libtool              x86_64 1.5.22-7.el5_4    rhui-sa-east-1-rhel-server 667 k
 ltrace               x86_64 0.5-13.45svn.el5_7.12
                                               rhui-sa-east-1-rhel-server  70 k
 oprofile             x86_64 0.9.4-20.el5      rhui-sa-east-1-rhel-server 2.6 M
 patchutils           x86_64 0.2.31-2.2.2      rhui-sa-east-1-rhel-server 111 k
 pstack               x86_64 1.2-7.2.2         rhui-sa-east-1-rhel-server 4.6 k
 python-ldap          x86_64 2.2.0-2.1         rhui-sa-east-1-rhel-server 123 k
 rcs                  x86_64 5.7-30.1          rhui-sa-east-1-rhel-server 349 k
 redhat-rpm-config    noarch 8.0.45-32.el5     rhui-sa-east-1-rhel-server  54 k
 rpm-build            x86_64 4.4.2.3-27.el5    rhui-sa-east-1-rhel-server 302 k
 splint               x86_64 3.1.1-16.el5      rhui-sa-east-1-rhel-server 1.5 M
 strace               x86_64 4.5.18-11.el5_8   rhui-sa-east-1-rhel-server 177 k
 swig                 x86_64 1.3.29-2.el5      rhui-sa-east-1-rhel-server 2.9 M
 systemtap            x86_64 1.6-6.el5         rhui-sa-east-1-rhel-server 2.7 M
 texinfo              x86_64 4.8-14.el5        rhui-sa-east-1-rhel-server 763 k
 valgrind             i386   1:3.5.0-5.el5     rhui-sa-east-1-rhel-server  20 M
 valgrind             x86_64 1:3.5.0-5.el5     rhui-sa-east-1-rhel-server  21 M
Installing for dependencies:
 GConf2               x86_64 2.14.0-9.el5      rhui-sa-east-1-rhel-server 1.5 M
 ORBit2               x86_64 2.14.3-5.el5      rhui-sa-east-1-rhel-server 262 k
 at-spi               x86_64 1.7.11-3.el5      rhui-sa-east-1-rhel-server 304 k
 audiofile            x86_64 1:0.2.6-5         rhui-sa-east-1-rhel-server 106 k
 avahi                x86_64 0.6.16-10.el5_6   rhui-sa-east-1-rhel-server 258 k
 avahi-glib           x86_64 0.6.16-10.el5_6   rhui-sa-east-1-rhel-server  15 k
 elfutils-libs        x86_64 0.137-3.el5       rhui-sa-east-1-rhel-server 183 k
 esound               x86_64 1:0.2.36-4        rhui-sa-east-1-rhel-server 131 k
 gail                 x86_64 1.9.2-3.el5       rhui-sa-east-1-rhel-server 352 k
 gnome-keyring        x86_64 0.6.0-1.fc6       rhui-sa-east-1-rhel-server 166 k
 gnome-mime-data      x86_64 2.4.2-3.1         rhui-sa-east-1-rhel-server 690 k
 gnome-mount          x86_64 0.5-3.el5         rhui-sa-east-1-rhel-server  71 k
 gnome-python2        x86_64 2.16.0-1.fc6      rhui-sa-east-1-rhel-server 131 k
 gnome-python2-bonobo x86_64 2.16.0-1.fc6      rhui-sa-east-1-rhel-server  71 k
 gnome-python2-gconf  x86_64 2.16.0-1.fc6      rhui-sa-east-1-rhel-server  34 k
 gnome-python2-gnomevfs
                      x86_64 2.16.0-1.fc6      rhui-sa-east-1-rhel-server  70 k
 gnome-vfs2           x86_64 2.16.2-8.el5      rhui-sa-east-1-rhel-server 1.3 M
 imake                x86_64 1.0.2-3           rhui-sa-east-1-rhel-server 319 k
 libIDL               x86_64 0.8.7-1.fc6       rhui-sa-east-1-rhel-server  88 k
 libXTrap             x86_64 1.0.0-3.1         rhui-sa-east-1-rhel-server  23 k
 libXevie             x86_64 1.0.1-3.1         rhui-sa-east-1-rhel-server  14 k
 libXfontcache        x86_64 1.0.2-3.1         rhui-sa-east-1-rhel-server 9.8 k
 libXres              x86_64 1.0.1-3.1         rhui-sa-east-1-rhel-server  14 k
 libXxf86misc         x86_64 1.0.1-3.1         rhui-sa-east-1-rhel-server  12 k
 libXxf86vm           x86_64 1.0.1-3.1         rhui-sa-east-1-rhel-server  14 k
 libbonobo            x86_64 2.16.0-1.1.el5_5.1
                                               rhui-sa-east-1-rhel-server 524 k
 libbonoboui          x86_64 2.16.0-1.fc6      rhui-sa-east-1-rhel-server 395 k
 libdaemon            x86_64 0.10-5.el5        rhui-sa-east-1-rhel-server  24 k
 libgfortran          x86_64 4.1.2-52.el5      rhui-sa-east-1-rhel-server 244 k
 libgnome             x86_64 2.16.0-6.el5      rhui-sa-east-1-rhel-server 860 k
 libgnomecanvas       x86_64 2.14.0-4.1        rhui-sa-east-1-rhel-server 224 k
 libgnomeui           x86_64 2.16.0-5.el5      rhui-sa-east-1-rhel-server 984 k
 libgomp              i386   4.4.6-3.el5.1     rhui-sa-east-1-rhel-server  72 k
 libnotify            x86_64 0.4.2-6.el5       rhui-sa-east-1-rhel-server  38 k
 libstdc++-devel      x86_64 4.1.2-52.el5      rhui-sa-east-1-rhel-server 2.8 M
 libwnck              x86_64 2.16.0-4.fc6      rhui-sa-east-1-rhel-server 187 k
 libxslt              x86_64 1.1.17-2.el5_2.2  rhui-sa-east-1-rhel-server 487 k
 notification-daemon  x86_64 0.3.5-9.el5       rhui-sa-east-1-rhel-server  48 k
 pyorbit              x86_64 2.14.1-3.el5      rhui-sa-east-1-rhel-server  50 k
 pyspi                x86_64 0.6.1-1.el5       rhui-sa-east-1-rhel-server  98 k
 shared-mime-info     x86_64 0.19-5.el5        rhui-sa-east-1-rhel-server 149 k
 startup-notification x86_64 0.8-4.1           rhui-sa-east-1-rhel-server  32 k
 systemtap-runtime    x86_64 1.6-6.el5         rhui-sa-east-1-rhel-server 215 k
 xorg-x11-fonts-base  noarch 7.1-2.1.el5       rhui-sa-east-1-rhel-server 3.7 M
 xorg-x11-server-Xvfb x86_64 1.1.1-48.90.el5   rhui-sa-east-1-rhel-server 1.6 M
 xorg-x11-server-utils
                      x86_64 7.1-5.el5_6.2     rhui-sa-east-1-rhel-server 172 k
 xorg-x11-xauth       x86_64 1:1.0.1-2.1       rhui-sa-east-1-rhel-server  32 k
 xorg-x11-xinit       x86_64 1.0.2-15.el5      rhui-sa-east-1-rhel-server  26 k
 xz                   x86_64 4.999.9-0.3.beta.20091007git.el5
                                               rhui-sa-east-1-rhel-server 146 k
 xz-libs              x86_64 4.999.9-0.3.beta.20091007git.el5
                                               rhui-sa-east-1-rhel-server  95 k

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

Total download size: 91 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           3.2 MB/s |  91 MB     00:28     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction

  Installing     : libgnomecanvas                                          1/88 

  Installing     : gnome-keyring                                           2/88 

  Installing     : audiofile                                               3/88 

  Installing     : esound                                                  4/88 

  Installing     : libIDL                                                  5/88
Comment 6 mkovacik 2012-02-28 12:29:35 EST
  Installing     : ORBit2                                                  6/88 

  Installing     : GConf2                                                  7/88 

  Installing     : libbonobo                                               8/88 

  Installing     : pyorbit                                                 9/88 

  Installing     : gail                                                   10/88 

  Installing     : libXfontcache                                          11/88 

  Installing     : startup-notification                                   12/88 

  Installing     : libXxf86misc                                           13/88 

  Installing     : imake                                                  14/88 

  Installing     : xz-libs                                                15/88 

  Installing     : xz                                                     16/88 

  Installing     : libgfortran                                            17/88 

  Installing     : libdaemon                                              18/88 

  Installing     : avahi                                                  19/88 

  Installing     : avahi-glib                                             20/88 

  Installing     : xorg-x11-xauth                                         21/88 

  Installing     : libXevie                                               22/88 

  Installing     : at-spi                                                 23/88 

  Installing     : pyspi                                                  24/88 

  Installing     : shared-mime-info                                       25/88 

  Installing     : libxslt                                                26/88 

  Installing     : libXxf86vm                                             27/88 

  Installing     : libXTrap                                               28/88 

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

  Installing     : xorg-x11-xinit                                         30/88 

  Installing     : elfutils-libs                                          31/88 

  Installing     : elfutils                                               32/88 

  Installing     : gdb                                                    33/88 

  Installing     : libXres                                                34/88 

  Installing     : autoconf                                               35/88 

  Installing     : libwnck                                                36/88 

  Installing     : notification-daemon                                    37/88 

  Installing     : libnotify                                              38/88 

  Installing     : automake                                               39/88 

  Installing     : xorg-x11-fonts-base                                    40/88 

  Installing     : xorg-x11-server-Xvfb                                   41/88 

  Installing     : systemtap-runtime                                      42/88 

  Installing     : gnome-mime-data                                        43/88 

  Installing     : libstdc++-devel                                        44/88 

  Installing     : gcc-c++                                                45/88 

  Installing     : rpm-build                                              46/88 

  Installing     : gcc-gfortran                                           47/88 

  Installing     : splint                                                 48/88 

  Installing     : oprofile                                               49/88 

  Installing     : dev86                                                  50/88 

  Installing     : ctags                                                  51/88 

  Installing     : doxygen                                                52/88 

  Installing     : patchutils                                             53/88 

  Installing     : python-ldap                                            54/88 

  Installing     : valgrind                                               55/88 

  Installing     : cvs                                                    56/88 

  Installing     : texinfo                                                57/88 

  Installing     : flex                                                   58/88 

  Installing     : bison                                                  59/88 

  Installing     : rcs                                                    60/88 

  Installing     : byacc                                                  61/88 

  Installing     : strace                                                 62/88 

  Installing     : cscope                                                 63/88 

  Installing     : ltrace                                                 64/88 

  Installing     : indent                                                 65/88 

  Installing     : diffstat                                               66/88 

  Installing     : swig                                                   67/88 

  Installing     : systemtap                                              68/88 

  Installing     : libtool                                                69/88 

  Installing     : automake17                                             70/88 

  Installing     : pstack                                                 71/88 

  Installing     : automake15                                             72/88 

  Installing     : redhat-rpm-config                                      73/88 

  Installing     : automake14                                             74/88 

  Installing     : automake16                                             75/88 

  Installing     : libgomp                                                76/88 

  Installing     : gettext                                                77/88 

  Installing     : valgrind                                               78/88 

  Installing     : gnome-vfs2                                             79/88 

  Installing     : libgnome                                               80/88 

  Installing     : libbonoboui                                            81/88 

  Installing     : libgnomeui                                             82/88 

  Installing     : gnome-mount                                            83/88 

  Installing     : gnome-python2-bonobo                                   84/88 

  Installing     : gnome-python2                                          85/88 

  Installing     : gnome-python2-gconf                                    86/88 

  Installing     : dogtail                                                87/88 

  Installing     : gnome-python2-gnomevfs                                 88/88 

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.x86_64 0:2.3-2.1              byacc.x86_64 0:1.9-29.2.2                
  cscope.x86_64 0:15.5-15.1.el5_3.1   ctags.x86_64 0:5.6-1.1                   
  cvs.x86_64 0:1.11.22-11.el5_8.1     dev86.x86_64 0:0.16.17-2.2               
  diffstat.x86_64 0:1.41-1.2.3.el5    dogtail.noarch 0:0.6.1-4.el5             
  doxygen.x86_64 1:1.4.7-1.1          elfutils.x86_64 0:0.137-3.el5            
  flex.x86_64 0:2.5.4a-41.fc6         gcc-c++.x86_64 0:4.1.2-52.el5            
  gcc-gfortran.x86_64 0:4.1.2-52.el5  gdb.x86_64 0:7.0.1-42.el5                
  gettext.i386 0:0.17-1.el5           indent.x86_64 0:2.2.9-14.fc6             
  libtool.x86_64 0:1.5.22-7.el5_4     ltrace.x86_64 0:0.5-13.45svn.el5_7.12    
  oprofile.x86_64 0:0.9.4-20.el5      patchutils.x86_64 0:0.2.31-2.2.2         
  pstack.x86_64 0:1.2-7.2.2           python-ldap.x86_64 0:2.2.0-2.1           
  rcs.x86_64 0:5.7-30.1               redhat-rpm-config.noarch 0:8.0.45-32.el5 
  rpm-build.x86_64 0:4.4.2.3-27.el5   splint.x86_64 0:3.1.1-16.el5             
  strace.x86_64 0:4.5.18-11.el5_8     swig.x86_64 0:1.3.29-2.el5               
  systemtap.x86_64 0:1.6-6.el5        texinfo.x86_64 0:4.8-14.el5              
  valgrind.i386 1:3.5.0-5.el5         valgrind.x86_64 1:3.5.0-5.el5            

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

Complete! 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
# checking possible sys update
Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
Skipping security plugin, no data
# no sys update found
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
RESULT: Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
Skipping security plugin, no data
Setting up Update Process
Resolving Dependencies
Skipping security plugin, no data
--> Running transaction check
---> Package gnutls.x86_64 0:1.4.1-7.el5_8.1 set to be updated
---> Package httpd.x86_64 0:2.2.3-63.el5_8.1 set to be updated
---> Package hwdata.noarch 0:0.213.26-1.el5 set to be updated
---> Package kernel-headers.x86_64 0:2.6.18-308.el5 set to be updated
---> Package kernel-xen.x86_64 0:2.6.18-308.el5 set to be installed
---> Package kernel-xen-devel.x86_64 0:2.6.18-308.el5 set to be installed
---> Package libpng.x86_64 2:1.2.10-15.el5_7 set to be updated
---> Package libsmbclient.x86_64 0:3.0.33-3.38.el5_8 set to be updated
---> Package libxml2.x86_64 0:2.6.26-2.1.15.el5_8.2 set to be updated
---> Package libxml2-python.x86_64 0:2.6.26-2.1.15.el5_8.2 set to be updated
---> Package mod_ssl.x86_64 1:2.2.3-63.el5_8.1 set to be updated
---> Package mysql.x86_64 0:5.0.95-1.el5_7.1 set to be updated
---> Package nspr.i386 0:4.8.9-1.el5_8 set to be updated
---> Package nspr.x86_64 0:4.8.9-1.el5_8 set to be updated
---> Package nss.i386 0:3.13.1-3.el5_8 set to be updated
---> Package nss.x86_64 0:3.13.1-3.el5_8 set to be updated
---> Package nss-tools.x86_64 0:3.13.1-3.el5_8 set to be updated
---> Package samba-client.x86_64 0:3.0.33-3.38.el5_8 set to be updated
---> Package samba-common.x86_64 0:3.0.33-3.38.el5_8 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package          Arch   Version               Repository                  Size
================================================================================
Installing:
 kernel-xen       x86_64 2.6.18-308.el5        rhui-sa-east-1-rhel-server  22 M
 kernel-xen-devel x86_64 2.6.18-308.el5        rhui-sa-east-1-rhel-server 5.7 M
Updating:
 gnutls           x86_64 1.4.1-7.el5_8.1       rhui-sa-east-1-rhel-server 365 k
 httpd            x86_64 2.2.3-63.el5_8.1      rhui-sa-east-1-rhel-server 1.3 M
 hwdata           noarch 0.213.26-1.el5        rhui-sa-east-1-rhel-server 423 k
 kernel-headers   x86_64 2.6.18-308.el5        rhui-sa-east-1-rhel-server 1.4 M
 libpng           x86_64 2:1.2.10-15.el5_7     rhui-sa-east-1-rhel-server 235 k
 libsmbclient     x86_64 3.0.33-3.38.el5_8     rhui-sa-east-1-rhel-server 917 k
 libxml2          x86_64 2.6.26-2.1.15.el5_8.2 rhui-sa-east-1-rhel-server 809 k
 libxml2-python   x86_64 2.6.26-2.1.15.el5_8.2 rhui-sa-east-1-rhel-server 714 k
 mod_ssl          x86_64 1:2.2.3-63.el5_8.1    rhui-sa-east-1-rhel-server  95 k
 mysql            x86_64 5.0.95-1.el5_7.1      rhui-sa-east-1-rhel-server 4.9 M
 nspr             i386   4.8.9-1.el5_8         rhui-sa-east-1-rhel-server 121 k
 nspr             x86_64 4.8.9-1.el5_8         rhui-sa-east-1-rhel-server 120 k
 nss              i386   3.13.1-3.el5_8        rhui-sa-east-1-rhel-server 1.1 M
 nss              x86_64 3.13.1-3.el5_8        rhui-sa-east-1-rhel-server 1.1 M
 nss-tools        x86_64 3.13.1-3.el5_8        rhui-sa-east-1-rhel-server 1.1 M
 samba-client     x86_64 3.0.33-3.38.el5_8     rhui-sa-east-1-rhel-server 5.7 M
 samba-common     x86_64 3.0.33-3.38.el5_8     rhui-sa-east-1-rhel-server 6.8 M

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

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

  Updating       : nspr                                                    1/36 

  Updating       : nss                                                     2/36 

  Updating       : libxml2                                                 3/36 

  Updating       : httpd                                                   4/36 

  Updating       : libpng                                                  5/36 

  Updating       : gnutls                                                  6/36 

  Updating       : mysql                                                   7/36 

  Updating       : libsmbclient                                            8/36 

  Updating       : samba-common                                            9/36 

  Updating       : samba-client                                           10/36 

  Updating       : mod_ssl                                                11/36 

  Updating       : libxml2-python                                         12/36 

  Updating       : nss-tools                                              13/36 

  Installing     : kernel-xen                                             14/36 

  Updating       : hwdata                                                 15/36 

  Updating       : kernel-headers                                         16/36 

  Installing     : kernel-xen-devel                                       17/36 

  Updating       : nspr                                                   18/36 

  Updating       : nss                                                    19/36 

  Cleanup        : samba-common                                           20/36 

  Cleanup        : httpd                                                  21/36 

  Cleanup        : kernel-headers                                         22/36 

  Cleanup        : nss                                                    23/36 

  Cleanup        : nss                                                    24/36 

  Cleanup        : nspr                                                   25/36 

  Cleanup        : nspr                                                   26/36 

  Cleanup        : samba-client                                           27/36 

  Cleanup        : libsmbclient                                           28/36 

  Cleanup        : mod_ssl                                                29/36 

  Cleanup        : mysql                                                  30/36 

  Cleanup        : libxml2                                                31/36 

  Cleanup        : libxml2-python                                         32/36 

  Cleanup        : nss-tools                                              33/36 

  Cleanup        : gnutls                                                 34/36 

  Cleanup        : libpng                                                 35/36 

  Cleanup        : hwdata                                                 36/36 

Installed:
  kernel-xen.x86_64 0:2.6.18-308.el5  kernel-xen-devel.x86_64 0:2.6.18-308.el5 

Updated:
  gnutls.x86_64 0:1.4.1-7.el5_8.1                                               
  httpd.x86_64 0:2.2.3-63.el5_8.1                                               
  hwdata.noarch 0:0.213.26-1.el5                                                
  kernel-headers.x86_64 0:2.6.18-308.el5                                        
  libpng.x86_64 2:1.2.10-15.el5_7                                               
  libsmbclient.x86_64 0:3.0.33-3.38.el5_8                                       
  libxml2.x86_64 0:2.6.26-2.1.15.el5_8.2                                        
  libxml2-python.x86_64 0:2.6.26-2.1.15.el5_8.2                                 
  mod_ssl.x86_64 1:2.2.3-63.el5_8.1                                             
  mysql.x86_64 0:5.0.95-1.el5_7.1                                               
  nspr.i386 0:4.8.9-1.el5_8                                                     
  nspr.x86_64 0:4.8.9-1.el5_8                                                   
  nss.i386 0:3.13.1-3.el5_8                                                     
  nss.x86_64 0:3.13.1-3.el5_8                                                   
  nss-tools.x86_64 0:3.13.1-3.el5_8                                             
  samba-client.x86_64 0:3.0.33-3.38.el5_8                                       
  samba-common.x86_64 0:3.0.33-3.38.el5_8                                       

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: ## 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: ## 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
# checking possible sys update
Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
Skipping security plugin, no data
# no sys update found
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
RESULT: Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
Skipping security plugin, no data
Setting up Update Process
No Packages marked for Update 
EXPECTED RESULT: 
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

## Summary ##
FAILURES = 0
FAILED TESTS = 
LOG FILE = /root/valid/src/validate.log
## Summary ##

######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
Comment 7 mkovacik 2012-02-28 12:31:17 EST
IMAGE ID= ami-fa6cb3e7_sa-east-1_m1.xlarge
###### 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-308
CURRENT_UNAME_KERNAL_VERSION=2.6.18-308
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed 's/\(.*\)......./\1/'
RESULT: 2.6.18-308 
EXPECTED RESULT: 2.6.18-308
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-308
RESULT: title Red Hat Enterprise Linux Server (2.6.18-308.el5xen)
        kernel /boot/vmlinuz-2.6.18-308.el5xen ro root=LABEL=/ 
        initrd /boot/initrd-2.6.18-308.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 system up to date
######################################################################################
COMMAND:  _check_sys_update_phase1
# no update was required
RESULT: # checking sys update done
# no update was required 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ##Verify memory match hwp ... 
######################################################################################
cat /proc/meminfo | grep MemTotal: | awk '{print }'
FOUND MEMORY OF 15728640 > hwp MEMORY of 15000000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
hostname
######################################################################################
# NEW TEST: The selected image has the version RHEL 5.8
######################################################################################

## Summary ##
FAILURES = 0
FAILED TESTS = 
LOG FILE = /root/valid/src/validate.log
## Summary ##

######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
Comment 8 mkovacik 2012-02-28 12:31:22 EST
IMAGE ID= 
=====image_validation.sh Tue Feb 28 12:27:03 EST 2012=====
######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
######################################################################################
# NEW TEST: Fetching the identity doc Details
######################################################################################
Verifying that signature exists
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the IMAGE ID
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the Architecture
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
This Host => ec2-177-71-132-56.sa-east-1.compute.amazonaws.com with Image Id : ami-fa6cb3e7, is launched with Instance Id : i-067bf51b , Instance Type : m1.large and Arch : x86_64 in the Region : sa-east-1b
The Validate Signature is : Z8nQr6BlvBjiOlSxwFyzaIZ77tAKzjNvw8mNBzsh27wWdTTPtouoYKyP8CQ2Toavia7FAsDnqU0m
LOCPvBSIula1Ajwb4wXari/mzXjwU11ezohRkx+pie+2YoPNC4DbqJLUMGiYnRwTlGUOkJ4CHRdW
pnz4w8DBQQfKBgb9Sp0=
This is a Cloud Access image
/root/valid/src
ip-10-252-5-157
Red Hat Enterprise Linux Server release 5.8 (Tikanga)
######################################################################################
# NEW TEST: The selected image has the version RHEL 5.8
######################################################################################
######################################################################################
# NEW TEST: ## Verify IPv6 disabled ... 
######################################################################################
COMMAND:  grep ^NETWORKING_IPV6= /etc/sysconfig/network
RESULT: NETWORKING_IPV6=no 
EXPECTED RESULT: NETWORKING_IPV6=no
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 bash_history ... 
######################################################################################
COMMAND:  cat ~/.bash_history | wc -l 
RESULT: 0 
EXPECTED RESULT: 0
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 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 
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: ## 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: Fetching the identity doc Details
######################################################################################
Verifying that signature exists
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the IMAGE ID
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the Architecture
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
This Host => ec2-177-71-132-56.sa-east-1.compute.amazonaws.com with Image Id : ami-fa6cb3e7, is launched with Instance Id : i-067bf51b , Instance Type : m1.large and Arch : x86_64 in the Region : sa-east-1b
The Validate Signature is : Z8nQr6BlvBjiOlSxwFyzaIZ77tAKzjNvw8mNBzsh27wWdTTPtouoYKyP8CQ2Toavia7FAsDnqU0m
LOCPvBSIula1Ajwb4wXari/mzXjwU11ezohRkx+pie+2YoPNC4DbqJLUMGiYnRwTlGUOkJ4CHRdW
pnz4w8DBQQfKBgb9Sp0=
This is a Cloud Access image
######################################################################################
# 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 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: ##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 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 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 /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: ##Verify memory match hwp ... 
######################################################################################
cat /proc/meminfo | grep MemTotal: | awk '{print }'
FOUND MEMORY OF 7864320 > hwp MEMORY of 7500000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
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 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 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 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: ## test repo files ... 
######################################################################################
COMMAND:  ls /etc/yum.repos.d/ | wc -l 
RESULT: 4 
EXPECTED RESULT: 4
RETURN CODE: 0
PASS
COMMAND:  ls /etc/yum.repos.d/redhat* | wc -l
RESULT: 2 
EXPECTED RESULT: 2
RETURN CODE: 0
PASS
COMMAND:  ls /etc/yum.repos.d/rhel* | wc -l
RESULT: 1 
EXPECTED RESULT: 1
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
/root/valid/src
ip-10-252-5-157
Red Hat Enterprise Linux Server release 5.8 (Tikanga)
######################################################################################
# NEW TEST: The selected image has the version RHEL 5.8
######################################################################################
######################################################################################
# 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 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 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 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
this machine doesn't require swap
######################################################################################
# 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 no systemid file ... 
######################################################################################
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify kernel name ...
Comment 9 mkovacik 2012-02-28 12:31:28 EST
######################################################################################
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-307
CURRENT_UNAME_KERNAL_VERSION=2.6.18-307
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed 's/\(.*\)......./\1/'
RESULT: 2.6.18-307 
EXPECTED RESULT: 2.6.18-307
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-307
RESULT: title RHEL5.8-Server-20120126.1-Server-x86_64-starter-ec2 (2.6.18-307.el5xen)
        kernel /boot/vmlinuz-2.6.18-307.el5xen ro root=LABEL=/ 
        initrd /boot/initrd-2.6.18-307.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 system up to date
######################################################################################
COMMAND:  _check_sys_update_phase1
# no update was required
RESULT: # checking sys update done
# no update was required 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify RPMs ... 
######################################################################################
....L...  c /etc/pam.d/system-auth
.M......  c /etc/sysconfig/iptables-config
.M......    /var/cache/yum
    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: 3 
EXPECTED RESULT: 3
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify Version 2 ... 
######################################################################################
COMMAND:  /bin/rpm -q --queryformat '%{RELEASE}\n' redhat-release | cut -d. -f1,2
RESULT: 5.8 
EXPECTED RESULT: 5.8
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: ## List the configured repositories...
######################################################################################
COMMAND:  /usr/bin/yum repolist
RESULT: Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
repo id                               repo name                           status
rhui-sa-east-1-client-config-server-5 Red Hat Update Infrastructure 2.0 C      0
rhui-sa-east-1-rhel-server            Red Hat Enterprise Linux Server 5 ( 13,371
repolist: 13,371 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Search zsh...
######################################################################################
COMMAND:  /usr/bin/yum search zsh
RESULT: Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
================================= Matched: zsh =================================
zsh.x86_64 : A powerful interactive shell
zsh-html.x86_64 : 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, rhui-lb, security
Setting up Group Process
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
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, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
Setting up Group Process
Checking for new repos for mirrors
Package gcc-4.1.2-52.el5.x86_64 already installed and latest version
Package 1:make-3.81-3.el5.x86_64 already installed and latest version
Package 1:pkgconfig-0.21-2.el5.x86_64 already installed and latest version
Package gettext-0.17-1.el5.x86_64 already installed and latest version
Package binutils-2.17.50.0.6-20.el5.x86_64 already installed and latest version
Package subversion-1.6.11-7.el5_6.4.x86_64 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.x86_64 0:2.3-2.1 set to be updated
---> Package byacc.x86_64 0:1.9-29.2.2 set to be updated
---> Package cscope.x86_64 0:15.5-15.1.el5_3.1 set to be updated
---> Package ctags.x86_64 0:5.6-1.1 set to be updated
---> Package cvs.x86_64 0:1.11.22-11.el5_8.1 set to be updated
---> Package dev86.x86_64 0:0.16.17-2.2 set to be updated
---> Package diffstat.x86_64 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: xorg-x11-xinit for package: dogtail
--> Processing Dependency: xorg-x11-server-Xvfb for package: dogtail
--> Processing Dependency: gnome-python2-gconf for package: dogtail
---> Package doxygen.x86_64 1:1.4.7-1.1 set to be updated
---> Package elfutils.x86_64 0:0.137-3.el5 set to be updated
--> Processing Dependency: elfutils-libs-x86_64 = 0.137-3.el5 for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.130)(64bit) for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.127)(64bit) for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.126)(64bit) for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.122)(64bit) for package: elfutils
--> Processing Dependency: libasm.so.1(ELFUTILS_1.0)(64bit) for package: elfutils
--> Processing Dependency: libdw.so.1()(64bit) for package: elfutils
--> Processing Dependency: libasm.so.1()(64bit) for package: elfutils
---> Package flex.x86_64 0:2.5.4a-41.fc6 set to be updated
---> Package gcc-c++.x86_64 0:4.1.2-52.el5 set to be updated
--> Processing Dependency: libstdc++-devel = 4.1.2-52.el5 for package: gcc-c++
---> Package gcc-gfortran.x86_64 0:4.1.2-52.el5 set to be updated
--> Processing Dependency: libgfortran = 4.1.2-52.el5 for package: gcc-gfortran
--> Processing Dependency: libgfortran.so.1()(64bit) for package: gcc-gfortran
---> Package gdb.x86_64 0:7.0.1-42.el5 set to be updated
---> Package gettext.i386 0:0.17-1.el5 set to be updated
--> Processing Dependency: libgomp.so.1(GOMP_1.0) for package: gettext
--> Processing Dependency: libgomp.so.1 for package: gettext
---> Package indent.x86_64 0:2.2.9-14.fc6 set to be updated
---> Package libtool.x86_64 0:1.5.22-7.el5_4 set to be updated
---> Package ltrace.x86_64 0:0.5-13.45svn.el5_7.12 set to be updated
---> Package oprofile.x86_64 0:0.9.4-20.el5 set to be updated
---> Package patchutils.x86_64 0:0.2.31-2.2.2 set to be updated
---> Package pstack.x86_64 0:1.2-7.2.2 set to be updated
---> Package python-ldap.x86_64 0:2.2.0-2.1 set to be updated
---> Package rcs.x86_64 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.x86_64 0:4.4.2.3-27.el5 set to be updated
--> Processing Dependency: xz for package: rpm-build
---> Package splint.x86_64 0:3.1.1-16.el5 set to be updated
---> Package strace.x86_64 0:4.5.18-11.el5_8 set to be updated
---> Package swig.x86_64 0:1.3.29-2.el5 set to be updated
---> Package systemtap.x86_64 0:1.6-6.el5 set to be updated
--> Processing Dependency: systemtap-runtime = 1.6-6.el5 for package: systemtap
--> Processing Dependency: libavahi-common.so.3()(64bit) for package: systemtap
--> Processing Dependency: libavahi-client.so.3()(64bit) for package: systemtap
---> Package texinfo.x86_64 0:4.8-14.el5 set to be updated
---> Package valgrind.i386 1:3.5.0-5.el5 set to be updated
---> Package valgrind.x86_64 1:3.5.0-5.el5 set to be updated
--> Running transaction check
---> Package avahi.x86_64 0:0.6.16-10.el5_6 set to be updated
--> Processing Dependency: libdaemon for package: avahi
--> Processing Dependency: libdaemon.so.0()(64bit) for package: avahi
---> Package elfutils-libs.x86_64 0:0.137-3.el5 set to be updated
---> Package gnome-python2-gconf.x86_64 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()(64bit) for package: gnome-python2-gconf
--> Processing Dependency: libORBit-2.so.0()(64bit) for package: gnome-python2-gconf
---> Package imake.x86_64 0:1.0.2-3 set to be updated
---> Package libgfortran.x86_64 0:4.1.2-52.el5 set to be updated
---> Package libgomp.i386 0:4.4.6-3.el5.1 set to be updated
---> Package libstdc++-devel.x86_64 0:4.1.2-52.el5 set to be updated
---> Package pyspi.x86_64 0:0.6.1-1.el5 set to be updated
--> Processing Dependency: libspi.so.0()(64bit) for package: pyspi
--> Processing Dependency: libcspi.so.0()(64bit) for package: pyspi
--> Processing Dependency: libbonobo-activation.so.4()(64bit) for package: pyspi
--> Processing Dependency: libbonobo-2.so.0()(64bit) for package: pyspi
---> Package systemtap-runtime.x86_64 0:1.6-6.el5 set to be updated
---> Package xorg-x11-server-Xvfb.x86_64 0:1.1.1-48.90.el5 set to be updated
--> Processing Dependency: xorg-x11-fonts-base for package: xorg-x11-server-Xvfb
---> Package xorg-x11-xinit.x86_64 0:1.0.2-15.el5 set to be updated
--> Processing Dependency: xorg-x11-server-utils for package: xorg-x11-xinit
--> Processing Dependency: xauth for package: xorg-x11-xinit
---> Package xz.x86_64 0:4.999.9-0.3.beta.20091007git.el5 set to be updated
--> Processing Dependency: xz-libs = 4.999.9-0.3.beta.20091007git.el5 for package: xz
--> Processing Dependency: liblzma.so.0()(64bit) for package: xz
--> Running transaction check
---> Package GConf2.x86_64 0:2.14.0-9.el5 set to be updated
---> Package ORBit2.x86_64 0:2.14.3-5.el5 set to be updated
--> Processing Dependency: libIDL-2.so.0()(64bit) for package: ORBit2
---> Package at-spi.x86_64 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()(64bit) for package: at-spi
--> Processing Dependency: libgailutil.so.18()(64bit) for package: at-spi
--> Processing Dependency: libXevie.so.1()(64bit) for package: at-spi
---> Package gnome-python2.x86_64 0:2.16.0-1.fc6 set to be updated
--> Processing Dependency: gnome-python2-gnomevfs for package: gnome-python2
--> Processing Dependency: gnome-python2-bonobo for package: gnome-python2
--> Processing Dependency: libgnomevfs-2.so.0()(64bit) for package: gnome-python2
--> Processing Dependency: libgnomeui-2.so.0()(64bit) for package: gnome-python2
--> Processing Dependency: libgnome-keyring.so.0()(64bit) for package: gnome-python2
--> Processing Dependency: libgnome-2.so.0()(64bit) for package: gnome-python2
--> Processing Dependency: libbonoboui-2.so.0()(64bit) for package: gnome-python2
---> Package libbonobo.x86_64 0:2.16.0-1.1.el5_5.1 set to be updated
---> Package libdaemon.x86_64 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.x86_64 0:7.1-5.el5_6.2 set to be updated
--> Processing Dependency: libXxf86vm.so.1()(64bit) for package: xorg-x11-server-utils
--> Processing Dependency: libXxf86misc.so.1()(64bit) for package: xorg-x11-server-utils
--> Processing Dependency: libXfontcache.so.1()(64bit) for package: xorg-x11-server-utils
--> Processing Dependency: libXTrap.so.6()(64bit) for package: xorg-x11-server-utils
---> Package xorg-x11-xauth.x86_64 1:1.0.1-2.1 set to be updated
---> Package xz-libs.x86_64 0:4.999.9-0.3.beta.20091007git.el5 set to be updated
--> Running transaction check
---> Package gail.x86_64 0:1.9.2-3.el5 set to be updated
---> Package gnome-keyring.x86_64 0:0.6.0-1.fc6 set to be updated
---> Package gnome-python2-bonobo.x86_64 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.x86_64 0:2.16.0-1.fc6 set to be updated
---> Package gnome-vfs2.x86_64 0:2.16.2-8.el5 set to be updated
--> Processing Dependency: gnome-mount >= 0.4 for package: gnome-vfs2
--> Processing Dependency: gnome-mime-data >= 2.0.0-11 for package: gnome-vfs2
--> Processing Dependency: shared-mime-info for package: gnome-vfs2
--> Processing Dependency: libavahi-glib.so.1()(64bit) for package: gnome-vfs2
---> Package libIDL.x86_64 0:0.8.7-1.fc6 set to be updated
---> Package libXTrap.x86_64 0:1.0.0-3.1 set to be updated
---> Package libXevie.x86_64 0:1.0.1-3.1 set to be updated
---> Package libXfontcache.x86_64 0:1.0.2-3.1 set to be updated
---> Package libXxf86misc.x86_64 0:1.0.1-3.1 set to be updated
---> Package libXxf86vm.x86_64 0:1.0.1-3.1 set to be updated
---> Package libbonoboui.x86_64 0:2.16.0-1.fc6 set to be updated
---> Package libgnome.x86_64 0:2.16.0-6.el5 set to be updated
--> Processing Dependency: libxslt >= 1.0.19 for package: libgnome
--> Processing Dependency: libesd.so.0()(64bit) for package: libgnome
--> Processing Dependency: libaudiofile.so.0()(64bit) for package: libgnome
---> Package libgnomecanvas.x86_64 0:2.14.0-4.1 set to be updated
---> Package libgnomeui.x86_64 0:2.16.0-5.el5 set to be updated
--> Running transaction check
---> Package audiofile.x86_64 1:0.2.6-5 set to be updated
---> Package avahi-glib.x86_64 0:0.6.16-10.el5_6 set to be updated
---> Package esound.x86_64 1:0.2.36-4 set to be updated
---> Package gnome-mime-data.x86_64 0:2.4.2-3.1 set to be updated
---> Package gnome-mount.x86_64 0:0.5-3.el5 set to be updated
--> Processing Dependency: libnotify.so.1()(64bit) for package: gnome-mount
---> Package libxslt.x86_64 0:1.1.17-2.el5_2.2 set to be updated
---> Package pyorbit.x86_64 0:2.14.1-3.el5 set to be updated
---> Package shared-mime-info.x86_64 0:0.19-5.el5 set to be updated
--> Running transaction check
---> Package libnotify.x86_64 0:0.4.2-6.el5 set to be updated
--> Processing Dependency: desktop-notification-daemon for package: libnotify
--> Running transaction check
---> Package notification-daemon.x86_64 0:0.3.5-9.el5 set to be updated
--> Processing Dependency: libwnck-1.so.18()(64bit) for package: notification-daemon
--> Running transaction check
---> Package libwnck.x86_64 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()(64bit) for package: libwnck
--> Processing Dependency: libXRes.so.1()(64bit) for package: libwnck
--> Running transaction check
---> Package libXres.x86_64 0:1.0.1-3.1 set to be updated
---> Package startup-notification.x86_64 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-sa-east-1-rhel-server 646 k
 automake             noarch 1.9.6-2.3.el5     rhui-sa-east-1-rhel-server 476 k
 automake14           noarch 1.4p6-13.el5.1    rhui-sa-east-1-rhel-server 200 k
 automake15           noarch 1.5-16.el5.2      rhui-sa-east-1-rhel-server 230 k
 automake16           noarch 1.6.3-8.el5.1     rhui-sa-east-1-rhel-server 241 k
 automake17           noarch 1.7.9-7.el5.2     rhui-sa-east-1-rhel-server 278 k
 bison                x86_64 2.3-2.1           rhui-sa-east-1-rhel-server 549 k
 byacc                x86_64 1.9-29.2.2        rhui-sa-east-1-rhel-server  41 k
 cscope               x86_64 15.5-15.1.el5_3.1 rhui-sa-east-1-rhel-server 144 k
 ctags                x86_64 5.6-1.1           rhui-sa-east-1-rhel-server 131 k
 cvs                  x86_64 1.11.22-11.el5_8.1
                                               rhui-sa-east-1-rhel-server 738 k
 dev86                x86_64 0.16.17-2.2       rhui-sa-east-1-rhel-server 397 k
 diffstat             x86_64 1.41-1.2.3.el5    rhui-sa-east-1-rhel-server  19 k
 dogtail              noarch 0.6.1-4.el5       rhui-sa-east-1-rhel-server 172 k
 doxygen              x86_64 1:1.4.7-1.1       rhui-sa-east-1-rhel-server 2.4 M
 elfutils             x86_64 0.137-3.el5       rhui-sa-east-1-rhel-server 216 k
 flex                 x86_64 2.5.4a-41.fc6     rhui-sa-east-1-rhel-server 131 k
 gcc-c++              x86_64 4.1.2-52.el5      rhui-sa-east-1-rhel-server 3.8 M
 gcc-gfortran         x86_64 4.1.2-52.el5      rhui-sa-east-1-rhel-server 3.5 M
 gdb                  x86_64 7.0.1-42.el5      rhui-sa-east-1-rhel-server 2.4 M
 gettext              i386   0.17-1.el5        rhui-sa-east-1-rhel-server 2.4 M
 indent               x86_64 2.2.9-14.fc6      rhui-sa-east-1-rhel-server  97 k
 libtool              x86_64 1.5.22-7.el5_4    rhui-sa-east-1-rhel-server 667 k
 ltrace               x86_64 0.5-13.45svn.el5_7.12
                                               rhui-sa-east-1-rhel-server  70 k
 oprofile             x86_64 0.9.4-20.el5      rhui-sa-east-1-rhel-server 2.6 M
 patchutils           x86_64 0.2.31-2.2.2      rhui-sa-east-1-rhel-server 111 k
 pstack               x86_64 1.2-7.2.2         rhui-sa-east-1-rhel-server 4.6 k
 python-ldap          x86_64 2.2.0-2.1         rhui-sa-east-1-rhel-server 123 k
 rcs                  x86_64 5.7-30.1          rhui-sa-east-1-rhel-server 349 k
 redhat-rpm-config    noarch 8.0.45-32.el5     rhui-sa-east-1-rhel-server  54 k
 rpm-build            x86_64 4.4.2.3-27.el5    rhui-sa-east-1-rhel-server 302 k
 splint               x86_64 3.1.1-16.el5      rhui-sa-east-1-rhel-server 1.5 M
 strace               x86_64 4.5.18-11.el5_8   rhui-sa-east-1-rhel-server 177 k
 swig                 x86_64 1.3.29-2.el5      rhui-sa-east-1-rhel-server 2.9 M
 systemtap            x86_64 1.6-6.el5         rhui-sa-east-1-rhel-server 2.7 M
 texinfo              x86_64 4.8-14.el5        rhui-sa-east-1-rhel-server 763 k
 valgrind             i386   1:3.5.0-5.el5     rhui-sa-east-1-rhel-server  20 M
 valgrind             x86_64 1:3.5.0-5.el5     rhui-sa-east-1-rhel-server  21 M
Installing for dependencies:
 GConf2               x86_64 2.14.0-9.el5      rhui-sa-east-1-rhel-server 1.5 M
 ORBit2               x86_64 2.14.3-5.el5      rhui-sa-east-1-rhel-server 262 k
 at-spi               x86_64 1.7.11-3.el5      rhui-sa-east-1-rhel-server 304 k
 audiofile            x86_64 1:0.2.6-5         rhui-sa-east-1-rhel-server 106 k
 avahi                x86_64 0.6.16-10.el5_6   rhui-sa-east-1-rhel-server 258 k
 avahi-glib           x86_64 0.6.16-10.el5_6   rhui-sa-east-1-rhel-server  15 k
 elfutils-libs        x86_64 0.137-3.el5       rhui-sa-east-1-rhel-server 183 k
 esound               x86_64 1:0.2.36-4        rhui-sa-east-1-rhel-server 131 k
 gail                 x86_64 1.9.2-3.el5       rhui-sa-east-1-rhel-server 352 k
 gnome-keyring        x86_64 0.6.0-1.fc6       rhui-sa-east-1-rhel-server 166 k
 gnome-mime-data      x86_64 2.4.2-3.1         rhui-sa-east-1-rhel-server 690 k
 gnome-mount          x86_64 0.5-3.el5         rhui-sa-east-1-rhel-server  71 k
 gnome-python2        x86_64 2.16.0-1.fc6      rhui-sa-east-1-rhel-server 131 k
 gnome-python2-bonobo x86_64 2.16.0-1.fc6      rhui-sa-east-1-rhel-server  71 k
 gnome-python2-gconf  x86_64 2.16.0-1.fc6      rhui-sa-east-1-rhel-server  34 k
 gnome-python2-gnomevfs
                      x86_64 2.16.0-1.fc6      rhui-sa-east-1-rhel-server  70 k
 gnome-vfs2           x86_64 2.16.2-8.el5      rhui-sa-east-1-rhel-server 1.3 M
 imake                x86_64 1.0.2-3           rhui-sa-east-1-rhel-server 319 k
 libIDL               x86_64 0.8.7-1.fc6       rhui-sa-east-1-rhel-server  88 k
 libXTrap             x86_64 1.0.0-3.1         rhui-sa-east-1-rhel-server  23 k
 libXevie             x86_64 1.0.1-3.1         rhui-sa-east-1-rhel-server  14 k
 libXfontcache        x86_64 1.0.2-3.1         rhui-sa-east-1-rhel-server 9.8 k
 libXres              x86_64 1.0.1-3.1         rhui-sa-east-1-rhel-server  14 k
 libXxf86misc         x86_64 1.0.1-3.1         rhui-sa-east-1-rhel-server  12 k
 libXxf86vm           x86_64 1.0.1-3.1         rhui-sa-east-1-rhel-server  14 k
 libbonobo            x86_64 2.16.0-1.1.el5_5.1
                                               rhui-sa-east-1-rhel-server 524 k
 libbonoboui          x86_64 2.16.0-1.fc6      rhui-sa-east-1-rhel-server 395 k
 libdaemon            x86_64 0.10-5.el5        rhui-sa-east-1-rhel-server  24 k
 libgfortran          x86_64 4.1.2-52.el5      rhui-sa-east-1-rhel-server 244 k
 libgnome             x86_64 2.16.0-6.el5      rhui-sa-east-1-rhel-server 860 k
 libgnomecanvas       x86_64 2.14.0-4.1        rhui-sa-east-1-rhel-server 224 k
 libgnomeui           x86_64 2.16.0-5.el5      rhui-sa-east-1-rhel-server 984 k
 libgomp              i386   4.4.6-3.el5.1     rhui-sa-east-1-rhel-server  72 k
 libnotify            x86_64 0.4.2-6.el5       rhui-sa-east-1-rhel-server  38 k
 libstdc++-devel      x86_64 4.1.2-52.el5      rhui-sa-east-1-rhel-server 2.8 M
 libwnck              x86_64 2.16.0-4.fc6      rhui-sa-east-1-rhel-server 187 k
 libxslt              x86_64 1.1.17-2.el5_2.2  rhui-sa-east-1-rhel-server 487 k
 notification-daemon  x86_64 0.3.5-9.el5       rhui-sa-east-1-rhel-server  48 k
 pyorbit              x86_64 2.14.1-3.el5      rhui-sa-east-1-rhel-server  50 k
 pyspi                x86_64 0.6.1-1.el5       rhui-sa-east-1-rhel-server  98 k
 shared-mime-info     x86_64 0.19-5.el5        rhui-sa-east-1-rhel-server 149 k
 startup-notification x86_64 0.8-4.1           rhui-sa-east-1-rhel-server  32 k
 systemtap-runtime    x86_64 1.6-6.el5         rhui-sa-east-1-rhel-server 215 k
 xorg-x11-fonts-base  noarch 7.1-2.1.el5       rhui-sa-east-1-rhel-server 3.7 M
 xorg-x11-server-Xvfb x86_64 1.1.1-48.90.el5   rhui-sa-east-1-rhel-server 1.6 M
 xorg-x11-server-utils
                      x86_64 7.1-5.el5_6.2     rhui-sa-east-1-rhel-server 172 k
 xorg-x11-xauth       x86_64 1:1.0.1-2.1       rhui-sa-east-1-rhel-server  32 k
 xorg-x11-xinit       x86_64 1.0.2-15.el5      rhui-sa-east-1-rhel-server  26 k
 xz                   x86_64 4.999.9-0.3.beta.20091007git.el5
                                               rhui-sa-east-1-rhel-server 146 k
 xz-libs              x86_64 4.999.9-0.3.beta.20091007git.el5
                                               rhui-sa-east-1-rhel-server  95 k

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

Total download size: 91 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           4.1 MB/s |  91 MB     00:21     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction

  Installing     : libgnomecanvas                                          1/88 

  Installing     : gnome-keyring                                           2/88 

  Installing     : audiofile                                               3/88 

  Installing     : esound                                                  4/88 

  Installing     : libIDL                                                  5/88
Comment 10 mkovacik 2012-02-28 12:31:35 EST
  Installing     : ORBit2                                                  6/88 

  Installing     : GConf2                                                  7/88 

  Installing     : libbonobo                                               8/88 

  Installing     : pyorbit                                                 9/88 

  Installing     : gail                                                   10/88 

  Installing     : libXfontcache                                          11/88 

  Installing     : startup-notification                                   12/88 

  Installing     : libXxf86misc                                           13/88 

  Installing     : imake                                                  14/88 

  Installing     : xz-libs                                                15/88 

  Installing     : xz                                                     16/88 

  Installing     : libgfortran                                            17/88 

  Installing     : libdaemon                                              18/88 

  Installing     : avahi                                                  19/88 

  Installing     : avahi-glib                                             20/88 

  Installing     : xorg-x11-xauth                                         21/88 

  Installing     : libXevie                                               22/88 

  Installing     : at-spi                                                 23/88 

  Installing     : pyspi                                                  24/88 

  Installing     : shared-mime-info                                       25/88 

  Installing     : libxslt                                                26/88 

  Installing     : libXxf86vm                                             27/88 

  Installing     : libXTrap                                               28/88 

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

  Installing     : xorg-x11-xinit                                         30/88 

  Installing     : elfutils-libs                                          31/88 

  Installing     : elfutils                                               32/88 

  Installing     : gdb                                                    33/88 

  Installing     : libXres                                                34/88 

  Installing     : autoconf                                               35/88 

  Installing     : libwnck                                                36/88 

  Installing     : notification-daemon                                    37/88 

  Installing     : libnotify                                              38/88 

  Installing     : automake                                               39/88 

  Installing     : xorg-x11-fonts-base                                    40/88 

  Installing     : xorg-x11-server-Xvfb                                   41/88 

  Installing     : systemtap-runtime                                      42/88 

  Installing     : gnome-mime-data                                        43/88 

  Installing     : libstdc++-devel                                        44/88 

  Installing     : gcc-c++                                                45/88 

  Installing     : rpm-build                                              46/88 

  Installing     : gcc-gfortran                                           47/88 

  Installing     : splint                                                 48/88 

  Installing     : oprofile                                               49/88 

  Installing     : dev86                                                  50/88 

  Installing     : ctags                                                  51/88 

  Installing     : doxygen                                                52/88 

  Installing     : patchutils                                             53/88 

  Installing     : python-ldap                                            54/88 

  Installing     : valgrind                                               55/88 

  Installing     : cvs                                                    56/88 

  Installing     : texinfo                                                57/88 

  Installing     : flex                                                   58/88 

  Installing     : bison                                                  59/88 

  Installing     : rcs                                                    60/88 

  Installing     : byacc                                                  61/88 

  Installing     : strace                                                 62/88 

  Installing     : cscope                                                 63/88 

  Installing     : ltrace                                                 64/88 

  Installing     : indent                                                 65/88 

  Installing     : diffstat                                               66/88 

  Installing     : swig                                                   67/88 

  Installing     : systemtap                                              68/88 

  Installing     : libtool                                                69/88 

  Installing     : automake17                                             70/88 

  Installing     : pstack                                                 71/88 

  Installing     : automake15                                             72/88 

  Installing     : redhat-rpm-config                                      73/88 

  Installing     : automake14                                             74/88 

  Installing     : automake16                                             75/88 

  Installing     : libgomp                                                76/88 

  Installing     : gettext                                                77/88 

  Installing     : valgrind                                               78/88 

  Installing     : gnome-vfs2                                             79/88 

  Installing     : libgnome                                               80/88 

  Installing     : libbonoboui                                            81/88 

  Installing     : libgnomeui                                             82/88 

  Installing     : gnome-mount                                            83/88 

  Installing     : gnome-python2-bonobo                                   84/88 

  Installing     : gnome-python2                                          85/88 

  Installing     : gnome-python2-gconf                                    86/88 

  Installing     : dogtail                                                87/88 

  Installing     : gnome-python2-gnomevfs                                 88/88 

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.x86_64 0:2.3-2.1              byacc.x86_64 0:1.9-29.2.2                
  cscope.x86_64 0:15.5-15.1.el5_3.1   ctags.x86_64 0:5.6-1.1                   
  cvs.x86_64 0:1.11.22-11.el5_8.1     dev86.x86_64 0:0.16.17-2.2               
  diffstat.x86_64 0:1.41-1.2.3.el5    dogtail.noarch 0:0.6.1-4.el5             
  doxygen.x86_64 1:1.4.7-1.1          elfutils.x86_64 0:0.137-3.el5            
  flex.x86_64 0:2.5.4a-41.fc6         gcc-c++.x86_64 0:4.1.2-52.el5            
  gcc-gfortran.x86_64 0:4.1.2-52.el5  gdb.x86_64 0:7.0.1-42.el5                
  gettext.i386 0:0.17-1.el5           indent.x86_64 0:2.2.9-14.fc6             
  libtool.x86_64 0:1.5.22-7.el5_4     ltrace.x86_64 0:0.5-13.45svn.el5_7.12    
  oprofile.x86_64 0:0.9.4-20.el5      patchutils.x86_64 0:0.2.31-2.2.2         
  pstack.x86_64 0:1.2-7.2.2           python-ldap.x86_64 0:2.2.0-2.1           
  rcs.x86_64 0:5.7-30.1               redhat-rpm-config.noarch 0:8.0.45-32.el5 
  rpm-build.x86_64 0:4.4.2.3-27.el5   splint.x86_64 0:3.1.1-16.el5             
  strace.x86_64 0:4.5.18-11.el5_8     swig.x86_64 0:1.3.29-2.el5               
  systemtap.x86_64 0:1.6-6.el5        texinfo.x86_64 0:4.8-14.el5              
  valgrind.i386 1:3.5.0-5.el5         valgrind.x86_64 1:3.5.0-5.el5            

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

Complete! 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
# checking possible sys update
Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
Skipping security plugin, no data
# no sys update found
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
RESULT: Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
Skipping security plugin, no data
Setting up Update Process
Resolving Dependencies
Skipping security plugin, no data
--> Running transaction check
---> Package gnutls.x86_64 0:1.4.1-7.el5_8.1 set to be updated
---> Package httpd.x86_64 0:2.2.3-63.el5_8.1 set to be updated
---> Package hwdata.noarch 0:0.213.26-1.el5 set to be updated
---> Package kernel-headers.x86_64 0:2.6.18-308.el5 set to be updated
---> Package kernel-xen.x86_64 0:2.6.18-308.el5 set to be installed
---> Package kernel-xen-devel.x86_64 0:2.6.18-308.el5 set to be installed
---> Package libpng.x86_64 2:1.2.10-15.el5_7 set to be updated
---> Package libsmbclient.x86_64 0:3.0.33-3.38.el5_8 set to be updated
---> Package libxml2.x86_64 0:2.6.26-2.1.15.el5_8.2 set to be updated
---> Package libxml2-python.x86_64 0:2.6.26-2.1.15.el5_8.2 set to be updated
---> Package mod_ssl.x86_64 1:2.2.3-63.el5_8.1 set to be updated
---> Package mysql.x86_64 0:5.0.95-1.el5_7.1 set to be updated
---> Package nspr.i386 0:4.8.9-1.el5_8 set to be updated
---> Package nspr.x86_64 0:4.8.9-1.el5_8 set to be updated
---> Package nss.i386 0:3.13.1-3.el5_8 set to be updated
---> Package nss.x86_64 0:3.13.1-3.el5_8 set to be updated
---> Package nss-tools.x86_64 0:3.13.1-3.el5_8 set to be updated
---> Package samba-client.x86_64 0:3.0.33-3.38.el5_8 set to be updated
---> Package samba-common.x86_64 0:3.0.33-3.38.el5_8 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package          Arch   Version               Repository                  Size
================================================================================
Installing:
 kernel-xen       x86_64 2.6.18-308.el5        rhui-sa-east-1-rhel-server  22 M
 kernel-xen-devel x86_64 2.6.18-308.el5        rhui-sa-east-1-rhel-server 5.7 M
Updating:
 gnutls           x86_64 1.4.1-7.el5_8.1       rhui-sa-east-1-rhel-server 365 k
 httpd            x86_64 2.2.3-63.el5_8.1      rhui-sa-east-1-rhel-server 1.3 M
 hwdata           noarch 0.213.26-1.el5        rhui-sa-east-1-rhel-server 423 k
 kernel-headers   x86_64 2.6.18-308.el5        rhui-sa-east-1-rhel-server 1.4 M
 libpng           x86_64 2:1.2.10-15.el5_7     rhui-sa-east-1-rhel-server 235 k
 libsmbclient     x86_64 3.0.33-3.38.el5_8     rhui-sa-east-1-rhel-server 917 k
 libxml2          x86_64 2.6.26-2.1.15.el5_8.2 rhui-sa-east-1-rhel-server 809 k
 libxml2-python   x86_64 2.6.26-2.1.15.el5_8.2 rhui-sa-east-1-rhel-server 714 k
 mod_ssl          x86_64 1:2.2.3-63.el5_8.1    rhui-sa-east-1-rhel-server  95 k
 mysql            x86_64 5.0.95-1.el5_7.1      rhui-sa-east-1-rhel-server 4.9 M
 nspr             i386   4.8.9-1.el5_8         rhui-sa-east-1-rhel-server 121 k
 nspr             x86_64 4.8.9-1.el5_8         rhui-sa-east-1-rhel-server 120 k
 nss              i386   3.13.1-3.el5_8        rhui-sa-east-1-rhel-server 1.1 M
 nss              x86_64 3.13.1-3.el5_8        rhui-sa-east-1-rhel-server 1.1 M
 nss-tools        x86_64 3.13.1-3.el5_8        rhui-sa-east-1-rhel-server 1.1 M
 samba-client     x86_64 3.0.33-3.38.el5_8     rhui-sa-east-1-rhel-server 5.7 M
 samba-common     x86_64 3.0.33-3.38.el5_8     rhui-sa-east-1-rhel-server 6.8 M

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

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

  Updating       : nspr                                                    1/36 

  Updating       : nss                                                     2/36 

  Updating       : libxml2                                                 3/36 

  Updating       : httpd                                                   4/36 

  Updating       : libpng                                                  5/36 

  Updating       : gnutls                                                  6/36 

  Updating       : mysql                                                   7/36 

  Updating       : libsmbclient                                            8/36 

  Updating       : samba-common                                            9/36 

  Updating       : samba-client                                           10/36 

  Updating       : mod_ssl                                                11/36 

  Updating       : libxml2-python                                         12/36 

  Updating       : nss-tools                                              13/36 

  Installing     : kernel-xen                                             14/36 

  Updating       : hwdata                                                 15/36 

  Updating       : kernel-headers                                         16/36 

  Installing     : kernel-xen-devel                                       17/36 

  Updating       : nspr                                                   18/36 

  Updating       : nss                                                    19/36 

  Cleanup        : samba-common                                           20/36 

  Cleanup        : httpd                                                  21/36 

  Cleanup        : kernel-headers                                         22/36 

  Cleanup        : nss                                                    23/36 

  Cleanup        : nss                                                    24/36 

  Cleanup        : nspr                                                   25/36 

  Cleanup        : nspr                                                   26/36 

  Cleanup        : samba-client                                           27/36 

  Cleanup        : libsmbclient                                           28/36 

  Cleanup        : mod_ssl                                                29/36 

  Cleanup        : mysql                                                  30/36 

  Cleanup        : libxml2                                                31/36 

  Cleanup        : libxml2-python                                         32/36 

  Cleanup        : nss-tools                                              33/36 

  Cleanup        : gnutls                                                 34/36 

  Cleanup        : libpng                                                 35/36 

  Cleanup        : hwdata                                                 36/36 

Installed:
  kernel-xen.x86_64 0:2.6.18-308.el5  kernel-xen-devel.x86_64 0:2.6.18-308.el5 

Updated:
  gnutls.x86_64 0:1.4.1-7.el5_8.1                                               
  httpd.x86_64 0:2.2.3-63.el5_8.1                                               
  hwdata.noarch 0:0.213.26-1.el5                                                
  kernel-headers.x86_64 0:2.6.18-308.el5                                        
  libpng.x86_64 2:1.2.10-15.el5_7                                               
  libsmbclient.x86_64 0:3.0.33-3.38.el5_8                                       
  libxml2.x86_64 0:2.6.26-2.1.15.el5_8.2                                        
  libxml2-python.x86_64 0:2.6.26-2.1.15.el5_8.2                                 
  mod_ssl.x86_64 1:2.2.3-63.el5_8.1                                             
  mysql.x86_64 0:5.0.95-1.el5_7.1                                               
  nspr.i386 0:4.8.9-1.el5_8                                                     
  nspr.x86_64 0:4.8.9-1.el5_8                                                   
  nss.i386 0:3.13.1-3.el5_8                                                     
  nss.x86_64 0:3.13.1-3.el5_8                                                   
  nss-tools.x86_64 0:3.13.1-3.el5_8                                             
  samba-client.x86_64 0:3.0.33-3.38.el5_8                                       
  samba-common.x86_64 0:3.0.33-3.38.el5_8                                       

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: ## 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: ## 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
# checking possible sys update
Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
Skipping security plugin, no data
# no sys update found
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
RESULT: Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
Skipping security plugin, no data
Setting up Update Process
No Packages marked for Update 
EXPECTED RESULT: 
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

## Summary ##
FAILURES = 0
FAILED TESTS = 
LOG FILE = /root/valid/src/validate.log
## Summary ##

######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
Comment 11 mkovacik 2012-02-28 12:34:09 EST
IMAGE ID= 
=====image_validation.sh Tue Feb 28 12:30:34 EST 2012=====
######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
######################################################################################
# NEW TEST: Fetching the identity doc Details
######################################################################################
Verifying that signature exists
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the IMAGE ID
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the Architecture
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
This Host => ec2-177-71-143-135.sa-east-1.compute.amazonaws.com with Image Id : ami-fa6cb3e7, is launched with Instance Id : i-327bf52f , Instance Type : m2.xlarge and Arch : x86_64 in the Region : sa-east-1b
The Validate Signature is : SPdiX037xoSrR39iKZcKFUe8um4uXQrOy6kDuxsbnqV3eJFT17wluVYGE7HYYgFO8Bdu3PdKe8jS
//RpJy2b8Oh/93G49FNtbkicKpHLJKO2t88QjuhTbVkN9KBN9Brb0hlJCv1+/muQNoZW2S4p0hdi
8Q+42HjCWIBRBNLxEnE=
This is a Cloud Access image
/root/valid/src
ip-10-252-65-34
Red Hat Enterprise Linux Server release 5.8 (Tikanga)
######################################################################################
# NEW TEST: The selected image has the version RHEL 5.8
######################################################################################
######################################################################################
# NEW TEST: ## Verify IPv6 disabled ... 
######################################################################################
COMMAND:  grep ^NETWORKING_IPV6= /etc/sysconfig/network
RESULT: NETWORKING_IPV6=no 
EXPECTED RESULT: NETWORKING_IPV6=no
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 bash_history ... 
######################################################################################
COMMAND:  cat ~/.bash_history | wc -l 
RESULT: 0 
EXPECTED RESULT: 0
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 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 
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: ## 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: Fetching the identity doc Details
######################################################################################
Verifying that signature exists
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the IMAGE ID
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the Architecture
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
This Host => ec2-177-71-143-135.sa-east-1.compute.amazonaws.com with Image Id : ami-fa6cb3e7, is launched with Instance Id : i-327bf52f , Instance Type : m2.xlarge and Arch : x86_64 in the Region : sa-east-1b
The Validate Signature is : SPdiX037xoSrR39iKZcKFUe8um4uXQrOy6kDuxsbnqV3eJFT17wluVYGE7HYYgFO8Bdu3PdKe8jS
//RpJy2b8Oh/93G49FNtbkicKpHLJKO2t88QjuhTbVkN9KBN9Brb0hlJCv1+/muQNoZW2S4p0hdi
8Q+42HjCWIBRBNLxEnE=
This is a Cloud Access image
######################################################################################
# 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 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: ##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 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 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 /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: ##Verify memory match hwp ... 
######################################################################################
cat /proc/meminfo | grep MemTotal: | awk '{print }'
FOUND MEMORY OF 17920000 > hwp MEMORY of 17100000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
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 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 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 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: ## test repo files ... 
######################################################################################
COMMAND:  ls /etc/yum.repos.d/ | wc -l 
RESULT: 4 
EXPECTED RESULT: 4
RETURN CODE: 0
PASS
COMMAND:  ls /etc/yum.repos.d/redhat* | wc -l
RESULT: 2 
EXPECTED RESULT: 2
RETURN CODE: 0
PASS
COMMAND:  ls /etc/yum.repos.d/rhel* | wc -l
RESULT: 1 
EXPECTED RESULT: 1
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
/root/valid/src
ip-10-252-65-34
Red Hat Enterprise Linux Server release 5.8 (Tikanga)
######################################################################################
# NEW TEST: The selected image has the version RHEL 5.8
######################################################################################
######################################################################################
# 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 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 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 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
this machine doesn't require swap
######################################################################################
# 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 no systemid file ... 
######################################################################################
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify kernel name ...
Comment 12 mkovacik 2012-02-28 12:34:14 EST
######################################################################################
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-307
CURRENT_UNAME_KERNAL_VERSION=2.6.18-307
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed 's/\(.*\)......./\1/'
RESULT: 2.6.18-307 
EXPECTED RESULT: 2.6.18-307
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-307
RESULT: title RHEL5.8-Server-20120126.1-Server-x86_64-starter-ec2 (2.6.18-307.el5xen)
        kernel /boot/vmlinuz-2.6.18-307.el5xen ro root=LABEL=/ 
        initrd /boot/initrd-2.6.18-307.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 system up to date
######################################################################################
COMMAND:  _check_sys_update_phase1
# no update was required
RESULT: # checking sys update done
# no update was required 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify RPMs ... 
######################################################################################
....L...  c /etc/pam.d/system-auth
.M......  c /etc/sysconfig/iptables-config
.M......    /var/cache/yum
    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: 3 
EXPECTED RESULT: 3
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify Version 2 ... 
######################################################################################
COMMAND:  /bin/rpm -q --queryformat '%{RELEASE}\n' redhat-release | cut -d. -f1,2
RESULT: 5.8 
EXPECTED RESULT: 5.8
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: ## List the configured repositories...
######################################################################################
COMMAND:  /usr/bin/yum repolist
RESULT: Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
repo id                               repo name                           status
rhui-sa-east-1-client-config-server-5 Red Hat Update Infrastructure 2.0 C      0
rhui-sa-east-1-rhel-server            Red Hat Enterprise Linux Server 5 ( 13,371
repolist: 13,371 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Search zsh...
######################################################################################
COMMAND:  /usr/bin/yum search zsh
RESULT: Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
================================= Matched: zsh =================================
zsh.x86_64 : A powerful interactive shell
zsh-html.x86_64 : 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, rhui-lb, security
Setting up Group Process
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
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, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
Setting up Group Process
Checking for new repos for mirrors
Package gcc-4.1.2-52.el5.x86_64 already installed and latest version
Package 1:make-3.81-3.el5.x86_64 already installed and latest version
Package 1:pkgconfig-0.21-2.el5.x86_64 already installed and latest version
Package gettext-0.17-1.el5.x86_64 already installed and latest version
Package binutils-2.17.50.0.6-20.el5.x86_64 already installed and latest version
Package subversion-1.6.11-7.el5_6.4.x86_64 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.x86_64 0:2.3-2.1 set to be updated
---> Package byacc.x86_64 0:1.9-29.2.2 set to be updated
---> Package cscope.x86_64 0:15.5-15.1.el5_3.1 set to be updated
---> Package ctags.x86_64 0:5.6-1.1 set to be updated
---> Package cvs.x86_64 0:1.11.22-11.el5_8.1 set to be updated
---> Package dev86.x86_64 0:0.16.17-2.2 set to be updated
---> Package diffstat.x86_64 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: xorg-x11-xinit for package: dogtail
--> Processing Dependency: xorg-x11-server-Xvfb for package: dogtail
--> Processing Dependency: gnome-python2-gconf for package: dogtail
---> Package doxygen.x86_64 1:1.4.7-1.1 set to be updated
---> Package elfutils.x86_64 0:0.137-3.el5 set to be updated
--> Processing Dependency: elfutils-libs-x86_64 = 0.137-3.el5 for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.130)(64bit) for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.127)(64bit) for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.126)(64bit) for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.122)(64bit) for package: elfutils
--> Processing Dependency: libasm.so.1(ELFUTILS_1.0)(64bit) for package: elfutils
--> Processing Dependency: libdw.so.1()(64bit) for package: elfutils
--> Processing Dependency: libasm.so.1()(64bit) for package: elfutils
---> Package flex.x86_64 0:2.5.4a-41.fc6 set to be updated
---> Package gcc-c++.x86_64 0:4.1.2-52.el5 set to be updated
--> Processing Dependency: libstdc++-devel = 4.1.2-52.el5 for package: gcc-c++
---> Package gcc-gfortran.x86_64 0:4.1.2-52.el5 set to be updated
--> Processing Dependency: libgfortran = 4.1.2-52.el5 for package: gcc-gfortran
--> Processing Dependency: libgfortran.so.1()(64bit) for package: gcc-gfortran
---> Package gdb.x86_64 0:7.0.1-42.el5 set to be updated
---> Package gettext.i386 0:0.17-1.el5 set to be updated
--> Processing Dependency: libgomp.so.1(GOMP_1.0) for package: gettext
--> Processing Dependency: libgomp.so.1 for package: gettext
---> Package indent.x86_64 0:2.2.9-14.fc6 set to be updated
---> Package libtool.x86_64 0:1.5.22-7.el5_4 set to be updated
---> Package ltrace.x86_64 0:0.5-13.45svn.el5_7.12 set to be updated
---> Package oprofile.x86_64 0:0.9.4-20.el5 set to be updated
---> Package patchutils.x86_64 0:0.2.31-2.2.2 set to be updated
---> Package pstack.x86_64 0:1.2-7.2.2 set to be updated
---> Package python-ldap.x86_64 0:2.2.0-2.1 set to be updated
---> Package rcs.x86_64 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.x86_64 0:4.4.2.3-27.el5 set to be updated
--> Processing Dependency: xz for package: rpm-build
---> Package splint.x86_64 0:3.1.1-16.el5 set to be updated
---> Package strace.x86_64 0:4.5.18-11.el5_8 set to be updated
---> Package swig.x86_64 0:1.3.29-2.el5 set to be updated
---> Package systemtap.x86_64 0:1.6-6.el5 set to be updated
--> Processing Dependency: systemtap-runtime = 1.6-6.el5 for package: systemtap
--> Processing Dependency: libavahi-common.so.3()(64bit) for package: systemtap
--> Processing Dependency: libavahi-client.so.3()(64bit) for package: systemtap
---> Package texinfo.x86_64 0:4.8-14.el5 set to be updated
---> Package valgrind.i386 1:3.5.0-5.el5 set to be updated
---> Package valgrind.x86_64 1:3.5.0-5.el5 set to be updated
--> Running transaction check
---> Package avahi.x86_64 0:0.6.16-10.el5_6 set to be updated
--> Processing Dependency: libdaemon for package: avahi
--> Processing Dependency: libdaemon.so.0()(64bit) for package: avahi
---> Package elfutils-libs.x86_64 0:0.137-3.el5 set to be updated
---> Package gnome-python2-gconf.x86_64 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()(64bit) for package: gnome-python2-gconf
--> Processing Dependency: libORBit-2.so.0()(64bit) for package: gnome-python2-gconf
---> Package imake.x86_64 0:1.0.2-3 set to be updated
---> Package libgfortran.x86_64 0:4.1.2-52.el5 set to be updated
---> Package libgomp.i386 0:4.4.6-3.el5.1 set to be updated
---> Package libstdc++-devel.x86_64 0:4.1.2-52.el5 set to be updated
---> Package pyspi.x86_64 0:0.6.1-1.el5 set to be updated
--> Processing Dependency: libspi.so.0()(64bit) for package: pyspi
--> Processing Dependency: libcspi.so.0()(64bit) for package: pyspi
--> Processing Dependency: libbonobo-activation.so.4()(64bit) for package: pyspi
--> Processing Dependency: libbonobo-2.so.0()(64bit) for package: pyspi
---> Package systemtap-runtime.x86_64 0:1.6-6.el5 set to be updated
---> Package xorg-x11-server-Xvfb.x86_64 0:1.1.1-48.90.el5 set to be updated
--> Processing Dependency: xorg-x11-fonts-base for package: xorg-x11-server-Xvfb
---> Package xorg-x11-xinit.x86_64 0:1.0.2-15.el5 set to be updated
--> Processing Dependency: xorg-x11-server-utils for package: xorg-x11-xinit
--> Processing Dependency: xauth for package: xorg-x11-xinit
---> Package xz.x86_64 0:4.999.9-0.3.beta.20091007git.el5 set to be updated
--> Processing Dependency: xz-libs = 4.999.9-0.3.beta.20091007git.el5 for package: xz
--> Processing Dependency: liblzma.so.0()(64bit) for package: xz
--> Running transaction check
---> Package GConf2.x86_64 0:2.14.0-9.el5 set to be updated
---> Package ORBit2.x86_64 0:2.14.3-5.el5 set to be updated
--> Processing Dependency: libIDL-2.so.0()(64bit) for package: ORBit2
---> Package at-spi.x86_64 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()(64bit) for package: at-spi
--> Processing Dependency: libgailutil.so.18()(64bit) for package: at-spi
--> Processing Dependency: libXevie.so.1()(64bit) for package: at-spi
---> Package gnome-python2.x86_64 0:2.16.0-1.fc6 set to be updated
--> Processing Dependency: gnome-python2-gnomevfs for package: gnome-python2
--> Processing Dependency: gnome-python2-bonobo for package: gnome-python2
--> Processing Dependency: libgnomevfs-2.so.0()(64bit) for package: gnome-python2
--> Processing Dependency: libgnomeui-2.so.0()(64bit) for package: gnome-python2
--> Processing Dependency: libgnome-keyring.so.0()(64bit) for package: gnome-python2
--> Processing Dependency: libgnome-2.so.0()(64bit) for package: gnome-python2
--> Processing Dependency: libbonoboui-2.so.0()(64bit) for package: gnome-python2
---> Package libbonobo.x86_64 0:2.16.0-1.1.el5_5.1 set to be updated
---> Package libdaemon.x86_64 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.x86_64 0:7.1-5.el5_6.2 set to be updated
--> Processing Dependency: libXxf86vm.so.1()(64bit) for package: xorg-x11-server-utils
--> Processing Dependency: libXxf86misc.so.1()(64bit) for package: xorg-x11-server-utils
--> Processing Dependency: libXfontcache.so.1()(64bit) for package: xorg-x11-server-utils
--> Processing Dependency: libXTrap.so.6()(64bit) for package: xorg-x11-server-utils
---> Package xorg-x11-xauth.x86_64 1:1.0.1-2.1 set to be updated
---> Package xz-libs.x86_64 0:4.999.9-0.3.beta.20091007git.el5 set to be updated
--> Running transaction check
---> Package gail.x86_64 0:1.9.2-3.el5 set to be updated
---> Package gnome-keyring.x86_64 0:0.6.0-1.fc6 set to be updated
---> Package gnome-python2-bonobo.x86_64 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.x86_64 0:2.16.0-1.fc6 set to be updated
---> Package gnome-vfs2.x86_64 0:2.16.2-8.el5 set to be updated
--> Processing Dependency: gnome-mount >= 0.4 for package: gnome-vfs2
--> Processing Dependency: gnome-mime-data >= 2.0.0-11 for package: gnome-vfs2
--> Processing Dependency: shared-mime-info for package: gnome-vfs2
--> Processing Dependency: libavahi-glib.so.1()(64bit) for package: gnome-vfs2
---> Package libIDL.x86_64 0:0.8.7-1.fc6 set to be updated
---> Package libXTrap.x86_64 0:1.0.0-3.1 set to be updated
---> Package libXevie.x86_64 0:1.0.1-3.1 set to be updated
---> Package libXfontcache.x86_64 0:1.0.2-3.1 set to be updated
---> Package libXxf86misc.x86_64 0:1.0.1-3.1 set to be updated
---> Package libXxf86vm.x86_64 0:1.0.1-3.1 set to be updated
---> Package libbonoboui.x86_64 0:2.16.0-1.fc6 set to be updated
---> Package libgnome.x86_64 0:2.16.0-6.el5 set to be updated
--> Processing Dependency: libxslt >= 1.0.19 for package: libgnome
--> Processing Dependency: libesd.so.0()(64bit) for package: libgnome
--> Processing Dependency: libaudiofile.so.0()(64bit) for package: libgnome
---> Package libgnomecanvas.x86_64 0:2.14.0-4.1 set to be updated
---> Package libgnomeui.x86_64 0:2.16.0-5.el5 set to be updated
--> Running transaction check
---> Package audiofile.x86_64 1:0.2.6-5 set to be updated
---> Package avahi-glib.x86_64 0:0.6.16-10.el5_6 set to be updated
---> Package esound.x86_64 1:0.2.36-4 set to be updated
---> Package gnome-mime-data.x86_64 0:2.4.2-3.1 set to be updated
---> Package gnome-mount.x86_64 0:0.5-3.el5 set to be updated
--> Processing Dependency: libnotify.so.1()(64bit) for package: gnome-mount
---> Package libxslt.x86_64 0:1.1.17-2.el5_2.2 set to be updated
---> Package pyorbit.x86_64 0:2.14.1-3.el5 set to be updated
---> Package shared-mime-info.x86_64 0:0.19-5.el5 set to be updated
--> Running transaction check
---> Package libnotify.x86_64 0:0.4.2-6.el5 set to be updated
--> Processing Dependency: desktop-notification-daemon for package: libnotify
--> Running transaction check
---> Package notification-daemon.x86_64 0:0.3.5-9.el5 set to be updated
--> Processing Dependency: libwnck-1.so.18()(64bit) for package: notification-daemon
--> Running transaction check
---> Package libwnck.x86_64 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()(64bit) for package: libwnck
--> Processing Dependency: libXRes.so.1()(64bit) for package: libwnck
--> Running transaction check
---> Package libXres.x86_64 0:1.0.1-3.1 set to be updated
---> Package startup-notification.x86_64 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-sa-east-1-rhel-server 646 k
 automake             noarch 1.9.6-2.3.el5     rhui-sa-east-1-rhel-server 476 k
 automake14           noarch 1.4p6-13.el5.1    rhui-sa-east-1-rhel-server 200 k
 automake15           noarch 1.5-16.el5.2      rhui-sa-east-1-rhel-server 230 k
 automake16           noarch 1.6.3-8.el5.1     rhui-sa-east-1-rhel-server 241 k
 automake17           noarch 1.7.9-7.el5.2     rhui-sa-east-1-rhel-server 278 k
 bison                x86_64 2.3-2.1           rhui-sa-east-1-rhel-server 549 k
 byacc                x86_64 1.9-29.2.2        rhui-sa-east-1-rhel-server  41 k
 cscope               x86_64 15.5-15.1.el5_3.1 rhui-sa-east-1-rhel-server 144 k
 ctags                x86_64 5.6-1.1           rhui-sa-east-1-rhel-server 131 k
 cvs                  x86_64 1.11.22-11.el5_8.1
                                               rhui-sa-east-1-rhel-server 738 k
 dev86                x86_64 0.16.17-2.2       rhui-sa-east-1-rhel-server 397 k
 diffstat             x86_64 1.41-1.2.3.el5    rhui-sa-east-1-rhel-server  19 k
 dogtail              noarch 0.6.1-4.el5       rhui-sa-east-1-rhel-server 172 k
 doxygen              x86_64 1:1.4.7-1.1       rhui-sa-east-1-rhel-server 2.4 M
 elfutils             x86_64 0.137-3.el5       rhui-sa-east-1-rhel-server 216 k
 flex                 x86_64 2.5.4a-41.fc6     rhui-sa-east-1-rhel-server 131 k
 gcc-c++              x86_64 4.1.2-52.el5      rhui-sa-east-1-rhel-server 3.8 M
 gcc-gfortran         x86_64 4.1.2-52.el5      rhui-sa-east-1-rhel-server 3.5 M
 gdb                  x86_64 7.0.1-42.el5      rhui-sa-east-1-rhel-server 2.4 M
 gettext              i386   0.17-1.el5        rhui-sa-east-1-rhel-server 2.4 M
 indent               x86_64 2.2.9-14.fc6      rhui-sa-east-1-rhel-server  97 k
 libtool              x86_64 1.5.22-7.el5_4    rhui-sa-east-1-rhel-server 667 k
 ltrace               x86_64 0.5-13.45svn.el5_7.12
                                               rhui-sa-east-1-rhel-server  70 k
 oprofile             x86_64 0.9.4-20.el5      rhui-sa-east-1-rhel-server 2.6 M
 patchutils           x86_64 0.2.31-2.2.2      rhui-sa-east-1-rhel-server 111 k
 pstack               x86_64 1.2-7.2.2         rhui-sa-east-1-rhel-server 4.6 k
 python-ldap          x86_64 2.2.0-2.1         rhui-sa-east-1-rhel-server 123 k
 rcs                  x86_64 5.7-30.1          rhui-sa-east-1-rhel-server 349 k
 redhat-rpm-config    noarch 8.0.45-32.el5     rhui-sa-east-1-rhel-server  54 k
 rpm-build            x86_64 4.4.2.3-27.el5    rhui-sa-east-1-rhel-server 302 k
 splint               x86_64 3.1.1-16.el5      rhui-sa-east-1-rhel-server 1.5 M
 strace               x86_64 4.5.18-11.el5_8   rhui-sa-east-1-rhel-server 177 k
 swig                 x86_64 1.3.29-2.el5      rhui-sa-east-1-rhel-server 2.9 M
 systemtap            x86_64 1.6-6.el5         rhui-sa-east-1-rhel-server 2.7 M
 texinfo              x86_64 4.8-14.el5        rhui-sa-east-1-rhel-server 763 k
 valgrind             i386   1:3.5.0-5.el5     rhui-sa-east-1-rhel-server  20 M
 valgrind             x86_64 1:3.5.0-5.el5     rhui-sa-east-1-rhel-server  21 M
Installing for dependencies:
 GConf2               x86_64 2.14.0-9.el5      rhui-sa-east-1-rhel-server 1.5 M
 ORBit2               x86_64 2.14.3-5.el5      rhui-sa-east-1-rhel-server 262 k
 at-spi               x86_64 1.7.11-3.el5      rhui-sa-east-1-rhel-server 304 k
 audiofile            x86_64 1:0.2.6-5         rhui-sa-east-1-rhel-server 106 k
 avahi                x86_64 0.6.16-10.el5_6   rhui-sa-east-1-rhel-server 258 k
 avahi-glib           x86_64 0.6.16-10.el5_6   rhui-sa-east-1-rhel-server  15 k
 elfutils-libs        x86_64 0.137-3.el5       rhui-sa-east-1-rhel-server 183 k
 esound               x86_64 1:0.2.36-4        rhui-sa-east-1-rhel-server 131 k
 gail                 x86_64 1.9.2-3.el5       rhui-sa-east-1-rhel-server 352 k
 gnome-keyring        x86_64 0.6.0-1.fc6       rhui-sa-east-1-rhel-server 166 k
 gnome-mime-data      x86_64 2.4.2-3.1         rhui-sa-east-1-rhel-server 690 k
 gnome-mount          x86_64 0.5-3.el5         rhui-sa-east-1-rhel-server  71 k
 gnome-python2        x86_64 2.16.0-1.fc6      rhui-sa-east-1-rhel-server 131 k
 gnome-python2-bonobo x86_64 2.16.0-1.fc6      rhui-sa-east-1-rhel-server  71 k
 gnome-python2-gconf  x86_64 2.16.0-1.fc6      rhui-sa-east-1-rhel-server  34 k
 gnome-python2-gnomevfs
                      x86_64 2.16.0-1.fc6      rhui-sa-east-1-rhel-server  70 k
 gnome-vfs2           x86_64 2.16.2-8.el5      rhui-sa-east-1-rhel-server 1.3 M
 imake                x86_64 1.0.2-3           rhui-sa-east-1-rhel-server 319 k
 libIDL               x86_64 0.8.7-1.fc6       rhui-sa-east-1-rhel-server  88 k
 libXTrap             x86_64 1.0.0-3.1         rhui-sa-east-1-rhel-server  23 k
 libXevie             x86_64 1.0.1-3.1         rhui-sa-east-1-rhel-server  14 k
 libXfontcache        x86_64 1.0.2-3.1         rhui-sa-east-1-rhel-server 9.8 k
 libXres              x86_64 1.0.1-3.1         rhui-sa-east-1-rhel-server  14 k
 libXxf86misc         x86_64 1.0.1-3.1         rhui-sa-east-1-rhel-server  12 k
 libXxf86vm           x86_64 1.0.1-3.1         rhui-sa-east-1-rhel-server  14 k
 libbonobo            x86_64 2.16.0-1.1.el5_5.1
                                               rhui-sa-east-1-rhel-server 524 k
 libbonoboui          x86_64 2.16.0-1.fc6      rhui-sa-east-1-rhel-server 395 k
 libdaemon            x86_64 0.10-5.el5        rhui-sa-east-1-rhel-server  24 k
 libgfortran          x86_64 4.1.2-52.el5      rhui-sa-east-1-rhel-server 244 k
 libgnome             x86_64 2.16.0-6.el5      rhui-sa-east-1-rhel-server 860 k
 libgnomecanvas       x86_64 2.14.0-4.1        rhui-sa-east-1-rhel-server 224 k
 libgnomeui           x86_64 2.16.0-5.el5      rhui-sa-east-1-rhel-server 984 k
 libgomp              i386   4.4.6-3.el5.1     rhui-sa-east-1-rhel-server  72 k
 libnotify            x86_64 0.4.2-6.el5       rhui-sa-east-1-rhel-server  38 k
 libstdc++-devel      x86_64 4.1.2-52.el5      rhui-sa-east-1-rhel-server 2.8 M
 libwnck              x86_64 2.16.0-4.fc6      rhui-sa-east-1-rhel-server 187 k
 libxslt              x86_64 1.1.17-2.el5_2.2  rhui-sa-east-1-rhel-server 487 k
 notification-daemon  x86_64 0.3.5-9.el5       rhui-sa-east-1-rhel-server  48 k
 pyorbit              x86_64 2.14.1-3.el5      rhui-sa-east-1-rhel-server  50 k
 pyspi                x86_64 0.6.1-1.el5       rhui-sa-east-1-rhel-server  98 k
 shared-mime-info     x86_64 0.19-5.el5        rhui-sa-east-1-rhel-server 149 k
 startup-notification x86_64 0.8-4.1           rhui-sa-east-1-rhel-server  32 k
 systemtap-runtime    x86_64 1.6-6.el5         rhui-sa-east-1-rhel-server 215 k
 xorg-x11-fonts-base  noarch 7.1-2.1.el5       rhui-sa-east-1-rhel-server 3.7 M
 xorg-x11-server-Xvfb x86_64 1.1.1-48.90.el5   rhui-sa-east-1-rhel-server 1.6 M
 xorg-x11-server-utils
                      x86_64 7.1-5.el5_6.2     rhui-sa-east-1-rhel-server 172 k
 xorg-x11-xauth       x86_64 1:1.0.1-2.1       rhui-sa-east-1-rhel-server  32 k
 xorg-x11-xinit       x86_64 1.0.2-15.el5      rhui-sa-east-1-rhel-server  26 k
 xz                   x86_64 4.999.9-0.3.beta.20091007git.el5
                                               rhui-sa-east-1-rhel-server 146 k
 xz-libs              x86_64 4.999.9-0.3.beta.20091007git.el5
                                               rhui-sa-east-1-rhel-server  95 k

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

Total download size: 91 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           4.2 MB/s |  91 MB     00:21     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction

  Installing     : libgnomecanvas                                          1/88 

  Installing     : gnome-keyring                                           2/88 

  Installing     : audiofile                                               3/88 

  Installing     : esound                                                  4/88 

  Installing     : libIDL                                                  5/88
Comment 13 mkovacik 2012-02-28 12:34:20 EST
  Installing     : ORBit2                                                  6/88 

  Installing     : GConf2                                                  7/88 

  Installing     : libbonobo                                               8/88 

  Installing     : pyorbit                                                 9/88 

  Installing     : gail                                                   10/88 

  Installing     : libXfontcache                                          11/88 

  Installing     : startup-notification                                   12/88 

  Installing     : libXxf86misc                                           13/88 

  Installing     : imake                                                  14/88 

  Installing     : xz-libs                                                15/88 

  Installing     : xz                                                     16/88 

  Installing     : libgfortran                                            17/88 

  Installing     : libdaemon                                              18/88 

  Installing     : avahi                                                  19/88 

  Installing     : avahi-glib                                             20/88 

  Installing     : xorg-x11-xauth                                         21/88 

  Installing     : libXevie                                               22/88 

  Installing     : at-spi                                                 23/88 

  Installing     : pyspi                                                  24/88 

  Installing     : shared-mime-info                                       25/88 

  Installing     : libxslt                                                26/88 

  Installing     : libXxf86vm                                             27/88 

  Installing     : libXTrap                                               28/88 

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

  Installing     : xorg-x11-xinit                                         30/88 

  Installing     : elfutils-libs                                          31/88 

  Installing     : elfutils                                               32/88 

  Installing     : gdb                                                    33/88 

  Installing     : libXres                                                34/88 

  Installing     : autoconf                                               35/88 

  Installing     : libwnck                                                36/88 

  Installing     : notification-daemon                                    37/88 

  Installing     : libnotify                                              38/88 

  Installing     : automake                                               39/88 

  Installing     : xorg-x11-fonts-base                                    40/88 

  Installing     : xorg-x11-server-Xvfb                                   41/88 

  Installing     : systemtap-runtime                                      42/88 

  Installing     : gnome-mime-data                                        43/88 

  Installing     : libstdc++-devel                                        44/88 

  Installing     : gcc-c++                                                45/88 

  Installing     : rpm-build                                              46/88 

  Installing     : gcc-gfortran                                           47/88 

  Installing     : splint                                                 48/88 

  Installing     : oprofile                                               49/88 

  Installing     : dev86                                                  50/88 

  Installing     : ctags                                                  51/88 

  Installing     : doxygen                                                52/88 

  Installing     : patchutils                                             53/88 

  Installing     : python-ldap                                            54/88 

  Installing     : valgrind                                               55/88 

  Installing     : cvs                                                    56/88 

  Installing     : texinfo                                                57/88 

  Installing     : flex                                                   58/88 

  Installing     : bison                                                  59/88 

  Installing     : rcs                                                    60/88 

  Installing     : byacc                                                  61/88 

  Installing     : strace                                                 62/88 

  Installing     : cscope                                                 63/88 

  Installing     : ltrace                                                 64/88 

  Installing     : indent                                                 65/88 

  Installing     : diffstat                                               66/88 

  Installing     : swig                                                   67/88 

  Installing     : systemtap                                              68/88 

  Installing     : libtool                                                69/88 

  Installing     : automake17                                             70/88 

  Installing     : pstack                                                 71/88 

  Installing     : automake15                                             72/88 

  Installing     : redhat-rpm-config                                      73/88 

  Installing     : automake14                                             74/88 

  Installing     : automake16                                             75/88 

  Installing     : libgomp                                                76/88 

  Installing     : gettext                                                77/88 

  Installing     : valgrind                                               78/88 

  Installing     : gnome-vfs2                                             79/88 

  Installing     : libgnome                                               80/88 

  Installing     : libbonoboui                                            81/88 

  Installing     : libgnomeui                                             82/88 

  Installing     : gnome-mount                                            83/88 

  Installing     : gnome-python2-bonobo                                   84/88 

  Installing     : gnome-python2                                          85/88 

  Installing     : gnome-python2-gconf                                    86/88 

  Installing     : dogtail                                                87/88 

  Installing     : gnome-python2-gnomevfs                                 88/88 

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.x86_64 0:2.3-2.1              byacc.x86_64 0:1.9-29.2.2                
  cscope.x86_64 0:15.5-15.1.el5_3.1   ctags.x86_64 0:5.6-1.1                   
  cvs.x86_64 0:1.11.22-11.el5_8.1     dev86.x86_64 0:0.16.17-2.2               
  diffstat.x86_64 0:1.41-1.2.3.el5    dogtail.noarch 0:0.6.1-4.el5             
  doxygen.x86_64 1:1.4.7-1.1          elfutils.x86_64 0:0.137-3.el5            
  flex.x86_64 0:2.5.4a-41.fc6         gcc-c++.x86_64 0:4.1.2-52.el5            
  gcc-gfortran.x86_64 0:4.1.2-52.el5  gdb.x86_64 0:7.0.1-42.el5                
  gettext.i386 0:0.17-1.el5           indent.x86_64 0:2.2.9-14.fc6             
  libtool.x86_64 0:1.5.22-7.el5_4     ltrace.x86_64 0:0.5-13.45svn.el5_7.12    
  oprofile.x86_64 0:0.9.4-20.el5      patchutils.x86_64 0:0.2.31-2.2.2         
  pstack.x86_64 0:1.2-7.2.2           python-ldap.x86_64 0:2.2.0-2.1           
  rcs.x86_64 0:5.7-30.1               redhat-rpm-config.noarch 0:8.0.45-32.el5 
  rpm-build.x86_64 0:4.4.2.3-27.el5   splint.x86_64 0:3.1.1-16.el5             
  strace.x86_64 0:4.5.18-11.el5_8     swig.x86_64 0:1.3.29-2.el5               
  systemtap.x86_64 0:1.6-6.el5        texinfo.x86_64 0:4.8-14.el5              
  valgrind.i386 1:3.5.0-5.el5         valgrind.x86_64 1:3.5.0-5.el5            

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

Complete! 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
# checking possible sys update
Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
Skipping security plugin, no data
# no sys update found
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
RESULT: Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
Skipping security plugin, no data
Setting up Update Process
Resolving Dependencies
Skipping security plugin, no data
--> Running transaction check
---> Package gnutls.x86_64 0:1.4.1-7.el5_8.1 set to be updated
---> Package httpd.x86_64 0:2.2.3-63.el5_8.1 set to be updated
---> Package hwdata.noarch 0:0.213.26-1.el5 set to be updated
---> Package kernel-headers.x86_64 0:2.6.18-308.el5 set to be updated
---> Package kernel-xen.x86_64 0:2.6.18-308.el5 set to be installed
---> Package kernel-xen-devel.x86_64 0:2.6.18-308.el5 set to be installed
---> Package libpng.x86_64 2:1.2.10-15.el5_7 set to be updated
---> Package libsmbclient.x86_64 0:3.0.33-3.38.el5_8 set to be updated
---> Package libxml2.x86_64 0:2.6.26-2.1.15.el5_8.2 set to be updated
---> Package libxml2-python.x86_64 0:2.6.26-2.1.15.el5_8.2 set to be updated
---> Package mod_ssl.x86_64 1:2.2.3-63.el5_8.1 set to be updated
---> Package mysql.x86_64 0:5.0.95-1.el5_7.1 set to be updated
---> Package nspr.i386 0:4.8.9-1.el5_8 set to be updated
---> Package nspr.x86_64 0:4.8.9-1.el5_8 set to be updated
---> Package nss.i386 0:3.13.1-3.el5_8 set to be updated
---> Package nss.x86_64 0:3.13.1-3.el5_8 set to be updated
---> Package nss-tools.x86_64 0:3.13.1-3.el5_8 set to be updated
---> Package samba-client.x86_64 0:3.0.33-3.38.el5_8 set to be updated
---> Package samba-common.x86_64 0:3.0.33-3.38.el5_8 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package          Arch   Version               Repository                  Size
================================================================================
Installing:
 kernel-xen       x86_64 2.6.18-308.el5        rhui-sa-east-1-rhel-server  22 M
 kernel-xen-devel x86_64 2.6.18-308.el5        rhui-sa-east-1-rhel-server 5.7 M
Updating:
 gnutls           x86_64 1.4.1-7.el5_8.1       rhui-sa-east-1-rhel-server 365 k
 httpd            x86_64 2.2.3-63.el5_8.1      rhui-sa-east-1-rhel-server 1.3 M
 hwdata           noarch 0.213.26-1.el5        rhui-sa-east-1-rhel-server 423 k
 kernel-headers   x86_64 2.6.18-308.el5        rhui-sa-east-1-rhel-server 1.4 M
 libpng           x86_64 2:1.2.10-15.el5_7     rhui-sa-east-1-rhel-server 235 k
 libsmbclient     x86_64 3.0.33-3.38.el5_8     rhui-sa-east-1-rhel-server 917 k
 libxml2          x86_64 2.6.26-2.1.15.el5_8.2 rhui-sa-east-1-rhel-server 809 k
 libxml2-python   x86_64 2.6.26-2.1.15.el5_8.2 rhui-sa-east-1-rhel-server 714 k
 mod_ssl          x86_64 1:2.2.3-63.el5_8.1    rhui-sa-east-1-rhel-server  95 k
 mysql            x86_64 5.0.95-1.el5_7.1      rhui-sa-east-1-rhel-server 4.9 M
 nspr             i386   4.8.9-1.el5_8         rhui-sa-east-1-rhel-server 121 k
 nspr             x86_64 4.8.9-1.el5_8         rhui-sa-east-1-rhel-server 120 k
 nss              i386   3.13.1-3.el5_8        rhui-sa-east-1-rhel-server 1.1 M
 nss              x86_64 3.13.1-3.el5_8        rhui-sa-east-1-rhel-server 1.1 M
 nss-tools        x86_64 3.13.1-3.el5_8        rhui-sa-east-1-rhel-server 1.1 M
 samba-client     x86_64 3.0.33-3.38.el5_8     rhui-sa-east-1-rhel-server 5.7 M
 samba-common     x86_64 3.0.33-3.38.el5_8     rhui-sa-east-1-rhel-server 6.8 M

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

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

  Updating       : nspr                                                    1/36 

  Updating       : nss                                                     2/36 

  Updating       : libxml2                                                 3/36 

  Updating       : httpd                                                   4/36 

  Updating       : libpng                                                  5/36 

  Updating       : gnutls                                                  6/36 

  Updating       : mysql                                                   7/36 

  Updating       : libsmbclient                                            8/36 

  Updating       : samba-common                                            9/36 

  Updating       : samba-client                                           10/36 

  Updating       : mod_ssl                                                11/36 

  Updating       : libxml2-python                                         12/36 

  Updating       : nss-tools                                              13/36 

  Installing     : kernel-xen                                             14/36 

  Updating       : hwdata                                                 15/36 

  Updating       : kernel-headers                                         16/36 

  Installing     : kernel-xen-devel                                       17/36 

  Updating       : nspr                                                   18/36 

  Updating       : nss                                                    19/36 

  Cleanup        : samba-common                                           20/36 

  Cleanup        : httpd                                                  21/36 

  Cleanup        : kernel-headers                                         22/36 

  Cleanup        : nss                                                    23/36 

  Cleanup        : nss                                                    24/36 

  Cleanup        : nspr                                                   25/36 

  Cleanup        : nspr                                                   26/36 

  Cleanup        : samba-client                                           27/36 

  Cleanup        : libsmbclient                                           28/36 

  Cleanup        : mod_ssl                                                29/36 

  Cleanup        : mysql                                                  30/36 

  Cleanup        : libxml2                                                31/36 

  Cleanup        : libxml2-python                                         32/36 

  Cleanup        : nss-tools                                              33/36 

  Cleanup        : gnutls                                                 34/36 

  Cleanup        : libpng                                                 35/36 

  Cleanup        : hwdata                                                 36/36 

Installed:
  kernel-xen.x86_64 0:2.6.18-308.el5  kernel-xen-devel.x86_64 0:2.6.18-308.el5 

Updated:
  gnutls.x86_64 0:1.4.1-7.el5_8.1                                               
  httpd.x86_64 0:2.2.3-63.el5_8.1                                               
  hwdata.noarch 0:0.213.26-1.el5                                                
  kernel-headers.x86_64 0:2.6.18-308.el5                                        
  libpng.x86_64 2:1.2.10-15.el5_7                                               
  libsmbclient.x86_64 0:3.0.33-3.38.el5_8                                       
  libxml2.x86_64 0:2.6.26-2.1.15.el5_8.2                                        
  libxml2-python.x86_64 0:2.6.26-2.1.15.el5_8.2                                 
  mod_ssl.x86_64 1:2.2.3-63.el5_8.1                                             
  mysql.x86_64 0:5.0.95-1.el5_7.1                                               
  nspr.i386 0:4.8.9-1.el5_8                                                     
  nspr.x86_64 0:4.8.9-1.el5_8                                                   
  nss.i386 0:3.13.1-3.el5_8                                                     
  nss.x86_64 0:3.13.1-3.el5_8                                                   
  nss-tools.x86_64 0:3.13.1-3.el5_8                                             
  samba-client.x86_64 0:3.0.33-3.38.el5_8                                       
  samba-common.x86_64 0:3.0.33-3.38.el5_8                                       

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: ## 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: ## 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
# checking possible sys update
Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
Skipping security plugin, no data
# no sys update found
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
RESULT: Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
Skipping security plugin, no data
Setting up Update Process
No Packages marked for Update 
EXPECTED RESULT: 
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

## Summary ##
FAILURES = 0
FAILED TESTS = 
LOG FILE = /root/valid/src/validate.log
## Summary ##

######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
Comment 14 mkovacik 2012-02-28 12:36:31 EST
IMAGE ID= ami-fa6cb3e7_sa-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-308
CURRENT_UNAME_KERNAL_VERSION=2.6.18-308
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed 's/\(.*\)......./\1/'
RESULT: 2.6.18-308 
EXPECTED RESULT: 2.6.18-308
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-308
RESULT: title Red Hat Enterprise Linux Server (2.6.18-308.el5xen)
        kernel /boot/vmlinuz-2.6.18-308.el5xen ro root=LABEL=/ 
        initrd /boot/initrd-2.6.18-308.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 system up to date
######################################################################################
COMMAND:  _check_sys_update_phase1
# no update was required
RESULT: # checking sys update done
# no update was required 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ##Verify memory match hwp ... 
######################################################################################
cat /proc/meminfo | grep MemTotal: | awk '{print }'
FOUND MEMORY OF 629760 > hwp MEMORY of 600000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
hostname
######################################################################################
# NEW TEST: The selected image has the version RHEL 5.8
######################################################################################

## Summary ##
FAILURES = 0
FAILED TESTS = 
LOG FILE = /root/valid/src/validate.log
## Summary ##

######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
Comment 15 mkovacik 2012-02-28 12:38:26 EST
IMAGE ID= 
=====image_validation.sh Tue Feb 28 12:35:09 EST 2012=====
######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
######################################################################################
# NEW TEST: Fetching the identity doc Details
######################################################################################
Verifying that signature exists
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the IMAGE ID
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the Architecture
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
This Host => ec2-177-71-149-97.sa-east-1.compute.amazonaws.com with Image Id : ami-fa6cb3e7, is launched with Instance Id : i-287bf535 , Instance Type : m2.2xlarge and Arch : x86_64 in the Region : sa-east-1b
The Validate Signature is : CDveamNVugfth8ZHlJMx7CXDsB2DbCMtKYBYe0HtP23JwH76p/FEASh4PeUv71+FwdREvxZJasCI
GOuLlDOtV6xpfJrkVMBwr3J9ZBjMTRv2bcUFNclNNoCmGhmcen8k/l/RuMqLlo5pJ7nJBx/M1BVJ
GLVBM4HW4yrg1f9YLeA=
This is a Cloud Access image
/root/valid/src
ip-10-252-65-38
Red Hat Enterprise Linux Server release 5.8 (Tikanga)
######################################################################################
# NEW TEST: The selected image has the version RHEL 5.8
######################################################################################
######################################################################################
# NEW TEST: ## Verify IPv6 disabled ... 
######################################################################################
COMMAND:  grep ^NETWORKING_IPV6= /etc/sysconfig/network
RESULT: NETWORKING_IPV6=no 
EXPECTED RESULT: NETWORKING_IPV6=no
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 bash_history ... 
######################################################################################
COMMAND:  cat ~/.bash_history | wc -l 
RESULT: 0 
EXPECTED RESULT: 0
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 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 
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: ## 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: Fetching the identity doc Details
######################################################################################
Verifying that signature exists
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the IMAGE ID
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the Architecture
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
This Host => ec2-177-71-149-97.sa-east-1.compute.amazonaws.com with Image Id : ami-fa6cb3e7, is launched with Instance Id : i-287bf535 , Instance Type : m2.2xlarge and Arch : x86_64 in the Region : sa-east-1b
The Validate Signature is : CDveamNVugfth8ZHlJMx7CXDsB2DbCMtKYBYe0HtP23JwH76p/FEASh4PeUv71+FwdREvxZJasCI
GOuLlDOtV6xpfJrkVMBwr3J9ZBjMTRv2bcUFNclNNoCmGhmcen8k/l/RuMqLlo5pJ7nJBx/M1BVJ
GLVBM4HW4yrg1f9YLeA=
This is a Cloud Access image
######################################################################################
# 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 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: ##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 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 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 /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: ##Verify memory match hwp ... 
######################################################################################
cat /proc/meminfo | grep MemTotal: | awk '{print }'
FOUND MEMORY OF 35840000 > hwp MEMORY of 34200000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
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 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 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 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: ## test repo files ... 
######################################################################################
COMMAND:  ls /etc/yum.repos.d/ | wc -l 
RESULT: 4 
EXPECTED RESULT: 4
RETURN CODE: 0
PASS
COMMAND:  ls /etc/yum.repos.d/redhat* | wc -l
RESULT: 2 
EXPECTED RESULT: 2
RETURN CODE: 0
PASS
COMMAND:  ls /etc/yum.repos.d/rhel* | wc -l
RESULT: 1 
EXPECTED RESULT: 1
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
/root/valid/src
ip-10-252-65-38
Red Hat Enterprise Linux Server release 5.8 (Tikanga)
######################################################################################
# NEW TEST: The selected image has the version RHEL 5.8
######################################################################################
######################################################################################
# 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 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 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 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
this machine doesn't require swap
######################################################################################
# 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 no systemid file ... 
######################################################################################
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify kernel name ...
Comment 16 mkovacik 2012-02-28 12:38:31 EST
######################################################################################
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-307
CURRENT_UNAME_KERNAL_VERSION=2.6.18-307
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed 's/\(.*\)......./\1/'
RESULT: 2.6.18-307 
EXPECTED RESULT: 2.6.18-307
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-307
RESULT: title RHEL5.8-Server-20120126.1-Server-x86_64-starter-ec2 (2.6.18-307.el5xen)
        kernel /boot/vmlinuz-2.6.18-307.el5xen ro root=LABEL=/ 
        initrd /boot/initrd-2.6.18-307.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 system up to date
######################################################################################
COMMAND:  _check_sys_update_phase1
# no update was required
RESULT: # checking sys update done
# no update was required 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify RPMs ... 
######################################################################################
....L...  c /etc/pam.d/system-auth
.M......  c /etc/sysconfig/iptables-config
.M......    /var/cache/yum
    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: 3 
EXPECTED RESULT: 3
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify Version 2 ... 
######################################################################################
COMMAND:  /bin/rpm -q --queryformat '%{RELEASE}\n' redhat-release | cut -d. -f1,2
RESULT: 5.8 
EXPECTED RESULT: 5.8
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: ## List the configured repositories...
######################################################################################
COMMAND:  /usr/bin/yum repolist
RESULT: Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
repo id                               repo name                           status
rhui-sa-east-1-client-config-server-5 Red Hat Update Infrastructure 2.0 C      0
rhui-sa-east-1-rhel-server            Red Hat Enterprise Linux Server 5 ( 13,371
repolist: 13,371 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Search zsh...
######################################################################################
COMMAND:  /usr/bin/yum search zsh
RESULT: Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
================================= Matched: zsh =================================
zsh.x86_64 : A powerful interactive shell
zsh-html.x86_64 : 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, rhui-lb, security
Setting up Group Process
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
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, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
Setting up Group Process
Checking for new repos for mirrors
Package gcc-4.1.2-52.el5.x86_64 already installed and latest version
Package 1:make-3.81-3.el5.x86_64 already installed and latest version
Package 1:pkgconfig-0.21-2.el5.x86_64 already installed and latest version
Package gettext-0.17-1.el5.x86_64 already installed and latest version
Package binutils-2.17.50.0.6-20.el5.x86_64 already installed and latest version
Package subversion-1.6.11-7.el5_6.4.x86_64 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.x86_64 0:2.3-2.1 set to be updated
---> Package byacc.x86_64 0:1.9-29.2.2 set to be updated
---> Package cscope.x86_64 0:15.5-15.1.el5_3.1 set to be updated
---> Package ctags.x86_64 0:5.6-1.1 set to be updated
---> Package cvs.x86_64 0:1.11.22-11.el5_8.1 set to be updated
---> Package dev86.x86_64 0:0.16.17-2.2 set to be updated
---> Package diffstat.x86_64 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: xorg-x11-xinit for package: dogtail
--> Processing Dependency: xorg-x11-server-Xvfb for package: dogtail
--> Processing Dependency: gnome-python2-gconf for package: dogtail
---> Package doxygen.x86_64 1:1.4.7-1.1 set to be updated
---> Package elfutils.x86_64 0:0.137-3.el5 set to be updated
--> Processing Dependency: elfutils-libs-x86_64 = 0.137-3.el5 for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.130)(64bit) for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.127)(64bit) for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.126)(64bit) for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.122)(64bit) for package: elfutils
--> Processing Dependency: libasm.so.1(ELFUTILS_1.0)(64bit) for package: elfutils
--> Processing Dependency: libdw.so.1()(64bit) for package: elfutils
--> Processing Dependency: libasm.so.1()(64bit) for package: elfutils
---> Package flex.x86_64 0:2.5.4a-41.fc6 set to be updated
---> Package gcc-c++.x86_64 0:4.1.2-52.el5 set to be updated
--> Processing Dependency: libstdc++-devel = 4.1.2-52.el5 for package: gcc-c++
---> Package gcc-gfortran.x86_64 0:4.1.2-52.el5 set to be updated
--> Processing Dependency: libgfortran = 4.1.2-52.el5 for package: gcc-gfortran
--> Processing Dependency: libgfortran.so.1()(64bit) for package: gcc-gfortran
---> Package gdb.x86_64 0:7.0.1-42.el5 set to be updated
---> Package gettext.i386 0:0.17-1.el5 set to be updated
--> Processing Dependency: libgomp.so.1(GOMP_1.0) for package: gettext
--> Processing Dependency: libgomp.so.1 for package: gettext
---> Package indent.x86_64 0:2.2.9-14.fc6 set to be updated
---> Package libtool.x86_64 0:1.5.22-7.el5_4 set to be updated
---> Package ltrace.x86_64 0:0.5-13.45svn.el5_7.12 set to be updated
---> Package oprofile.x86_64 0:0.9.4-20.el5 set to be updated
---> Package patchutils.x86_64 0:0.2.31-2.2.2 set to be updated
---> Package pstack.x86_64 0:1.2-7.2.2 set to be updated
---> Package python-ldap.x86_64 0:2.2.0-2.1 set to be updated
---> Package rcs.x86_64 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.x86_64 0:4.4.2.3-27.el5 set to be updated
--> Processing Dependency: xz for package: rpm-build
---> Package splint.x86_64 0:3.1.1-16.el5 set to be updated
---> Package strace.x86_64 0:4.5.18-11.el5_8 set to be updated
---> Package swig.x86_64 0:1.3.29-2.el5 set to be updated
---> Package systemtap.x86_64 0:1.6-6.el5 set to be updated
--> Processing Dependency: systemtap-runtime = 1.6-6.el5 for package: systemtap
--> Processing Dependency: libavahi-common.so.3()(64bit) for package: systemtap
--> Processing Dependency: libavahi-client.so.3()(64bit) for package: systemtap
---> Package texinfo.x86_64 0:4.8-14.el5 set to be updated
---> Package valgrind.i386 1:3.5.0-5.el5 set to be updated
---> Package valgrind.x86_64 1:3.5.0-5.el5 set to be updated
--> Running transaction check
---> Package avahi.x86_64 0:0.6.16-10.el5_6 set to be updated
--> Processing Dependency: libdaemon for package: avahi
--> Processing Dependency: libdaemon.so.0()(64bit) for package: avahi
---> Package elfutils-libs.x86_64 0:0.137-3.el5 set to be updated
---> Package gnome-python2-gconf.x86_64 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()(64bit) for package: gnome-python2-gconf
--> Processing Dependency: libORBit-2.so.0()(64bit) for package: gnome-python2-gconf
---> Package imake.x86_64 0:1.0.2-3 set to be updated
---> Package libgfortran.x86_64 0:4.1.2-52.el5 set to be updated
---> Package libgomp.i386 0:4.4.6-3.el5.1 set to be updated
---> Package libstdc++-devel.x86_64 0:4.1.2-52.el5 set to be updated
---> Package pyspi.x86_64 0:0.6.1-1.el5 set to be updated
--> Processing Dependency: libspi.so.0()(64bit) for package: pyspi
--> Processing Dependency: libcspi.so.0()(64bit) for package: pyspi
--> Processing Dependency: libbonobo-activation.so.4()(64bit) for package: pyspi
--> Processing Dependency: libbonobo-2.so.0()(64bit) for package: pyspi
---> Package systemtap-runtime.x86_64 0:1.6-6.el5 set to be updated
---> Package xorg-x11-server-Xvfb.x86_64 0:1.1.1-48.90.el5 set to be updated
--> Processing Dependency: xorg-x11-fonts-base for package: xorg-x11-server-Xvfb
---> Package xorg-x11-xinit.x86_64 0:1.0.2-15.el5 set to be updated
--> Processing Dependency: xorg-x11-server-utils for package: xorg-x11-xinit
--> Processing Dependency: xauth for package: xorg-x11-xinit
---> Package xz.x86_64 0:4.999.9-0.3.beta.20091007git.el5 set to be updated
--> Processing Dependency: xz-libs = 4.999.9-0.3.beta.20091007git.el5 for package: xz
--> Processing Dependency: liblzma.so.0()(64bit) for package: xz
--> Running transaction check
---> Package GConf2.x86_64 0:2.14.0-9.el5 set to be updated
---> Package ORBit2.x86_64 0:2.14.3-5.el5 set to be updated
--> Processing Dependency: libIDL-2.so.0()(64bit) for package: ORBit2
---> Package at-spi.x86_64 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()(64bit) for package: at-spi
--> Processing Dependency: libgailutil.so.18()(64bit) for package: at-spi
--> Processing Dependency: libXevie.so.1()(64bit) for package: at-spi
---> Package gnome-python2.x86_64 0:2.16.0-1.fc6 set to be updated
--> Processing Dependency: gnome-python2-gnomevfs for package: gnome-python2
--> Processing Dependency: gnome-python2-bonobo for package: gnome-python2
--> Processing Dependency: libgnomevfs-2.so.0()(64bit) for package: gnome-python2
--> Processing Dependency: libgnomeui-2.so.0()(64bit) for package: gnome-python2
--> Processing Dependency: libgnome-keyring.so.0()(64bit) for package: gnome-python2
--> Processing Dependency: libgnome-2.so.0()(64bit) for package: gnome-python2
--> Processing Dependency: libbonoboui-2.so.0()(64bit) for package: gnome-python2
---> Package libbonobo.x86_64 0:2.16.0-1.1.el5_5.1 set to be updated
---> Package libdaemon.x86_64 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.x86_64 0:7.1-5.el5_6.2 set to be updated
--> Processing Dependency: libXxf86vm.so.1()(64bit) for package: xorg-x11-server-utils
--> Processing Dependency: libXxf86misc.so.1()(64bit) for package: xorg-x11-server-utils
--> Processing Dependency: libXfontcache.so.1()(64bit) for package: xorg-x11-server-utils
--> Processing Dependency: libXTrap.so.6()(64bit) for package: xorg-x11-server-utils
---> Package xorg-x11-xauth.x86_64 1:1.0.1-2.1 set to be updated
---> Package xz-libs.x86_64 0:4.999.9-0.3.beta.20091007git.el5 set to be updated
--> Running transaction check
---> Package gail.x86_64 0:1.9.2-3.el5 set to be updated
---> Package gnome-keyring.x86_64 0:0.6.0-1.fc6 set to be updated
---> Package gnome-python2-bonobo.x86_64 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.x86_64 0:2.16.0-1.fc6 set to be updated
---> Package gnome-vfs2.x86_64 0:2.16.2-8.el5 set to be updated
--> Processing Dependency: gnome-mount >= 0.4 for package: gnome-vfs2
--> Processing Dependency: gnome-mime-data >= 2.0.0-11 for package: gnome-vfs2
--> Processing Dependency: shared-mime-info for package: gnome-vfs2
--> Processing Dependency: libavahi-glib.so.1()(64bit) for package: gnome-vfs2
---> Package libIDL.x86_64 0:0.8.7-1.fc6 set to be updated
---> Package libXTrap.x86_64 0:1.0.0-3.1 set to be updated
---> Package libXevie.x86_64 0:1.0.1-3.1 set to be updated
---> Package libXfontcache.x86_64 0:1.0.2-3.1 set to be updated
---> Package libXxf86misc.x86_64 0:1.0.1-3.1 set to be updated
---> Package libXxf86vm.x86_64 0:1.0.1-3.1 set to be updated
---> Package libbonoboui.x86_64 0:2.16.0-1.fc6 set to be updated
---> Package libgnome.x86_64 0:2.16.0-6.el5 set to be updated
--> Processing Dependency: libxslt >= 1.0.19 for package: libgnome
--> Processing Dependency: libesd.so.0()(64bit) for package: libgnome
--> Processing Dependency: libaudiofile.so.0()(64bit) for package: libgnome
---> Package libgnomecanvas.x86_64 0:2.14.0-4.1 set to be updated
---> Package libgnomeui.x86_64 0:2.16.0-5.el5 set to be updated
--> Running transaction check
---> Package audiofile.x86_64 1:0.2.6-5 set to be updated
---> Package avahi-glib.x86_64 0:0.6.16-10.el5_6 set to be updated
---> Package esound.x86_64 1:0.2.36-4 set to be updated
---> Package gnome-mime-data.x86_64 0:2.4.2-3.1 set to be updated
---> Package gnome-mount.x86_64 0:0.5-3.el5 set to be updated
--> Processing Dependency: libnotify.so.1()(64bit) for package: gnome-mount
---> Package libxslt.x86_64 0:1.1.17-2.el5_2.2 set to be updated
---> Package pyorbit.x86_64 0:2.14.1-3.el5 set to be updated
---> Package shared-mime-info.x86_64 0:0.19-5.el5 set to be updated
--> Running transaction check
---> Package libnotify.x86_64 0:0.4.2-6.el5 set to be updated
--> Processing Dependency: desktop-notification-daemon for package: libnotify
--> Running transaction check
---> Package notification-daemon.x86_64 0:0.3.5-9.el5 set to be updated
--> Processing Dependency: libwnck-1.so.18()(64bit) for package: notification-daemon
--> Running transaction check
---> Package libwnck.x86_64 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()(64bit) for package: libwnck
--> Processing Dependency: libXRes.so.1()(64bit) for package: libwnck
--> Running transaction check
---> Package libXres.x86_64 0:1.0.1-3.1 set to be updated
---> Package startup-notification.x86_64 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-sa-east-1-rhel-server 646 k
 automake             noarch 1.9.6-2.3.el5     rhui-sa-east-1-rhel-server 476 k
 automake14           noarch 1.4p6-13.el5.1    rhui-sa-east-1-rhel-server 200 k
 automake15           noarch 1.5-16.el5.2      rhui-sa-east-1-rhel-server 230 k
 automake16           noarch 1.6.3-8.el5.1     rhui-sa-east-1-rhel-server 241 k
 automake17           noarch 1.7.9-7.el5.2     rhui-sa-east-1-rhel-server 278 k
 bison                x86_64 2.3-2.1           rhui-sa-east-1-rhel-server 549 k
 byacc                x86_64 1.9-29.2.2        rhui-sa-east-1-rhel-server  41 k
 cscope               x86_64 15.5-15.1.el5_3.1 rhui-sa-east-1-rhel-server 144 k
 ctags                x86_64 5.6-1.1           rhui-sa-east-1-rhel-server 131 k
 cvs                  x86_64 1.11.22-11.el5_8.1
                                               rhui-sa-east-1-rhel-server 738 k
 dev86                x86_64 0.16.17-2.2       rhui-sa-east-1-rhel-server 397 k
 diffstat             x86_64 1.41-1.2.3.el5    rhui-sa-east-1-rhel-server  19 k
 dogtail              noarch 0.6.1-4.el5       rhui-sa-east-1-rhel-server 172 k
 doxygen              x86_64 1:1.4.7-1.1       rhui-sa-east-1-rhel-server 2.4 M
 elfutils             x86_64 0.137-3.el5       rhui-sa-east-1-rhel-server 216 k
 flex                 x86_64 2.5.4a-41.fc6     rhui-sa-east-1-rhel-server 131 k
 gcc-c++              x86_64 4.1.2-52.el5      rhui-sa-east-1-rhel-server 3.8 M
 gcc-gfortran         x86_64 4.1.2-52.el5      rhui-sa-east-1-rhel-server 3.5 M
 gdb                  x86_64 7.0.1-42.el5      rhui-sa-east-1-rhel-server 2.4 M
 gettext              i386   0.17-1.el5        rhui-sa-east-1-rhel-server 2.4 M
 indent               x86_64 2.2.9-14.fc6      rhui-sa-east-1-rhel-server  97 k
 libtool              x86_64 1.5.22-7.el5_4    rhui-sa-east-1-rhel-server 667 k
 ltrace               x86_64 0.5-13.45svn.el5_7.12
                                               rhui-sa-east-1-rhel-server  70 k
 oprofile             x86_64 0.9.4-20.el5      rhui-sa-east-1-rhel-server 2.6 M
 patchutils           x86_64 0.2.31-2.2.2      rhui-sa-east-1-rhel-server 111 k
 pstack               x86_64 1.2-7.2.2         rhui-sa-east-1-rhel-server 4.6 k
 python-ldap          x86_64 2.2.0-2.1         rhui-sa-east-1-rhel-server 123 k
 rcs                  x86_64 5.7-30.1          rhui-sa-east-1-rhel-server 349 k
 redhat-rpm-config    noarch 8.0.45-32.el5     rhui-sa-east-1-rhel-server  54 k
 rpm-build            x86_64 4.4.2.3-27.el5    rhui-sa-east-1-rhel-server 302 k
 splint               x86_64 3.1.1-16.el5      rhui-sa-east-1-rhel-server 1.5 M
 strace               x86_64 4.5.18-11.el5_8   rhui-sa-east-1-rhel-server 177 k
 swig                 x86_64 1.3.29-2.el5      rhui-sa-east-1-rhel-server 2.9 M
 systemtap            x86_64 1.6-6.el5         rhui-sa-east-1-rhel-server 2.7 M
 texinfo              x86_64 4.8-14.el5        rhui-sa-east-1-rhel-server 763 k
 valgrind             i386   1:3.5.0-5.el5     rhui-sa-east-1-rhel-server  20 M
 valgrind             x86_64 1:3.5.0-5.el5     rhui-sa-east-1-rhel-server  21 M
Installing for dependencies:
 GConf2               x86_64 2.14.0-9.el5      rhui-sa-east-1-rhel-server 1.5 M
 ORBit2               x86_64 2.14.3-5.el5      rhui-sa-east-1-rhel-server 262 k
 at-spi               x86_64 1.7.11-3.el5      rhui-sa-east-1-rhel-server 304 k
 audiofile            x86_64 1:0.2.6-5         rhui-sa-east-1-rhel-server 106 k
 avahi                x86_64 0.6.16-10.el5_6   rhui-sa-east-1-rhel-server 258 k
 avahi-glib           x86_64 0.6.16-10.el5_6   rhui-sa-east-1-rhel-server  15 k
 elfutils-libs        x86_64 0.137-3.el5       rhui-sa-east-1-rhel-server 183 k
 esound               x86_64 1:0.2.36-4        rhui-sa-east-1-rhel-server 131 k
 gail                 x86_64 1.9.2-3.el5       rhui-sa-east-1-rhel-server 352 k
 gnome-keyring        x86_64 0.6.0-1.fc6       rhui-sa-east-1-rhel-server 166 k
 gnome-mime-data      x86_64 2.4.2-3.1         rhui-sa-east-1-rhel-server 690 k
 gnome-mount          x86_64 0.5-3.el5         rhui-sa-east-1-rhel-server  71 k
 gnome-python2        x86_64 2.16.0-1.fc6      rhui-sa-east-1-rhel-server 131 k
 gnome-python2-bonobo x86_64 2.16.0-1.fc6      rhui-sa-east-1-rhel-server  71 k
 gnome-python2-gconf  x86_64 2.16.0-1.fc6      rhui-sa-east-1-rhel-server  34 k
 gnome-python2-gnomevfs
                      x86_64 2.16.0-1.fc6      rhui-sa-east-1-rhel-server  70 k
 gnome-vfs2           x86_64 2.16.2-8.el5      rhui-sa-east-1-rhel-server 1.3 M
 imake                x86_64 1.0.2-3           rhui-sa-east-1-rhel-server 319 k
 libIDL               x86_64 0.8.7-1.fc6       rhui-sa-east-1-rhel-server  88 k
 libXTrap             x86_64 1.0.0-3.1         rhui-sa-east-1-rhel-server  23 k
 libXevie             x86_64 1.0.1-3.1         rhui-sa-east-1-rhel-server  14 k
 libXfontcache        x86_64 1.0.2-3.1         rhui-sa-east-1-rhel-server 9.8 k
 libXres              x86_64 1.0.1-3.1         rhui-sa-east-1-rhel-server  14 k
 libXxf86misc         x86_64 1.0.1-3.1         rhui-sa-east-1-rhel-server  12 k
 libXxf86vm           x86_64 1.0.1-3.1         rhui-sa-east-1-rhel-server  14 k
 libbonobo            x86_64 2.16.0-1.1.el5_5.1
                                               rhui-sa-east-1-rhel-server 524 k
 libbonoboui          x86_64 2.16.0-1.fc6      rhui-sa-east-1-rhel-server 395 k
 libdaemon            x86_64 0.10-5.el5        rhui-sa-east-1-rhel-server  24 k
 libgfortran          x86_64 4.1.2-52.el5      rhui-sa-east-1-rhel-server 244 k
 libgnome             x86_64 2.16.0-6.el5      rhui-sa-east-1-rhel-server 860 k
 libgnomecanvas       x86_64 2.14.0-4.1        rhui-sa-east-1-rhel-server 224 k
 libgnomeui           x86_64 2.16.0-5.el5      rhui-sa-east-1-rhel-server 984 k
 libgomp              i386   4.4.6-3.el5.1     rhui-sa-east-1-rhel-server  72 k
 libnotify            x86_64 0.4.2-6.el5       rhui-sa-east-1-rhel-server  38 k
 libstdc++-devel      x86_64 4.1.2-52.el5      rhui-sa-east-1-rhel-server 2.8 M
 libwnck              x86_64 2.16.0-4.fc6      rhui-sa-east-1-rhel-server 187 k
 libxslt              x86_64 1.1.17-2.el5_2.2  rhui-sa-east-1-rhel-server 487 k
 notification-daemon  x86_64 0.3.5-9.el5       rhui-sa-east-1-rhel-server  48 k
 pyorbit              x86_64 2.14.1-3.el5      rhui-sa-east-1-rhel-server  50 k
 pyspi                x86_64 0.6.1-1.el5       rhui-sa-east-1-rhel-server  98 k
 shared-mime-info     x86_64 0.19-5.el5        rhui-sa-east-1-rhel-server 149 k
 startup-notification x86_64 0.8-4.1           rhui-sa-east-1-rhel-server  32 k
 systemtap-runtime    x86_64 1.6-6.el5         rhui-sa-east-1-rhel-server 215 k
 xorg-x11-fonts-base  noarch 7.1-2.1.el5       rhui-sa-east-1-rhel-server 3.7 M
 xorg-x11-server-Xvfb x86_64 1.1.1-48.90.el5   rhui-sa-east-1-rhel-server 1.6 M
 xorg-x11-server-utils
                      x86_64 7.1-5.el5_6.2     rhui-sa-east-1-rhel-server 172 k
 xorg-x11-xauth       x86_64 1:1.0.1-2.1       rhui-sa-east-1-rhel-server  32 k
 xorg-x11-xinit       x86_64 1.0.2-15.el5      rhui-sa-east-1-rhel-server  26 k
 xz                   x86_64 4.999.9-0.3.beta.20091007git.el5
                                               rhui-sa-east-1-rhel-server 146 k
 xz-libs              x86_64 4.999.9-0.3.beta.20091007git.el5
                                               rhui-sa-east-1-rhel-server  95 k

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

Total download size: 91 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           4.3 MB/s |  91 MB     00:21     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction

  Installing     : libgnomecanvas                                          1/88 

  Installing     : gnome-keyring                                           2/88 

  Installing     : audiofile                                               3/88 

  Installing     : esound                                                  4/88 

  Installing     : libIDL                                                  5/88
Comment 17 mkovacik 2012-02-28 12:38:36 EST
  Installing     : ORBit2                                                  6/88 

  Installing     : GConf2                                                  7/88 

  Installing     : libbonobo                                               8/88 

  Installing     : pyorbit                                                 9/88 

  Installing     : gail                                                   10/88 

  Installing     : libXfontcache                                          11/88 

  Installing     : startup-notification                                   12/88 

  Installing     : libXxf86misc                                           13/88 

  Installing     : imake                                                  14/88 

  Installing     : xz-libs                                                15/88 

  Installing     : xz                                                     16/88 

  Installing     : libgfortran                                            17/88 

  Installing     : libdaemon                                              18/88 

  Installing     : avahi                                                  19/88 

  Installing     : avahi-glib                                             20/88 

  Installing     : xorg-x11-xauth                                         21/88 

  Installing     : libXevie                                               22/88 

  Installing     : at-spi                                                 23/88 

  Installing     : pyspi                                                  24/88 

  Installing     : shared-mime-info                                       25/88 

  Installing     : libxslt                                                26/88 

  Installing     : libXxf86vm                                             27/88 

  Installing     : libXTrap                                               28/88 

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

  Installing     : xorg-x11-xinit                                         30/88 

  Installing     : elfutils-libs                                          31/88 

  Installing     : elfutils                                               32/88 

  Installing     : gdb                                                    33/88 

  Installing     : libXres                                                34/88 

  Installing     : autoconf                                               35/88 

  Installing     : libwnck                                                36/88 

  Installing     : notification-daemon                                    37/88 

  Installing     : libnotify                                              38/88 

  Installing     : automake                                               39/88 

  Installing     : xorg-x11-fonts-base                                    40/88 

  Installing     : xorg-x11-server-Xvfb                                   41/88 

  Installing     : systemtap-runtime                                      42/88 

  Installing     : gnome-mime-data                                        43/88 

  Installing     : libstdc++-devel                                        44/88 

  Installing     : gcc-c++                                                45/88 

  Installing     : rpm-build                                              46/88 

  Installing     : gcc-gfortran                                           47/88 

  Installing     : splint                                                 48/88 

  Installing     : oprofile                                               49/88 

  Installing     : dev86                                                  50/88 

  Installing     : ctags                                                  51/88 

  Installing     : doxygen                                                52/88 

  Installing     : patchutils                                             53/88 

  Installing     : python-ldap                                            54/88 

  Installing     : valgrind                                               55/88 

  Installing     : cvs                                                    56/88 

  Installing     : texinfo                                                57/88 

  Installing     : flex                                                   58/88 

  Installing     : bison                                                  59/88 

  Installing     : rcs                                                    60/88 

  Installing     : byacc                                                  61/88 

  Installing     : strace                                                 62/88 

  Installing     : cscope                                                 63/88 

  Installing     : ltrace                                                 64/88 

  Installing     : indent                                                 65/88 

  Installing     : diffstat                                               66/88 

  Installing     : swig                                                   67/88 

  Installing     : systemtap                                              68/88 

  Installing     : libtool                                                69/88 

  Installing     : automake17                                             70/88 

  Installing     : pstack                                                 71/88 

  Installing     : automake15                                             72/88 

  Installing     : redhat-rpm-config                                      73/88 

  Installing     : automake14                                             74/88 

  Installing     : automake16                                             75/88 

  Installing     : libgomp                                                76/88 

  Installing     : gettext                                                77/88 

  Installing     : valgrind                                               78/88 

  Installing     : gnome-vfs2                                             79/88 

  Installing     : libgnome                                               80/88 

  Installing     : libbonoboui                                            81/88 

  Installing     : libgnomeui                                             82/88 

  Installing     : gnome-mount                                            83/88 

  Installing     : gnome-python2-bonobo                                   84/88 

  Installing     : gnome-python2                                          85/88 

  Installing     : gnome-python2-gconf                                    86/88 

  Installing     : dogtail                                                87/88 

  Installing     : gnome-python2-gnomevfs                                 88/88 

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.x86_64 0:2.3-2.1              byacc.x86_64 0:1.9-29.2.2                
  cscope.x86_64 0:15.5-15.1.el5_3.1   ctags.x86_64 0:5.6-1.1                   
  cvs.x86_64 0:1.11.22-11.el5_8.1     dev86.x86_64 0:0.16.17-2.2               
  diffstat.x86_64 0:1.41-1.2.3.el5    dogtail.noarch 0:0.6.1-4.el5             
  doxygen.x86_64 1:1.4.7-1.1          elfutils.x86_64 0:0.137-3.el5            
  flex.x86_64 0:2.5.4a-41.fc6         gcc-c++.x86_64 0:4.1.2-52.el5            
  gcc-gfortran.x86_64 0:4.1.2-52.el5  gdb.x86_64 0:7.0.1-42.el5                
  gettext.i386 0:0.17-1.el5           indent.x86_64 0:2.2.9-14.fc6             
  libtool.x86_64 0:1.5.22-7.el5_4     ltrace.x86_64 0:0.5-13.45svn.el5_7.12    
  oprofile.x86_64 0:0.9.4-20.el5      patchutils.x86_64 0:0.2.31-2.2.2         
  pstack.x86_64 0:1.2-7.2.2           python-ldap.x86_64 0:2.2.0-2.1           
  rcs.x86_64 0:5.7-30.1               redhat-rpm-config.noarch 0:8.0.45-32.el5 
  rpm-build.x86_64 0:4.4.2.3-27.el5   splint.x86_64 0:3.1.1-16.el5             
  strace.x86_64 0:4.5.18-11.el5_8     swig.x86_64 0:1.3.29-2.el5               
  systemtap.x86_64 0:1.6-6.el5        texinfo.x86_64 0:4.8-14.el5              
  valgrind.i386 1:3.5.0-5.el5         valgrind.x86_64 1:3.5.0-5.el5            

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

Complete! 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
# checking possible sys update
Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
Skipping security plugin, no data
# no sys update found
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
RESULT: Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
Skipping security plugin, no data
Setting up Update Process
Resolving Dependencies
Skipping security plugin, no data
--> Running transaction check
---> Package gnutls.x86_64 0:1.4.1-7.el5_8.1 set to be updated
---> Package httpd.x86_64 0:2.2.3-63.el5_8.1 set to be updated
---> Package hwdata.noarch 0:0.213.26-1.el5 set to be updated
---> Package kernel-headers.x86_64 0:2.6.18-308.el5 set to be updated
---> Package kernel-xen.x86_64 0:2.6.18-308.el5 set to be installed
---> Package kernel-xen-devel.x86_64 0:2.6.18-308.el5 set to be installed
---> Package libpng.x86_64 2:1.2.10-15.el5_7 set to be updated
---> Package libsmbclient.x86_64 0:3.0.33-3.38.el5_8 set to be updated
---> Package libxml2.x86_64 0:2.6.26-2.1.15.el5_8.2 set to be updated
---> Package libxml2-python.x86_64 0:2.6.26-2.1.15.el5_8.2 set to be updated
---> Package mod_ssl.x86_64 1:2.2.3-63.el5_8.1 set to be updated
---> Package mysql.x86_64 0:5.0.95-1.el5_7.1 set to be updated
---> Package nspr.i386 0:4.8.9-1.el5_8 set to be updated
---> Package nspr.x86_64 0:4.8.9-1.el5_8 set to be updated
---> Package nss.i386 0:3.13.1-3.el5_8 set to be updated
---> Package nss.x86_64 0:3.13.1-3.el5_8 set to be updated
---> Package nss-tools.x86_64 0:3.13.1-3.el5_8 set to be updated
---> Package samba-client.x86_64 0:3.0.33-3.38.el5_8 set to be updated
---> Package samba-common.x86_64 0:3.0.33-3.38.el5_8 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package          Arch   Version               Repository                  Size
================================================================================
Installing:
 kernel-xen       x86_64 2.6.18-308.el5        rhui-sa-east-1-rhel-server  22 M
 kernel-xen-devel x86_64 2.6.18-308.el5        rhui-sa-east-1-rhel-server 5.7 M
Updating:
 gnutls           x86_64 1.4.1-7.el5_8.1       rhui-sa-east-1-rhel-server 365 k
 httpd            x86_64 2.2.3-63.el5_8.1      rhui-sa-east-1-rhel-server 1.3 M
 hwdata           noarch 0.213.26-1.el5        rhui-sa-east-1-rhel-server 423 k
 kernel-headers   x86_64 2.6.18-308.el5        rhui-sa-east-1-rhel-server 1.4 M
 libpng           x86_64 2:1.2.10-15.el5_7     rhui-sa-east-1-rhel-server 235 k
 libsmbclient     x86_64 3.0.33-3.38.el5_8     rhui-sa-east-1-rhel-server 917 k
 libxml2          x86_64 2.6.26-2.1.15.el5_8.2 rhui-sa-east-1-rhel-server 809 k
 libxml2-python   x86_64 2.6.26-2.1.15.el5_8.2 rhui-sa-east-1-rhel-server 714 k
 mod_ssl          x86_64 1:2.2.3-63.el5_8.1    rhui-sa-east-1-rhel-server  95 k
 mysql            x86_64 5.0.95-1.el5_7.1      rhui-sa-east-1-rhel-server 4.9 M
 nspr             i386   4.8.9-1.el5_8         rhui-sa-east-1-rhel-server 121 k
 nspr             x86_64 4.8.9-1.el5_8         rhui-sa-east-1-rhel-server 120 k
 nss              i386   3.13.1-3.el5_8        rhui-sa-east-1-rhel-server 1.1 M
 nss              x86_64 3.13.1-3.el5_8        rhui-sa-east-1-rhel-server 1.1 M
 nss-tools        x86_64 3.13.1-3.el5_8        rhui-sa-east-1-rhel-server 1.1 M
 samba-client     x86_64 3.0.33-3.38.el5_8     rhui-sa-east-1-rhel-server 5.7 M
 samba-common     x86_64 3.0.33-3.38.el5_8     rhui-sa-east-1-rhel-server 6.8 M

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

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

  Updating       : nspr                                                    1/36 

  Updating       : nss                                                     2/36 

  Updating       : libxml2                                                 3/36 

  Updating       : httpd                                                   4/36 

  Updating       : libsmbclient                                            5/36 

  Updating       : samba-common                                            6/36 

  Updating       : libpng                                                  7/36 

  Updating       : gnutls                                                  8/36 

  Updating       : mysql                                                   9/36 

  Updating       : samba-client                                           10/36 

  Updating       : mod_ssl                                                11/36 

  Updating       : libxml2-python                                         12/36 

  Updating       : nss-tools                                              13/36 

  Installing     : kernel-xen                                             14/36 

  Updating       : hwdata                                                 15/36 

  Updating       : kernel-headers                                         16/36 

  Installing     : kernel-xen-devel                                       17/36 

  Updating       : nspr                                                   18/36 

  Updating       : nss                                                    19/36 

  Cleanup        : samba-common                                           20/36 

  Cleanup        : httpd                                                  21/36 

  Cleanup        : kernel-headers                                         22/36 

  Cleanup        : nss                                                    23/36 

  Cleanup        : nss                                                    24/36 

  Cleanup        : nspr                                                   25/36 

  Cleanup        : nspr                                                   26/36 

  Cleanup        : samba-client                                           27/36 

  Cleanup        : mod_ssl                                                28/36 

  Cleanup        : mysql                                                  29/36 

  Cleanup        : libxml2                                                30/36 

  Cleanup        : libxml2-python                                         31/36 

  Cleanup        : nss-tools                                              32/36 

  Cleanup        : gnutls                                                 33/36 

  Cleanup        : libpng                                                 34/36 

  Cleanup        : hwdata                                                 35/36 

  Cleanup        : libsmbclient                                           36/36 

Installed:
  kernel-xen.x86_64 0:2.6.18-308.el5  kernel-xen-devel.x86_64 0:2.6.18-308.el5 

Updated:
  gnutls.x86_64 0:1.4.1-7.el5_8.1                                               
  httpd.x86_64 0:2.2.3-63.el5_8.1                                               
  hwdata.noarch 0:0.213.26-1.el5                                                
  kernel-headers.x86_64 0:2.6.18-308.el5                                        
  libpng.x86_64 2:1.2.10-15.el5_7                                               
  libsmbclient.x86_64 0:3.0.33-3.38.el5_8                                       
  libxml2.x86_64 0:2.6.26-2.1.15.el5_8.2                                        
  libxml2-python.x86_64 0:2.6.26-2.1.15.el5_8.2                                 
  mod_ssl.x86_64 1:2.2.3-63.el5_8.1                                             
  mysql.x86_64 0:5.0.95-1.el5_7.1                                               
  nspr.i386 0:4.8.9-1.el5_8                                                     
  nspr.x86_64 0:4.8.9-1.el5_8                                                   
  nss.i386 0:3.13.1-3.el5_8                                                     
  nss.x86_64 0:3.13.1-3.el5_8                                                   
  nss-tools.x86_64 0:3.13.1-3.el5_8                                             
  samba-client.x86_64 0:3.0.33-3.38.el5_8                                       
  samba-common.x86_64 0:3.0.33-3.38.el5_8                                       

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: ## 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: ## 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
# checking possible sys update
Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
Skipping security plugin, no data
# no sys update found
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
RESULT: Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
Skipping security plugin, no data
Setting up Update Process
No Packages marked for Update 
EXPECTED RESULT: 
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

## Summary ##
FAILURES = 0
FAILED TESTS = 
LOG FILE = /root/valid/src/validate.log
## Summary ##

######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
Comment 18 mkovacik 2012-02-28 12:38:37 EST
IMAGE ID= ami-fa6cb3e7_sa-east-1_m1.large
###### 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-308
CURRENT_UNAME_KERNAL_VERSION=2.6.18-308
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed 's/\(.*\)......./\1/'
RESULT: 2.6.18-308 
EXPECTED RESULT: 2.6.18-308
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-308
RESULT: title Red Hat Enterprise Linux Server (2.6.18-308.el5xen)
        kernel /boot/vmlinuz-2.6.18-308.el5xen ro root=LABEL=/ 
        initrd /boot/initrd-2.6.18-308.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 system up to date
######################################################################################
COMMAND:  _check_sys_update_phase1
# no update was required
RESULT: # checking sys update done
# no update was required 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ##Verify memory match hwp ... 
######################################################################################
cat /proc/meminfo | grep MemTotal: | awk '{print }'
FOUND MEMORY OF 7864320 > hwp MEMORY of 7500000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
hostname
######################################################################################
# NEW TEST: The selected image has the version RHEL 5.8
######################################################################################

## Summary ##
FAILURES = 0
FAILED TESTS = 
LOG FILE = /root/valid/src/validate.log
## Summary ##

######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
Comment 19 mkovacik 2012-02-28 12:41:27 EST
IMAGE ID= ami-fa6cb3e7_sa-east-1_m2.xlarge
###### 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-308
CURRENT_UNAME_KERNAL_VERSION=2.6.18-308
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed 's/\(.*\)......./\1/'
RESULT: 2.6.18-308 
EXPECTED RESULT: 2.6.18-308
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-308
RESULT: title Red Hat Enterprise Linux Server (2.6.18-308.el5xen)
        kernel /boot/vmlinuz-2.6.18-308.el5xen ro root=LABEL=/ 
        initrd /boot/initrd-2.6.18-308.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 system up to date
######################################################################################
COMMAND:  _check_sys_update_phase1
# no update was required
RESULT: # checking sys update done
# no update was required 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ##Verify memory match hwp ... 
######################################################################################
cat /proc/meminfo | grep MemTotal: | awk '{print }'
FOUND MEMORY OF 17920000 > hwp MEMORY of 17100000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
hostname
######################################################################################
# NEW TEST: The selected image has the version RHEL 5.8
######################################################################################

## Summary ##
FAILURES = 0
FAILED TESTS = 
LOG FILE = /root/valid/src/validate.log
## Summary ##

######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
Comment 20 mkovacik 2012-02-28 12:44:00 EST
IMAGE ID= 
=====image_validation.sh Tue Feb 28 12:40:36 EST 2012=====
######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
######################################################################################
# NEW TEST: Fetching the identity doc Details
######################################################################################
Verifying that signature exists
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the IMAGE ID
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the Architecture
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
This Host => ec2-177-71-164-36.sa-east-1.compute.amazonaws.com with Image Id : ami-fa6cb3e7, is launched with Instance Id : i-507bf54d , Instance Type : m2.4xlarge and Arch : x86_64 in the Region : sa-east-1b
The Validate Signature is : BUbnfPSGTxx4AlrMLq47Tp/eTnQNBxDsl1LarV6zRsd+tZrzVtZb9o/mIe5J+L59aDWwGwVbf9bd
M/7MkrUKTei4zCUpj1iKF4zilBRyz17aMh6h8MOgvSlxKGdAdXQJDTEgjHUWl44Z8/I05HTcczjE
TH2YL0F9cOqZO/DSsig=
This is a Cloud Access image
/root/valid/src
ip-10-252-26-211
Red Hat Enterprise Linux Server release 5.8 (Tikanga)
######################################################################################
# NEW TEST: The selected image has the version RHEL 5.8
######################################################################################
######################################################################################
# NEW TEST: ## Verify IPv6 disabled ... 
######################################################################################
COMMAND:  grep ^NETWORKING_IPV6= /etc/sysconfig/network
RESULT: NETWORKING_IPV6=no 
EXPECTED RESULT: NETWORKING_IPV6=no
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 bash_history ... 
######################################################################################
COMMAND:  cat ~/.bash_history | wc -l 
RESULT: 0 
EXPECTED RESULT: 0
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 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 
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: ## 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: Fetching the identity doc Details
######################################################################################
Verifying that signature exists
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the IMAGE ID
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the Architecture
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
This Host => ec2-177-71-164-36.sa-east-1.compute.amazonaws.com with Image Id : ami-fa6cb3e7, is launched with Instance Id : i-507bf54d , Instance Type : m2.4xlarge and Arch : x86_64 in the Region : sa-east-1b
The Validate Signature is : BUbnfPSGTxx4AlrMLq47Tp/eTnQNBxDsl1LarV6zRsd+tZrzVtZb9o/mIe5J+L59aDWwGwVbf9bd
M/7MkrUKTei4zCUpj1iKF4zilBRyz17aMh6h8MOgvSlxKGdAdXQJDTEgjHUWl44Z8/I05HTcczjE
TH2YL0F9cOqZO/DSsig=
This is a Cloud Access image
######################################################################################
# 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 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: ##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 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 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 /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: ##Verify memory match hwp ... 
######################################################################################
cat /proc/meminfo | grep MemTotal: | awk '{print }'
FOUND MEMORY OF 71680000 > hwp MEMORY of 68400000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
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 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 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 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: ## test repo files ... 
######################################################################################
COMMAND:  ls /etc/yum.repos.d/ | wc -l 
RESULT: 4 
EXPECTED RESULT: 4
RETURN CODE: 0
PASS
COMMAND:  ls /etc/yum.repos.d/redhat* | wc -l
RESULT: 2 
EXPECTED RESULT: 2
RETURN CODE: 0
PASS
COMMAND:  ls /etc/yum.repos.d/rhel* | wc -l
RESULT: 1 
EXPECTED RESULT: 1
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
/root/valid/src
ip-10-252-26-211
Red Hat Enterprise Linux Server release 5.8 (Tikanga)
######################################################################################
# NEW TEST: The selected image has the version RHEL 5.8
######################################################################################
######################################################################################
# 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 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 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 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
this machine doesn't require swap
######################################################################################
# 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 no systemid file ... 
######################################################################################
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify kernel name ...
Comment 21 mkovacik 2012-02-28 12:44:05 EST
######################################################################################
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-307
CURRENT_UNAME_KERNAL_VERSION=2.6.18-307
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed 's/\(.*\)......./\1/'
RESULT: 2.6.18-307 
EXPECTED RESULT: 2.6.18-307
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-307
RESULT: title RHEL5.8-Server-20120126.1-Server-x86_64-starter-ec2 (2.6.18-307.el5xen)
        kernel /boot/vmlinuz-2.6.18-307.el5xen ro root=LABEL=/ 
        initrd /boot/initrd-2.6.18-307.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 system up to date
######################################################################################
COMMAND:  _check_sys_update_phase1
# no update was required
RESULT: # checking sys update done
# no update was required 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify RPMs ... 
######################################################################################
....L...  c /etc/pam.d/system-auth
.M......  c /etc/sysconfig/iptables-config
.M......    /var/cache/yum
    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: 3 
EXPECTED RESULT: 3
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify Version 2 ... 
######################################################################################
COMMAND:  /bin/rpm -q --queryformat '%{RELEASE}\n' redhat-release | cut -d. -f1,2
RESULT: 5.8 
EXPECTED RESULT: 5.8
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: ## List the configured repositories...
######################################################################################
COMMAND:  /usr/bin/yum repolist
RESULT: Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
repo id                               repo name                           status
rhui-sa-east-1-client-config-server-5 Red Hat Update Infrastructure 2.0 C      0
rhui-sa-east-1-rhel-server            Red Hat Enterprise Linux Server 5 ( 13,371
repolist: 13,371 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Search zsh...
######################################################################################
COMMAND:  /usr/bin/yum search zsh
RESULT: Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
================================= Matched: zsh =================================
zsh.x86_64 : A powerful interactive shell
zsh-html.x86_64 : 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, rhui-lb, security
Setting up Group Process
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
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, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
Setting up Group Process
Checking for new repos for mirrors
Package gcc-4.1.2-52.el5.x86_64 already installed and latest version
Package 1:make-3.81-3.el5.x86_64 already installed and latest version
Package 1:pkgconfig-0.21-2.el5.x86_64 already installed and latest version
Package gettext-0.17-1.el5.x86_64 already installed and latest version
Package binutils-2.17.50.0.6-20.el5.x86_64 already installed and latest version
Package subversion-1.6.11-7.el5_6.4.x86_64 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.x86_64 0:2.3-2.1 set to be updated
---> Package byacc.x86_64 0:1.9-29.2.2 set to be updated
---> Package cscope.x86_64 0:15.5-15.1.el5_3.1 set to be updated
---> Package ctags.x86_64 0:5.6-1.1 set to be updated
---> Package cvs.x86_64 0:1.11.22-11.el5_8.1 set to be updated
---> Package dev86.x86_64 0:0.16.17-2.2 set to be updated
---> Package diffstat.x86_64 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: xorg-x11-xinit for package: dogtail
--> Processing Dependency: xorg-x11-server-Xvfb for package: dogtail
--> Processing Dependency: gnome-python2-gconf for package: dogtail
---> Package doxygen.x86_64 1:1.4.7-1.1 set to be updated
---> Package elfutils.x86_64 0:0.137-3.el5 set to be updated
--> Processing Dependency: elfutils-libs-x86_64 = 0.137-3.el5 for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.130)(64bit) for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.127)(64bit) for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.126)(64bit) for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.122)(64bit) for package: elfutils
--> Processing Dependency: libasm.so.1(ELFUTILS_1.0)(64bit) for package: elfutils
--> Processing Dependency: libdw.so.1()(64bit) for package: elfutils
--> Processing Dependency: libasm.so.1()(64bit) for package: elfutils
---> Package flex.x86_64 0:2.5.4a-41.fc6 set to be updated
---> Package gcc-c++.x86_64 0:4.1.2-52.el5 set to be updated
--> Processing Dependency: libstdc++-devel = 4.1.2-52.el5 for package: gcc-c++
---> Package gcc-gfortran.x86_64 0:4.1.2-52.el5 set to be updated
--> Processing Dependency: libgfortran = 4.1.2-52.el5 for package: gcc-gfortran
--> Processing Dependency: libgfortran.so.1()(64bit) for package: gcc-gfortran
---> Package gdb.x86_64 0:7.0.1-42.el5 set to be updated
---> Package gettext.i386 0:0.17-1.el5 set to be updated
--> Processing Dependency: libgomp.so.1(GOMP_1.0) for package: gettext
--> Processing Dependency: libgomp.so.1 for package: gettext
---> Package indent.x86_64 0:2.2.9-14.fc6 set to be updated
---> Package libtool.x86_64 0:1.5.22-7.el5_4 set to be updated
---> Package ltrace.x86_64 0:0.5-13.45svn.el5_7.12 set to be updated
---> Package oprofile.x86_64 0:0.9.4-20.el5 set to be updated
---> Package patchutils.x86_64 0:0.2.31-2.2.2 set to be updated
---> Package pstack.x86_64 0:1.2-7.2.2 set to be updated
---> Package python-ldap.x86_64 0:2.2.0-2.1 set to be updated
---> Package rcs.x86_64 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.x86_64 0:4.4.2.3-27.el5 set to be updated
--> Processing Dependency: xz for package: rpm-build
---> Package splint.x86_64 0:3.1.1-16.el5 set to be updated
---> Package strace.x86_64 0:4.5.18-11.el5_8 set to be updated
---> Package swig.x86_64 0:1.3.29-2.el5 set to be updated
---> Package systemtap.x86_64 0:1.6-6.el5 set to be updated
--> Processing Dependency: systemtap-runtime = 1.6-6.el5 for package: systemtap
--> Processing Dependency: libavahi-common.so.3()(64bit) for package: systemtap
--> Processing Dependency: libavahi-client.so.3()(64bit) for package: systemtap
---> Package texinfo.x86_64 0:4.8-14.el5 set to be updated
---> Package valgrind.i386 1:3.5.0-5.el5 set to be updated
---> Package valgrind.x86_64 1:3.5.0-5.el5 set to be updated
--> Running transaction check
---> Package avahi.x86_64 0:0.6.16-10.el5_6 set to be updated
--> Processing Dependency: libdaemon for package: avahi
--> Processing Dependency: libdaemon.so.0()(64bit) for package: avahi
---> Package elfutils-libs.x86_64 0:0.137-3.el5 set to be updated
---> Package gnome-python2-gconf.x86_64 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()(64bit) for package: gnome-python2-gconf
--> Processing Dependency: libORBit-2.so.0()(64bit) for package: gnome-python2-gconf
---> Package imake.x86_64 0:1.0.2-3 set to be updated
---> Package libgfortran.x86_64 0:4.1.2-52.el5 set to be updated
---> Package libgomp.i386 0:4.4.6-3.el5.1 set to be updated
---> Package libstdc++-devel.x86_64 0:4.1.2-52.el5 set to be updated
---> Package pyspi.x86_64 0:0.6.1-1.el5 set to be updated
--> Processing Dependency: libspi.so.0()(64bit) for package: pyspi
--> Processing Dependency: libcspi.so.0()(64bit) for package: pyspi
--> Processing Dependency: libbonobo-activation.so.4()(64bit) for package: pyspi
--> Processing Dependency: libbonobo-2.so.0()(64bit) for package: pyspi
---> Package systemtap-runtime.x86_64 0:1.6-6.el5 set to be updated
---> Package xorg-x11-server-Xvfb.x86_64 0:1.1.1-48.90.el5 set to be updated
--> Processing Dependency: xorg-x11-fonts-base for package: xorg-x11-server-Xvfb
---> Package xorg-x11-xinit.x86_64 0:1.0.2-15.el5 set to be updated
--> Processing Dependency: xorg-x11-server-utils for package: xorg-x11-xinit
--> Processing Dependency: xauth for package: xorg-x11-xinit
---> Package xz.x86_64 0:4.999.9-0.3.beta.20091007git.el5 set to be updated
--> Processing Dependency: xz-libs = 4.999.9-0.3.beta.20091007git.el5 for package: xz
--> Processing Dependency: liblzma.so.0()(64bit) for package: xz
--> Running transaction check
---> Package GConf2.x86_64 0:2.14.0-9.el5 set to be updated
---> Package ORBit2.x86_64 0:2.14.3-5.el5 set to be updated
--> Processing Dependency: libIDL-2.so.0()(64bit) for package: ORBit2
---> Package at-spi.x86_64 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()(64bit) for package: at-spi
--> Processing Dependency: libgailutil.so.18()(64bit) for package: at-spi
--> Processing Dependency: libXevie.so.1()(64bit) for package: at-spi
---> Package gnome-python2.x86_64 0:2.16.0-1.fc6 set to be updated
--> Processing Dependency: gnome-python2-gnomevfs for package: gnome-python2
--> Processing Dependency: gnome-python2-bonobo for package: gnome-python2
--> Processing Dependency: libgnomevfs-2.so.0()(64bit) for package: gnome-python2
--> Processing Dependency: libgnomeui-2.so.0()(64bit) for package: gnome-python2
--> Processing Dependency: libgnome-keyring.so.0()(64bit) for package: gnome-python2
--> Processing Dependency: libgnome-2.so.0()(64bit) for package: gnome-python2
--> Processing Dependency: libbonoboui-2.so.0()(64bit) for package: gnome-python2
---> Package libbonobo.x86_64 0:2.16.0-1.1.el5_5.1 set to be updated
---> Package libdaemon.x86_64 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.x86_64 0:7.1-5.el5_6.2 set to be updated
--> Processing Dependency: libXxf86vm.so.1()(64bit) for package: xorg-x11-server-utils
--> Processing Dependency: libXxf86misc.so.1()(64bit) for package: xorg-x11-server-utils
--> Processing Dependency: libXfontcache.so.1()(64bit) for package: xorg-x11-server-utils
--> Processing Dependency: libXTrap.so.6()(64bit) for package: xorg-x11-server-utils
---> Package xorg-x11-xauth.x86_64 1:1.0.1-2.1 set to be updated
---> Package xz-libs.x86_64 0:4.999.9-0.3.beta.20091007git.el5 set to be updated
--> Running transaction check
---> Package gail.x86_64 0:1.9.2-3.el5 set to be updated
---> Package gnome-keyring.x86_64 0:0.6.0-1.fc6 set to be updated
---> Package gnome-python2-bonobo.x86_64 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.x86_64 0:2.16.0-1.fc6 set to be updated
---> Package gnome-vfs2.x86_64 0:2.16.2-8.el5 set to be updated
--> Processing Dependency: gnome-mount >= 0.4 for package: gnome-vfs2
--> Processing Dependency: gnome-mime-data >= 2.0.0-11 for package: gnome-vfs2
--> Processing Dependency: shared-mime-info for package: gnome-vfs2
--> Processing Dependency: libavahi-glib.so.1()(64bit) for package: gnome-vfs2
---> Package libIDL.x86_64 0:0.8.7-1.fc6 set to be updated
---> Package libXTrap.x86_64 0:1.0.0-3.1 set to be updated
---> Package libXevie.x86_64 0:1.0.1-3.1 set to be updated
---> Package libXfontcache.x86_64 0:1.0.2-3.1 set to be updated
---> Package libXxf86misc.x86_64 0:1.0.1-3.1 set to be updated
---> Package libXxf86vm.x86_64 0:1.0.1-3.1 set to be updated
---> Package libbonoboui.x86_64 0:2.16.0-1.fc6 set to be updated
---> Package libgnome.x86_64 0:2.16.0-6.el5 set to be updated
--> Processing Dependency: libxslt >= 1.0.19 for package: libgnome
--> Processing Dependency: libesd.so.0()(64bit) for package: libgnome
--> Processing Dependency: libaudiofile.so.0()(64bit) for package: libgnome
---> Package libgnomecanvas.x86_64 0:2.14.0-4.1 set to be updated
---> Package libgnomeui.x86_64 0:2.16.0-5.el5 set to be updated
--> Running transaction check
---> Package audiofile.x86_64 1:0.2.6-5 set to be updated
---> Package avahi-glib.x86_64 0:0.6.16-10.el5_6 set to be updated
---> Package esound.x86_64 1:0.2.36-4 set to be updated
---> Package gnome-mime-data.x86_64 0:2.4.2-3.1 set to be updated
---> Package gnome-mount.x86_64 0:0.5-3.el5 set to be updated
--> Processing Dependency: libnotify.so.1()(64bit) for package: gnome-mount
---> Package libxslt.x86_64 0:1.1.17-2.el5_2.2 set to be updated
---> Package pyorbit.x86_64 0:2.14.1-3.el5 set to be updated
---> Package shared-mime-info.x86_64 0:0.19-5.el5 set to be updated
--> Running transaction check
---> Package libnotify.x86_64 0:0.4.2-6.el5 set to be updated
--> Processing Dependency: desktop-notification-daemon for package: libnotify
--> Running transaction check
---> Package notification-daemon.x86_64 0:0.3.5-9.el5 set to be updated
--> Processing Dependency: libwnck-1.so.18()(64bit) for package: notification-daemon
--> Running transaction check
---> Package libwnck.x86_64 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()(64bit) for package: libwnck
--> Processing Dependency: libXRes.so.1()(64bit) for package: libwnck
--> Running transaction check
---> Package libXres.x86_64 0:1.0.1-3.1 set to be updated
---> Package startup-notification.x86_64 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-sa-east-1-rhel-server 646 k
 automake             noarch 1.9.6-2.3.el5     rhui-sa-east-1-rhel-server 476 k
 automake14           noarch 1.4p6-13.el5.1    rhui-sa-east-1-rhel-server 200 k
 automake15           noarch 1.5-16.el5.2      rhui-sa-east-1-rhel-server 230 k
 automake16           noarch 1.6.3-8.el5.1     rhui-sa-east-1-rhel-server 241 k
 automake17           noarch 1.7.9-7.el5.2     rhui-sa-east-1-rhel-server 278 k
 bison                x86_64 2.3-2.1           rhui-sa-east-1-rhel-server 549 k
 byacc                x86_64 1.9-29.2.2        rhui-sa-east-1-rhel-server  41 k
 cscope               x86_64 15.5-15.1.el5_3.1 rhui-sa-east-1-rhel-server 144 k
 ctags                x86_64 5.6-1.1           rhui-sa-east-1-rhel-server 131 k
 cvs                  x86_64 1.11.22-11.el5_8.1
                                               rhui-sa-east-1-rhel-server 738 k
 dev86                x86_64 0.16.17-2.2       rhui-sa-east-1-rhel-server 397 k
 diffstat             x86_64 1.41-1.2.3.el5    rhui-sa-east-1-rhel-server  19 k
 dogtail              noarch 0.6.1-4.el5       rhui-sa-east-1-rhel-server 172 k
 doxygen              x86_64 1:1.4.7-1.1       rhui-sa-east-1-rhel-server 2.4 M
 elfutils             x86_64 0.137-3.el5       rhui-sa-east-1-rhel-server 216 k
 flex                 x86_64 2.5.4a-41.fc6     rhui-sa-east-1-rhel-server 131 k
 gcc-c++              x86_64 4.1.2-52.el5      rhui-sa-east-1-rhel-server 3.8 M
 gcc-gfortran         x86_64 4.1.2-52.el5      rhui-sa-east-1-rhel-server 3.5 M
 gdb                  x86_64 7.0.1-42.el5      rhui-sa-east-1-rhel-server 2.4 M
 gettext              i386   0.17-1.el5        rhui-sa-east-1-rhel-server 2.4 M
 indent               x86_64 2.2.9-14.fc6      rhui-sa-east-1-rhel-server  97 k
 libtool              x86_64 1.5.22-7.el5_4    rhui-sa-east-1-rhel-server 667 k
 ltrace               x86_64 0.5-13.45svn.el5_7.12
                                               rhui-sa-east-1-rhel-server  70 k
 oprofile             x86_64 0.9.4-20.el5      rhui-sa-east-1-rhel-server 2.6 M
 patchutils           x86_64 0.2.31-2.2.2      rhui-sa-east-1-rhel-server 111 k
 pstack               x86_64 1.2-7.2.2         rhui-sa-east-1-rhel-server 4.6 k
 python-ldap          x86_64 2.2.0-2.1         rhui-sa-east-1-rhel-server 123 k
 rcs                  x86_64 5.7-30.1          rhui-sa-east-1-rhel-server 349 k
 redhat-rpm-config    noarch 8.0.45-32.el5     rhui-sa-east-1-rhel-server  54 k
 rpm-build            x86_64 4.4.2.3-27.el5    rhui-sa-east-1-rhel-server 302 k
 splint               x86_64 3.1.1-16.el5      rhui-sa-east-1-rhel-server 1.5 M
 strace               x86_64 4.5.18-11.el5_8   rhui-sa-east-1-rhel-server 177 k
 swig                 x86_64 1.3.29-2.el5      rhui-sa-east-1-rhel-server 2.9 M
 systemtap            x86_64 1.6-6.el5         rhui-sa-east-1-rhel-server 2.7 M
 texinfo              x86_64 4.8-14.el5        rhui-sa-east-1-rhel-server 763 k
 valgrind             i386   1:3.5.0-5.el5     rhui-sa-east-1-rhel-server  20 M
 valgrind             x86_64 1:3.5.0-5.el5     rhui-sa-east-1-rhel-server  21 M
Installing for dependencies:
 GConf2               x86_64 2.14.0-9.el5      rhui-sa-east-1-rhel-server 1.5 M
 ORBit2               x86_64 2.14.3-5.el5      rhui-sa-east-1-rhel-server 262 k
 at-spi               x86_64 1.7.11-3.el5      rhui-sa-east-1-rhel-server 304 k
 audiofile            x86_64 1:0.2.6-5         rhui-sa-east-1-rhel-server 106 k
 avahi                x86_64 0.6.16-10.el5_6   rhui-sa-east-1-rhel-server 258 k
 avahi-glib           x86_64 0.6.16-10.el5_6   rhui-sa-east-1-rhel-server  15 k
 elfutils-libs        x86_64 0.137-3.el5       rhui-sa-east-1-rhel-server 183 k
 esound               x86_64 1:0.2.36-4        rhui-sa-east-1-rhel-server 131 k
 gail                 x86_64 1.9.2-3.el5       rhui-sa-east-1-rhel-server 352 k
 gnome-keyring        x86_64 0.6.0-1.fc6       rhui-sa-east-1-rhel-server 166 k
 gnome-mime-data      x86_64 2.4.2-3.1         rhui-sa-east-1-rhel-server 690 k
 gnome-mount          x86_64 0.5-3.el5         rhui-sa-east-1-rhel-server  71 k
 gnome-python2        x86_64 2.16.0-1.fc6      rhui-sa-east-1-rhel-server 131 k
 gnome-python2-bonobo x86_64 2.16.0-1.fc6      rhui-sa-east-1-rhel-server  71 k
 gnome-python2-gconf  x86_64 2.16.0-1.fc6      rhui-sa-east-1-rhel-server  34 k
 gnome-python2-gnomevfs
                      x86_64 2.16.0-1.fc6      rhui-sa-east-1-rhel-server  70 k
 gnome-vfs2           x86_64 2.16.2-8.el5      rhui-sa-east-1-rhel-server 1.3 M
 imake                x86_64 1.0.2-3           rhui-sa-east-1-rhel-server 319 k
 libIDL               x86_64 0.8.7-1.fc6       rhui-sa-east-1-rhel-server  88 k
 libXTrap             x86_64 1.0.0-3.1         rhui-sa-east-1-rhel-server  23 k
 libXevie             x86_64 1.0.1-3.1         rhui-sa-east-1-rhel-server  14 k
 libXfontcache        x86_64 1.0.2-3.1         rhui-sa-east-1-rhel-server 9.8 k
 libXres              x86_64 1.0.1-3.1         rhui-sa-east-1-rhel-server  14 k
 libXxf86misc         x86_64 1.0.1-3.1         rhui-sa-east-1-rhel-server  12 k
 libXxf86vm           x86_64 1.0.1-3.1         rhui-sa-east-1-rhel-server  14 k
 libbonobo            x86_64 2.16.0-1.1.el5_5.1
                                               rhui-sa-east-1-rhel-server 524 k
 libbonoboui          x86_64 2.16.0-1.fc6      rhui-sa-east-1-rhel-server 395 k
 libdaemon            x86_64 0.10-5.el5        rhui-sa-east-1-rhel-server  24 k
 libgfortran          x86_64 4.1.2-52.el5      rhui-sa-east-1-rhel-server 244 k
 libgnome             x86_64 2.16.0-6.el5      rhui-sa-east-1-rhel-server 860 k
 libgnomecanvas       x86_64 2.14.0-4.1        rhui-sa-east-1-rhel-server 224 k
 libgnomeui           x86_64 2.16.0-5.el5      rhui-sa-east-1-rhel-server 984 k
 libgomp              i386   4.4.6-3.el5.1     rhui-sa-east-1-rhel-server  72 k
 libnotify            x86_64 0.4.2-6.el5       rhui-sa-east-1-rhel-server  38 k
 libstdc++-devel      x86_64 4.1.2-52.el5      rhui-sa-east-1-rhel-server 2.8 M
 libwnck              x86_64 2.16.0-4.fc6      rhui-sa-east-1-rhel-server 187 k
 libxslt              x86_64 1.1.17-2.el5_2.2  rhui-sa-east-1-rhel-server 487 k
 notification-daemon  x86_64 0.3.5-9.el5       rhui-sa-east-1-rhel-server  48 k
 pyorbit              x86_64 2.14.1-3.el5      rhui-sa-east-1-rhel-server  50 k
 pyspi                x86_64 0.6.1-1.el5       rhui-sa-east-1-rhel-server  98 k
 shared-mime-info     x86_64 0.19-5.el5        rhui-sa-east-1-rhel-server 149 k
 startup-notification x86_64 0.8-4.1           rhui-sa-east-1-rhel-server  32 k
 systemtap-runtime    x86_64 1.6-6.el5         rhui-sa-east-1-rhel-server 215 k
 xorg-x11-fonts-base  noarch 7.1-2.1.el5       rhui-sa-east-1-rhel-server 3.7 M
 xorg-x11-server-Xvfb x86_64 1.1.1-48.90.el5   rhui-sa-east-1-rhel-server 1.6 M
 xorg-x11-server-utils
                      x86_64 7.1-5.el5_6.2     rhui-sa-east-1-rhel-server 172 k
 xorg-x11-xauth       x86_64 1:1.0.1-2.1       rhui-sa-east-1-rhel-server  32 k
 xorg-x11-xinit       x86_64 1.0.2-15.el5      rhui-sa-east-1-rhel-server  26 k
 xz                   x86_64 4.999.9-0.3.beta.20091007git.el5
                                               rhui-sa-east-1-rhel-server 146 k
 xz-libs              x86_64 4.999.9-0.3.beta.20091007git.el5
                                               rhui-sa-east-1-rhel-server  95 k

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

Total download size: 91 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           4.3 MB/s |  91 MB     00:21     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction

  Installing     : libgnomecanvas                                          1/88 

  Installing     : gnome-keyring                                           2/88 

  Installing     : audiofile                                               3/88 

  Installing     : esound                                                  4/88 

  Installing     : libIDL                                                  5/88
Comment 22 mkovacik 2012-02-28 12:44:10 EST
  Installing     : ORBit2                                                  6/88 

  Installing     : GConf2                                                  7/88 

  Installing     : libbonobo                                               8/88 

  Installing     : pyorbit                                                 9/88 

  Installing     : gail                                                   10/88 

  Installing     : libXfontcache                                          11/88 

  Installing     : startup-notification                                   12/88 

  Installing     : libXxf86misc                                           13/88 

  Installing     : imake                                                  14/88 

  Installing     : xz-libs                                                15/88 

  Installing     : xz                                                     16/88 

  Installing     : libgfortran                                            17/88 

  Installing     : libdaemon                                              18/88 

  Installing     : avahi                                                  19/88 

  Installing     : avahi-glib                                             20/88 

  Installing     : xorg-x11-xauth                                         21/88 

  Installing     : libXevie                                               22/88 

  Installing     : at-spi                                                 23/88 

  Installing     : pyspi                                                  24/88 

  Installing     : shared-mime-info                                       25/88 

  Installing     : libxslt                                                26/88 

  Installing     : libXxf86vm                                             27/88 

  Installing     : libXTrap                                               28/88 

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

  Installing     : xorg-x11-xinit                                         30/88 

  Installing     : elfutils-libs                                          31/88 

  Installing     : elfutils                                               32/88 

  Installing     : gdb                                                    33/88 

  Installing     : libXres                                                34/88 

  Installing     : autoconf                                               35/88 

  Installing     : libwnck                                                36/88 

  Installing     : notification-daemon                                    37/88 

  Installing     : libnotify                                              38/88 

  Installing     : automake                                               39/88 

  Installing     : xorg-x11-fonts-base                                    40/88 

  Installing     : xorg-x11-server-Xvfb                                   41/88 

  Installing     : systemtap-runtime                                      42/88 

  Installing     : gnome-mime-data                                        43/88 

  Installing     : libstdc++-devel                                        44/88 

  Installing     : gcc-c++                                                45/88 

  Installing     : rpm-build                                              46/88 

  Installing     : gcc-gfortran                                           47/88 

  Installing     : splint                                                 48/88 

  Installing     : oprofile                                               49/88 

  Installing     : dev86                                                  50/88 

  Installing     : ctags                                                  51/88 

  Installing     : doxygen                                                52/88 

  Installing     : patchutils                                             53/88 

  Installing     : python-ldap                                            54/88 

  Installing     : valgrind                                               55/88 

  Installing     : cvs                                                    56/88 

  Installing     : texinfo                                                57/88 

  Installing     : flex                                                   58/88 

  Installing     : bison                                                  59/88 

  Installing     : rcs                                                    60/88 

  Installing     : byacc                                                  61/88 

  Installing     : strace                                                 62/88 

  Installing     : cscope                                                 63/88 

  Installing     : ltrace                                                 64/88 

  Installing     : indent                                                 65/88 

  Installing     : diffstat                                               66/88 

  Installing     : swig                                                   67/88 

  Installing     : systemtap                                              68/88 

  Installing     : libtool                                                69/88 

  Installing     : automake17                                             70/88 

  Installing     : pstack                                                 71/88 

  Installing     : automake15                                             72/88 

  Installing     : redhat-rpm-config                                      73/88 

  Installing     : automake14                                             74/88 

  Installing     : automake16                                             75/88 

  Installing     : libgomp                                                76/88 

  Installing     : gettext                                                77/88 

  Installing     : valgrind                                               78/88 

  Installing     : gnome-vfs2                                             79/88 

  Installing     : libgnome                                               80/88 

  Installing     : libbonoboui                                            81/88 

  Installing     : libgnomeui                                             82/88 

  Installing     : gnome-mount                                            83/88 

  Installing     : gnome-python2-bonobo                                   84/88 

  Installing     : gnome-python2                                          85/88 

  Installing     : gnome-python2-gconf                                    86/88 

  Installing     : dogtail                                                87/88 

  Installing     : gnome-python2-gnomevfs                                 88/88 

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.x86_64 0:2.3-2.1              byacc.x86_64 0:1.9-29.2.2                
  cscope.x86_64 0:15.5-15.1.el5_3.1   ctags.x86_64 0:5.6-1.1                   
  cvs.x86_64 0:1.11.22-11.el5_8.1     dev86.x86_64 0:0.16.17-2.2               
  diffstat.x86_64 0:1.41-1.2.3.el5    dogtail.noarch 0:0.6.1-4.el5             
  doxygen.x86_64 1:1.4.7-1.1          elfutils.x86_64 0:0.137-3.el5            
  flex.x86_64 0:2.5.4a-41.fc6         gcc-c++.x86_64 0:4.1.2-52.el5            
  gcc-gfortran.x86_64 0:4.1.2-52.el5  gdb.x86_64 0:7.0.1-42.el5                
  gettext.i386 0:0.17-1.el5           indent.x86_64 0:2.2.9-14.fc6             
  libtool.x86_64 0:1.5.22-7.el5_4     ltrace.x86_64 0:0.5-13.45svn.el5_7.12    
  oprofile.x86_64 0:0.9.4-20.el5      patchutils.x86_64 0:0.2.31-2.2.2         
  pstack.x86_64 0:1.2-7.2.2           python-ldap.x86_64 0:2.2.0-2.1           
  rcs.x86_64 0:5.7-30.1               redhat-rpm-config.noarch 0:8.0.45-32.el5 
  rpm-build.x86_64 0:4.4.2.3-27.el5   splint.x86_64 0:3.1.1-16.el5             
  strace.x86_64 0:4.5.18-11.el5_8     swig.x86_64 0:1.3.29-2.el5               
  systemtap.x86_64 0:1.6-6.el5        texinfo.x86_64 0:4.8-14.el5              
  valgrind.i386 1:3.5.0-5.el5         valgrind.x86_64 1:3.5.0-5.el5            

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

Complete! 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
# checking possible sys update
Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
Skipping security plugin, no data
# no sys update found
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
RESULT: Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
Skipping security plugin, no data
Setting up Update Process
Resolving Dependencies
Skipping security plugin, no data
--> Running transaction check
---> Package gnutls.x86_64 0:1.4.1-7.el5_8.1 set to be updated
---> Package httpd.x86_64 0:2.2.3-63.el5_8.1 set to be updated
---> Package hwdata.noarch 0:0.213.26-1.el5 set to be updated
---> Package kernel-headers.x86_64 0:2.6.18-308.el5 set to be updated
---> Package kernel-xen.x86_64 0:2.6.18-308.el5 set to be installed
---> Package kernel-xen-devel.x86_64 0:2.6.18-308.el5 set to be installed
---> Package libpng.x86_64 2:1.2.10-15.el5_7 set to be updated
---> Package libsmbclient.x86_64 0:3.0.33-3.38.el5_8 set to be updated
---> Package libxml2.x86_64 0:2.6.26-2.1.15.el5_8.2 set to be updated
---> Package libxml2-python.x86_64 0:2.6.26-2.1.15.el5_8.2 set to be updated
---> Package mod_ssl.x86_64 1:2.2.3-63.el5_8.1 set to be updated
---> Package mysql.x86_64 0:5.0.95-1.el5_7.1 set to be updated
---> Package nspr.i386 0:4.8.9-1.el5_8 set to be updated
---> Package nspr.x86_64 0:4.8.9-1.el5_8 set to be updated
---> Package nss.i386 0:3.13.1-3.el5_8 set to be updated
---> Package nss.x86_64 0:3.13.1-3.el5_8 set to be updated
---> Package nss-tools.x86_64 0:3.13.1-3.el5_8 set to be updated
---> Package samba-client.x86_64 0:3.0.33-3.38.el5_8 set to be updated
---> Package samba-common.x86_64 0:3.0.33-3.38.el5_8 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package          Arch   Version               Repository                  Size
================================================================================
Installing:
 kernel-xen       x86_64 2.6.18-308.el5        rhui-sa-east-1-rhel-server  22 M
 kernel-xen-devel x86_64 2.6.18-308.el5        rhui-sa-east-1-rhel-server 5.7 M
Updating:
 gnutls           x86_64 1.4.1-7.el5_8.1       rhui-sa-east-1-rhel-server 365 k
 httpd            x86_64 2.2.3-63.el5_8.1      rhui-sa-east-1-rhel-server 1.3 M
 hwdata           noarch 0.213.26-1.el5        rhui-sa-east-1-rhel-server 423 k
 kernel-headers   x86_64 2.6.18-308.el5        rhui-sa-east-1-rhel-server 1.4 M
 libpng           x86_64 2:1.2.10-15.el5_7     rhui-sa-east-1-rhel-server 235 k
 libsmbclient     x86_64 3.0.33-3.38.el5_8     rhui-sa-east-1-rhel-server 917 k
 libxml2          x86_64 2.6.26-2.1.15.el5_8.2 rhui-sa-east-1-rhel-server 809 k
 libxml2-python   x86_64 2.6.26-2.1.15.el5_8.2 rhui-sa-east-1-rhel-server 714 k
 mod_ssl          x86_64 1:2.2.3-63.el5_8.1    rhui-sa-east-1-rhel-server  95 k
 mysql            x86_64 5.0.95-1.el5_7.1      rhui-sa-east-1-rhel-server 4.9 M
 nspr             i386   4.8.9-1.el5_8         rhui-sa-east-1-rhel-server 121 k
 nspr             x86_64 4.8.9-1.el5_8         rhui-sa-east-1-rhel-server 120 k
 nss              i386   3.13.1-3.el5_8        rhui-sa-east-1-rhel-server 1.1 M
 nss              x86_64 3.13.1-3.el5_8        rhui-sa-east-1-rhel-server 1.1 M
 nss-tools        x86_64 3.13.1-3.el5_8        rhui-sa-east-1-rhel-server 1.1 M
 samba-client     x86_64 3.0.33-3.38.el5_8     rhui-sa-east-1-rhel-server 5.7 M
 samba-common     x86_64 3.0.33-3.38.el5_8     rhui-sa-east-1-rhel-server 6.8 M

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

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

  Updating       : nspr                                                    1/36 

  Updating       : nss                                                     2/36 

  Updating       : libxml2                                                 3/36 

  Updating       : httpd                                                   4/36 

  Updating       : libsmbclient                                            5/36 

  Updating       : samba-common                                            6/36 

  Updating       : libpng                                                  7/36 

  Updating       : gnutls                                                  8/36 

  Updating       : mysql                                                   9/36 

  Updating       : samba-client                                           10/36 

  Updating       : mod_ssl                                                11/36 

  Updating       : libxml2-python                                         12/36 

  Updating       : nss-tools                                              13/36 

  Installing     : kernel-xen                                             14/36 

  Updating       : hwdata                                                 15/36 

  Updating       : kernel-headers                                         16/36 

  Installing     : kernel-xen-devel                                       17/36 

  Updating       : nspr                                                   18/36 

  Updating       : nss                                                    19/36 

  Cleanup        : samba-common                                           20/36 

  Cleanup        : httpd                                                  21/36 

  Cleanup        : kernel-headers                                         22/36 

  Cleanup        : nss                                                    23/36 

  Cleanup        : nss                                                    24/36 

  Cleanup        : nspr                                                   25/36 

  Cleanup        : nspr                                                   26/36 

  Cleanup        : samba-client                                           27/36 

  Cleanup        : mod_ssl                                                28/36 

  Cleanup        : mysql                                                  29/36 

  Cleanup        : libxml2                                                30/36 

  Cleanup        : libxml2-python                                         31/36 

  Cleanup        : nss-tools                                              32/36 

  Cleanup        : gnutls                                                 33/36 

  Cleanup        : libpng                                                 34/36 

  Cleanup        : hwdata                                                 35/36 

  Cleanup        : libsmbclient                                           36/36 

Installed:
  kernel-xen.x86_64 0:2.6.18-308.el5  kernel-xen-devel.x86_64 0:2.6.18-308.el5 

Updated:
  gnutls.x86_64 0:1.4.1-7.el5_8.1                                               
  httpd.x86_64 0:2.2.3-63.el5_8.1                                               
  hwdata.noarch 0:0.213.26-1.el5                                                
  kernel-headers.x86_64 0:2.6.18-308.el5                                        
  libpng.x86_64 2:1.2.10-15.el5_7                                               
  libsmbclient.x86_64 0:3.0.33-3.38.el5_8                                       
  libxml2.x86_64 0:2.6.26-2.1.15.el5_8.2                                        
  libxml2-python.x86_64 0:2.6.26-2.1.15.el5_8.2                                 
  mod_ssl.x86_64 1:2.2.3-63.el5_8.1                                             
  mysql.x86_64 0:5.0.95-1.el5_7.1                                               
  nspr.i386 0:4.8.9-1.el5_8                                                     
  nspr.x86_64 0:4.8.9-1.el5_8                                                   
  nss.i386 0:3.13.1-3.el5_8                                                     
  nss.x86_64 0:3.13.1-3.el5_8                                                   
  nss-tools.x86_64 0:3.13.1-3.el5_8                                             
  samba-client.x86_64 0:3.0.33-3.38.el5_8                                       
  samba-common.x86_64 0:3.0.33-3.38.el5_8                                       

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: ## 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: ## 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
# checking possible sys update
Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
Skipping security plugin, no data
# no sys update found
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
RESULT: Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
Skipping security plugin, no data
Setting up Update Process
No Packages marked for Update 
EXPECTED RESULT: 
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

## Summary ##
FAILURES = 0
FAILED TESTS = 
LOG FILE = /root/valid/src/validate.log
## Summary ##

######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
Comment 23 mkovacik 2012-02-28 12:46:07 EST
IMAGE ID= ami-fa6cb3e7_sa-east-1_m2.2xlarge
###### 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-308
CURRENT_UNAME_KERNAL_VERSION=2.6.18-308
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed 's/\(.*\)......./\1/'
RESULT: 2.6.18-308 
EXPECTED RESULT: 2.6.18-308
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-308
RESULT: title Red Hat Enterprise Linux Server (2.6.18-308.el5xen)
        kernel /boot/vmlinuz-2.6.18-308.el5xen ro root=LABEL=/ 
        initrd /boot/initrd-2.6.18-308.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 system up to date
######################################################################################
COMMAND:  _check_sys_update_phase1
# no update was required
RESULT: # checking sys update done
# no update was required 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ##Verify memory match hwp ... 
######################################################################################
cat /proc/meminfo | grep MemTotal: | awk '{print }'
FOUND MEMORY OF 35840000 > hwp MEMORY of 34200000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
hostname
######################################################################################
# NEW TEST: The selected image has the version RHEL 5.8
######################################################################################

## Summary ##
FAILURES = 0
FAILED TESTS = 
LOG FILE = /root/valid/src/validate.log
## Summary ##

######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
Comment 24 mkovacik 2012-02-28 12:47:58 EST
IMAGE ID= 
=====image_validation.sh Tue Feb 28 12:44:01 EST 2012=====
######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
######################################################################################
# NEW TEST: Fetching the identity doc Details
######################################################################################
Verifying that signature exists
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the IMAGE ID
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the Architecture
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
This Host => ec2-177-71-144-253.sa-east-1.compute.amazonaws.com with Image Id : ami-fa6cb3e7, is launched with Instance Id : i-407bf55d , Instance Type : c1.xlarge and Arch : x86_64 in the Region : sa-east-1b
The Validate Signature is : YNfuQBzrgtZfgJVjF2x9t96bHo4rBZZ4AZG2LUKTi93FMpdvhm217Pr3PrDhVA4fWxRKtY2illS7
0rfiskNo2jSdb07r5zmmOc5B+jSHpxh3o2Vss33tnyHzpigv+ynfaB1V0yD0OjdsgRnNkxXgkjP7
j+87ZozaSgCuTyW0uFo=
This is a Cloud Access image
/root/valid/src
ip-10-252-1-119
Red Hat Enterprise Linux Server release 5.8 (Tikanga)
######################################################################################
# NEW TEST: The selected image has the version RHEL 5.8
######################################################################################
######################################################################################
# NEW TEST: ## Verify IPv6 disabled ... 
######################################################################################
COMMAND:  grep ^NETWORKING_IPV6= /etc/sysconfig/network
RESULT: NETWORKING_IPV6=no 
EXPECTED RESULT: NETWORKING_IPV6=no
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 bash_history ... 
######################################################################################
COMMAND:  cat ~/.bash_history | wc -l 
RESULT: 0 
EXPECTED RESULT: 0
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 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 
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: ## 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: Fetching the identity doc Details
######################################################################################
Verifying that signature exists
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the IMAGE ID
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the Architecture
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
This Host => ec2-177-71-144-253.sa-east-1.compute.amazonaws.com with Image Id : ami-fa6cb3e7, is launched with Instance Id : i-407bf55d , Instance Type : c1.xlarge and Arch : x86_64 in the Region : sa-east-1b
The Validate Signature is : YNfuQBzrgtZfgJVjF2x9t96bHo4rBZZ4AZG2LUKTi93FMpdvhm217Pr3PrDhVA4fWxRKtY2illS7
0rfiskNo2jSdb07r5zmmOc5B+jSHpxh3o2Vss33tnyHzpigv+ynfaB1V0yD0OjdsgRnNkxXgkjP7
j+87ZozaSgCuTyW0uFo=
This is a Cloud Access image
######################################################################################
# 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 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: ##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 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 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 /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: ##Verify memory match hwp ... 
######################################################################################
cat /proc/meminfo | grep MemTotal: | awk '{print }'
FOUND MEMORY OF 7340032 > hwp MEMORY of 7000000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
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 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 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 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: ## test repo files ... 
######################################################################################
COMMAND:  ls /etc/yum.repos.d/ | wc -l 
RESULT: 4 
EXPECTED RESULT: 4
RETURN CODE: 0
PASS
COMMAND:  ls /etc/yum.repos.d/redhat* | wc -l
RESULT: 2 
EXPECTED RESULT: 2
RETURN CODE: 0
PASS
COMMAND:  ls /etc/yum.repos.d/rhel* | wc -l
RESULT: 1 
EXPECTED RESULT: 1
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
/root/valid/src
ip-10-252-1-119
Red Hat Enterprise Linux Server release 5.8 (Tikanga)
######################################################################################
# NEW TEST: The selected image has the version RHEL 5.8
######################################################################################
######################################################################################
# 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 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 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 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
this machine doesn't require swap
######################################################################################
# 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 no systemid file ... 
######################################################################################
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify kernel name ...
Comment 25 mkovacik 2012-02-28 12:48:03 EST
######################################################################################
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-307
CURRENT_UNAME_KERNAL_VERSION=2.6.18-307
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed 's/\(.*\)......./\1/'
RESULT: 2.6.18-307 
EXPECTED RESULT: 2.6.18-307
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-307
RESULT: title RHEL5.8-Server-20120126.1-Server-x86_64-starter-ec2 (2.6.18-307.el5xen)
        kernel /boot/vmlinuz-2.6.18-307.el5xen ro root=LABEL=/ 
        initrd /boot/initrd-2.6.18-307.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 system up to date
######################################################################################
COMMAND:  _check_sys_update_phase1
# no update was required
RESULT: # checking sys update done
# no update was required 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify RPMs ... 
######################################################################################
....L...  c /etc/pam.d/system-auth
.M......  c /etc/sysconfig/iptables-config
.M......    /var/cache/yum
    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: 3 
EXPECTED RESULT: 3
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify Version 2 ... 
######################################################################################
COMMAND:  /bin/rpm -q --queryformat '%{RELEASE}\n' redhat-release | cut -d. -f1,2
RESULT: 5.8 
EXPECTED RESULT: 5.8
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: ## List the configured repositories...
######################################################################################
COMMAND:  /usr/bin/yum repolist
RESULT: Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
repo id                               repo name                           status
rhui-sa-east-1-client-config-server-5 Red Hat Update Infrastructure 2.0 C      0
rhui-sa-east-1-rhel-server            Red Hat Enterprise Linux Server 5 ( 13,371
repolist: 13,371 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Search zsh...
######################################################################################
COMMAND:  /usr/bin/yum search zsh
RESULT: Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
================================= Matched: zsh =================================
zsh.x86_64 : A powerful interactive shell
zsh-html.x86_64 : 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, rhui-lb, security
Setting up Group Process
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
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, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
Setting up Group Process
Checking for new repos for mirrors
Package gcc-4.1.2-52.el5.x86_64 already installed and latest version
Package 1:make-3.81-3.el5.x86_64 already installed and latest version
Package 1:pkgconfig-0.21-2.el5.x86_64 already installed and latest version
Package gettext-0.17-1.el5.x86_64 already installed and latest version
Package binutils-2.17.50.0.6-20.el5.x86_64 already installed and latest version
Package subversion-1.6.11-7.el5_6.4.x86_64 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.x86_64 0:2.3-2.1 set to be updated
---> Package byacc.x86_64 0:1.9-29.2.2 set to be updated
---> Package cscope.x86_64 0:15.5-15.1.el5_3.1 set to be updated
---> Package ctags.x86_64 0:5.6-1.1 set to be updated
---> Package cvs.x86_64 0:1.11.22-11.el5_8.1 set to be updated
---> Package dev86.x86_64 0:0.16.17-2.2 set to be updated
---> Package diffstat.x86_64 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: xorg-x11-xinit for package: dogtail
--> Processing Dependency: xorg-x11-server-Xvfb for package: dogtail
--> Processing Dependency: gnome-python2-gconf for package: dogtail
---> Package doxygen.x86_64 1:1.4.7-1.1 set to be updated
---> Package elfutils.x86_64 0:0.137-3.el5 set to be updated
--> Processing Dependency: elfutils-libs-x86_64 = 0.137-3.el5 for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.130)(64bit) for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.127)(64bit) for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.126)(64bit) for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.122)(64bit) for package: elfutils
--> Processing Dependency: libasm.so.1(ELFUTILS_1.0)(64bit) for package: elfutils
--> Processing Dependency: libdw.so.1()(64bit) for package: elfutils
--> Processing Dependency: libasm.so.1()(64bit) for package: elfutils
---> Package flex.x86_64 0:2.5.4a-41.fc6 set to be updated
---> Package gcc-c++.x86_64 0:4.1.2-52.el5 set to be updated
--> Processing Dependency: libstdc++-devel = 4.1.2-52.el5 for package: gcc-c++
---> Package gcc-gfortran.x86_64 0:4.1.2-52.el5 set to be updated
--> Processing Dependency: libgfortran = 4.1.2-52.el5 for package: gcc-gfortran
--> Processing Dependency: libgfortran.so.1()(64bit) for package: gcc-gfortran
---> Package gdb.x86_64 0:7.0.1-42.el5 set to be updated
---> Package gettext.i386 0:0.17-1.el5 set to be updated
--> Processing Dependency: libgomp.so.1(GOMP_1.0) for package: gettext
--> Processing Dependency: libgomp.so.1 for package: gettext
---> Package indent.x86_64 0:2.2.9-14.fc6 set to be updated
---> Package libtool.x86_64 0:1.5.22-7.el5_4 set to be updated
---> Package ltrace.x86_64 0:0.5-13.45svn.el5_7.12 set to be updated
---> Package oprofile.x86_64 0:0.9.4-20.el5 set to be updated
---> Package patchutils.x86_64 0:0.2.31-2.2.2 set to be updated
---> Package pstack.x86_64 0:1.2-7.2.2 set to be updated
---> Package python-ldap.x86_64 0:2.2.0-2.1 set to be updated
---> Package rcs.x86_64 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.x86_64 0:4.4.2.3-27.el5 set to be updated
--> Processing Dependency: xz for package: rpm-build
---> Package splint.x86_64 0:3.1.1-16.el5 set to be updated
---> Package strace.x86_64 0:4.5.18-11.el5_8 set to be updated
---> Package swig.x86_64 0:1.3.29-2.el5 set to be updated
---> Package systemtap.x86_64 0:1.6-6.el5 set to be updated
--> Processing Dependency: systemtap-runtime = 1.6-6.el5 for package: systemtap
--> Processing Dependency: libavahi-common.so.3()(64bit) for package: systemtap
--> Processing Dependency: libavahi-client.so.3()(64bit) for package: systemtap
---> Package texinfo.x86_64 0:4.8-14.el5 set to be updated
---> Package valgrind.i386 1:3.5.0-5.el5 set to be updated
---> Package valgrind.x86_64 1:3.5.0-5.el5 set to be updated
--> Running transaction check
---> Package avahi.x86_64 0:0.6.16-10.el5_6 set to be updated
--> Processing Dependency: libdaemon for package: avahi
--> Processing Dependency: libdaemon.so.0()(64bit) for package: avahi
---> Package elfutils-libs.x86_64 0:0.137-3.el5 set to be updated
---> Package gnome-python2-gconf.x86_64 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()(64bit) for package: gnome-python2-gconf
--> Processing Dependency: libORBit-2.so.0()(64bit) for package: gnome-python2-gconf
---> Package imake.x86_64 0:1.0.2-3 set to be updated
---> Package libgfortran.x86_64 0:4.1.2-52.el5 set to be updated
---> Package libgomp.i386 0:4.4.6-3.el5.1 set to be updated
---> Package libstdc++-devel.x86_64 0:4.1.2-52.el5 set to be updated
---> Package pyspi.x86_64 0:0.6.1-1.el5 set to be updated
--> Processing Dependency: libspi.so.0()(64bit) for package: pyspi
--> Processing Dependency: libcspi.so.0()(64bit) for package: pyspi
--> Processing Dependency: libbonobo-activation.so.4()(64bit) for package: pyspi
--> Processing Dependency: libbonobo-2.so.0()(64bit) for package: pyspi
---> Package systemtap-runtime.x86_64 0:1.6-6.el5 set to be updated
---> Package xorg-x11-server-Xvfb.x86_64 0:1.1.1-48.90.el5 set to be updated
--> Processing Dependency: xorg-x11-fonts-base for package: xorg-x11-server-Xvfb
---> Package xorg-x11-xinit.x86_64 0:1.0.2-15.el5 set to be updated
--> Processing Dependency: xorg-x11-server-utils for package: xorg-x11-xinit
--> Processing Dependency: xauth for package: xorg-x11-xinit
---> Package xz.x86_64 0:4.999.9-0.3.beta.20091007git.el5 set to be updated
--> Processing Dependency: xz-libs = 4.999.9-0.3.beta.20091007git.el5 for package: xz
--> Processing Dependency: liblzma.so.0()(64bit) for package: xz
--> Running transaction check
---> Package GConf2.x86_64 0:2.14.0-9.el5 set to be updated
---> Package ORBit2.x86_64 0:2.14.3-5.el5 set to be updated
--> Processing Dependency: libIDL-2.so.0()(64bit) for package: ORBit2
---> Package at-spi.x86_64 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()(64bit) for package: at-spi
--> Processing Dependency: libgailutil.so.18()(64bit) for package: at-spi
--> Processing Dependency: libXevie.so.1()(64bit) for package: at-spi
---> Package gnome-python2.x86_64 0:2.16.0-1.fc6 set to be updated
--> Processing Dependency: gnome-python2-gnomevfs for package: gnome-python2
--> Processing Dependency: gnome-python2-bonobo for package: gnome-python2
--> Processing Dependency: libgnomevfs-2.so.0()(64bit) for package: gnome-python2
--> Processing Dependency: libgnomeui-2.so.0()(64bit) for package: gnome-python2
--> Processing Dependency: libgnome-keyring.so.0()(64bit) for package: gnome-python2
--> Processing Dependency: libgnome-2.so.0()(64bit) for package: gnome-python2
--> Processing Dependency: libbonoboui-2.so.0()(64bit) for package: gnome-python2
---> Package libbonobo.x86_64 0:2.16.0-1.1.el5_5.1 set to be updated
---> Package libdaemon.x86_64 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.x86_64 0:7.1-5.el5_6.2 set to be updated
--> Processing Dependency: libXxf86vm.so.1()(64bit) for package: xorg-x11-server-utils
--> Processing Dependency: libXxf86misc.so.1()(64bit) for package: xorg-x11-server-utils
--> Processing Dependency: libXfontcache.so.1()(64bit) for package: xorg-x11-server-utils
--> Processing Dependency: libXTrap.so.6()(64bit) for package: xorg-x11-server-utils
---> Package xorg-x11-xauth.x86_64 1:1.0.1-2.1 set to be updated
---> Package xz-libs.x86_64 0:4.999.9-0.3.beta.20091007git.el5 set to be updated
--> Running transaction check
---> Package gail.x86_64 0:1.9.2-3.el5 set to be updated
---> Package gnome-keyring.x86_64 0:0.6.0-1.fc6 set to be updated
---> Package gnome-python2-bonobo.x86_64 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.x86_64 0:2.16.0-1.fc6 set to be updated
---> Package gnome-vfs2.x86_64 0:2.16.2-8.el5 set to be updated
--> Processing Dependency: gnome-mount >= 0.4 for package: gnome-vfs2
--> Processing Dependency: gnome-mime-data >= 2.0.0-11 for package: gnome-vfs2
--> Processing Dependency: shared-mime-info for package: gnome-vfs2
--> Processing Dependency: libavahi-glib.so.1()(64bit) for package: gnome-vfs2
---> Package libIDL.x86_64 0:0.8.7-1.fc6 set to be updated
---> Package libXTrap.x86_64 0:1.0.0-3.1 set to be updated
---> Package libXevie.x86_64 0:1.0.1-3.1 set to be updated
---> Package libXfontcache.x86_64 0:1.0.2-3.1 set to be updated
---> Package libXxf86misc.x86_64 0:1.0.1-3.1 set to be updated
---> Package libXxf86vm.x86_64 0:1.0.1-3.1 set to be updated
---> Package libbonoboui.x86_64 0:2.16.0-1.fc6 set to be updated
---> Package libgnome.x86_64 0:2.16.0-6.el5 set to be updated
--> Processing Dependency: libxslt >= 1.0.19 for package: libgnome
--> Processing Dependency: libesd.so.0()(64bit) for package: libgnome
--> Processing Dependency: libaudiofile.so.0()(64bit) for package: libgnome
---> Package libgnomecanvas.x86_64 0:2.14.0-4.1 set to be updated
---> Package libgnomeui.x86_64 0:2.16.0-5.el5 set to be updated
--> Running transaction check
---> Package audiofile.x86_64 1:0.2.6-5 set to be updated
---> Package avahi-glib.x86_64 0:0.6.16-10.el5_6 set to be updated
---> Package esound.x86_64 1:0.2.36-4 set to be updated
---> Package gnome-mime-data.x86_64 0:2.4.2-3.1 set to be updated
---> Package gnome-mount.x86_64 0:0.5-3.el5 set to be updated
--> Processing Dependency: libnotify.so.1()(64bit) for package: gnome-mount
---> Package libxslt.x86_64 0:1.1.17-2.el5_2.2 set to be updated
---> Package pyorbit.x86_64 0:2.14.1-3.el5 set to be updated
---> Package shared-mime-info.x86_64 0:0.19-5.el5 set to be updated
--> Running transaction check
---> Package libnotify.x86_64 0:0.4.2-6.el5 set to be updated
--> Processing Dependency: desktop-notification-daemon for package: libnotify
--> Running transaction check
---> Package notification-daemon.x86_64 0:0.3.5-9.el5 set to be updated
--> Processing Dependency: libwnck-1.so.18()(64bit) for package: notification-daemon
--> Running transaction check
---> Package libwnck.x86_64 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()(64bit) for package: libwnck
--> Processing Dependency: libXRes.so.1()(64bit) for package: libwnck
--> Running transaction check
---> Package libXres.x86_64 0:1.0.1-3.1 set to be updated
---> Package startup-notification.x86_64 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-sa-east-1-rhel-server 646 k
 automake             noarch 1.9.6-2.3.el5     rhui-sa-east-1-rhel-server 476 k
 automake14           noarch 1.4p6-13.el5.1    rhui-sa-east-1-rhel-server 200 k
 automake15           noarch 1.5-16.el5.2      rhui-sa-east-1-rhel-server 230 k
 automake16           noarch 1.6.3-8.el5.1     rhui-sa-east-1-rhel-server 241 k
 automake17           noarch 1.7.9-7.el5.2     rhui-sa-east-1-rhel-server 278 k
 bison                x86_64 2.3-2.1           rhui-sa-east-1-rhel-server 549 k
 byacc                x86_64 1.9-29.2.2        rhui-sa-east-1-rhel-server  41 k
 cscope               x86_64 15.5-15.1.el5_3.1 rhui-sa-east-1-rhel-server 144 k
 ctags                x86_64 5.6-1.1           rhui-sa-east-1-rhel-server 131 k
 cvs                  x86_64 1.11.22-11.el5_8.1
                                               rhui-sa-east-1-rhel-server 738 k
 dev86                x86_64 0.16.17-2.2       rhui-sa-east-1-rhel-server 397 k
 diffstat             x86_64 1.41-1.2.3.el5    rhui-sa-east-1-rhel-server  19 k
 dogtail              noarch 0.6.1-4.el5       rhui-sa-east-1-rhel-server 172 k
 doxygen              x86_64 1:1.4.7-1.1       rhui-sa-east-1-rhel-server 2.4 M
 elfutils             x86_64 0.137-3.el5       rhui-sa-east-1-rhel-server 216 k
 flex                 x86_64 2.5.4a-41.fc6     rhui-sa-east-1-rhel-server 131 k
 gcc-c++              x86_64 4.1.2-52.el5      rhui-sa-east-1-rhel-server 3.8 M
 gcc-gfortran         x86_64 4.1.2-52.el5      rhui-sa-east-1-rhel-server 3.5 M
 gdb                  x86_64 7.0.1-42.el5      rhui-sa-east-1-rhel-server 2.4 M
 gettext              i386   0.17-1.el5        rhui-sa-east-1-rhel-server 2.4 M
 indent               x86_64 2.2.9-14.fc6      rhui-sa-east-1-rhel-server  97 k
 libtool              x86_64 1.5.22-7.el5_4    rhui-sa-east-1-rhel-server 667 k
 ltrace               x86_64 0.5-13.45svn.el5_7.12
                                               rhui-sa-east-1-rhel-server  70 k
 oprofile             x86_64 0.9.4-20.el5      rhui-sa-east-1-rhel-server 2.6 M
 patchutils           x86_64 0.2.31-2.2.2      rhui-sa-east-1-rhel-server 111 k
 pstack               x86_64 1.2-7.2.2         rhui-sa-east-1-rhel-server 4.6 k
 python-ldap          x86_64 2.2.0-2.1         rhui-sa-east-1-rhel-server 123 k
 rcs                  x86_64 5.7-30.1          rhui-sa-east-1-rhel-server 349 k
 redhat-rpm-config    noarch 8.0.45-32.el5     rhui-sa-east-1-rhel-server  54 k
 rpm-build            x86_64 4.4.2.3-27.el5    rhui-sa-east-1-rhel-server 302 k
 splint               x86_64 3.1.1-16.el5      rhui-sa-east-1-rhel-server 1.5 M
 strace               x86_64 4.5.18-11.el5_8   rhui-sa-east-1-rhel-server 177 k
 swig                 x86_64 1.3.29-2.el5      rhui-sa-east-1-rhel-server 2.9 M
 systemtap            x86_64 1.6-6.el5         rhui-sa-east-1-rhel-server 2.7 M
 texinfo              x86_64 4.8-14.el5        rhui-sa-east-1-rhel-server 763 k
 valgrind             i386   1:3.5.0-5.el5     rhui-sa-east-1-rhel-server  20 M
 valgrind             x86_64 1:3.5.0-5.el5     rhui-sa-east-1-rhel-server  21 M
Installing for dependencies:
 GConf2               x86_64 2.14.0-9.el5      rhui-sa-east-1-rhel-server 1.5 M
 ORBit2               x86_64 2.14.3-5.el5      rhui-sa-east-1-rhel-server 262 k
 at-spi               x86_64 1.7.11-3.el5      rhui-sa-east-1-rhel-server 304 k
 audiofile            x86_64 1:0.2.6-5         rhui-sa-east-1-rhel-server 106 k
 avahi                x86_64 0.6.16-10.el5_6   rhui-sa-east-1-rhel-server 258 k
 avahi-glib           x86_64 0.6.16-10.el5_6   rhui-sa-east-1-rhel-server  15 k
 elfutils-libs        x86_64 0.137-3.el5       rhui-sa-east-1-rhel-server 183 k
 esound               x86_64 1:0.2.36-4        rhui-sa-east-1-rhel-server 131 k
 gail                 x86_64 1.9.2-3.el5       rhui-sa-east-1-rhel-server 352 k
 gnome-keyring        x86_64 0.6.0-1.fc6       rhui-sa-east-1-rhel-server 166 k
 gnome-mime-data      x86_64 2.4.2-3.1         rhui-sa-east-1-rhel-server 690 k
 gnome-mount          x86_64 0.5-3.el5         rhui-sa-east-1-rhel-server  71 k
 gnome-python2        x86_64 2.16.0-1.fc6      rhui-sa-east-1-rhel-server 131 k
 gnome-python2-bonobo x86_64 2.16.0-1.fc6      rhui-sa-east-1-rhel-server  71 k
 gnome-python2-gconf  x86_64 2.16.0-1.fc6      rhui-sa-east-1-rhel-server  34 k
 gnome-python2-gnomevfs
                      x86_64 2.16.0-1.fc6      rhui-sa-east-1-rhel-server  70 k
 gnome-vfs2           x86_64 2.16.2-8.el5      rhui-sa-east-1-rhel-server 1.3 M
 imake                x86_64 1.0.2-3           rhui-sa-east-1-rhel-server 319 k
 libIDL               x86_64 0.8.7-1.fc6       rhui-sa-east-1-rhel-server  88 k
 libXTrap             x86_64 1.0.0-3.1         rhui-sa-east-1-rhel-server  23 k
 libXevie             x86_64 1.0.1-3.1         rhui-sa-east-1-rhel-server  14 k
 libXfontcache        x86_64 1.0.2-3.1         rhui-sa-east-1-rhel-server 9.8 k
 libXres              x86_64 1.0.1-3.1         rhui-sa-east-1-rhel-server  14 k
 libXxf86misc         x86_64 1.0.1-3.1         rhui-sa-east-1-rhel-server  12 k
 libXxf86vm           x86_64 1.0.1-3.1         rhui-sa-east-1-rhel-server  14 k
 libbonobo            x86_64 2.16.0-1.1.el5_5.1
                                               rhui-sa-east-1-rhel-server 524 k
 libbonoboui          x86_64 2.16.0-1.fc6      rhui-sa-east-1-rhel-server 395 k
 libdaemon            x86_64 0.10-5.el5        rhui-sa-east-1-rhel-server  24 k
 libgfortran          x86_64 4.1.2-52.el5      rhui-sa-east-1-rhel-server 244 k
 libgnome             x86_64 2.16.0-6.el5      rhui-sa-east-1-rhel-server 860 k
 libgnomecanvas       x86_64 2.14.0-4.1        rhui-sa-east-1-rhel-server 224 k
 libgnomeui           x86_64 2.16.0-5.el5      rhui-sa-east-1-rhel-server 984 k
 libgomp              i386   4.4.6-3.el5.1     rhui-sa-east-1-rhel-server  72 k
 libnotify            x86_64 0.4.2-6.el5       rhui-sa-east-1-rhel-server  38 k
 libstdc++-devel      x86_64 4.1.2-52.el5      rhui-sa-east-1-rhel-server 2.8 M
 libwnck              x86_64 2.16.0-4.fc6      rhui-sa-east-1-rhel-server 187 k
 libxslt              x86_64 1.1.17-2.el5_2.2  rhui-sa-east-1-rhel-server 487 k
 notification-daemon  x86_64 0.3.5-9.el5       rhui-sa-east-1-rhel-server  48 k
 pyorbit              x86_64 2.14.1-3.el5      rhui-sa-east-1-rhel-server  50 k
 pyspi                x86_64 0.6.1-1.el5       rhui-sa-east-1-rhel-server  98 k
 shared-mime-info     x86_64 0.19-5.el5        rhui-sa-east-1-rhel-server 149 k
 startup-notification x86_64 0.8-4.1           rhui-sa-east-1-rhel-server  32 k
 systemtap-runtime    x86_64 1.6-6.el5         rhui-sa-east-1-rhel-server 215 k
 xorg-x11-fonts-base  noarch 7.1-2.1.el5       rhui-sa-east-1-rhel-server 3.7 M
 xorg-x11-server-Xvfb x86_64 1.1.1-48.90.el5   rhui-sa-east-1-rhel-server 1.6 M
 xorg-x11-server-utils
                      x86_64 7.1-5.el5_6.2     rhui-sa-east-1-rhel-server 172 k
 xorg-x11-xauth       x86_64 1:1.0.1-2.1       rhui-sa-east-1-rhel-server  32 k
 xorg-x11-xinit       x86_64 1.0.2-15.el5      rhui-sa-east-1-rhel-server  26 k
 xz                   x86_64 4.999.9-0.3.beta.20091007git.el5
                                               rhui-sa-east-1-rhel-server 146 k
 xz-libs              x86_64 4.999.9-0.3.beta.20091007git.el5
                                               rhui-sa-east-1-rhel-server  95 k

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

Total download size: 91 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           4.2 MB/s |  91 MB     00:21     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction

  Installing     : libgnomecanvas                                          1/88 

  Installing     : gnome-keyring                                           2/88 

  Installing     : audiofile                                               3/88 

  Installing     : esound                                                  4/88 

  Installing     : libIDL                                                  5/88
Comment 26 mkovacik 2012-02-28 12:48:10 EST
  Installing     : ORBit2                                                  6/88 

  Installing     : GConf2                                                  7/88 

  Installing     : libbonobo                                               8/88 

  Installing     : pyorbit                                                 9/88 

  Installing     : gail                                                   10/88 

  Installing     : libXfontcache                                          11/88 

  Installing     : startup-notification                                   12/88 

  Installing     : libXxf86misc                                           13/88 

  Installing     : imake                                                  14/88 

  Installing     : xz-libs                                                15/88 

  Installing     : xz                                                     16/88 

  Installing     : libgfortran                                            17/88 

  Installing     : libdaemon                                              18/88 

  Installing     : avahi                                                  19/88 

  Installing     : avahi-glib                                             20/88 

  Installing     : xorg-x11-xauth                                         21/88 

  Installing     : libXevie                                               22/88 

  Installing     : at-spi                                                 23/88 

  Installing     : pyspi                                                  24/88 

  Installing     : shared-mime-info                                       25/88 

  Installing     : libxslt                                                26/88 

  Installing     : libXxf86vm                                             27/88 

  Installing     : libXTrap                                               28/88 

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

  Installing     : xorg-x11-xinit                                         30/88 

  Installing     : elfutils-libs                                          31/88 

  Installing     : elfutils                                               32/88 

  Installing     : gdb                                                    33/88 

  Installing     : libXres                                                34/88 

  Installing     : autoconf                                               35/88 

  Installing     : libwnck                                                36/88 

  Installing     : notification-daemon                                    37/88 

  Installing     : libnotify                                              38/88 

  Installing     : automake                                               39/88 

  Installing     : xorg-x11-fonts-base                                    40/88 

  Installing     : xorg-x11-server-Xvfb                                   41/88 

  Installing     : systemtap-runtime                                      42/88 

  Installing     : gnome-mime-data                                        43/88 

  Installing     : libstdc++-devel                                        44/88 

  Installing     : gcc-c++                                                45/88 

  Installing     : rpm-build                                              46/88 

  Installing     : gcc-gfortran                                           47/88 

  Installing     : splint                                                 48/88 

  Installing     : oprofile                                               49/88 

  Installing     : dev86                                                  50/88 

  Installing     : ctags                                                  51/88 

  Installing     : doxygen                                                52/88 

  Installing     : patchutils                                             53/88 

  Installing     : python-ldap                                            54/88 

  Installing     : valgrind                                               55/88 

  Installing     : cvs                                                    56/88 

  Installing     : texinfo                                                57/88 

  Installing     : flex                                                   58/88 

  Installing     : bison                                                  59/88 

  Installing     : rcs                                                    60/88 

  Installing     : byacc                                                  61/88 

  Installing     : strace                                                 62/88 

  Installing     : cscope                                                 63/88 

  Installing     : ltrace                                                 64/88 

  Installing     : indent                                                 65/88 

  Installing     : diffstat                                               66/88 

  Installing     : swig                                                   67/88 

  Installing     : systemtap                                              68/88 

  Installing     : libtool                                                69/88 

  Installing     : automake17                                             70/88 

  Installing     : pstack                                                 71/88 

  Installing     : automake15                                             72/88 

  Installing     : redhat-rpm-config                                      73/88 

  Installing     : automake14                                             74/88 

  Installing     : automake16                                             75/88 

  Installing     : libgomp                                                76/88 

  Installing     : gettext                                                77/88 

  Installing     : valgrind                                               78/88 

  Installing     : gnome-vfs2                                             79/88 

  Installing     : libgnome                                               80/88 

  Installing     : libbonoboui                                            81/88 

  Installing     : libgnomeui                                             82/88 

  Installing     : gnome-mount                                            83/88 

  Installing     : gnome-python2-bonobo                                   84/88 

  Installing     : gnome-python2                                          85/88 

  Installing     : gnome-python2-gconf                                    86/88 

  Installing     : dogtail                                                87/88 

  Installing     : gnome-python2-gnomevfs                                 88/88 

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.x86_64 0:2.3-2.1              byacc.x86_64 0:1.9-29.2.2                
  cscope.x86_64 0:15.5-15.1.el5_3.1   ctags.x86_64 0:5.6-1.1                   
  cvs.x86_64 0:1.11.22-11.el5_8.1     dev86.x86_64 0:0.16.17-2.2               
  diffstat.x86_64 0:1.41-1.2.3.el5    dogtail.noarch 0:0.6.1-4.el5             
  doxygen.x86_64 1:1.4.7-1.1          elfutils.x86_64 0:0.137-3.el5            
  flex.x86_64 0:2.5.4a-41.fc6         gcc-c++.x86_64 0:4.1.2-52.el5            
  gcc-gfortran.x86_64 0:4.1.2-52.el5  gdb.x86_64 0:7.0.1-42.el5                
  gettext.i386 0:0.17-1.el5           indent.x86_64 0:2.2.9-14.fc6             
  libtool.x86_64 0:1.5.22-7.el5_4     ltrace.x86_64 0:0.5-13.45svn.el5_7.12    
  oprofile.x86_64 0:0.9.4-20.el5      patchutils.x86_64 0:0.2.31-2.2.2         
  pstack.x86_64 0:1.2-7.2.2           python-ldap.x86_64 0:2.2.0-2.1           
  rcs.x86_64 0:5.7-30.1               redhat-rpm-config.noarch 0:8.0.45-32.el5 
  rpm-build.x86_64 0:4.4.2.3-27.el5   splint.x86_64 0:3.1.1-16.el5             
  strace.x86_64 0:4.5.18-11.el5_8     swig.x86_64 0:1.3.29-2.el5               
  systemtap.x86_64 0:1.6-6.el5        texinfo.x86_64 0:4.8-14.el5              
  valgrind.i386 1:3.5.0-5.el5         valgrind.x86_64 1:3.5.0-5.el5            

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

Complete! 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
# checking possible sys update
Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
Skipping security plugin, no data
# no sys update found
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
RESULT: Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
Skipping security plugin, no data
Setting up Update Process
Resolving Dependencies
Skipping security plugin, no data
--> Running transaction check
---> Package gnutls.x86_64 0:1.4.1-7.el5_8.1 set to be updated
---> Package httpd.x86_64 0:2.2.3-63.el5_8.1 set to be updated
---> Package hwdata.noarch 0:0.213.26-1.el5 set to be updated
---> Package kernel-headers.x86_64 0:2.6.18-308.el5 set to be updated
---> Package kernel-xen.x86_64 0:2.6.18-308.el5 set to be installed
---> Package kernel-xen-devel.x86_64 0:2.6.18-308.el5 set to be installed
---> Package libpng.x86_64 2:1.2.10-15.el5_7 set to be updated
---> Package libsmbclient.x86_64 0:3.0.33-3.38.el5_8 set to be updated
---> Package libxml2.x86_64 0:2.6.26-2.1.15.el5_8.2 set to be updated
---> Package libxml2-python.x86_64 0:2.6.26-2.1.15.el5_8.2 set to be updated
---> Package mod_ssl.x86_64 1:2.2.3-63.el5_8.1 set to be updated
---> Package mysql.x86_64 0:5.0.95-1.el5_7.1 set to be updated
---> Package nspr.i386 0:4.8.9-1.el5_8 set to be updated
---> Package nspr.x86_64 0:4.8.9-1.el5_8 set to be updated
---> Package nss.i386 0:3.13.1-3.el5_8 set to be updated
---> Package nss.x86_64 0:3.13.1-3.el5_8 set to be updated
---> Package nss-tools.x86_64 0:3.13.1-3.el5_8 set to be updated
---> Package samba-client.x86_64 0:3.0.33-3.38.el5_8 set to be updated
---> Package samba-common.x86_64 0:3.0.33-3.38.el5_8 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package          Arch   Version               Repository                  Size
================================================================================
Installing:
 kernel-xen       x86_64 2.6.18-308.el5        rhui-sa-east-1-rhel-server  22 M
 kernel-xen-devel x86_64 2.6.18-308.el5        rhui-sa-east-1-rhel-server 5.7 M
Updating:
 gnutls           x86_64 1.4.1-7.el5_8.1       rhui-sa-east-1-rhel-server 365 k
 httpd            x86_64 2.2.3-63.el5_8.1      rhui-sa-east-1-rhel-server 1.3 M
 hwdata           noarch 0.213.26-1.el5        rhui-sa-east-1-rhel-server 423 k
 kernel-headers   x86_64 2.6.18-308.el5        rhui-sa-east-1-rhel-server 1.4 M
 libpng           x86_64 2:1.2.10-15.el5_7     rhui-sa-east-1-rhel-server 235 k
 libsmbclient     x86_64 3.0.33-3.38.el5_8     rhui-sa-east-1-rhel-server 917 k
 libxml2          x86_64 2.6.26-2.1.15.el5_8.2 rhui-sa-east-1-rhel-server 809 k
 libxml2-python   x86_64 2.6.26-2.1.15.el5_8.2 rhui-sa-east-1-rhel-server 714 k
 mod_ssl          x86_64 1:2.2.3-63.el5_8.1    rhui-sa-east-1-rhel-server  95 k
 mysql            x86_64 5.0.95-1.el5_7.1      rhui-sa-east-1-rhel-server 4.9 M
 nspr             i386   4.8.9-1.el5_8         rhui-sa-east-1-rhel-server 121 k
 nspr             x86_64 4.8.9-1.el5_8         rhui-sa-east-1-rhel-server 120 k
 nss              i386   3.13.1-3.el5_8        rhui-sa-east-1-rhel-server 1.1 M
 nss              x86_64 3.13.1-3.el5_8        rhui-sa-east-1-rhel-server 1.1 M
 nss-tools        x86_64 3.13.1-3.el5_8        rhui-sa-east-1-rhel-server 1.1 M
 samba-client     x86_64 3.0.33-3.38.el5_8     rhui-sa-east-1-rhel-server 5.7 M
 samba-common     x86_64 3.0.33-3.38.el5_8     rhui-sa-east-1-rhel-server 6.8 M

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

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

  Updating       : nspr                                                    1/36 

  Updating       : nss                                                     2/36 

  Updating       : libxml2                                                 3/36 

  Updating       : httpd                                                   4/36 

  Updating       : libpng                                                  5/36 

  Updating       : gnutls                                                  6/36 

  Updating       : mysql                                                   7/36 

  Updating       : libsmbclient                                            8/36 

  Updating       : samba-common                                            9/36 

  Updating       : samba-client                                           10/36 

  Updating       : mod_ssl                                                11/36 

  Updating       : libxml2-python                                         12/36 

  Updating       : nss-tools                                              13/36 

  Installing     : kernel-xen                                             14/36 

  Updating       : hwdata                                                 15/36 

  Updating       : kernel-headers                                         16/36 

  Installing     : kernel-xen-devel                                       17/36 

  Updating       : nspr                                                   18/36 

  Updating       : nss                                                    19/36 

  Cleanup        : samba-common                                           20/36 

  Cleanup        : httpd                                                  21/36 

  Cleanup        : kernel-headers                                         22/36 

  Cleanup        : nss                                                    23/36 

  Cleanup        : nss                                                    24/36 

  Cleanup        : nspr                                                   25/36 

  Cleanup        : nspr                                                   26/36 

  Cleanup        : samba-client                                           27/36 

  Cleanup        : libsmbclient                                           28/36 

  Cleanup        : mod_ssl                                                29/36 

  Cleanup        : mysql                                                  30/36 

  Cleanup        : libxml2                                                31/36 

  Cleanup        : libxml2-python                                         32/36 

  Cleanup        : nss-tools                                              33/36 

  Cleanup        : gnutls                                                 34/36 

  Cleanup        : libpng                                                 35/36 

  Cleanup        : hwdata                                                 36/36 

Installed:
  kernel-xen.x86_64 0:2.6.18-308.el5  kernel-xen-devel.x86_64 0:2.6.18-308.el5 

Updated:
  gnutls.x86_64 0:1.4.1-7.el5_8.1                                               
  httpd.x86_64 0:2.2.3-63.el5_8.1                                               
  hwdata.noarch 0:0.213.26-1.el5                                                
  kernel-headers.x86_64 0:2.6.18-308.el5                                        
  libpng.x86_64 2:1.2.10-15.el5_7                                               
  libsmbclient.x86_64 0:3.0.33-3.38.el5_8                                       
  libxml2.x86_64 0:2.6.26-2.1.15.el5_8.2                                        
  libxml2-python.x86_64 0:2.6.26-2.1.15.el5_8.2                                 
  mod_ssl.x86_64 1:2.2.3-63.el5_8.1                                             
  mysql.x86_64 0:5.0.95-1.el5_7.1                                               
  nspr.i386 0:4.8.9-1.el5_8                                                     
  nspr.x86_64 0:4.8.9-1.el5_8                                                   
  nss.i386 0:3.13.1-3.el5_8                                                     
  nss.x86_64 0:3.13.1-3.el5_8                                                   
  nss-tools.x86_64 0:3.13.1-3.el5_8                                             
  samba-client.x86_64 0:3.0.33-3.38.el5_8                                       
  samba-common.x86_64 0:3.0.33-3.38.el5_8                                       

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: ## 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: ## 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
# checking possible sys update
Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
Skipping security plugin, no data
# no sys update found
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
RESULT: Loaded plugins: amazon-id, fastestmirror, rhui-lb, security
Loading mirror speeds from cached hostfile
 * rhui-sa-east-1-client-config-server-5: rhui2-cds01.sa-east-1.aws.ce.redhat.com
 * rhui-sa-east-1-rhel-server: rhui2-cds01.sa-east-1.aws.ce.redhat.com
Skipping security plugin, no data
Setting up Update Process
No Packages marked for Update 
EXPECTED RESULT: 
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

## Summary ##
FAILURES = 0
FAILED TESTS = 
LOG FILE = /root/valid/src/validate.log
## Summary ##

######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
Comment 27 mkovacik 2012-02-28 12:52:27 EST
IMAGE ID= ami-fa6cb3e7_sa-east-1_m2.4xlarge
###### 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-308
CURRENT_UNAME_KERNAL_VERSION=2.6.18-308
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed 's/\(.*\)......./\1/'
RESULT: 2.6.18-308 
EXPECTED RESULT: 2.6.18-308
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-308
RESULT: title Red Hat Enterprise Linux Server (2.6.18-308.el5xen)
        kernel /boot/vmlinuz-2.6.18-308.el5xen ro root=LABEL=/ 
        initrd /boot/initrd-2.6.18-308.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 system up to date
######################################################################################
COMMAND:  _check_sys_update_phase1
# no update was required
RESULT: # checking sys update done
# no update was required 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ##Verify memory match hwp ... 
######################################################################################
cat /proc/meminfo | grep MemTotal: | awk '{print }'
FOUND MEMORY OF 71680000 > hwp MEMORY of 68400000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
hostname
######################################################################################
# NEW TEST: The selected image has the version RHEL 5.8
######################################################################################

## Summary ##
FAILURES = 0
FAILED TESTS = 
LOG FILE = /root/valid/src/validate.log
## Summary ##

######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
Comment 28 mkovacik 2012-02-28 12:55:09 EST
IMAGE ID= ami-fa6cb3e7_sa-east-1_c1.xlarge
###### 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-308
CURRENT_UNAME_KERNAL_VERSION=2.6.18-308
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed 's/\(.*\)......./\1/'
RESULT: 2.6.18-308 
EXPECTED RESULT: 2.6.18-308
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-308
RESULT: title Red Hat Enterprise Linux Server (2.6.18-308.el5xen)
        kernel /boot/vmlinuz-2.6.18-308.el5xen ro root=LABEL=/ 
        initrd /boot/initrd-2.6.18-308.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 system up to date
######################################################################################
COMMAND:  _check_sys_update_phase1
# no update was required
RESULT: # checking sys update done
# no update was required 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ##Verify memory match hwp ... 
######################################################################################
cat /proc/meminfo | grep MemTotal: | awk '{print }'
FOUND MEMORY OF 7340032 > hwp MEMORY of 7000000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
hostname
######################################################################################
# NEW TEST: The selected image has the version RHEL 5.8
######################################################################################

## Summary ##
FAILURES = 0
FAILED TESTS = 
LOG FILE = /root/valid/src/validate.log
## Summary ##

######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
Comment 29 mkovacik 2012-06-13 07:42:37 EDT
Closing validated amis.
Comment 30 mkovacik 2012-06-13 07:45:51 EDT
Closing validated amis.

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