Bug 831215 - ami-140eaf7d i386 stage
ami-140eaf7d i386 stage
Status: CLOSED NOTABUG
Product: Cloud Image Validation
Classification: Red Hat
Component: images (Show other bugs)
RHEL6.3
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: mkovacik
mkovacik
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-12 09:58 EDT by mkovacik
Modified: 2012-06-13 13:24 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:46:07 EDT
Type: Bug
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-06-12 09:58:12 EDT
=====image_validation.sh Tue Jun 12 09:42:07 EDT 2012=====
######################################################################################
# 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 => 10.3.94.105 with Image Id : ami-140eaf7d, is launched with Instance Id : i-441e9c3d , Instance Type : m1.small and Arch : i386 in the Region : us-east-1c
The Validate Signature is : hwEV9FuFxs9xXhbiMC6K2xu0sStlGKeSxg72HZGU3McqY/eFBo+kTDBMn1vs6gFDq20BHt8amcQY
ilLh41iTRPA2JQSpmsyh05rNrcFUwRSyMJi5SlFcIy4Slq7XZRKtdgufRiF6XosNj/hoxpEjENjl
hdVTtB9btcX9U8KSHSo=
This is a Cloud Access image
/root/valid/src
ip-10-3-94-105
Red Hat Enterprise Linux Server release 6.3 (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################
######################################################################################
# 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: e1886162554c18906df2ecd258aa4794 
EXPECTED RESULT: e1886162554c18906df2ecd258aa4794
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify auditd sysconfig ... 
######################################################################################
COMMAND:  md5sum /etc/sysconfig/auditd | cut -f 1 -d  " "
RESULT: d4d43637708e30418c30003e212f76fc 
EXPECTED RESULT: d4d43637708e30418c30003e212f76fc
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify bash_history ... 
######################################################################################
COMMAND:  cat ~/.bash_history | wc -l 
cat: /root/.bash_history: No such file or directory
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
######################################################################################
# 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/xvde1 | awk '{ print  }'
COMMAND:  echo ext4
RESULT: ext4 
EXPECTED RESULT: ext4
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Partition Size ...
######################################################################################
size=5905712
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 => 10.3.94.105 with Image Id : ami-140eaf7d, is launched with Instance Id : i-441e9c3d , Instance Type : m1.small and Arch : i386 in the Region : us-east-1c
The Validate Signature is : hwEV9FuFxs9xXhbiMC6K2xu0sStlGKeSxg72HZGU3McqY/eFBo+kTDBMn1vs6gFDq20BHt8amcQY
ilLh41iTRPA2JQSpmsyh05rNrcFUwRSyMJi5SlFcIy4Slq7XZRKtdgufRiF6XosNj/hoxpEjENjl
hdVTtB9btcX9U8KSHSo=
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-fd431d51-4ae0493b 
EXPECTED RESULT: gpg-pubkey-fd431d51-4ae0493b
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: 
EXPECTED RESULT: root:x:0:
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep daemon:x:2
RESULT: daemon:x:2:bin,daemon 
EXPECTED RESULT: daemon:x:2:bin,daemon
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep bin:x:1
RESULT: bin:x:1:bin,daemon 
EXPECTED RESULT: bin:x:1: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
######################################################################################
# NEW TEST: ## Verify iptables ... 
######################################################################################
COMMAND: /etc/init.d/iptables status | grep REJECT 
5    REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-host-prohibited 
1    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
######################################################################################
# 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: cannot access /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 1711852 > hwp MEMORY of 1600000
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_63 /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: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify resize2fs ... 
######################################################################################
COMMAND: resize2fs -p /dev/xvde1 15000M
resize2fs 1.41.12 (17-May-2010)
The containing partition (or device) is only 1835008 (4k) blocks.
You requested a new size of 3840000 blocks.

RETURN CODE: 1
COMMAND:  df -h | grep 15G | wc -l 
RESULT: 0 
EXPECTED RESULT: 1
RETURN CODE: 0
FAIL2
0
/root/valid/src
ip-10-3-94-105
Red Hat Enterprise Linux Server release 6.3 (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################
######################################################################################
# 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
######################################################################################
# NEW TEST: ## Verify swap size ... 
######################################################################################
parted -l | grep linux-swap | awk '{print $4}' | awk -F'MB' '{print $1}'
swap size = 940
COMMAND:  test 940 -gt 0
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify turning on/off swap file ... 
######################################################################################
COMMAND:  /sbin/swapoff /dev/xvde3 && /sbin/swapon /dev/xvde3
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rsyslog is on ... 
######################################################################################
COMMAND:  chkconfig --list | grep rsyslog | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rsyslog config ... 
######################################################################################
COMMAND:  md5sum /etc/rsyslog.conf | cut -f 1 -d  " "
RESULT: 8b91b32300134e98ef4aee632ed61e21 
EXPECTED RESULT: 8b91b32300134e98ef4aee632ed61e21
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 ... 
######################################################################################
COMMAND:  /bin/uname -s
RESULT: Linux 
EXPECTED RESULT: Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest installed kernel is running ... 
######################################################################################
Detected rpm kernel version: 2.6.32-276.el6.i686
Detected uname kernel version: 2.6.32-276.el6.i686
COMMAND:  true
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ... 
######################################################################################
COMMAND:  cat /boot/grub/menu.lst | grep 2.6.32-276.el6.i686
RESULT: title RHEL6.3-20120531.0-Server-i386-starter-ec2 (2.6.32-276.el6.i686)
        kernel /boot/vmlinuz-2.6.32-276.el6.i686 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-276.el6.i686.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/fingerprint-auth
....L....  c /etc/pam.d/password-auth
....L....  c /etc/pam.d/smartcard-auth
....L....  c /etc/pam.d/system-auth
.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: 5 
EXPECTED RESULT: 5
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify Version 2 ... 
######################################################################################
COMMAND:  /bin/rpm -q --queryformat '%{RELEASE}\n' redhat-release-server | cut -d. -f1,2
RESULT: 6.3 
EXPECTED RESULT: 6.3
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
crash-trace-commandPackager    : Lai Jiangshan <laijs@cn.fujitsu.com>
######################################################################################
# NEW TEST: ## List the configured repositories...
######################################################################################
COMMAND:  /usr/bin/yum repolist
Unable to read consumer identity
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
repo id                                      repo name                    status
rhui-us-east-1-rhel-server-releases          Red Hat Enterprise Linux Ser 6,280
rhui-us-east-1-rhel-server-releases-optional Red Hat Enterprise Linux Ser 3,735
repolist: 10,015 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Search zsh...
######################################################################################
COMMAND:  /usr/bin/yum search zsh
Unable to read consumer identity
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
=============================== N/S Matched: zsh ===============================
python-twisted-core-zsh.i686 : Tab completion for Zsh and Twisted Core
zsh-html.i686 : Zsh shell manual in html format
zsh.i686 : A powerful interactive shell

  Name and summary matches only, use "search all" for everything. 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## install zsh ... 
######################################################################################
COMMAND: /usr/bin/yum -y install zsh
Unable to read consumer identity
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
Unable to read consumer identity
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Group Process
Installed Groups:
   Additional Development
   Base
   Client management tools
   Console internet tools
   Debugging Tools
   Desktop Platform
   Directory Client
   E-mail server
   Fonts
   Graphical Administration Tools
   Hardware monitoring utilities
   Java Platform
   Large Systems Performance
   Legacy UNIX compatibility
   Messaging Client Support
   NFS file server
   Network file system client
   Networking Tools
   Performance Tools
   Perl Support
   Scientific support
   Server Platform
   Systems Management Messaging Server support
Installed Language Groups:
   Arabic Support [ar]
   Armenian Support [hy]
   Georgian Support [ka]
   Hebrew Support [he]
   Inuktitut Support [iu]
   Japanese Support [ja]
   Korean Support [ko]
   Lao Support [lo]
   Tajik Support [tg]
Available Groups:
   Backup Client
   Backup Server
   CIFS file server
   Compatibility libraries
   Desktop
   Desktop Debugging and Performance Tools
   Desktop Platform Development
   Development tools
   Dial-up Networking Support
   Directory Server
   Eclipse
   Emacs
   FCoE Storage Client
   FTP server
   General Purpose Desktop
   Graphics Creation Tools
   Identity Management Server
   Infiniband Support
   Input Methods
   Internet Applications
   Internet Browser
   KDE Desktop
   Legacy X Window System compatibility
   Mainframe Access
   MySQL Database client
   MySQL Database server
   Network Infrastructure Server
   Network Storage Server
   Office Suite and Productivity
   PHP Support
   PostgreSQL Database client
   PostgreSQL Database server
   Print Server
   Printing client
   Remote Desktop Clients
   Ruby Support
   SNMP Support
   Security Tools
   Server Platform Development
   Smart card support
   Somali Support
   Storage Availability Tools
   System Management
   System administration tools
   TeX support
   Technical Writing
   TurboGears application framework
   Virtualization
   Virtualization Client
   Virtualization Platform
   Virtualization Tools
   Web Server
   Web Servlet Engine
   Web-Based Enterprise Management
   X Window System
   iSCSI Storage Client
Available Language Groups:
   Afrikaans Support [af]
   Albanian Support [sq]
   Amazigh Support [ber]
   Assamese Support [as]
   Azerbaijani Support [az]
   Basque Support [eu]
   Belarusian Support [be]
   Bengali Support [bn]
   Bhutanese Support [dz]
   Brazilian Portuguese Support [pt_BR]
   Breton Support [br]
   Bulgarian Support [bg]
   Catalan Support [ca]
   Chhattisgarhi Support [hne]
   Chichewa Support [ny]
   Chinese Support [zh]
   Coptic Support [cop]
   Croatian Support [hr]
   Czech Support [cs]
   Danish Support [da]
   Dutch Support [nl]
   English (UK) Support [en_GB]
   Esperanto Support [eo]
   Estonian Support [et]
   Ethiopic Support [am]
   Faroese Support [fo]
   Fijian Support [fj]
   Filipino Support [fil]
   Finnish Support [fi]
   French Support [fr]
   Frisian Support [fy]
   Friulian Support [fur]
   Gaelic Support [gd]
   Galician Support [gl]
   German Support [de]
   Greek Support [el]
   Gujarati Support [gu]
   Hiligaynon Support [hil]
   Hindi Support [hi]
   Hungarian Support [hu]
   Icelandic Support [is]
   Indonesian Support [id]
   Interlingua Support [ia]
   Irish Support [ga]
   Italian Support [it]
   Kannada Support [kn]
   Kashmiri Support [ks]
   Kashubian Support [csb]
   Kazakh Support [kk]
   Khmer Support [km]
   Kinyarwanda Support [rw]
   Konkani Support [kok]
   Kurdish Support [ku]
   Latin Support [la]
   Latvian Support [lv]
   Lithuanian Support [lt]
   Low Saxon Support [nds]
   Luxembourgish Support [lb]
   Macedonian Support [mk]
   Maithili Support [mai]
   Malagasy Support [mg]
   Malay Support [ms]
   Malayalam Support [ml]
   Maltese Support [mt]
   Manx Support [gv]
   Maori Support [mi]
   Marathi Support [mr]
   Mongolian Support [mn]
   Myanmar (Burmese) Support [my]
   Nepali Support [ne]
   Northern Sotho Support [nso]
   Norwegian Support [nb]
   Occitan Support [oc]
   Oriya Support [or]
   Persian Support [fa]
   Polish Support [pl]
   Portuguese Support [pt]
   Punjabi Support [pa]
   Romanian Support [ro]
   Russian Support [ru]
   Sanskrit Support [sa]
   Sardinian Support [sc]
   Serbian Support [sr]
   Sindhi Support [sd]
   Sinhala Support [si]
   Slovak Support [sk]
   Slovenian Support [sl]
   Southern Ndebele Support [nr]
   Southern Sotho Support [st]
   Spanish Support [es]
   Swahili Support [sw]
   Swati Support [ss]
   Swedish Support [sv]
   Tagalog Support [tl]
   Tamil Support [ta]
   Telugu Support [te]
   Tetum Support [tet]
   Thai Support [th]
   Tibetan Support [bo]
   Tsonga Support [ts]
   Tswana Support [tn]
   Turkish Support [tr]
   Turkmen Support [tk]
   Ukrainian Support [uk]
   Upper Sorbian Support [hsb]
   Urdu Support [ur]
   Uzbek Support [uz]
   Venda Support [ve]
   Vietnamese Support [vi]
   Walloon Support [wa]
   Welsh Support [cy]
   Xhosa Support [xh]
   Zulu Support [zu]
Done 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Install Development tools group...
######################################################################################
COMMAND:  /usr/bin/yum -y groupinstall 'Development tools'
Unable to read consumer identity
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Group Process
Package 1:make-3.81-20.el6.i686 already installed and latest version
Package patch-2.6-6.el6.i686 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.i686 already installed and latest version
Package gettext-0.17-16.el6.i686 already installed and latest version
Package binutils-2.20.51.0.2-5.34.el6.i686 already installed and latest version
Package elfutils-0.152-1.el6.i686 already installed and latest version
Package cvs-1.11.23-11.el6_2.1.i686 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed
---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed
---> Package bison.i686 0:2.4.1-5.el6 will be installed
---> Package byacc.i686 0:1.9.20070509-7.el6 will be installed
---> Package cscope.i686 0:15.6-6.el6 will be installed
---> Package ctags.i686 0:5.8-2.el6 will be installed
---> Package diffstat.i686 0:1.51-2.el6 will be installed
---> Package doxygen.i686 1:1.6.1-6.el6 will be installed
---> Package flex.i686 0:2.5.35-8.el6 will be installed
---> Package gcc.i686 0:4.4.6-4.el6 will be installed
--> Processing Dependency: cpp = 4.4.6-4.el6 for package: gcc-4.4.6-4.el6.i686
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-4.el6.i686
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-4.el6.i686
---> Package gcc-c++.i686 0:4.4.6-4.el6 will be installed
--> Processing Dependency: libstdc++-devel = 4.4.6-4.el6 for package: gcc-c++-4.4.6-4.el6.i686
--> Processing Dependency: libmpfr.so.1 for package: gcc-c++-4.4.6-4.el6.i686
---> Package gcc-gfortran.i686 0:4.4.6-4.el6 will be installed
---> Package git.i686 0:1.7.1-2.el6_0.1 will be installed
--> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.i686
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.i686
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.i686
---> Package indent.i686 0:2.2.10-7.el6 will be installed
---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed
--> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch
---> Package libtool.i686 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.i686 0:0.3.1-3.1.el6 will be installed
---> Package rcs.i686 0:5.7-37.el6 will be installed
---> Package redhat-rpm-config.noarch 0:9.0.3-39.el6 will be installed
---> Package rpm-build.i686 0:4.8.0-27.el6 will be installed
---> Package subversion.i686 0:1.6.11-7.el6 will be installed
--> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-7.el6.i686
--> Processing Dependency: libneon.so.27 for package: subversion-1.6.11-7.el6.i686
--> Processing Dependency: libaprutil-1.so.0 for package: subversion-1.6.11-7.el6.i686
--> Processing Dependency: libapr-1.so.0 for package: subversion-1.6.11-7.el6.i686
---> Package swig.i686 0:1.3.40-6.el6 will be installed
---> Package systemtap.i686 0:1.7-5.el6 will be installed
--> Processing Dependency: systemtap-devel = 1.7-5.el6 for package: systemtap-1.7-5.el6.i686
--> Processing Dependency: systemtap-client = 1.7-5.el6 for package: systemtap-1.7-5.el6.i686
--> Running transaction check
---> Package apr.i686 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util.i686 0:1.3.9-3.el6_0.1 will be installed
---> Package cloog-ppl.i686 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2 for package: cloog-ppl-0.15.7-1.2.el6.i686
--> Processing Dependency: libppl.so.7 for package: cloog-ppl-0.15.7-1.2.el6.i686
---> Package cpp.i686 0:4.4.6-4.el6 will be installed
---> Package gettext-devel.i686 0:0.17-16.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libgettextpo.so.0 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libgcj_bc.so.1 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libasprintf.so.0 for package: gettext-devel-0.17-16.el6.i686
---> Package glibc-devel.i686 0:2.12-1.80.el6 will be installed
--> Processing Dependency: glibc-headers = 2.12-1.80.el6 for package: glibc-devel-2.12-1.80.el6.i686
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.80.el6.i686
---> Package libstdc++-devel.i686 0:4.4.6-4.el6 will be installed
---> Package mpfr.i686 0:2.4.1-6.el6 will be installed
---> Package neon.i686 0:0.29.3-2.el6 will be installed
--> Processing Dependency: libproxy.so.0 for package: neon-0.29.3-2.el6.i686
--> Processing Dependency: libpakchois.so.0 for package: neon-0.29.3-2.el6.i686
---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed
---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed
---> Package systemtap-client.i686 0:1.7-5.el6 will be installed
---> Package systemtap-devel.i686 0:1.7-5.el6 will be installed
--> Processing Dependency: kernel-devel for package: systemtap-devel-1.7-5.el6.i686
--> Running transaction check
---> Package gettext-libs.i686 0:0.17-16.el6 will be installed
---> Package glibc-headers.i686 0:2.12-1.80.el6 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.80.el6.i686
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.80.el6.i686
---> Package kernel-devel.i686 0:2.6.32-278.el6 will be installed
---> Package libgcj.i686 0:4.4.6-4.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-4.el6.i686
---> Package libproxy.i686 0:0.3.0-2.el6 will be installed
--> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686
--> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686
---> Package pakchois.i686 0:0.4-3.2.el6 will be installed
---> Package ppl.i686 0:0.10.2-11.el6 will be installed
--> Running transaction check
---> Package kernel-headers.i686 0:2.6.32-278.el6 will be installed
---> Package libart_lgpl.i686 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.i686 0:0.3.0-2.el6 will be installed
---> Package libproxy-python.i686 0:0.3.0-2.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package       Arch   Version         Repository                           Size
================================================================================
Installing:
 autoconf      noarch 2.63-5.1.el6    rhui-us-east-1-rhel-server-releases 781 k
 automake      noarch 1.11.1-1.2.el6  rhui-us-east-1-rhel-server-releases 550 k
 bison         i686   2.4.1-5.el6     rhui-us-east-1-rhel-server-releases 626 k
 byacc         i686   1.9.20070509-7.el6
                                      rhui-us-east-1-rhel-server-releases  44 k
 cscope        i686   15.6-6.el6      rhui-us-east-1-rhel-server-releases 130 k
 ctags         i686   5.8-2.el6       rhui-us-east-1-rhel-server-releases 142 k
 diffstat      i686   1.51-2.el6      rhui-us-east-1-rhel-server-releases  29 k
 doxygen       i686   1:1.6.1-6.el6   rhui-us-east-1-rhel-server-releases 2.3 M
 flex          i686   2.5.35-8.el6    rhui-us-east-1-rhel-server-releases 279 k
 gcc           i686   4.4.6-4.el6     rhui-us-east-1-rhel-server-releases 8.2 M
 gcc-c++       i686   4.4.6-4.el6     rhui-us-east-1-rhel-server-releases 4.3 M
 gcc-gfortran  i686   4.4.6-4.el6     rhui-us-east-1-rhel-server-releases 4.1 M
 git           i686   1.7.1-2.el6_0.1 rhui-us-east-1-rhel-server-releases 4.5 M
 indent        i686   2.2.10-7.el6    rhui-us-east-1-rhel-server-releases 112 k
 intltool      noarch 0.41.0-1.1.el6  rhui-us-east-1-rhel-server-releases  58 k
 libtool       i686   2.2.6-15.5.el6  rhui-us-east-1-rhel-server-releases 564 k
 patchutils    i686   0.3.1-3.1.el6   rhui-us-east-1-rhel-server-releases  94 k
 rcs           i686   5.7-37.el6      rhui-us-east-1-rhel-server-releases 169 k
 redhat-rpm-config
               noarch 9.0.3-39.el6    rhui-us-east-1-rhel-server-releases  58 k
 rpm-build     i686   4.8.0-27.el6    rhui-us-east-1-rhel-server-releases 126 k
 subversion    i686   1.6.11-7.el6    rhui-us-east-1-rhel-server-releases 2.2 M
 swig          i686   1.3.40-6.el6    rhui-us-east-1-rhel-server-releases 1.1 M
 systemtap     i686   1.7-5.el6       rhui-us-east-1-rhel-server-releases  25 k
Installing for dependencies:
 apr           i686   1.3.9-3.el6_1.2 rhui-us-east-1-rhel-server-releases 129 k
 apr-util      i686   1.3.9-3.el6_0.1 rhui-us-east-1-rhel-server-releases  89 k
 cloog-ppl     i686   0.15.7-1.2.el6  rhui-us-east-1-rhel-server-releases  93 k
 cpp           i686   4.4.6-4.el6     rhui-us-east-1-rhel-server-releases 3.4 M
 gettext-devel i686   0.17-16.el6     rhui-us-east-1-rhel-server-releases 153 k
 gettext-libs  i686   0.17-16.el6     rhui-us-east-1-rhel-server-releases 110 k
 glibc-devel   i686   2.12-1.80.el6   rhui-us-east-1-rhel-server-releases 970 k
 glibc-headers i686   2.12-1.80.el6   rhui-us-east-1-rhel-server-releases 609 k
 kernel-devel  i686   2.6.32-278.el6  rhui-us-east-1-rhel-server-releases 7.6 M
 kernel-headers
               i686   2.6.32-278.el6  rhui-us-east-1-rhel-server-releases 1.9 M
 libart_lgpl   i686   2.3.20-5.1.el6  rhui-us-east-1-rhel-server-releases  63 k
 libgcj        i686   4.4.6-4.el6     rhui-us-east-1-rhel-server-releases  17 M
 libproxy      i686   0.3.0-2.el6     rhui-us-east-1-rhel-server-releases  38 k
 libproxy-bin  i686   0.3.0-2.el6     rhui-us-east-1-rhel-server-releases 8.0 k
 libproxy-python
               i686   0.3.0-2.el6     rhui-us-east-1-rhel-server-releases 8.3 k
 libstdc++-devel
               i686   4.4.6-4.el6     rhui-us-east-1-rhel-server-releases 1.5 M
 mpfr          i686   2.4.1-6.el6     rhui-us-east-1-rhel-server-releases 153 k
 neon          i686   0.29.3-2.el6    rhui-us-east-1-rhel-server-releases 120 k
 pakchois      i686   0.4-3.2.el6     rhui-us-east-1-rhel-server-releases  21 k
 perl-Error    noarch 1:0.17015-4.el6 rhui-us-east-1-rhel-server-releases  29 k
 perl-Git      noarch 1.7.1-2.el6_0.1 rhui-us-east-1-rhel-server-releases  28 k
 ppl           i686   0.10.2-11.el6   rhui-us-east-1-rhel-server-releases 1.3 M
 systemtap-client
               i686   1.7-5.el6       rhui-us-east-1-rhel-server-releases 3.0 M
 systemtap-devel
               i686   1.7-5.el6       rhui-us-east-1-rhel-server-releases 1.2 M

Transaction Summary
================================================================================
Install      47 Package(s)

Total download size: 70 M
Installed size: 200 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           4.5 MB/s |  70 MB     00:15     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Installing : 1:perl-Error-0.17015-4.el6.noarch                           1/47 

  Installing : autoconf-2.63-5.1.el6.noarch                                2/47 

  Installing : automake-1.11.1-1.2.el6.noarch                              3/47 

  Installing : git-1.7.1-2.el6_0.1.i686                                    4/47 

  Installing : perl-Git-1.7.1-2.el6_0.1.noarch                             5/47 

  Installing : libproxy-bin-0.3.0-2.el6.i686                               6/47 

  Installing : libproxy-0.3.0-2.el6.i686                                   7/47 

  Installing : libproxy-python-0.3.0-2.el6.i686                            8/47 

  Installing : kernel-devel-2.6.32-278.el6.i686                            9/47 

  Installing : libstdc++-devel-4.4.6-4.el6.i686                           10/47 

  Installing : kernel-headers-2.6.32-278.el6.i686                         11/47 

  Installing : mpfr-2.4.1-6.el6.i686                                      12/47 

  Installing : apr-1.3.9-3.el6_1.2.i686                                   13/47 

  Installing : glibc-headers-2.12-1.80.el6.i686                           14/47 

  Installing : glibc-devel-2.12-1.80.el6.i686                             15/47 

  Installing : apr-util-1.3.9-3.el6_0.1.i686                              16/47 

  Installing : cpp-4.4.6-4.el6.i686                                       17/47 

  Installing : ppl-0.10.2-11.el6.i686                                     18/47 

  Installing : cloog-ppl-0.15.7-1.2.el6.i686                              19/47 

  Installing : gcc-4.4.6-4.el6.i686                                       20/47 

  Installing : systemtap-devel-1.7-5.el6.i686                             21/47 

  Installing : pakchois-0.4-3.2.el6.i686                                  22/47 

  Installing : neon-0.29.3-2.el6.i686                                     23/47 

  Installing : gettext-libs-0.17-16.el6.i686                              24/47 

  Installing : systemtap-client-1.7-5.el6.i686                            25/47 

  Installing : libart_lgpl-2.3.20-5.1.el6.i686                            26/47 

  Installing : systemtap-1.7-5.el6.i686                                   27/47 

  Installing : libtool-2.2.6-15.5.el6.i686                                28/47 

  Installing : redhat-rpm-config-9.0.3-39.el6.noarch                      29/47 

  Installing : libgcj-4.4.6-4.el6.i686                                    30/47 

  Installing : gettext-devel-0.17-16.el6.i686                             31/47 

  Installing : intltool-0.41.0-1.1.el6.noarch                             32/47 

  Installing : subversion-1.6.11-7.el6.i686                               33/47 

  Installing : gcc-gfortran-4.4.6-4.el6.i686                              34/47 

  Installing : gcc-c++-4.4.6-4.el6.i686                                   35/47 

  Installing : rcs-5.7-37.el6.i686                                        36/47 

  Installing : cscope-15.6-6.el6.i686                                     37/47 

  Installing : rpm-build-4.8.0-27.el6.i686                                38/47 

  Installing : patchutils-0.3.1-3.1.el6.i686                              39/47 

  Installing : indent-2.2.10-7.el6.i686                                   40/47 

  Installing : ctags-5.8-2.el6.i686                                       41/47 

  Installing : bison-2.4.1-5.el6.i686                                     42/47 

  Installing : swig-1.3.40-6.el6.i686                                     43/47 

  Installing : 1:doxygen-1.6.1-6.el6.i686                                 44/47 

  Installing : diffstat-1.51-2.el6.i686                                   45/47 

  Installing : byacc-1.9.20070509-7.el6.i686                              46/47 

  Installing : flex-2.5.35-8.el6.i686                                     47/47 
Installed products updated.

  Verifying  : apr-util-1.3.9-3.el6_0.1.i686                               1/47 

  Verifying  : flex-2.5.35-8.el6.i686                                      2/47 

  Verifying  : kernel-headers-2.6.32-278.el6.i686                          3/47 

  Verifying  : byacc-1.9.20070509-7.el6.i686                               4/47 

  Verifying  : glibc-devel-2.12-1.80.el6.i686                              5/47 

  Verifying  : mpfr-2.4.1-6.el6.i686                                       6/47 

  Verifying  : diffstat-1.51-2.el6.i686                                    7/47 

  Verifying  : 1:doxygen-1.6.1-6.el6.i686                                  8/47 

  Verifying  : swig-1.3.40-6.el6.i686                                      9/47 

  Verifying  : subversion-1.6.11-7.el6.i686                               10/47 

  Verifying  : libart_lgpl-2.3.20-5.1.el6.i686                            11/47 

  Verifying  : perl-Git-1.7.1-2.el6_0.1.noarch                            12/47 

  Verifying  : systemtap-client-1.7-5.el6.i686                            13/47 

  Verifying  : gcc-gfortran-4.4.6-4.el6.i686                              14/47 

  Verifying  : cpp-4.4.6-4.el6.i686                                       15/47 

  Verifying  : libgcj-4.4.6-4.el6.i686                                    16/47 

  Verifying  : gettext-devel-0.17-16.el6.i686                             17/47 

  Verifying  : redhat-rpm-config-9.0.3-39.el6.noarch                      18/47 

  Verifying  : bison-2.4.1-5.el6.i686                                     19/47 

  Verifying  : gettext-libs-0.17-16.el6.i686                              20/47 

  Verifying  : autoconf-2.63-5.1.el6.noarch                               21/47 

  Verifying  : apr-1.3.9-3.el6_1.2.i686                                   22/47 

  Verifying  : 1:perl-Error-0.17015-4.el6.noarch                          23/47 

  Verifying  : ctags-5.8-2.el6.i686                                       24/47 

  Verifying  : indent-2.2.10-7.el6.i686                                   25/47 

  Verifying  : libstdc++-devel-4.4.6-4.el6.i686                           26/47 

  Verifying  : patchutils-0.3.1-3.1.el6.i686                              27/47 

  Verifying  : git-1.7.1-2.el6_0.1.i686                                   28/47 

  Verifying  : pakchois-0.4-3.2.el6.i686                                  29/47 

  Verifying  : libproxy-python-0.3.0-2.el6.i686                           30/47 

  Verifying  : ppl-0.10.2-11.el6.i686                                     31/47 

  Verifying  : gcc-c++-4.4.6-4.el6.i686                                   32/47 

  Verifying  : automake-1.11.1-1.2.el6.noarch                             33/47 

  Verifying  : neon-0.29.3-2.el6.i686                                     34/47 

  Verifying  : libproxy-bin-0.3.0-2.el6.i686                              35/47 

  Verifying  : kernel-devel-2.6.32-278.el6.i686                           36/47 

  Verifying  : systemtap-1.7-5.el6.i686                                   37/47 

  Verifying  : systemtap-devel-1.7-5.el6.i686                             38/47 

  Verifying  : rpm-build-4.8.0-27.el6.i686                                39/47 

  Verifying  : glibc-headers-2.12-1.80.el6.i686                           40/47 

  Verifying  : libtool-2.2.6-15.5.el6.i686                                41/47 

  Verifying  : intltool-0.41.0-1.1.el6.noarch                             42/47 

  Verifying  : cscope-15.6-6.el6.i686                                     43/47 

  Verifying  : rcs-5.7-37.el6.i686                                        44/47 

  Verifying  : gcc-4.4.6-4.el6.i686                                       45/47 

  Verifying  : cloog-ppl-0.15.7-1.2.el6.i686                              46/47 

  Verifying  : libproxy-0.3.0-2.el6.i686                                  47/47 

Installed:
  autoconf.noarch 0:2.63-5.1.el6             automake.noarch 0:1.11.1-1.2.el6   
  bison.i686 0:2.4.1-5.el6                   byacc.i686 0:1.9.20070509-7.el6    
  cscope.i686 0:15.6-6.el6                   ctags.i686 0:5.8-2.el6             
  diffstat.i686 0:1.51-2.el6                 doxygen.i686 1:1.6.1-6.el6         
  flex.i686 0:2.5.35-8.el6                   gcc.i686 0:4.4.6-4.el6             
  gcc-c++.i686 0:4.4.6-4.el6                 gcc-gfortran.i686 0:4.4.6-4.el6    
  git.i686 0:1.7.1-2.el6_0.1                 indent.i686 0:2.2.10-7.el6         
  intltool.noarch 0:0.41.0-1.1.el6           libtool.i686 0:2.2.6-15.5.el6      
  patchutils.i686 0:0.3.1-3.1.el6            rcs.i686 0:5.7-37.el6              
  redhat-rpm-config.noarch 0:9.0.3-39.el6    rpm-build.i686 0:4.8.0-27.el6      
  subversion.i686 0:1.6.11-7.el6             swig.i686 0:1.3.40-6.el6           
  systemtap.i686 0:1.7-5.el6                

Dependency Installed:
  apr.i686 0:1.3.9-3.el6_1.2            apr-util.i686 0:1.3.9-3.el6_0.1        
  cloog-ppl.i686 0:0.15.7-1.2.el6       cpp.i686 0:4.4.6-4.el6                 
  gettext-devel.i686 0:0.17-16.el6      gettext-libs.i686 0:0.17-16.el6        
  glibc-devel.i686 0:2.12-1.80.el6      glibc-headers.i686 0:2.12-1.80.el6     
  kernel-devel.i686 0:2.6.32-278.el6    kernel-headers.i686 0:2.6.32-278.el6   
  libart_lgpl.i686 0:2.3.20-5.1.el6     libgcj.i686 0:4.4.6-4.el6              
  libproxy.i686 0:0.3.0-2.el6           libproxy-bin.i686 0:0.3.0-2.el6        
  libproxy-python.i686 0:0.3.0-2.el6    libstdc++-devel.i686 0:4.4.6-4.el6     
  mpfr.i686 0:2.4.1-6.el6               neon.i686 0:0.29.3-2.el6               
  pakchois.i686 0:0.4-3.2.el6           perl-Error.noarch 1:0.17015-4.el6      
  perl-Git.noarch 0:1.7.1-2.el6_0.1     ppl.i686 0:0.10.2-11.el6               
  systemtap-client.i686 0:1.7-5.el6     systemtap-devel.i686 0:1.7-5.el6       

Complete! 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
# checking possible sys update
Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
# no sys update found
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
Unable to read consumer identity
https://rhui2-cds01-stage.us-east-1.aws.ce.redhat.com/pulp/repos//content/dist/rhel/rhui/server/6/6Server/i386/os/Packages/kernel-2.6.32-278.el6.i686.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.


Error Downloading Packages:
  kernel-2.6.32-278.el6.i686: failure: Packages/kernel-2.6.32-278.el6.i686.rpm from rhui-us-east-1-rhel-server-releases: [Errno 256] No more mirrors to try.

RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package bind-libs.i686 32:9.8.2-0.9.rc1.el6 will be updated
---> Package bind-libs.i686 32:9.8.2-0.10.rc1.el6 will be an update
---> Package bind-utils.i686 32:9.8.2-0.9.rc1.el6 will be updated
---> Package bind-utils.i686 32:9.8.2-0.10.rc1.el6 will be an update
---> Package dmidecode.i686 1:2.11-2.el6 will be updated
---> Package dmidecode.i686 1:2.11-2.el6_1 will be an update
---> Package kernel.i686 0:2.6.32-278.el6 will be installed
---> Package kernel-firmware.noarch 0:2.6.32-276.el6 will be updated
---> Package kernel-firmware.noarch 0:2.6.32-278.el6 will be an update
---> Package perf.i686 0:2.6.32-276.el6 will be updated
---> Package perf.i686 0:2.6.32-278.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package      Arch   Version          Repository                           Size
================================================================================
Installing:
 kernel       i686   2.6.32-278.el6   rhui-us-east-1-rhel-server-releases  23 M
Updating:
 bind-libs    i686   32:9.8.2-0.10.rc1.el6
                                      rhui-us-east-1-rhel-server-releases 882 k
 bind-utils   i686   32:9.8.2-0.10.rc1.el6
                                      rhui-us-east-1-rhel-server-releases 180 k
 dmidecode    i686   1:2.11-2.el6_1   rhui-us-east-1-rhel-server-releases  70 k
 kernel-firmware
              noarch 2.6.32-278.el6   rhui-us-east-1-rhel-server-releases 8.7 M
 perf         i686   2.6.32-278.el6   rhui-us-east-1-rhel-server-releases 1.6 M

Transaction Summary
================================================================================
Install       1 Package(s)
Upgrade       5 Package(s)

Total download size: 34 M
Downloading Packages: 
EXPECTED RESULT: 
RETURN CODE: 1
FAIL1
Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package bind-libs.i686 32:9.8.2-0.9.rc1.el6 will be updated ---> Package bind-libs.i686 32:9.8.2-0.10.rc1.el6 will be an update ---> Package bind-utils.i686 32:9.8.2-0.9.rc1.el6 will be updated ---> Package bind-utils.i686 32:9.8.2-0.10.rc1.el6 will be an update ---> Package dmidecode.i686 1:2.11-2.el6 will be updated ---> Package dmidecode.i686 1:2.11-2.el6_1 will be an update ---> Package kernel.i686 0:2.6.32-278.el6 will be installed ---> Package kernel-firmware.noarch 0:2.6.32-276.el6 will be updated ---> Package kernel-firmware.noarch 0:2.6.32-278.el6 will be an update ---> Package perf.i686 0:2.6.32-276.el6 will be updated ---> Package perf.i686 0:2.6.32-278.el6 will be an update --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: kernel i686 2.6.32-278.el6 rhui-us-east-1-rhel-server-releases 23 M Updating: bind-libs i686 32:9.8.2-0.10.rc1.el6 rhui-us-east-1-rhel-server-releases 882 k bind-utils i686 32:9.8.2-0.10.rc1.el6 rhui-us-east-1-rhel-server-releases 180 k dmidecode i686 1:2.11-2.el6_1 rhui-us-east-1-rhel-server-releases 70 k kernel-firmware noarch 2.6.32-278.el6 rhui-us-east-1-rhel-server-releases 8.7 M perf i686 2.6.32-278.el6 rhui-us-east-1-rhel-server-releases 1.6 M Transaction Summary ================================================================================ Install 1 Package(s) Upgrade 5 Package(s) Total download size: 34 M Downloading Packages:
######################################################################################
# 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
Unable to read consumer identity
Warning: RPMDB altered outside of yum.
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, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
# no sys update found
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
Unable to read consumer identity
https://rhui2-cds01-stage.us-east-1.aws.ce.redhat.com/pulp/repos//content/dist/rhel/rhui/server/6/6Server/i386/os/Packages/kernel-2.6.32-278.el6.i686.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.


Error Downloading Packages:
  kernel-2.6.32-278.el6.i686: failure: Packages/kernel-2.6.32-278.el6.i686.rpm from rhui-us-east-1-rhel-server-releases: [Errno 256] No more mirrors to try.

RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package bind-libs.i686 32:9.8.2-0.9.rc1.el6 will be updated
---> Package bind-libs.i686 32:9.8.2-0.10.rc1.el6 will be an update
---> Package bind-utils.i686 32:9.8.2-0.9.rc1.el6 will be updated
---> Package bind-utils.i686 32:9.8.2-0.10.rc1.el6 will be an update
---> Package dmidecode.i686 1:2.11-2.el6 will be updated
---> Package dmidecode.i686 1:2.11-2.el6_1 will be an update
---> Package kernel.i686 0:2.6.32-278.el6 will be installed
---> Package kernel-firmware.noarch 0:2.6.32-276.el6 will be updated
---> Package kernel-firmware.noarch 0:2.6.32-278.el6 will be an update
---> Package perf.i686 0:2.6.32-276.el6 will be updated
---> Package perf.i686 0:2.6.32-278.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package      Arch   Version          Repository                           Size
================================================================================
Installing:
 kernel       i686   2.6.32-278.el6   rhui-us-east-1-rhel-server-releases  23 M
Updating:
 bind-libs    i686   32:9.8.2-0.10.rc1.el6
                                      rhui-us-east-1-rhel-server-releases 882 k
 bind-utils   i686   32:9.8.2-0.10.rc1.el6
                                      rhui-us-east-1-rhel-server-releases 180 k
 dmidecode    i686   1:2.11-2.el6_1   rhui-us-east-1-rhel-server-releases  70 k
 kernel-firmware
              noarch 2.6.32-278.el6   rhui-us-east-1-rhel-server-releases 8.7 M
 perf         i686   2.6.32-278.el6   rhui-us-east-1-rhel-server-releases 1.6 M

Transaction Summary
================================================================================
Install       1 Package(s)
Upgrade       5 Package(s)

Total size: 34 M
Total download size: 23 M
Downloading Packages: 
EXPECTED RESULT: 
RETURN CODE: 1
FAIL1
Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package bind-libs.i686 32:9.8.2-0.9.rc1.el6 will be updated ---> Package bind-libs.i686 32:9.8.2-0.10.rc1.el6 will be an update ---> Package bind-utils.i686 32:9.8.2-0.9.rc1.el6 will be updated ---> Package bind-utils.i686 32:9.8.2-0.10.rc1.el6 will be an update ---> Package dmidecode.i686 1:2.11-2.el6 will be updated ---> Package dmidecode.i686 1:2.11-2.el6_1 will be an update ---> Package kernel.i686 0:2.6.32-278.el6 will be installed ---> Package kernel-firmware.noarch 0:2.6.32-276.el6 will be updated ---> Package kernel-firmware.noarch 0:2.6.32-278.el6 will be an update ---> Package perf.i686 0:2.6.32-276.el6 will be updated ---> Package perf.i686 0:2.6.32-278.el6 will be an update --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: kernel i686 2.6.32-278.el6 rhui-us-east-1-rhel-server-releases 23 M Updating: bind-libs i686 32:9.8.2-0.10.rc1.el6 rhui-us-east-1-rhel-server-releases 882 k bind-utils i686 32:9.8.2-0.10.rc1.el6 rhui-us-east-1-rhel-server-releases 180 k dmidecode i686 1:2.11-2.el6_1 rhui-us-east-1-rhel-server-releases 70 k kernel-firmware noarch 2.6.32-278.el6 rhui-us-east-1-rhel-server-releases 8.7 M perf i686 2.6.32-278.el6 rhui-us-east-1-rhel-server-releases 1.6 M Transaction Summary ================================================================================ Install 1 Package(s) Upgrade 5 Package(s) Total size: 34 M Total download size: 23 M Downloading Packages:
######################################################################################
# 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 = 3
FAILED TESTS = ## test repo files ... ## Verify resize2fs ... ## Install Development tools group... ## Verify no fa1lures in rpm package ... ## Verify no rpm scriplet fa1lures ...
Fetching the identity doc Details Fetching the identity doc Details Fetching the identity doc Details Fetching the identity doc Details ## Verify resize2fs ... ## Verify yum update ... ## Verify no fa1lures in rpm package ... ## Verify no rpm scriplet fa1lures ... ## Verify yum update ...
## Verify resize2fs ... ## Verify no fa1lures in rpm package ... ## Verify no rpm scriplet fa1lures ...
## Verify resize2fs ... ## Verify yum update ... ## Verify yum update ...
LOG FILE = /root/valid/src/validate.log
## Summary ##
Comment 1 mkovacik 2012-06-12 10:00:32 EDT
The failing tests are:
  resize test -- this is OK as the 15G partition wasn't attached to the instance
  update test -- this is OK as it is rather a contents issue: see Bug 831121
Status -> verified
Comment 2 mkovacik 2012-06-13 05:35:07 EDT
IMAGE ID= 
Preparing...                ##################################################
epel-release                ##################################################
Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package python-bugzilla.noarch 0:0.6.0-1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                 Arch           Version              Repository    Size
================================================================================
Installing:
 python-bugzilla         noarch         0.6.0-1.el6          epel          71 k

Transaction Summary
================================================================================
Install       1 Package(s)

Total download size: 71 k
Installed size: 309 k
Downloading Packages:
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Installing : python-bugzilla-0.6.0-1.el6.noarch                           1/1 
Installed products updated.

  Verifying  : python-bugzilla-0.6.0-1.el6.noarch                           1/1 

Installed:
  python-bugzilla.noarch 0:0.6.0-1.el6                                          

Complete!
=====image_validation.sh Wed Jun 13 05:33:20 EDT 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-23-22-67-20.compute-1.amazonaws.com with Image Id : ami-140eaf7d, is launched with Instance Id : i-6031bb19 , Instance Type : c1.medium and Arch : i386 in the Region : us-east-1d
The Validate Signature is : EyOwaGLTpTAmvGvyfwzPfeKrXF7ymuB6qF8vT4TmeaaIGp3AI7ZW8x2JczXbjIjq/3XVQJ4Io5JG
jvht7g4sI0A6C2QtFlYjwbvO74GVjgE98o50W1rTTV12XK6ZHMkV8Z76DvRHwLDOS5qC4ORdcilQ
VZ2NG5QWQgaooMzzlRw=
This is a Cloud Access image
/root/valid/src
ip-10-194-179-207
Red Hat Enterprise Linux Server release 6.3 (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################
######################################################################################
# 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: e1886162554c18906df2ecd258aa4794 
EXPECTED RESULT: e1886162554c18906df2ecd258aa4794
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify auditd sysconfig ... 
######################################################################################
COMMAND:  md5sum /etc/sysconfig/auditd | cut -f 1 -d  " "
RESULT: d4d43637708e30418c30003e212f76fc 
EXPECTED RESULT: d4d43637708e30418c30003e212f76fc
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify bash_history ... 
######################################################################################
COMMAND:  cat ~/.bash_history | wc -l 
cat: /root/.bash_history: No such file or directory
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
######################################################################################
# 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/xvde1 | awk '{ print  }'
COMMAND:  echo ext4
RESULT: ext4 
EXPECTED RESULT: ext4
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Partition Size ...
######################################################################################
size=5905712
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-23-22-67-20.compute-1.amazonaws.com with Image Id : ami-140eaf7d, is launched with Instance Id : i-6031bb19 , Instance Type : c1.medium and Arch : i386 in the Region : us-east-1d
The Validate Signature is : EyOwaGLTpTAmvGvyfwzPfeKrXF7ymuB6qF8vT4TmeaaIGp3AI7ZW8x2JczXbjIjq/3XVQJ4Io5JG
jvht7g4sI0A6C2QtFlYjwbvO74GVjgE98o50W1rTTV12XK6ZHMkV8Z76DvRHwLDOS5qC4ORdcilQ
VZ2NG5QWQgaooMzzlRw=
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: 3 
EXPECTED RESULT: 2
RETURN CODE: 0
FAIL2
3
######################################################################################
# NEW TEST: ## Verify GPG RPMS ... 
######################################################################################
COMMAND:  rpm -qa gpg-pubkey* | sort -f | tail -n 1
RESULT: gpg-pubkey-fd431d51-4ae0493b 
EXPECTED RESULT: gpg-pubkey-fd431d51-4ae0493b
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: 
EXPECTED RESULT: root:x:0:
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep daemon:x:2
RESULT: daemon:x:2:bin,daemon 
EXPECTED RESULT: daemon:x:2:bin,daemon
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep bin:x:1
RESULT: bin:x:1:bin,daemon 
EXPECTED RESULT: bin:x:1: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
######################################################################################
# NEW TEST: ## Verify iptables ... 
######################################################################################
COMMAND: /etc/init.d/iptables status | grep REJECT 
5    REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-host-prohibited 
1    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
######################################################################################
# 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: cannot access /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 1752696 > hwp MEMORY of 1700000
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_63 /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: 6 
EXPECTED RESULT: 4
RETURN CODE: 0
FAIL2
6
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: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify resize2fs ... 
######################################################################################
COMMAND: resize2fs -p /dev/xvde1 15000M
resize2fs 1.41.12 (17-May-2010)
RETURN CODE: 0
COMMAND:  df -h | grep 15G | wc -l 
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
/root/valid/src
ip-10-194-179-207
Red Hat Enterprise Linux Server release 6.3 (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################
######################################################################################
# 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
######################################################################################
# NEW TEST: ## Verify swap size ... 
######################################################################################
parted -l | grep linux-swap | awk '{print $4}' | awk -F'MB' '{print $1}'
swap size = 940
COMMAND:  test 940 -gt 0
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify turning on/off swap file ... 
######################################################################################
COMMAND:  /sbin/swapoff /dev/xvde3 && /sbin/swapon /dev/xvde3
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rsyslog is on ... 
######################################################################################
COMMAND:  chkconfig --list | grep rsyslog | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rsyslog config ...
Comment 3 mkovacik 2012-06-13 05:35:14 EDT
######################################################################################
COMMAND:  md5sum /etc/rsyslog.conf | cut -f 1 -d  " "
RESULT: 8b91b32300134e98ef4aee632ed61e21 
EXPECTED RESULT: 8b91b32300134e98ef4aee632ed61e21
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 ... 
######################################################################################
COMMAND:  /bin/uname -s
RESULT: Linux 
EXPECTED RESULT: Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest installed kernel is running ... 
######################################################################################
Detected rpm kernel version: 2.6.32-276.el6.i686
Detected uname kernel version: 2.6.32-276.el6.i686
COMMAND:  true
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ... 
######################################################################################
COMMAND:  cat /boot/grub/menu.lst | grep 2.6.32-276.el6.i686
RESULT: title RHEL6.3-20120531.0-Server-i386-starter-ec2 (2.6.32-276.el6.i686)
        kernel /boot/vmlinuz-2.6.32-276.el6.i686 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-276.el6.i686.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/fingerprint-auth
....L....  c /etc/pam.d/password-auth
....L....  c /etc/pam.d/smartcard-auth
....L....  c /etc/pam.d/system-auth
.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: 5 
EXPECTED RESULT: 5
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify Version 2 ... 
######################################################################################
COMMAND:  /bin/rpm -q --queryformat '%{RELEASE}\n' redhat-release-server | cut -d. -f1,2
RESULT: 6.3 
EXPECTED RESULT: 6.3
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: 2 
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
crash-trace-commandPackager    : Lai Jiangshan <laijs@cn.fujitsu.com>
epel-releasePackager    : Fedora Project
python-bugzillaPackager    : Fedora Project
######################################################################################
# NEW TEST: ## List the configured repositories...
######################################################################################
COMMAND:  /usr/bin/yum repolist
Unable to read consumer identity
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
repo id                                      repo name                    status
*epel                                        Extra Packages for Enterpris 6,081
rhui-us-east-1-client-config-server-6        Red Hat Update Infrastructur     1
rhui-us-east-1-rhel-server-releases          Red Hat Enterprise Linux Ser 5,572
rhui-us-east-1-rhel-server-releases-optional Red Hat Enterprise Linux Ser 3,340
repolist: 14,994 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Search zsh...
######################################################################################
COMMAND:  /usr/bin/yum search zsh
Unable to read consumer identity
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
=============================== N/S Matched: zsh ===============================
autojump-zsh.noarch : Autojump for zsh
gromacs-zsh.noarch : GROMACS zsh support
python-twisted-core-zsh.i686 : Tab completion for Zsh and Twisted Core
zsh-html.i686 : Zsh shell manual in html format
zsh.i686 : A powerful interactive shell

  Name and summary matches only, use "search all" for everything. 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## install zsh ... 
######################################################################################
COMMAND: /usr/bin/yum -y install zsh
Unable to read consumer identity
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
Unable to read consumer identity
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Group Process
Installed Groups:
   Additional Development
   Base
   Client management tools
   Console internet tools
   Debugging Tools
   Desktop Platform
   Directory Client
   E-mail server
   Fonts
   Graphical Administration Tools
   Hardware monitoring utilities
   Java Platform
   Large Systems Performance
   Legacy UNIX compatibility
   Messaging Client Support
   Messaging Server Support
   Milkymist
   NFS file server
   Network file system client
   Networking Tools
   Performance Tools
   Perl Support
   Scientific support
   Server Platform
Installed Language Groups:
   Arabic Support [ar]
   Armenian Support [hy]
   Georgian Support [ka]
   Hebrew Support [he]
   Inuktitut Support [iu]
   Japanese Support [ja]
   Korean Support [ko]
   Lao Support [lo]
   Tajik Support [tg]
Available Groups:
   Backup Client
   Backup Server
   CIFS file server
   Compatibility libraries
   Desktop
   Desktop Debugging and Performance Tools
   Desktop Platform Development
   Development tools
   Dial-up Networking Support
   Directory Server
   Eclipse
   Educational Software
   Electronic Lab
   Emacs
   FCoE Storage Client
   FTP server
   Fedora Packager
   General Purpose Desktop
   Graphics Creation Tools
   Haskell
   Identity Management Server
   Infiniband Support
   Input Methods
   Internet Applications
   Internet Browser
   KDE Desktop
   Legacy X Window System compatibility
   Mainframe Access
   MySQL Database client
   MySQL Database server
   Network Infrastructure Server
   Network Storage Server
   Office Suite and Productivity
   PHP Support
   PostgreSQL Database client
   PostgreSQL Database server
   Print Server
   Printing client
   Remote Desktop Clients
   Ruby Support
   SNMP Support
   Security Tools
   Server Platform Development
   Smart card support
   Somali Support
   Storage Availability Tools
   System Management
   System administration tools
   TeX support
   Technical Writing
   TurboGears application framework
   Virtualization
   Virtualization Client
   Virtualization Platform
   Virtualization Tools
   Web Server
   Web Servlet Engine
   Web-Based Enterprise Management
   X Window System
   Xfce
   iSCSI Storage Client
Available Language Groups:
   Afrikaans Support [af]
   Albanian Support [sq]
   Amazigh Support [ber]
   Assamese Support [as]
   Azerbaijani Support [az]
   Basque Support [eu]
   Belarusian Support [be]
   Bengali Support [bn]
   Bhutanese Support [dz]
   Brazilian Portuguese Support [pt_BR]
   Breton Support [br]
   Bulgarian Support [bg]
   Catalan Support [ca]
   Chhattisgarhi Support [hne]
   Chichewa Support [ny]
   Chinese Support [zh]
   Coptic Support [cop]
   Croatian Support [hr]
   Czech Support [cs]
   Danish Support [da]
   Dutch Support [nl]
   English (UK) Support [en_GB]
   Esperanto Support [eo]
   Estonian Support [et]
   Ethiopic Support [am]
   Faroese Support [fo]
   Fijian Support [fj]
   Filipino Support [fil]
   Finnish Support [fi]
   French Support [fr]
   Frisian Support [fy]
   Friulian Support [fur]
   Gaelic Support [gd]
   Galician Support [gl]
   German Support [de]
   Greek Support [el]
   Gujarati Support [gu]
   Hiligaynon Support [hil]
   Hindi Support [hi]
   Hungarian Support [hu]
   Icelandic Support [is]
   Indonesian Support [id]
   Interlingua Support [ia]
   Irish Support [ga]
   Italian Support [it]
   Kannada Support [kn]
   Kashmiri Support [ks]
   Kashubian Support [csb]
   Kazakh Support [kk]
   Khmer Support [km]
   Kinyarwanda Support [rw]
   Konkani Support [kok]
   Kurdish Support [ku]
   Latin Support [la]
   Latvian Support [lv]
   Lithuanian Support [lt]
   Low Saxon Support [nds]
   Luxembourgish Support [lb]
   Macedonian Support [mk]
   Maithili Support [mai]
   Malagasy Support [mg]
   Malay Support [ms]
   Malayalam Support [ml]
   Maltese Support [mt]
   Manx Support [gv]
   Maori Support [mi]
   Marathi Support [mr]
   Mongolian Support [mn]
   Myanmar (Burmese) Support [my]
   Nepali Support [ne]
   Northern Sotho Support [nso]
   Norwegian Support [nb]
   Occitan Support [oc]
   Oriya Support [or]
   Persian Support [fa]
   Polish Support [pl]
   Portuguese Support [pt]
   Punjabi Support [pa]
   Romanian Support [ro]
   Russian Support [ru]
   Sanskrit Support [sa]
   Sardinian Support [sc]
   Serbian Support [sr]
   Sindhi Support [sd]
   Sinhala Support [si]
   Slovak Support [sk]
   Slovenian Support [sl]
   Southern Ndebele Support [nr]
   Southern Sotho Support [st]
   Spanish Support [es]
   Swahili Support [sw]
   Swati Support [ss]
   Swedish Support [sv]
   Tagalog Support [tl]
   Tamil Support [ta]
   Telugu Support [te]
   Tetum Support [tet]
   Thai Support [th]
   Tibetan Support [bo]
   Tsonga Support [ts]
   Tswana Support [tn]
   Turkish Support [tr]
   Turkmen Support [tk]
   Ukrainian Support [uk]
   Upper Sorbian Support [hsb]
   Urdu Support [ur]
   Uzbek Support [uz]
   Venda Support [ve]
   Vietnamese Support [vi]
   Walloon Support [wa]
   Welsh Support [cy]
   Xhosa Support [xh]
   Zulu Support [zu]
Done 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Install Development tools group...
######################################################################################
COMMAND:  /usr/bin/yum -y groupinstall 'Development tools'
Unable to read consumer identity
Error: Package: glibc-devel-2.12-1.47.el6_2.12.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: glibc = 2.12-1.47.el6_2.12
           Installed: glibc-2.12-1.80.el6.i686 (@koji-override-0/$releasever)
               glibc = 2.12-1.80.el6
           Available: glibc-2.12-1.7.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6
           Available: glibc-2.12-1.7.el6_0.3.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.3
           Available: glibc-2.12-1.7.el6_0.4.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.4
           Available: glibc-2.12-1.7.el6_0.5.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.5
           Available: glibc-2.12-1.25.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.25.el6
           Available: glibc-2.12-1.25.el6_1.3.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.25.el6_1.3
           Available: glibc-2.12-1.47.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6
           Available: glibc-2.12-1.47.el6_2.5.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.5
           Available: glibc-2.12-1.47.el6_2.9.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.9
           Available: glibc-2.12-1.47.el6_2.12.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.12
Error: Package: glibc-headers-2.12-1.47.el6_2.12.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: glibc = 2.12-1.47.el6_2.12
           Installed: glibc-2.12-1.80.el6.i686 (@koji-override-0/$releasever)
               glibc = 2.12-1.80.el6
           Available: glibc-2.12-1.7.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6
           Available: glibc-2.12-1.7.el6_0.3.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.3
           Available: glibc-2.12-1.7.el6_0.4.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.4
           Available: glibc-2.12-1.7.el6_0.5.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.5
           Available: glibc-2.12-1.25.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.25.el6
           Available: glibc-2.12-1.25.el6_1.3.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.25.el6_1.3
           Available: glibc-2.12-1.47.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6
           Available: glibc-2.12-1.47.el6_2.5.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.5
           Available: glibc-2.12-1.47.el6_2.9.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.9
           Available: glibc-2.12-1.47.el6_2.12.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.12
Error: Package: gcc-gfortran-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: libgfortran = 4.4.6-3.el6
           Installed: libgfortran-4.4.6-4.el6.i686 (@koji-override-0/$releasever)
               libgfortran = 4.4.4-15.el6
               libgfortran = 4.4.6-4.el6
           Available: libgfortran-4.4.4-13.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgfortran = 4.4.4-13.el6
           Available: libgfortran-4.4.5-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgfortran = 4.4.5-6.el6
               libgfortran = 4.4.4-15.el6
           Available: libgfortran-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgfortran = 4.4.6-3.el6
               libgfortran = 4.4.4-15.el6
Error: Package: gcc-c++-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: libstdc++ = 4.4.6-3.el6
           Installed: libstdc++-4.4.6-4.el6.i686 (@koji-override-0/$releasever)
               libstdc++ = 4.4.4-15.el6
               libstdc++ = 4.4.6-4.el6
           Available: libstdc++-4.4.4-13.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++ = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++ = 4.4.5-6.el6
               libstdc++ = 4.4.4-15.el6
           Available: libstdc++-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++ = 4.4.6-3.el6
               libstdc++ = 4.4.4-15.el6
Error: Package: gcc-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: libgomp = 4.4.6-3.el6
           Installed: libgomp-4.4.6-4.el6.i686 (@koji-override-0/$releasever)
               libgomp = 4.4.4-15.el6
               libgomp = 4.4.6-4.el6
           Available: libgomp-4.4.4-13.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgomp = 4.4.4-13.el6
           Available: libgomp-4.4.5-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgomp = 4.4.5-6.el6
               libgomp = 4.4.4-15.el6
           Available: libgomp-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgomp = 4.4.6-3.el6
               libgomp = 4.4.4-15.el6
Error: Package: systemtap-1.6-5.el6_2.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: systemtap-runtime = 1.6-5.el6_2
           Installed: systemtap-runtime-1.7-5.el6.i686 (@koji-override-0/$releasever)
               systemtap-runtime = 1.7-5.el6
           Available: systemtap-runtime-1.2-9.el6.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.2-9.el6
           Available: systemtap-runtime-1.2-11.el6_0.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.2-11.el6_0
           Available: systemtap-runtime-1.4-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6
           Available: systemtap-runtime-1.4-6.el6_1.1.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.1
           Available: systemtap-runtime-1.4-6.el6_1.2.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.2
           Available: systemtap-runtime-1.4-6.el6_1.3.i686 (rhui-us-east-1-rhel-server-releases)
Comment 4 mkovacik 2012-06-13 05:35:20 EDT
               systemtap-runtime = 1.4-6.el6_1.3
           Available: systemtap-runtime-1.6-4.el6.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.6-4.el6
           Available: systemtap-runtime-1.6-5.el6_2.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.6-5.el6_2
Error: Package: libstdc++-devel-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: libstdc++(x86-32) = 4.4.6-3.el6
           Installed: libstdc++-4.4.6-4.el6.i686 (@koji-override-0/$releasever)
               libstdc++(x86-32) = 4.4.6-4.el6
           Available: libstdc++-4.4.4-13.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++(x86-32) = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++(x86-32) = 4.4.5-6.el6
           Available: libstdc++-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++(x86-32) = 4.4.6-3.el6
Error: Package: rpm-build-4.8.0-19.el6_2.1.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: rpm = 4.8.0-19.el6_2.1
           Installed: rpm-4.8.0-27.el6.i686 (@koji-override-0/$releasever)
               rpm = 4.8.0-27.el6
           Available: rpm-4.8.0-12.el6.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-12.el6
           Available: rpm-4.8.0-16.el6.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-16.el6
           Available: rpm-4.8.0-16.el6_1.1.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-16.el6_1.1
           Available: rpm-4.8.0-19.el6.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-19.el6
           Available: rpm-4.8.0-19.el6_2.1.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-19.el6_2.1
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Group Process
Package matching 1:make-3.81-19.el6.i686 already installed. Checking for update.
Package 1:pkgconfig-0.23-9.1.el6.i686 already installed and latest version
Package gettext-0.17-16.el6.i686 already installed and latest version
Package patch-2.6-6.el6.i686 already installed and latest version
Package matching binutils-2.20.51.0.2-5.28.el6.i686 already installed. Checking for update.
Package elfutils-0.152-1.el6.i686 already installed and latest version
Package cvs-1.11.23-11.el6_2.1.i686 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed
---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed
---> Package bison.i686 0:2.4.1-5.el6 will be installed
---> Package byacc.i686 0:1.9.20070509-6.1.el6 will be installed
---> Package cscope.i686 0:15.6-6.el6 will be installed
---> Package ctags.i686 0:5.8-2.el6 will be installed
---> Package diffstat.i686 0:1.51-2.el6 will be installed
---> Package doxygen.i686 1:1.6.1-6.el6 will be installed
---> Package flex.i686 0:2.5.35-8.el6 will be installed
---> Package gcc.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686
--> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-3.el6.i686
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-3.el6.i686
---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++-devel = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
--> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
--> Processing Dependency: libmpfr.so.1 for package: gcc-c++-4.4.6-3.el6.i686
---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686
---> Package git.i686 0:1.7.1-2.el6_0.1 will be installed
--> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.i686
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.i686
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.i686
---> Package indent.i686 0:2.2.10-5.1.el6 will be installed
---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed
--> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch
---> Package libtool.i686 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.i686 0:0.3.1-3.1.el6 will be installed
---> Package rcs.i686 0:5.7-37.el6 will be installed
---> Package redhat-rpm-config.noarch 0:9.0.3-34.el6 will be installed
---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed
--> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686
---> Package subversion.i686 0:1.6.11-2.el6_1.4 will be installed
--> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libneon.so.27 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libaprutil-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libapr-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686
---> Package swig.i686 0:1.3.40-6.el6 will be installed
---> Package systemtap.i686 0:1.6-5.el6_2 will be installed
--> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686
--> Processing Dependency: kernel-devel for package: systemtap-1.6-5.el6_2.i686
--> Running transaction check
---> Package apr.i686 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util.i686 0:1.3.9-3.el6_0.1 will be installed
---> Package cloog-ppl.i686 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2 for package: cloog-ppl-0.15.7-1.2.el6.i686
--> Processing Dependency: libppl.so.7 for package: cloog-ppl-0.15.7-1.2.el6.i686
---> Package cpp.i686 0:4.4.6-3.el6 will be installed
---> Package gcc.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686
---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686
---> Package gettext-devel.i686 0:0.17-16.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libgettextpo.so.0 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libgcj_bc.so.1 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libasprintf.so.0 for package: gettext-devel-0.17-16.el6.i686
---> Package glibc-devel.i686 0:2.12-1.47.el6_2.12 will be installed
--> Processing Dependency: glibc-headers = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686
--> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.47.el6_2.12.i686
---> Package kernel-devel.i686 0:2.6.32-220.17.1.el6 will be installed
---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686
---> Package mpfr.i686 0:2.4.1-6.el6 will be installed
---> Package neon.i686 0:0.29.3-1.2.el6 will be installed
--> Processing Dependency: libproxy.so.0 for package: neon-0.29.3-1.2.el6.i686
--> Processing Dependency: libpakchois.so.0 for package: neon-0.29.3-1.2.el6.i686
---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed
---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed
---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed
--> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686
---> Package systemtap.i686 0:1.6-5.el6_2 will be installed
--> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686
--> Running transaction check
---> Package gcc.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686
---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686
---> Package gettext-libs.i686 0:0.17-16.el6 will be installed
---> Package glibc-devel.i686 0:2.12-1.47.el6_2.12 will be installed
--> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686
---> Package glibc-headers.i686 0:2.12-1.47.el6_2.12 will be installed
--> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-headers-2.12-1.47.el6_2.12.i686
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.47.el6_2.12.i686
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.47.el6_2.12.i686
---> Package libgcj.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-3.el6.i686
---> Package libproxy.i686 0:0.3.0-2.el6 will be installed
--> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686
--> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686
---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686
---> Package pakchois.i686 0:0.4-3.2.el6 will be installed
---> Package ppl.i686 0:0.10.2-11.el6 will be installed
---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed
--> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686
---> Package systemtap.i686 0:1.6-5.el6_2 will be installed
--> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686
--> Running transaction check
---> Package gcc.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686
---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686
---> Package glibc-devel.i686 0:2.12-1.47.el6_2.12 will be installed
--> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686
---> Package glibc-headers.i686 0:2.12-1.47.el6_2.12 will be installed
--> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-headers-2.12-1.47.el6_2.12.i686
---> Package kernel-headers.i686 0:2.6.32-220.17.1.el6 will be installed
---> Package libart_lgpl.i686 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.i686 0:0.3.0-2.el6 will be installed
---> Package libproxy-python.i686 0:0.3.0-2.el6 will be installed
---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686
---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed
--> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686
---> Package systemtap.i686 0:1.6-5.el6_2 will be installed
--> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686
--> Finished Dependency Resolution
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest 
EXPECTED RESULT: 
RETURN CODE: 1
FAIL1
Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Setting up Group Process Package matching 1:make-3.81-19.el6.i686 already installed. Checking for update. Package 1:pkgconfig-0.23-9.1.el6.i686 already installed and latest version Package gettext-0.17-16.el6.i686 already installed and latest version Package patch-2.6-6.el6.i686 already installed and latest version Package matching binutils-2.20.51.0.2-5.28.el6.i686 already installed. Checking for update. Package elfutils-0.152-1.el6.i686 already installed and latest version Package cvs-1.11.23-11.el6_2.1.i686 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.i686 0:2.4.1-5.el6 will be installed ---> Package byacc.i686 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.i686 0:15.6-6.el6 will be installed ---> Package ctags.i686 0:5.8-2.el6 will be installed ---> Package diffstat.i686 0:1.51-2.el6 will be installed ---> Package doxygen.i686 1:1.6.1-6.el6 will be installed ---> Package flex.i686 0:2.5.35-8.el6 will be installed ---> Package gcc.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686 --> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-3.el6.i686 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-3.el6.i686 ---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++-devel = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 --> Processing Dependency: libmpfr.so.1 for package: gcc-c++-4.4.6-3.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686 ---> Package git.i686 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.i686 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.i686 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.i686 ---> Package indent.i686 0:2.2.10-5.1.el6 will be installed ---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed --> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch ---> Package libtool.i686 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.i686 0:0.3.1-3.1.el6 will be installed ---> Package rcs.i686 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-34.el6 will be installed ---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686 ---> Package subversion.i686 0:1.6.11-2.el6_1.4 will be installed --> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libneon.so.27 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libaprutil-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libapr-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686 ---> Package swig.i686 0:1.3.40-6.el6 will be installed ---> Package systemtap.i686 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686 --> Processing Dependency: kernel-devel for package: systemtap-1.6-5.el6_2.i686 --> Running transaction check ---> Package apr.i686 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.i686 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.i686 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2 for package: cloog-ppl-0.15.7-1.2.el6.i686 --> Processing Dependency: libppl.so.7 for package: cloog-ppl-0.15.7-1.2.el6.i686 ---> Package cpp.i686 0:4.4.6-3.el6 will be installed ---> Package gcc.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686 ---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686 ---> Package gettext-devel.i686 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libgettextpo.so.0 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libgcj_bc.so.1 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libasprintf.so.0 for package: gettext-devel-0.17-16.el6.i686 ---> Package glibc-devel.i686 0:2.12-1.47.el6_2.12 will be installed --> Processing Dependency: glibc-headers = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686 --> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.47.el6_2.12.i686 ---> Package kernel-devel.i686 0:2.6.32-220.17.1.el6 will be installed ---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686 ---> Package mpfr.i686 0:2.4.1-6.el6 will be installed ---> Package neon.i686 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libproxy.so.0 for package: neon-0.29.3-1.2.el6.i686 --> Processing Dependency: libpakchois.so.0 for package: neon-0.29.3-1.2.el6.i686 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686 ---> Package systemtap.i686 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686 --> Running transaction check ---> Package gcc.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686 ---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686 ---> Package gettext-libs.i686 0:0.17-16.el6 will be installed ---> Package glibc-devel.i686 0:2.12-1.47.el6_2.12 will be installed --> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686 ---> Package glibc-headers.i686 0:2.12-1.47.el6_2.12 will be installed --> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-headers-2.12-1.47.el6_2.12.i686 --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.47.el6_2.12.i686 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.47.el6_2.12.i686 ---> Package libgcj.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-3.el6.i686 ---> Package libproxy.i686 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686 ---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686 ---> Package pakchois.i686 0:0.4-3.2.el6 will be installed ---> Package ppl.i686 0:0.10.2-11.el6 will be installed ---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686 ---> Package systemtap.i686 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686 --> Running transaction check ---> Package gcc.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686 ---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686 ---> Package glibc-devel.i686 0:2.12-1.47.el6_2.12 will be installed --> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686 ---> Package glibc-headers.i686 0:2.12-1.47.el6_2.12 will be installed --> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-headers-2.12-1.47.el6_2.12.i686 ---> Package kernel-headers.i686 0:2.6.32-220.17.1.el6 will be installed ---> Package libart_lgpl.i686 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.i686 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.i686 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686 ---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686 ---> Package systemtap.i686 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686 --> Finished Dependency Resolution You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
# checking possible sys update
Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
# no sys update found
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
Unable to read consumer identity
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package dmidecode.i686 1:2.11-2.el6 will be updated
---> Package dmidecode.i686 1:2.11-2.el6_1 will be an update
---> Package epel-release.noarch 0:6-6 will be updated
---> Package epel-release.noarch 0:6-7 will be an update
---> Package perl-Compress-Raw-Bzip2.i686 0:2.020-127.el6 will be updated
---> Package perl-Compress-Raw-Bzip2.i686 0:2.027-1.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package        Arch   Version        Repository                           Size
================================================================================
Updating:
 dmidecode      i686   1:2.11-2.el6_1 rhui-us-east-1-rhel-server-releases  70 k
 epel-release   noarch 6-7            epel                                 14 k
 perl-Compress-Raw-Bzip2
                i686   2.027-1.el6    epel                                 30 k

Transaction Summary
================================================================================
Upgrade       3 Package(s)

Total download size: 115 k
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           180 kB/s | 115 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Updating   : epel-release-6-7.noarch                                      1/6 

  Updating   : perl-Compress-Raw-Bzip2-2.027-1.el6.i686                     2/6 

  Updating   : 1:dmidecode-2.11-2.el6_1.i686                                3/6 

  Cleanup    : epel-release-6-6.noarch                                      4/6 

  Cleanup    : 1:dmidecode-2.11-2.el6.i686                                  5/6 

  Cleanup    : perl-Compress-Raw-Bzip2-2.020-127.el6.i686                   6/6 
Installed products updated.

  Verifying  : perl-Compress-Raw-Bzip2-2.027-1.el6.i686                     1/6 

  Verifying  : 1:dmidecode-2.11-2.el6_1.i686                                2/6 

  Verifying  : epel-release-6-7.noarch                                      3/6 

  Verifying  : 1:dmidecode-2.11-2.el6.i686                                  4/6 

  Verifying  : epel-release-6-6.noarch                                      5/6 

  Verifying  : perl-Compress-Raw-Bzip2-2.020-127.el6.i686                   6/6 

Updated:
  dmidecode.i686 1:2.11-2.el6_1                   epel-release.noarch 0:6-7     
  perl-Compress-Raw-Bzip2.i686 0:2.027-1.el6     

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
Unable to read consumer identity
Warning: RPMDB altered outside of yum.
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, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
# no sys update found
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
Unable to read consumer identity
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
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 = 3
FAILED TESTS = ## Verify GPG Keys ... ## test repo files ... ## Install Development tools group...
LOG FILE = /root/valid/src/validate.log
## Summary ##

######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
Comment 5 mkovacik 2012-06-13 05:42:28 EDT
IMAGE ID= 
Preparing...                ##################################################
epel-release                ##################################################
Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package python-bugzilla.noarch 0:0.6.0-1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                 Arch           Version              Repository    Size
================================================================================
Installing:
 python-bugzilla         noarch         0.6.0-1.el6          epel          71 k

Transaction Summary
================================================================================
Install       1 Package(s)

Total download size: 71 k
Installed size: 309 k
Downloading Packages:
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Installing : python-bugzilla-0.6.0-1.el6.noarch                           1/1 
Installed products updated.

  Verifying  : python-bugzilla-0.6.0-1.el6.noarch                           1/1 

Installed:
  python-bugzilla.noarch 0:0.6.0-1.el6                                          

Complete!
=====image_validation.sh Wed Jun 13 05:39:28 EDT 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-23-22-231-146.compute-1.amazonaws.com with Image Id : ami-140eaf7d, is launched with Instance Id : i-ac36bcd5 , Instance Type : m1.small and Arch : i386 in the Region : us-east-1c
The Validate Signature is : UMhgwgX3k1nHF8ouU7mGfuvPDXgzazbezYBseasx2zEEYgPSBLXEQHWM5gkW4w/blubqcZ5Vrcur
+zm58NF7/LM2LgfiT0Lw/tytIrQ8GhwzPGHDqNQqyhFmxDJgiLjykhWcoV6ynznKlRBRnF/BV0Gk
fm3c6lHS0gKaljSVNYs=
This is a Cloud Access image
/root/valid/src
domU-12-31-39-0A-48-88
Red Hat Enterprise Linux Server release 6.3 (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################
######################################################################################
# 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: e1886162554c18906df2ecd258aa4794 
EXPECTED RESULT: e1886162554c18906df2ecd258aa4794
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify auditd sysconfig ... 
######################################################################################
COMMAND:  md5sum /etc/sysconfig/auditd | cut -f 1 -d  " "
RESULT: d4d43637708e30418c30003e212f76fc 
EXPECTED RESULT: d4d43637708e30418c30003e212f76fc
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify bash_history ... 
######################################################################################
COMMAND:  cat ~/.bash_history | wc -l 
cat: /root/.bash_history: No such file or directory
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
######################################################################################
# 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/xvde1 | awk '{ print  }'
COMMAND:  echo ext4
RESULT: ext4 
EXPECTED RESULT: ext4
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Partition Size ...
######################################################################################
size=5905712
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-23-22-231-146.compute-1.amazonaws.com with Image Id : ami-140eaf7d, is launched with Instance Id : i-ac36bcd5 , Instance Type : m1.small and Arch : i386 in the Region : us-east-1c
The Validate Signature is : UMhgwgX3k1nHF8ouU7mGfuvPDXgzazbezYBseasx2zEEYgPSBLXEQHWM5gkW4w/blubqcZ5Vrcur
+zm58NF7/LM2LgfiT0Lw/tytIrQ8GhwzPGHDqNQqyhFmxDJgiLjykhWcoV6ynznKlRBRnF/BV0Gk
fm3c6lHS0gKaljSVNYs=
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: 3 
EXPECTED RESULT: 2
RETURN CODE: 0
FAIL2
3
######################################################################################
# NEW TEST: ## Verify GPG RPMS ... 
######################################################################################
COMMAND:  rpm -qa gpg-pubkey* | sort -f | tail -n 1
RESULT: gpg-pubkey-fd431d51-4ae0493b 
EXPECTED RESULT: gpg-pubkey-fd431d51-4ae0493b
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: 
EXPECTED RESULT: root:x:0:
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep daemon:x:2
RESULT: daemon:x:2:bin,daemon 
EXPECTED RESULT: daemon:x:2:bin,daemon
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep bin:x:1
RESULT: bin:x:1:bin,daemon 
EXPECTED RESULT: bin:x:1: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
######################################################################################
# NEW TEST: ## Verify iptables ... 
######################################################################################
COMMAND: /etc/init.d/iptables status | grep REJECT 
5    REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-host-prohibited 
1    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
######################################################################################
# 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: cannot access /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 1711852 > hwp MEMORY of 1700000
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_63 /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: 6 
EXPECTED RESULT: 4
RETURN CODE: 0
FAIL2
6
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: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify resize2fs ... 
######################################################################################
COMMAND: resize2fs -p /dev/xvde1 15000M
resize2fs 1.41.12 (17-May-2010)
RETURN CODE: 0
COMMAND:  df -h | grep 15G | wc -l 
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
/root/valid/src
domU-12-31-39-0A-48-88
Red Hat Enterprise Linux Server release 6.3 (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################
######################################################################################
# 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
######################################################################################
# NEW TEST: ## Verify swap size ... 
######################################################################################
parted -l | grep linux-swap | awk '{print $4}' | awk -F'MB' '{print $1}'
swap size = 940
COMMAND:  test 940 -gt 0
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify turning on/off swap file ... 
######################################################################################
COMMAND:  /sbin/swapoff /dev/xvde3 && /sbin/swapon /dev/xvde3
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rsyslog is on ... 
######################################################################################
COMMAND:  chkconfig --list | grep rsyslog | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rsyslog config ...
Comment 6 mkovacik 2012-06-13 05:42:34 EDT
######################################################################################
COMMAND:  md5sum /etc/rsyslog.conf | cut -f 1 -d  " "
RESULT: 8b91b32300134e98ef4aee632ed61e21 
EXPECTED RESULT: 8b91b32300134e98ef4aee632ed61e21
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 ... 
######################################################################################
COMMAND:  /bin/uname -s
RESULT: Linux 
EXPECTED RESULT: Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest installed kernel is running ... 
######################################################################################
Detected rpm kernel version: 2.6.32-276.el6.i686
Detected uname kernel version: 2.6.32-276.el6.i686
COMMAND:  true
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ... 
######################################################################################
COMMAND:  cat /boot/grub/menu.lst | grep 2.6.32-276.el6.i686
RESULT: title RHEL6.3-20120531.0-Server-i386-starter-ec2 (2.6.32-276.el6.i686)
        kernel /boot/vmlinuz-2.6.32-276.el6.i686 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-276.el6.i686.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/fingerprint-auth
....L....  c /etc/pam.d/password-auth
....L....  c /etc/pam.d/smartcard-auth
....L....  c /etc/pam.d/system-auth
.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: 5 
EXPECTED RESULT: 5
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify Version 2 ... 
######################################################################################
COMMAND:  /bin/rpm -q --queryformat '%{RELEASE}\n' redhat-release-server | cut -d. -f1,2
RESULT: 6.3 
EXPECTED RESULT: 6.3
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: 2 
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
crash-trace-commandPackager    : Lai Jiangshan <laijs@cn.fujitsu.com>
epel-releasePackager    : Fedora Project
python-bugzillaPackager    : Fedora Project
######################################################################################
# NEW TEST: ## List the configured repositories...
######################################################################################
COMMAND:  /usr/bin/yum repolist
Unable to read consumer identity
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
repo id                                      repo name                    status
*epel                                        Extra Packages for Enterpris 6,081
rhui-us-east-1-client-config-server-6        Red Hat Update Infrastructur     1
rhui-us-east-1-rhel-server-releases          Red Hat Enterprise Linux Ser 5,572
rhui-us-east-1-rhel-server-releases-optional Red Hat Enterprise Linux Ser 3,340
repolist: 14,994 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Search zsh...
######################################################################################
COMMAND:  /usr/bin/yum search zsh
Unable to read consumer identity
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
=============================== N/S Matched: zsh ===============================
autojump-zsh.noarch : Autojump for zsh
gromacs-zsh.noarch : GROMACS zsh support
python-twisted-core-zsh.i686 : Tab completion for Zsh and Twisted Core
zsh-html.i686 : Zsh shell manual in html format
zsh.i686 : A powerful interactive shell

  Name and summary matches only, use "search all" for everything. 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## install zsh ... 
######################################################################################
COMMAND: /usr/bin/yum -y install zsh
Unable to read consumer identity
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
Unable to read consumer identity
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Group Process
Installed Groups:
   Additional Development
   Base
   Client management tools
   Console internet tools
   Debugging Tools
   Desktop Platform
   Directory Client
   E-mail server
   Fonts
   Graphical Administration Tools
   Hardware monitoring utilities
   Java Platform
   Large Systems Performance
   Legacy UNIX compatibility
   Messaging Client Support
   Messaging Server Support
   Milkymist
   NFS file server
   Network file system client
   Networking Tools
   Performance Tools
   Perl Support
   Scientific support
   Server Platform
Installed Language Groups:
   Arabic Support [ar]
   Armenian Support [hy]
   Georgian Support [ka]
   Hebrew Support [he]
   Inuktitut Support [iu]
   Japanese Support [ja]
   Korean Support [ko]
   Lao Support [lo]
   Tajik Support [tg]
Available Groups:
   Backup Client
   Backup Server
   CIFS file server
   Compatibility libraries
   Desktop
   Desktop Debugging and Performance Tools
   Desktop Platform Development
   Development tools
   Dial-up Networking Support
   Directory Server
   Eclipse
   Educational Software
   Electronic Lab
   Emacs
   FCoE Storage Client
   FTP server
   Fedora Packager
   General Purpose Desktop
   Graphics Creation Tools
   Haskell
   Identity Management Server
   Infiniband Support
   Input Methods
   Internet Applications
   Internet Browser
   KDE Desktop
   Legacy X Window System compatibility
   Mainframe Access
   MySQL Database client
   MySQL Database server
   Network Infrastructure Server
   Network Storage Server
   Office Suite and Productivity
   PHP Support
   PostgreSQL Database client
   PostgreSQL Database server
   Print Server
   Printing client
   Remote Desktop Clients
   Ruby Support
   SNMP Support
   Security Tools
   Server Platform Development
   Smart card support
   Somali Support
   Storage Availability Tools
   System Management
   System administration tools
   TeX support
   Technical Writing
   TurboGears application framework
   Virtualization
   Virtualization Client
   Virtualization Platform
   Virtualization Tools
   Web Server
   Web Servlet Engine
   Web-Based Enterprise Management
   X Window System
   Xfce
   iSCSI Storage Client
Available Language Groups:
   Afrikaans Support [af]
   Albanian Support [sq]
   Amazigh Support [ber]
   Assamese Support [as]
   Azerbaijani Support [az]
   Basque Support [eu]
   Belarusian Support [be]
   Bengali Support [bn]
   Bhutanese Support [dz]
   Brazilian Portuguese Support [pt_BR]
   Breton Support [br]
   Bulgarian Support [bg]
   Catalan Support [ca]
   Chhattisgarhi Support [hne]
   Chichewa Support [ny]
   Chinese Support [zh]
   Coptic Support [cop]
   Croatian Support [hr]
   Czech Support [cs]
   Danish Support [da]
   Dutch Support [nl]
   English (UK) Support [en_GB]
   Esperanto Support [eo]
   Estonian Support [et]
   Ethiopic Support [am]
   Faroese Support [fo]
   Fijian Support [fj]
   Filipino Support [fil]
   Finnish Support [fi]
   French Support [fr]
   Frisian Support [fy]
   Friulian Support [fur]
   Gaelic Support [gd]
   Galician Support [gl]
   German Support [de]
   Greek Support [el]
   Gujarati Support [gu]
   Hiligaynon Support [hil]
   Hindi Support [hi]
   Hungarian Support [hu]
   Icelandic Support [is]
   Indonesian Support [id]
   Interlingua Support [ia]
   Irish Support [ga]
   Italian Support [it]
   Kannada Support [kn]
   Kashmiri Support [ks]
   Kashubian Support [csb]
   Kazakh Support [kk]
   Khmer Support [km]
   Kinyarwanda Support [rw]
   Konkani Support [kok]
   Kurdish Support [ku]
   Latin Support [la]
   Latvian Support [lv]
   Lithuanian Support [lt]
   Low Saxon Support [nds]
   Luxembourgish Support [lb]
   Macedonian Support [mk]
   Maithili Support [mai]
   Malagasy Support [mg]
   Malay Support [ms]
   Malayalam Support [ml]
   Maltese Support [mt]
   Manx Support [gv]
   Maori Support [mi]
   Marathi Support [mr]
   Mongolian Support [mn]
   Myanmar (Burmese) Support [my]
   Nepali Support [ne]
   Northern Sotho Support [nso]
   Norwegian Support [nb]
   Occitan Support [oc]
   Oriya Support [or]
   Persian Support [fa]
   Polish Support [pl]
   Portuguese Support [pt]
   Punjabi Support [pa]
   Romanian Support [ro]
   Russian Support [ru]
   Sanskrit Support [sa]
   Sardinian Support [sc]
   Serbian Support [sr]
   Sindhi Support [sd]
   Sinhala Support [si]
   Slovak Support [sk]
   Slovenian Support [sl]
   Southern Ndebele Support [nr]
   Southern Sotho Support [st]
   Spanish Support [es]
   Swahili Support [sw]
   Swati Support [ss]
   Swedish Support [sv]
   Tagalog Support [tl]
   Tamil Support [ta]
   Telugu Support [te]
   Tetum Support [tet]
   Thai Support [th]
   Tibetan Support [bo]
   Tsonga Support [ts]
   Tswana Support [tn]
   Turkish Support [tr]
   Turkmen Support [tk]
   Ukrainian Support [uk]
   Upper Sorbian Support [hsb]
   Urdu Support [ur]
   Uzbek Support [uz]
   Venda Support [ve]
   Vietnamese Support [vi]
   Walloon Support [wa]
   Welsh Support [cy]
   Xhosa Support [xh]
   Zulu Support [zu]
Done 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Install Development tools group...
######################################################################################
COMMAND:  /usr/bin/yum -y groupinstall 'Development tools'
Unable to read consumer identity
Error: Package: glibc-devel-2.12-1.47.el6_2.12.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: glibc = 2.12-1.47.el6_2.12
           Installed: glibc-2.12-1.80.el6.i686 (@koji-override-0/$releasever)
               glibc = 2.12-1.80.el6
           Available: glibc-2.12-1.7.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6
           Available: glibc-2.12-1.7.el6_0.3.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.3
           Available: glibc-2.12-1.7.el6_0.4.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.4
           Available: glibc-2.12-1.7.el6_0.5.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.5
           Available: glibc-2.12-1.25.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.25.el6
           Available: glibc-2.12-1.25.el6_1.3.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.25.el6_1.3
           Available: glibc-2.12-1.47.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6
           Available: glibc-2.12-1.47.el6_2.5.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.5
           Available: glibc-2.12-1.47.el6_2.9.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.9
           Available: glibc-2.12-1.47.el6_2.12.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.12
Error: Package: glibc-headers-2.12-1.47.el6_2.12.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: glibc = 2.12-1.47.el6_2.12
           Installed: glibc-2.12-1.80.el6.i686 (@koji-override-0/$releasever)
               glibc = 2.12-1.80.el6
           Available: glibc-2.12-1.7.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6
           Available: glibc-2.12-1.7.el6_0.3.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.3
           Available: glibc-2.12-1.7.el6_0.4.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.4
           Available: glibc-2.12-1.7.el6_0.5.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.5
           Available: glibc-2.12-1.25.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.25.el6
           Available: glibc-2.12-1.25.el6_1.3.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.25.el6_1.3
           Available: glibc-2.12-1.47.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6
           Available: glibc-2.12-1.47.el6_2.5.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.5
           Available: glibc-2.12-1.47.el6_2.9.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.9
           Available: glibc-2.12-1.47.el6_2.12.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.12
Error: Package: gcc-gfortran-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: libgfortran = 4.4.6-3.el6
           Installed: libgfortran-4.4.6-4.el6.i686 (@koji-override-0/$releasever)
               libgfortran = 4.4.4-15.el6
               libgfortran = 4.4.6-4.el6
           Available: libgfortran-4.4.4-13.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgfortran = 4.4.4-13.el6
           Available: libgfortran-4.4.5-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgfortran = 4.4.5-6.el6
               libgfortran = 4.4.4-15.el6
           Available: libgfortran-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgfortran = 4.4.6-3.el6
               libgfortran = 4.4.4-15.el6
Error: Package: gcc-c++-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: libstdc++ = 4.4.6-3.el6
           Installed: libstdc++-4.4.6-4.el6.i686 (@koji-override-0/$releasever)
               libstdc++ = 4.4.4-15.el6
               libstdc++ = 4.4.6-4.el6
           Available: libstdc++-4.4.4-13.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++ = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++ = 4.4.5-6.el6
               libstdc++ = 4.4.4-15.el6
           Available: libstdc++-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++ = 4.4.6-3.el6
               libstdc++ = 4.4.4-15.el6
Error: Package: gcc-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: libgomp = 4.4.6-3.el6
           Installed: libgomp-4.4.6-4.el6.i686 (@koji-override-0/$releasever)
               libgomp = 4.4.4-15.el6
               libgomp = 4.4.6-4.el6
           Available: libgomp-4.4.4-13.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgomp = 4.4.4-13.el6
           Available: libgomp-4.4.5-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgomp = 4.4.5-6.el6
               libgomp = 4.4.4-15.el6
           Available: libgomp-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgomp = 4.4.6-3.el6
               libgomp = 4.4.4-15.el6
Error: Package: systemtap-1.6-5.el6_2.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: systemtap-runtime = 1.6-5.el6_2
           Installed: systemtap-runtime-1.7-5.el6.i686 (@koji-override-0/$releasever)
               systemtap-runtime = 1.7-5.el6
           Available: systemtap-runtime-1.2-9.el6.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.2-9.el6
           Available: systemtap-runtime-1.2-11.el6_0.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.2-11.el6_0
           Available: systemtap-runtime-1.4-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6
           Available: systemtap-runtime-1.4-6.el6_1.1.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.1
           Available: systemtap-runtime-1.4-6.el6_1.2.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.2
           Available: systemtap-runtime-1.4-6.el6_1.3.i686 (rhui-us-east-1-rhel-server-releases)
Comment 7 mkovacik 2012-06-13 05:42:40 EDT
               systemtap-runtime = 1.4-6.el6_1.3
           Available: systemtap-runtime-1.6-4.el6.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.6-4.el6
           Available: systemtap-runtime-1.6-5.el6_2.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.6-5.el6_2
Error: Package: libstdc++-devel-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: libstdc++(x86-32) = 4.4.6-3.el6
           Installed: libstdc++-4.4.6-4.el6.i686 (@koji-override-0/$releasever)
               libstdc++(x86-32) = 4.4.6-4.el6
           Available: libstdc++-4.4.4-13.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++(x86-32) = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++(x86-32) = 4.4.5-6.el6
           Available: libstdc++-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++(x86-32) = 4.4.6-3.el6
Error: Package: rpm-build-4.8.0-19.el6_2.1.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: rpm = 4.8.0-19.el6_2.1
           Installed: rpm-4.8.0-27.el6.i686 (@koji-override-0/$releasever)
               rpm = 4.8.0-27.el6
           Available: rpm-4.8.0-12.el6.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-12.el6
           Available: rpm-4.8.0-16.el6.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-16.el6
           Available: rpm-4.8.0-16.el6_1.1.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-16.el6_1.1
           Available: rpm-4.8.0-19.el6.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-19.el6
           Available: rpm-4.8.0-19.el6_2.1.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-19.el6_2.1
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Group Process
Package matching 1:make-3.81-19.el6.i686 already installed. Checking for update.
Package 1:pkgconfig-0.23-9.1.el6.i686 already installed and latest version
Package gettext-0.17-16.el6.i686 already installed and latest version
Package patch-2.6-6.el6.i686 already installed and latest version
Package matching binutils-2.20.51.0.2-5.28.el6.i686 already installed. Checking for update.
Package elfutils-0.152-1.el6.i686 already installed and latest version
Package cvs-1.11.23-11.el6_2.1.i686 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed
---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed
---> Package bison.i686 0:2.4.1-5.el6 will be installed
---> Package byacc.i686 0:1.9.20070509-6.1.el6 will be installed
---> Package cscope.i686 0:15.6-6.el6 will be installed
---> Package ctags.i686 0:5.8-2.el6 will be installed
---> Package diffstat.i686 0:1.51-2.el6 will be installed
---> Package doxygen.i686 1:1.6.1-6.el6 will be installed
---> Package flex.i686 0:2.5.35-8.el6 will be installed
---> Package gcc.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686
--> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-3.el6.i686
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-3.el6.i686
---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++-devel = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
--> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
--> Processing Dependency: libmpfr.so.1 for package: gcc-c++-4.4.6-3.el6.i686
---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686
---> Package git.i686 0:1.7.1-2.el6_0.1 will be installed
--> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.i686
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.i686
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.i686
---> Package indent.i686 0:2.2.10-5.1.el6 will be installed
---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed
--> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch
---> Package libtool.i686 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.i686 0:0.3.1-3.1.el6 will be installed
---> Package rcs.i686 0:5.7-37.el6 will be installed
---> Package redhat-rpm-config.noarch 0:9.0.3-34.el6 will be installed
---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed
--> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686
---> Package subversion.i686 0:1.6.11-2.el6_1.4 will be installed
--> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libneon.so.27 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libaprutil-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libapr-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686
---> Package swig.i686 0:1.3.40-6.el6 will be installed
---> Package systemtap.i686 0:1.6-5.el6_2 will be installed
--> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686
--> Processing Dependency: kernel-devel for package: systemtap-1.6-5.el6_2.i686
--> Running transaction check
---> Package apr.i686 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util.i686 0:1.3.9-3.el6_0.1 will be installed
---> Package cloog-ppl.i686 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2 for package: cloog-ppl-0.15.7-1.2.el6.i686
--> Processing Dependency: libppl.so.7 for package: cloog-ppl-0.15.7-1.2.el6.i686
---> Package cpp.i686 0:4.4.6-3.el6 will be installed
---> Package gcc.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686
---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686
---> Package gettext-devel.i686 0:0.17-16.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libgettextpo.so.0 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libgcj_bc.so.1 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libasprintf.so.0 for package: gettext-devel-0.17-16.el6.i686
---> Package glibc-devel.i686 0:2.12-1.47.el6_2.12 will be installed
--> Processing Dependency: glibc-headers = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686
--> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.47.el6_2.12.i686
---> Package kernel-devel.i686 0:2.6.32-220.17.1.el6 will be installed
---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686
---> Package mpfr.i686 0:2.4.1-6.el6 will be installed
---> Package neon.i686 0:0.29.3-1.2.el6 will be installed
--> Processing Dependency: libproxy.so.0 for package: neon-0.29.3-1.2.el6.i686
--> Processing Dependency: libpakchois.so.0 for package: neon-0.29.3-1.2.el6.i686
---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed
---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed
---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed
--> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686
---> Package systemtap.i686 0:1.6-5.el6_2 will be installed
--> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686
--> Running transaction check
---> Package gcc.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686
---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686
---> Package gettext-libs.i686 0:0.17-16.el6 will be installed
---> Package glibc-devel.i686 0:2.12-1.47.el6_2.12 will be installed
--> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686
---> Package glibc-headers.i686 0:2.12-1.47.el6_2.12 will be installed
--> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-headers-2.12-1.47.el6_2.12.i686
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.47.el6_2.12.i686
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.47.el6_2.12.i686
---> Package libgcj.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-3.el6.i686
---> Package libproxy.i686 0:0.3.0-2.el6 will be installed
--> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686
--> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686
---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686
---> Package pakchois.i686 0:0.4-3.2.el6 will be installed
---> Package ppl.i686 0:0.10.2-11.el6 will be installed
---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed
--> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686
---> Package systemtap.i686 0:1.6-5.el6_2 will be installed
--> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686
--> Running transaction check
---> Package gcc.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686
---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686
---> Package glibc-devel.i686 0:2.12-1.47.el6_2.12 will be installed
--> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686
---> Package glibc-headers.i686 0:2.12-1.47.el6_2.12 will be installed
--> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-headers-2.12-1.47.el6_2.12.i686
---> Package kernel-headers.i686 0:2.6.32-220.17.1.el6 will be installed
---> Package libart_lgpl.i686 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.i686 0:0.3.0-2.el6 will be installed
---> Package libproxy-python.i686 0:0.3.0-2.el6 will be installed
---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686
---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed
--> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686
---> Package systemtap.i686 0:1.6-5.el6_2 will be installed
--> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686
--> Finished Dependency Resolution
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest 
EXPECTED RESULT: 
RETURN CODE: 1
FAIL1
Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Setting up Group Process Package matching 1:make-3.81-19.el6.i686 already installed. Checking for update. Package 1:pkgconfig-0.23-9.1.el6.i686 already installed and latest version Package gettext-0.17-16.el6.i686 already installed and latest version Package patch-2.6-6.el6.i686 already installed and latest version Package matching binutils-2.20.51.0.2-5.28.el6.i686 already installed. Checking for update. Package elfutils-0.152-1.el6.i686 already installed and latest version Package cvs-1.11.23-11.el6_2.1.i686 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.i686 0:2.4.1-5.el6 will be installed ---> Package byacc.i686 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.i686 0:15.6-6.el6 will be installed ---> Package ctags.i686 0:5.8-2.el6 will be installed ---> Package diffstat.i686 0:1.51-2.el6 will be installed ---> Package doxygen.i686 1:1.6.1-6.el6 will be installed ---> Package flex.i686 0:2.5.35-8.el6 will be installed ---> Package gcc.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686 --> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-3.el6.i686 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-3.el6.i686 ---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++-devel = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 --> Processing Dependency: libmpfr.so.1 for package: gcc-c++-4.4.6-3.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686 ---> Package git.i686 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.i686 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.i686 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.i686 ---> Package indent.i686 0:2.2.10-5.1.el6 will be installed ---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed --> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch ---> Package libtool.i686 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.i686 0:0.3.1-3.1.el6 will be installed ---> Package rcs.i686 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-34.el6 will be installed ---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686 ---> Package subversion.i686 0:1.6.11-2.el6_1.4 will be installed --> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libneon.so.27 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libaprutil-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libapr-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686 ---> Package swig.i686 0:1.3.40-6.el6 will be installed ---> Package systemtap.i686 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686 --> Processing Dependency: kernel-devel for package: systemtap-1.6-5.el6_2.i686 --> Running transaction check ---> Package apr.i686 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.i686 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.i686 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2 for package: cloog-ppl-0.15.7-1.2.el6.i686 --> Processing Dependency: libppl.so.7 for package: cloog-ppl-0.15.7-1.2.el6.i686 ---> Package cpp.i686 0:4.4.6-3.el6 will be installed ---> Package gcc.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686 ---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686 ---> Package gettext-devel.i686 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libgettextpo.so.0 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libgcj_bc.so.1 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libasprintf.so.0 for package: gettext-devel-0.17-16.el6.i686 ---> Package glibc-devel.i686 0:2.12-1.47.el6_2.12 will be installed --> Processing Dependency: glibc-headers = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686 --> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.47.el6_2.12.i686 ---> Package kernel-devel.i686 0:2.6.32-220.17.1.el6 will be installed ---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686 ---> Package mpfr.i686 0:2.4.1-6.el6 will be installed ---> Package neon.i686 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libproxy.so.0 for package: neon-0.29.3-1.2.el6.i686 --> Processing Dependency: libpakchois.so.0 for package: neon-0.29.3-1.2.el6.i686 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686 ---> Package systemtap.i686 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686 --> Running transaction check ---> Package gcc.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686 ---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686 ---> Package gettext-libs.i686 0:0.17-16.el6 will be installed ---> Package glibc-devel.i686 0:2.12-1.47.el6_2.12 will be installed --> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686 ---> Package glibc-headers.i686 0:2.12-1.47.el6_2.12 will be installed --> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-headers-2.12-1.47.el6_2.12.i686 --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.47.el6_2.12.i686 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.47.el6_2.12.i686 ---> Package libgcj.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-3.el6.i686 ---> Package libproxy.i686 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686 ---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686 ---> Package pakchois.i686 0:0.4-3.2.el6 will be installed ---> Package ppl.i686 0:0.10.2-11.el6 will be installed ---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686 ---> Package systemtap.i686 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686 --> Running transaction check ---> Package gcc.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686 ---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686 ---> Package glibc-devel.i686 0:2.12-1.47.el6_2.12 will be installed --> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686 ---> Package glibc-headers.i686 0:2.12-1.47.el6_2.12 will be installed --> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-headers-2.12-1.47.el6_2.12.i686 ---> Package kernel-headers.i686 0:2.6.32-220.17.1.el6 will be installed ---> Package libart_lgpl.i686 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.i686 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.i686 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686 ---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686 ---> Package systemtap.i686 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686 --> Finished Dependency Resolution You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
# checking possible sys update
Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
# no sys update found
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
Unable to read consumer identity
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package dmidecode.i686 1:2.11-2.el6 will be updated
---> Package dmidecode.i686 1:2.11-2.el6_1 will be an update
---> Package epel-release.noarch 0:6-6 will be updated
---> Package epel-release.noarch 0:6-7 will be an update
---> Package perl-Compress-Raw-Bzip2.i686 0:2.020-127.el6 will be updated
---> Package perl-Compress-Raw-Bzip2.i686 0:2.027-1.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package        Arch   Version        Repository                           Size
================================================================================
Updating:
 dmidecode      i686   1:2.11-2.el6_1 rhui-us-east-1-rhel-server-releases  70 k
 epel-release   noarch 6-7            epel                                 14 k
 perl-Compress-Raw-Bzip2
                i686   2.027-1.el6    epel                                 30 k

Transaction Summary
================================================================================
Upgrade       3 Package(s)

Total download size: 115 k
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           283 kB/s | 115 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Updating   : epel-release-6-7.noarch                                      1/6 

  Updating   : perl-Compress-Raw-Bzip2-2.027-1.el6.i686                     2/6 

  Updating   : 1:dmidecode-2.11-2.el6_1.i686                                3/6 

  Cleanup    : epel-release-6-6.noarch                                      4/6 

  Cleanup    : 1:dmidecode-2.11-2.el6.i686                                  5/6 

  Cleanup    : perl-Compress-Raw-Bzip2-2.020-127.el6.i686                   6/6 
Installed products updated.

  Verifying  : perl-Compress-Raw-Bzip2-2.027-1.el6.i686                     1/6 

  Verifying  : 1:dmidecode-2.11-2.el6_1.i686                                2/6 

  Verifying  : epel-release-6-7.noarch                                      3/6 

  Verifying  : 1:dmidecode-2.11-2.el6.i686                                  4/6 

  Verifying  : epel-release-6-6.noarch                                      5/6 

  Verifying  : perl-Compress-Raw-Bzip2-2.020-127.el6.i686                   6/6 

Updated:
  dmidecode.i686 1:2.11-2.el6_1                   epel-release.noarch 0:6-7     
  perl-Compress-Raw-Bzip2.i686 0:2.027-1.el6     

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
Unable to read consumer identity
Warning: RPMDB altered outside of yum.
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, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
# no sys update found
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
Unable to read consumer identity
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
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 = 3
FAILED TESTS = ## Verify GPG Keys ... ## test repo files ... ## Install Development tools group...
LOG FILE = /root/valid/src/validate.log
## Summary ##

######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
Comment 8 mkovacik 2012-06-13 05:42:47 EDT
IMAGE ID= ami-140eaf7d_us-east-1_c1.medium
Preparing...                ##################################################
Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Install Process
Package python-bugzilla-0.6.0-1.el6.noarch already installed and latest version
Nothing to do
###### 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 ... 
######################################################################################
Detected rpm kernel version: 2.6.32-276.el6.i686
Detected uname kernel version: 2.6.32-276.el6.i686
COMMAND:  true
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ... 
######################################################################################
COMMAND:  cat /boot/grub/menu.lst | grep 2.6.32-276.el6.i686
RESULT: title RHEL6.3-20120531.0-Server-i386-starter-ec2 (2.6.32-276.el6.i686)
        kernel /boot/vmlinuz-2.6.32-276.el6.i686 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-276.el6.i686.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 1752696 > hwp MEMORY of 1700000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
hostname
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################

## Summary ##
FAILURES = 3
FAILED TESTS = ## Verify GPG Keys ... ## test repo files ... ## Install Development tools group...
LOG FILE = /root/valid/src/validate.log
## Summary ##

######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
Comment 9 mkovacik 2012-06-13 05:43:17 EDT
IMAGE ID= 
Preparing...                ##################################################
epel-release                ##################################################
Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package python-bugzilla.noarch 0:0.6.0-1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                 Arch           Version              Repository    Size
================================================================================
Installing:
 python-bugzilla         noarch         0.6.0-1.el6          epel          71 k

Transaction Summary
================================================================================
Install       1 Package(s)

Total download size: 71 k
Installed size: 309 k
Downloading Packages:
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Installing : python-bugzilla-0.6.0-1.el6.noarch                           1/1 
Installed products updated.

  Verifying  : python-bugzilla-0.6.0-1.el6.noarch                           1/1 

Installed:
  python-bugzilla.noarch 0:0.6.0-1.el6                                          

Complete!
=====image_validation.sh Wed Jun 13 05:36:47 EDT 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-50-16-131-207.compute-1.amazonaws.com with Image Id : ami-140eaf7d, is launched with Instance Id : i-2831bb51 , Instance Type : t1.micro and Arch : i386 in the Region : us-east-1d
The Validate Signature is : T+n+lBBAQL3SBRkC3WO2j/WLBU1NUcMThng+B+YV4jBwzYH4aTT2FOqot8YcSReZJJ/ggLFJJeQm
jb6hhzLx3g3IYAynjgdD95ohmv2MZSjLZISS3ONt1bAbiCGALIET0WUN/BBad+gucsGGsOgAUbPd
F3Lh3pY9rMBe5924KRk=
This is a Cloud Access image
/root/valid/src
ip-10-242-75-155
Red Hat Enterprise Linux Server release 6.3 (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################
######################################################################################
# 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: e1886162554c18906df2ecd258aa4794 
EXPECTED RESULT: e1886162554c18906df2ecd258aa4794
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify auditd sysconfig ... 
######################################################################################
COMMAND:  md5sum /etc/sysconfig/auditd | cut -f 1 -d  " "
RESULT: d4d43637708e30418c30003e212f76fc 
EXPECTED RESULT: d4d43637708e30418c30003e212f76fc
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify bash_history ... 
######################################################################################
COMMAND:  cat ~/.bash_history | wc -l 
cat: /root/.bash_history: No such file or directory
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
######################################################################################
# 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/xvde1 | awk '{ print  }'
COMMAND:  echo ext4
RESULT: ext4 
EXPECTED RESULT: ext4
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Partition Size ...
######################################################################################
size=5905712
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-50-16-131-207.compute-1.amazonaws.com with Image Id : ami-140eaf7d, is launched with Instance Id : i-2831bb51 , Instance Type : t1.micro and Arch : i386 in the Region : us-east-1d
The Validate Signature is : T+n+lBBAQL3SBRkC3WO2j/WLBU1NUcMThng+B+YV4jBwzYH4aTT2FOqot8YcSReZJJ/ggLFJJeQm
jb6hhzLx3g3IYAynjgdD95ohmv2MZSjLZISS3ONt1bAbiCGALIET0WUN/BBad+gucsGGsOgAUbPd
F3Lh3pY9rMBe5924KRk=
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: 3 
EXPECTED RESULT: 2
RETURN CODE: 0
FAIL2
3
######################################################################################
# NEW TEST: ## Verify GPG RPMS ... 
######################################################################################
COMMAND:  rpm -qa gpg-pubkey* | sort -f | tail -n 1
RESULT: gpg-pubkey-fd431d51-4ae0493b 
EXPECTED RESULT: gpg-pubkey-fd431d51-4ae0493b
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: 
EXPECTED RESULT: root:x:0:
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep daemon:x:2
RESULT: daemon:x:2:bin,daemon 
EXPECTED RESULT: daemon:x:2:bin,daemon
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep bin:x:1
RESULT: bin:x:1:bin,daemon 
EXPECTED RESULT: bin:x:1: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
######################################################################################
# NEW TEST: ## Verify iptables ... 
######################################################################################
COMMAND: /etc/init.d/iptables status | grep REJECT 
5    REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-host-prohibited 
1    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
######################################################################################
# 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: cannot access /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 610340 > 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_63 /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: 6 
EXPECTED RESULT: 4
RETURN CODE: 0
FAIL2
6
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: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify resize2fs ... 
######################################################################################
COMMAND: resize2fs -p /dev/xvde1 15000M
resize2fs 1.41.12 (17-May-2010)
RETURN CODE: 0
COMMAND:  df -h | grep 15G | wc -l 
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
/root/valid/src
ip-10-242-75-155
Red Hat Enterprise Linux Server release 6.3 (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################
######################################################################################
# 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: 8b91b32300134e98ef4aee632ed61e21 
EXPECTED RESULT: 8b91b32300134e98ef4aee632ed61e21
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 10 mkovacik 2012-06-13 05:43:23 EDT
COMMAND:  /bin/uname -s
RESULT: Linux 
EXPECTED RESULT: Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest installed kernel is running ... 
######################################################################################
Detected rpm kernel version: 2.6.32-276.el6.i686
Detected uname kernel version: 2.6.32-276.el6.i686
COMMAND:  true
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ... 
######################################################################################
COMMAND:  cat /boot/grub/menu.lst | grep 2.6.32-276.el6.i686
RESULT: title RHEL6.3-20120531.0-Server-i386-starter-ec2 (2.6.32-276.el6.i686)
        kernel /boot/vmlinuz-2.6.32-276.el6.i686 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-276.el6.i686.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/fingerprint-auth
....L....  c /etc/pam.d/password-auth
....L....  c /etc/pam.d/smartcard-auth
....L....  c /etc/pam.d/system-auth
.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: 5 
EXPECTED RESULT: 5
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify Version 2 ... 
######################################################################################
COMMAND:  /bin/rpm -q --queryformat '%{RELEASE}\n' redhat-release-server | cut -d. -f1,2
RESULT: 6.3 
EXPECTED RESULT: 6.3
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: 2 
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
crash-trace-commandPackager    : Lai Jiangshan <laijs@cn.fujitsu.com>
epel-releasePackager    : Fedora Project
python-bugzillaPackager    : Fedora Project
######################################################################################
# NEW TEST: ## List the configured repositories...
######################################################################################
COMMAND:  /usr/bin/yum repolist
Unable to read consumer identity
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
repo id                                      repo name                    status
*epel                                        Extra Packages for Enterpris 6,081
rhui-us-east-1-client-config-server-6        Red Hat Update Infrastructur     1
rhui-us-east-1-rhel-server-releases          Red Hat Enterprise Linux Ser 5,572
rhui-us-east-1-rhel-server-releases-optional Red Hat Enterprise Linux Ser 3,340
repolist: 14,994 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Search zsh...
######################################################################################
COMMAND:  /usr/bin/yum search zsh
Unable to read consumer identity
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
=============================== N/S Matched: zsh ===============================
autojump-zsh.noarch : Autojump for zsh
gromacs-zsh.noarch : GROMACS zsh support
python-twisted-core-zsh.i686 : Tab completion for Zsh and Twisted Core
zsh-html.i686 : Zsh shell manual in html format
zsh.i686 : A powerful interactive shell

  Name and summary matches only, use "search all" for everything. 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## install zsh ... 
######################################################################################
COMMAND: /usr/bin/yum -y install zsh
Unable to read consumer identity
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
Unable to read consumer identity
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Group Process
Installed Groups:
   Additional Development
   Base
   Client management tools
   Console internet tools
   Debugging Tools
   Desktop Platform
   Directory Client
   E-mail server
   Fonts
   Graphical Administration Tools
   Hardware monitoring utilities
   Java Platform
   Large Systems Performance
   Legacy UNIX compatibility
   Messaging Client Support
   Messaging Server Support
   Milkymist
   NFS file server
   Network file system client
   Networking Tools
   Performance Tools
   Perl Support
   Scientific support
   Server Platform
Installed Language Groups:
   Arabic Support [ar]
   Armenian Support [hy]
   Georgian Support [ka]
   Hebrew Support [he]
   Inuktitut Support [iu]
   Japanese Support [ja]
   Korean Support [ko]
   Lao Support [lo]
   Tajik Support [tg]
Available Groups:
   Backup Client
   Backup Server
   CIFS file server
   Compatibility libraries
   Desktop
   Desktop Debugging and Performance Tools
   Desktop Platform Development
   Development tools
   Dial-up Networking Support
   Directory Server
   Eclipse
   Educational Software
   Electronic Lab
   Emacs
   FCoE Storage Client
   FTP server
   Fedora Packager
   General Purpose Desktop
   Graphics Creation Tools
   Haskell
   Identity Management Server
   Infiniband Support
   Input Methods
   Internet Applications
   Internet Browser
   KDE Desktop
   Legacy X Window System compatibility
   Mainframe Access
   MySQL Database client
   MySQL Database server
   Network Infrastructure Server
   Network Storage Server
   Office Suite and Productivity
   PHP Support
   PostgreSQL Database client
   PostgreSQL Database server
   Print Server
   Printing client
   Remote Desktop Clients
   Ruby Support
   SNMP Support
   Security Tools
   Server Platform Development
   Smart card support
   Somali Support
   Storage Availability Tools
   System Management
   System administration tools
   TeX support
   Technical Writing
   TurboGears application framework
   Virtualization
   Virtualization Client
   Virtualization Platform
   Virtualization Tools
   Web Server
   Web Servlet Engine
   Web-Based Enterprise Management
   X Window System
   Xfce
   iSCSI Storage Client
Available Language Groups:
   Afrikaans Support [af]
   Albanian Support [sq]
   Amazigh Support [ber]
   Assamese Support [as]
   Azerbaijani Support [az]
   Basque Support [eu]
   Belarusian Support [be]
   Bengali Support [bn]
   Bhutanese Support [dz]
   Brazilian Portuguese Support [pt_BR]
   Breton Support [br]
   Bulgarian Support [bg]
   Catalan Support [ca]
   Chhattisgarhi Support [hne]
   Chichewa Support [ny]
   Chinese Support [zh]
   Coptic Support [cop]
   Croatian Support [hr]
   Czech Support [cs]
   Danish Support [da]
   Dutch Support [nl]
   English (UK) Support [en_GB]
   Esperanto Support [eo]
   Estonian Support [et]
   Ethiopic Support [am]
   Faroese Support [fo]
   Fijian Support [fj]
   Filipino Support [fil]
   Finnish Support [fi]
   French Support [fr]
   Frisian Support [fy]
   Friulian Support [fur]
   Gaelic Support [gd]
   Galician Support [gl]
   German Support [de]
   Greek Support [el]
   Gujarati Support [gu]
   Hiligaynon Support [hil]
   Hindi Support [hi]
   Hungarian Support [hu]
   Icelandic Support [is]
   Indonesian Support [id]
   Interlingua Support [ia]
   Irish Support [ga]
   Italian Support [it]
   Kannada Support [kn]
   Kashmiri Support [ks]
   Kashubian Support [csb]
   Kazakh Support [kk]
   Khmer Support [km]
   Kinyarwanda Support [rw]
   Konkani Support [kok]
   Kurdish Support [ku]
   Latin Support [la]
   Latvian Support [lv]
   Lithuanian Support [lt]
   Low Saxon Support [nds]
   Luxembourgish Support [lb]
   Macedonian Support [mk]
   Maithili Support [mai]
   Malagasy Support [mg]
   Malay Support [ms]
   Malayalam Support [ml]
   Maltese Support [mt]
   Manx Support [gv]
   Maori Support [mi]
   Marathi Support [mr]
   Mongolian Support [mn]
   Myanmar (Burmese) Support [my]
   Nepali Support [ne]
   Northern Sotho Support [nso]
   Norwegian Support [nb]
   Occitan Support [oc]
   Oriya Support [or]
   Persian Support [fa]
   Polish Support [pl]
   Portuguese Support [pt]
   Punjabi Support [pa]
   Romanian Support [ro]
   Russian Support [ru]
   Sanskrit Support [sa]
   Sardinian Support [sc]
   Serbian Support [sr]
   Sindhi Support [sd]
   Sinhala Support [si]
   Slovak Support [sk]
   Slovenian Support [sl]
   Southern Ndebele Support [nr]
   Southern Sotho Support [st]
   Spanish Support [es]
   Swahili Support [sw]
   Swati Support [ss]
   Swedish Support [sv]
   Tagalog Support [tl]
   Tamil Support [ta]
   Telugu Support [te]
   Tetum Support [tet]
   Thai Support [th]
   Tibetan Support [bo]
   Tsonga Support [ts]
   Tswana Support [tn]
   Turkish Support [tr]
   Turkmen Support [tk]
   Ukrainian Support [uk]
   Upper Sorbian Support [hsb]
   Urdu Support [ur]
   Uzbek Support [uz]
   Venda Support [ve]
   Vietnamese Support [vi]
   Walloon Support [wa]
   Welsh Support [cy]
   Xhosa Support [xh]
   Zulu Support [zu]
Done 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Install Development tools group...
######################################################################################
COMMAND:  /usr/bin/yum -y groupinstall 'Development tools'
Unable to read consumer identity
Error: Package: glibc-devel-2.12-1.47.el6_2.12.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: glibc = 2.12-1.47.el6_2.12
           Installed: glibc-2.12-1.80.el6.i686 (@koji-override-0/$releasever)
               glibc = 2.12-1.80.el6
           Available: glibc-2.12-1.7.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6
           Available: glibc-2.12-1.7.el6_0.3.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.3
           Available: glibc-2.12-1.7.el6_0.4.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.4
           Available: glibc-2.12-1.7.el6_0.5.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.5
           Available: glibc-2.12-1.25.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.25.el6
           Available: glibc-2.12-1.25.el6_1.3.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.25.el6_1.3
           Available: glibc-2.12-1.47.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6
           Available: glibc-2.12-1.47.el6_2.5.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.5
           Available: glibc-2.12-1.47.el6_2.9.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.9
           Available: glibc-2.12-1.47.el6_2.12.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.12
Error: Package: glibc-headers-2.12-1.47.el6_2.12.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: glibc = 2.12-1.47.el6_2.12
           Installed: glibc-2.12-1.80.el6.i686 (@koji-override-0/$releasever)
               glibc = 2.12-1.80.el6
           Available: glibc-2.12-1.7.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6
           Available: glibc-2.12-1.7.el6_0.3.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.3
           Available: glibc-2.12-1.7.el6_0.4.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.4
           Available: glibc-2.12-1.7.el6_0.5.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.5
           Available: glibc-2.12-1.25.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.25.el6
           Available: glibc-2.12-1.25.el6_1.3.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.25.el6_1.3
           Available: glibc-2.12-1.47.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6
           Available: glibc-2.12-1.47.el6_2.5.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.5
           Available: glibc-2.12-1.47.el6_2.9.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.9
           Available: glibc-2.12-1.47.el6_2.12.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.12
Error: Package: gcc-gfortran-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: libgfortran = 4.4.6-3.el6
           Installed: libgfortran-4.4.6-4.el6.i686 (@koji-override-0/$releasever)
               libgfortran = 4.4.4-15.el6
               libgfortran = 4.4.6-4.el6
           Available: libgfortran-4.4.4-13.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgfortran = 4.4.4-13.el6
           Available: libgfortran-4.4.5-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgfortran = 4.4.5-6.el6
               libgfortran = 4.4.4-15.el6
           Available: libgfortran-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgfortran = 4.4.6-3.el6
               libgfortran = 4.4.4-15.el6
Error: Package: gcc-c++-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: libstdc++ = 4.4.6-3.el6
           Installed: libstdc++-4.4.6-4.el6.i686 (@koji-override-0/$releasever)
               libstdc++ = 4.4.4-15.el6
               libstdc++ = 4.4.6-4.el6
           Available: libstdc++-4.4.4-13.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++ = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++ = 4.4.5-6.el6
               libstdc++ = 4.4.4-15.el6
           Available: libstdc++-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++ = 4.4.6-3.el6
               libstdc++ = 4.4.4-15.el6
Error: Package: gcc-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: libgomp = 4.4.6-3.el6
           Installed: libgomp-4.4.6-4.el6.i686 (@koji-override-0/$releasever)
               libgomp = 4.4.4-15.el6
               libgomp = 4.4.6-4.el6
           Available: libgomp-4.4.4-13.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgomp = 4.4.4-13.el6
           Available: libgomp-4.4.5-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgomp = 4.4.5-6.el6
               libgomp = 4.4.4-15.el6
           Available: libgomp-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgomp = 4.4.6-3.el6
               libgomp = 4.4.4-15.el6
Error: Package: systemtap-1.6-5.el6_2.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: systemtap-runtime = 1.6-5.el6_2
           Installed: systemtap-runtime-1.7-5.el6.i686 (@koji-override-0/$releasever)
               systemtap-runtime = 1.7-5.el6
           Available: systemtap-runtime-1.2-9.el6.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.2-9.el6
           Available: systemtap-runtime-1.2-11.el6_0.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.2-11.el6_0
           Available: systemtap-runtime-1.4-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6
           Available: systemtap-runtime-1.4-6.el6_1.1.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.1
           Available: systemtap-runtime-1.4-6.el6_1.2.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.2
           Available: systemtap-runtime-1.4-6.el6_1.3.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.3
           Available: systemtap-runtime-1.6-4.el6.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.6-4.el6
           Available: systemtap-runtime-1.6-5.el6_2.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.6-5.el6_2
Error: Package: libstdc++-devel-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: libstdc++(x86-32) = 4.4.6-3.el6
           Installed: libstdc++-4.4.6-4.el6.i686 (@koji-override-0/$releasever)
               libstdc++(x86-32) = 4.4.6-4.el6
           Available: libstdc++-4.4.4-13.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++(x86-32) = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++(x86-32) = 4.4.5-6.el6
           Available: libstdc++-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++(x86-32) = 4.4.6-3.el6
Error: Package: rpm-build-4.8.0-19.el6_2.1.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: rpm = 4.8.0-19.el6_2.1
Comment 11 mkovacik 2012-06-13 05:43:30 EDT
           Installed: rpm-4.8.0-27.el6.i686 (@koji-override-0/$releasever)
               rpm = 4.8.0-27.el6
           Available: rpm-4.8.0-12.el6.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-12.el6
           Available: rpm-4.8.0-16.el6.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-16.el6
           Available: rpm-4.8.0-16.el6_1.1.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-16.el6_1.1
           Available: rpm-4.8.0-19.el6.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-19.el6
           Available: rpm-4.8.0-19.el6_2.1.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-19.el6_2.1
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Group Process
Package matching 1:make-3.81-19.el6.i686 already installed. Checking for update.
Package 1:pkgconfig-0.23-9.1.el6.i686 already installed and latest version
Package gettext-0.17-16.el6.i686 already installed and latest version
Package patch-2.6-6.el6.i686 already installed and latest version
Package matching binutils-2.20.51.0.2-5.28.el6.i686 already installed. Checking for update.
Package elfutils-0.152-1.el6.i686 already installed and latest version
Package cvs-1.11.23-11.el6_2.1.i686 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed
---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed
---> Package bison.i686 0:2.4.1-5.el6 will be installed
---> Package byacc.i686 0:1.9.20070509-6.1.el6 will be installed
---> Package cscope.i686 0:15.6-6.el6 will be installed
---> Package ctags.i686 0:5.8-2.el6 will be installed
---> Package diffstat.i686 0:1.51-2.el6 will be installed
---> Package doxygen.i686 1:1.6.1-6.el6 will be installed
---> Package flex.i686 0:2.5.35-8.el6 will be installed
---> Package gcc.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686
--> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-3.el6.i686
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-3.el6.i686
---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++-devel = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
--> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
--> Processing Dependency: libmpfr.so.1 for package: gcc-c++-4.4.6-3.el6.i686
---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686
---> Package git.i686 0:1.7.1-2.el6_0.1 will be installed
--> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.i686
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.i686
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.i686
---> Package indent.i686 0:2.2.10-5.1.el6 will be installed
---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed
--> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch
---> Package libtool.i686 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.i686 0:0.3.1-3.1.el6 will be installed
---> Package rcs.i686 0:5.7-37.el6 will be installed
---> Package redhat-rpm-config.noarch 0:9.0.3-34.el6 will be installed
---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed
--> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686
---> Package subversion.i686 0:1.6.11-2.el6_1.4 will be installed
--> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libneon.so.27 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libaprutil-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libapr-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686
---> Package swig.i686 0:1.3.40-6.el6 will be installed
---> Package systemtap.i686 0:1.6-5.el6_2 will be installed
--> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686
--> Processing Dependency: kernel-devel for package: systemtap-1.6-5.el6_2.i686
--> Running transaction check
---> Package apr.i686 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util.i686 0:1.3.9-3.el6_0.1 will be installed
---> Package cloog-ppl.i686 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2 for package: cloog-ppl-0.15.7-1.2.el6.i686
--> Processing Dependency: libppl.so.7 for package: cloog-ppl-0.15.7-1.2.el6.i686
---> Package cpp.i686 0:4.4.6-3.el6 will be installed
---> Package gcc.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686
---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686
---> Package gettext-devel.i686 0:0.17-16.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libgettextpo.so.0 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libgcj_bc.so.1 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libasprintf.so.0 for package: gettext-devel-0.17-16.el6.i686
---> Package glibc-devel.i686 0:2.12-1.47.el6_2.12 will be installed
--> Processing Dependency: glibc-headers = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686
--> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.47.el6_2.12.i686
---> Package kernel-devel.i686 0:2.6.32-220.17.1.el6 will be installed
---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686
---> Package mpfr.i686 0:2.4.1-6.el6 will be installed
---> Package neon.i686 0:0.29.3-1.2.el6 will be installed
--> Processing Dependency: libproxy.so.0 for package: neon-0.29.3-1.2.el6.i686
--> Processing Dependency: libpakchois.so.0 for package: neon-0.29.3-1.2.el6.i686
---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed
---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed
---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed
--> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686
---> Package systemtap.i686 0:1.6-5.el6_2 will be installed
--> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686
--> Running transaction check
---> Package gcc.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686
---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686
---> Package gettext-libs.i686 0:0.17-16.el6 will be installed
---> Package glibc-devel.i686 0:2.12-1.47.el6_2.12 will be installed
--> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686
---> Package glibc-headers.i686 0:2.12-1.47.el6_2.12 will be installed
--> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-headers-2.12-1.47.el6_2.12.i686
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.47.el6_2.12.i686
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.47.el6_2.12.i686
---> Package libgcj.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-3.el6.i686
---> Package libproxy.i686 0:0.3.0-2.el6 will be installed
--> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686
--> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686
---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686
---> Package pakchois.i686 0:0.4-3.2.el6 will be installed
---> Package ppl.i686 0:0.10.2-11.el6 will be installed
---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed
--> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686
---> Package systemtap.i686 0:1.6-5.el6_2 will be installed
--> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686
--> Running transaction check
---> Package gcc.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686
---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686
---> Package glibc-devel.i686 0:2.12-1.47.el6_2.12 will be installed
--> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686
---> Package glibc-headers.i686 0:2.12-1.47.el6_2.12 will be installed
--> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-headers-2.12-1.47.el6_2.12.i686
---> Package kernel-headers.i686 0:2.6.32-220.17.1.el6 will be installed
---> Package libart_lgpl.i686 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.i686 0:0.3.0-2.el6 will be installed
---> Package libproxy-python.i686 0:0.3.0-2.el6 will be installed
---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686
---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed
--> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686
---> Package systemtap.i686 0:1.6-5.el6_2 will be installed
--> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686
--> Finished Dependency Resolution
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest 
EXPECTED RESULT: 
RETURN CODE: 1
FAIL1
Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Setting up Group Process Package matching 1:make-3.81-19.el6.i686 already installed. Checking for update. Package 1:pkgconfig-0.23-9.1.el6.i686 already installed and latest version Package gettext-0.17-16.el6.i686 already installed and latest version Package patch-2.6-6.el6.i686 already installed and latest version Package matching binutils-2.20.51.0.2-5.28.el6.i686 already installed. Checking for update. Package elfutils-0.152-1.el6.i686 already installed and latest version Package cvs-1.11.23-11.el6_2.1.i686 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.i686 0:2.4.1-5.el6 will be installed ---> Package byacc.i686 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.i686 0:15.6-6.el6 will be installed ---> Package ctags.i686 0:5.8-2.el6 will be installed ---> Package diffstat.i686 0:1.51-2.el6 will be installed ---> Package doxygen.i686 1:1.6.1-6.el6 will be installed ---> Package flex.i686 0:2.5.35-8.el6 will be installed ---> Package gcc.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686 --> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-3.el6.i686 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-3.el6.i686 ---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++-devel = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 --> Processing Dependency: libmpfr.so.1 for package: gcc-c++-4.4.6-3.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686 ---> Package git.i686 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.i686 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.i686 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.i686 ---> Package indent.i686 0:2.2.10-5.1.el6 will be installed ---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed --> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch ---> Package libtool.i686 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.i686 0:0.3.1-3.1.el6 will be installed ---> Package rcs.i686 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-34.el6 will be installed ---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686 ---> Package subversion.i686 0:1.6.11-2.el6_1.4 will be installed --> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libneon.so.27 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libaprutil-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libapr-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686 ---> Package swig.i686 0:1.3.40-6.el6 will be installed ---> Package systemtap.i686 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686 --> Processing Dependency: kernel-devel for package: systemtap-1.6-5.el6_2.i686 --> Running transaction check ---> Package apr.i686 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.i686 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.i686 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2 for package: cloog-ppl-0.15.7-1.2.el6.i686 --> Processing Dependency: libppl.so.7 for package: cloog-ppl-0.15.7-1.2.el6.i686 ---> Package cpp.i686 0:4.4.6-3.el6 will be installed ---> Package gcc.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686 ---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686 ---> Package gettext-devel.i686 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libgettextpo.so.0 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libgcj_bc.so.1 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libasprintf.so.0 for package: gettext-devel-0.17-16.el6.i686 ---> Package glibc-devel.i686 0:2.12-1.47.el6_2.12 will be installed --> Processing Dependency: glibc-headers = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686 --> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.47.el6_2.12.i686 ---> Package kernel-devel.i686 0:2.6.32-220.17.1.el6 will be installed ---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686 ---> Package mpfr.i686 0:2.4.1-6.el6 will be installed ---> Package neon.i686 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libproxy.so.0 for package: neon-0.29.3-1.2.el6.i686 --> Processing Dependency: libpakchois.so.0 for package: neon-0.29.3-1.2.el6.i686 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686 ---> Package systemtap.i686 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686 --> Running transaction check ---> Package gcc.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686 ---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686 ---> Package gettext-libs.i686 0:0.17-16.el6 will be installed ---> Package glibc-devel.i686 0:2.12-1.47.el6_2.12 will be installed --> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686 ---> Package glibc-headers.i686 0:2.12-1.47.el6_2.12 will be installed --> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-headers-2.12-1.47.el6_2.12.i686 --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.47.el6_2.12.i686 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.47.el6_2.12.i686 ---> Package libgcj.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-3.el6.i686 ---> Package libproxy.i686 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686 ---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686 ---> Package pakchois.i686 0:0.4-3.2.el6 will be installed ---> Package ppl.i686 0:0.10.2-11.el6 will be installed ---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686 ---> Package systemtap.i686 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686 --> Running transaction check ---> Package gcc.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686 ---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686 ---> Package glibc-devel.i686 0:2.12-1.47.el6_2.12 will be installed --> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686 ---> Package glibc-headers.i686 0:2.12-1.47.el6_2.12 will be installed --> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-headers-2.12-1.47.el6_2.12.i686 ---> Package kernel-headers.i686 0:2.6.32-220.17.1.el6 will be installed ---> Package libart_lgpl.i686 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.i686 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.i686 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686 ---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686 ---> Package systemtap.i686 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686 --> Finished Dependency Resolution You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
# checking possible sys update
Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
# no sys update found
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
Unable to read consumer identity
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package dmidecode.i686 1:2.11-2.el6 will be updated
---> Package dmidecode.i686 1:2.11-2.el6_1 will be an update
---> Package epel-release.noarch 0:6-6 will be updated
---> Package epel-release.noarch 0:6-7 will be an update
---> Package perl-Compress-Raw-Bzip2.i686 0:2.020-127.el6 will be updated
---> Package perl-Compress-Raw-Bzip2.i686 0:2.027-1.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package        Arch   Version        Repository                           Size
================================================================================
Updating:
 dmidecode      i686   1:2.11-2.el6_1 rhui-us-east-1-rhel-server-releases  70 k
 epel-release   noarch 6-7            epel                                 14 k
 perl-Compress-Raw-Bzip2
                i686   2.027-1.el6    epel                                 30 k

Transaction Summary
================================================================================
Upgrade       3 Package(s)

Total download size: 115 k
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           199 kB/s | 115 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Updating   : epel-release-6-7.noarch                                      1/6 

  Updating   : perl-Compress-Raw-Bzip2-2.027-1.el6.i686                     2/6 

  Updating   : 1:dmidecode-2.11-2.el6_1.i686                                3/6 

  Cleanup    : epel-release-6-6.noarch                                      4/6 

  Cleanup    : 1:dmidecode-2.11-2.el6.i686                                  5/6 

  Cleanup    : perl-Compress-Raw-Bzip2-2.020-127.el6.i686                   6/6 
Installed products updated.

  Verifying  : perl-Compress-Raw-Bzip2-2.027-1.el6.i686                     1/6 

  Verifying  : 1:dmidecode-2.11-2.el6_1.i686                                2/6 

  Verifying  : epel-release-6-7.noarch                                      3/6 

  Verifying  : 1:dmidecode-2.11-2.el6.i686                                  4/6 

  Verifying  : epel-release-6-6.noarch                                      5/6 

  Verifying  : perl-Compress-Raw-Bzip2-2.020-127.el6.i686                   6/6 

Updated:
  dmidecode.i686 1:2.11-2.el6_1                   epel-release.noarch 0:6-7     
  perl-Compress-Raw-Bzip2.i686 0:2.027-1.el6     

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
Unable to read consumer identity
Warning: RPMDB altered outside of yum.
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, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
# no sys update found
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
Unable to read consumer identity
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
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 = 3
FAILED TESTS = ## Verify GPG Keys ... ## test repo files ... ## Install Development tools group...
LOG FILE = /root/valid/src/validate.log
## Summary ##

######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
Comment 12 mkovacik 2012-06-13 05:50:24 EDT
IMAGE ID= ami-140eaf7d_us-east-1_m1.small
Preparing...                ##################################################
Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Install Process
Package python-bugzilla-0.6.0-1.el6.noarch already installed and latest version
Nothing to do
###### 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 ... 
######################################################################################
Detected rpm kernel version: 2.6.32-276.el6.i686
Detected uname kernel version: 2.6.32-276.el6.i686
COMMAND:  true
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ... 
######################################################################################
COMMAND:  cat /boot/grub/menu.lst | grep 2.6.32-276.el6.i686
RESULT: title RHEL6.3-20120531.0-Server-i386-starter-ec2 (2.6.32-276.el6.i686)
        kernel /boot/vmlinuz-2.6.32-276.el6.i686 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-276.el6.i686.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 1711852 > hwp MEMORY of 1700000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
hostname
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################

## Summary ##
FAILURES = 3
FAILED TESTS = ## Verify GPG Keys ... ## test repo files ... ## Install Development tools group...
LOG FILE = /root/valid/src/validate.log
## Summary ##

######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
Comment 13 mkovacik 2012-06-13 05:50:46 EDT
IMAGE ID= ami-140eaf7d_us-east-1_t1.micro
Preparing...                ##################################################
Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Install Process
Package python-bugzilla-0.6.0-1.el6.noarch already installed and latest version
Nothing to do
###### 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 ... 
######################################################################################
Detected rpm kernel version: 2.6.32-276.el6.i686
Detected uname kernel version: 2.6.32-276.el6.i686
COMMAND:  true
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ... 
######################################################################################
COMMAND:  cat /boot/grub/menu.lst | grep 2.6.32-276.el6.i686
RESULT: title RHEL6.3-20120531.0-Server-i386-starter-ec2 (2.6.32-276.el6.i686)
        kernel /boot/vmlinuz-2.6.32-276.el6.i686 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-276.el6.i686.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 610340 > 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 6.3
######################################################################################

## Summary ##
FAILURES = 3
FAILED TESTS = ## Verify GPG Keys ... ## test repo files ... ## Install Development tools group...
LOG FILE = /root/valid/src/validate.log
## Summary ##

######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
Comment 14 mkovacik 2012-06-13 07:43:55 EDT
Closing validated amis.
Comment 15 mkovacik 2012-06-13 07:46:07 EDT
Closing validated amis.
Comment 16 mkovacik 2012-06-13 13:08:44 EDT
IMAGE ID= 
Preparing...                ##################################################
epel-release                ##################################################
Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package python-bugzilla.noarch 0:0.6.0-1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                 Arch           Version              Repository    Size
================================================================================
Installing:
 python-bugzilla         noarch         0.6.0-1.el6          epel          71 k

Transaction Summary
================================================================================
Install       1 Package(s)

Total download size: 71 k
Installed size: 309 k
Downloading Packages:
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Installing : python-bugzilla-0.6.0-1.el6.noarch                           1/1 
Installed products updated.

  Verifying  : python-bugzilla-0.6.0-1.el6.noarch                           1/1 

Installed:
  python-bugzilla.noarch 0:0.6.0-1.el6                                          

Complete!
=====image_validation.sh Wed Jun 13 13:07:06 EDT 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-23-22-146-10.compute-1.amazonaws.com with Image Id : ami-140eaf7d, is launched with Instance Id : i-36ef794f , Instance Type : c1.medium and Arch : i386 in the Region : us-east-1d
The Validate Signature is : Om2D9aqi6mA1wsjQDi+HuCYHQBfVDkLQeqIHP3lKYr656sUvBei/bACaxuF8/RiLIxPD8R6faQAf
Uf/Jb2URtirv3WcE5N7Z23naf34MiBXK7HJC1SW9f1Hox0ZB469Ru55gmBcs2Vwr8rzxbprVJj1F
+tfYxU7BoAvD9qYVAVk=
This is a Cloud Access image
/root/valid/src
ip-10-38-183-247
Red Hat Enterprise Linux Server release 6.3 (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################
######################################################################################
# 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: e1886162554c18906df2ecd258aa4794 
EXPECTED RESULT: e1886162554c18906df2ecd258aa4794
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify auditd sysconfig ... 
######################################################################################
COMMAND:  md5sum /etc/sysconfig/auditd | cut -f 1 -d  " "
RESULT: d4d43637708e30418c30003e212f76fc 
EXPECTED RESULT: d4d43637708e30418c30003e212f76fc
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify bash_history ... 
######################################################################################
COMMAND:  cat ~/.bash_history | wc -l 
cat: /root/.bash_history: No such file or directory
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
######################################################################################
# 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/xvde1 | awk '{ print  }'
COMMAND:  echo ext4
RESULT: ext4 
EXPECTED RESULT: ext4
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Partition Size ...
######################################################################################
size=5905712
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-23-22-146-10.compute-1.amazonaws.com with Image Id : ami-140eaf7d, is launched with Instance Id : i-36ef794f , Instance Type : c1.medium and Arch : i386 in the Region : us-east-1d
The Validate Signature is : Om2D9aqi6mA1wsjQDi+HuCYHQBfVDkLQeqIHP3lKYr656sUvBei/bACaxuF8/RiLIxPD8R6faQAf
Uf/Jb2URtirv3WcE5N7Z23naf34MiBXK7HJC1SW9f1Hox0ZB469Ru55gmBcs2Vwr8rzxbprVJj1F
+tfYxU7BoAvD9qYVAVk=
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 RPMS ... 
######################################################################################
COMMAND:  rpm
RPM version 4.8.0
Copyright (C) 1998-2002 - Red Hat, Inc.
This program may be freely redistributed under the terms of the GNU GPL

Usage: rpm [-aKfgpWHqVcdilsKiv?] [-a|--all] [-f|--file] [-g|--group]
        [-p|--package] [-W|--ftswalk] [--pkgid] [--hdrid] [--fileid]
        [--specfile] [--triggeredby] [--whatrequires] [--whatprovides]
        [--nomanifest] [-c|--configfiles] [-d|--docfiles] [--dump] [-l|--list]
        [--queryformat=QUERYFORMAT] [-s|--state] [--nofiledigest] [--nomd5]
        [--nofiles] [--nodeps] [--noscript] [--comfollow] [--logical]
        [--nochdir] [--nostat] [--physical] [--seedot] [--xdev]
        [--whiteout] [--addsign] [-K|--checksig] [--delsign] [--import]
        [--resign] [--nodigest] [--nosignature] [--initdb] [--rebuilddb]
        [--aid] [--allfiles] [--allmatches] [--badreloc]
        [-e|--erase <package>+] [--excludedocs] [--excludepath=<path>]
        [--fileconflicts] [--force] [-F|--freshen <packagefile>+] [-h|--hash]
        [--ignorearch] [--ignoreos] [--ignoresize] [-i|--install] [--justdb]
        [--nodeps] [--nofiledigest] [--nomd5] [--nocontexts] [--noorder]
        [--nosuggest] [--noscripts] [--notriggers] [--oldpackage]
        [--percent] [--prefix=<dir>] [--relocate=<old>=<new>]
        [--replacefiles] [--replacepkgs] [--test]
        [-U|--upgrade <packagefile>+] [--quiet] [-D|--define 'MACRO EXPR']
        [-E|--eval 'EXPR'] [--macros=<FILE:...>] [--nodigest] [--nosignature]
        [--rcfile=<FILE:...>] [-r|--root ROOT] [--querytags] [--showrc]
        [--quiet] [-v|--verbose] [--version] [-?|--help] [--usage]
        [--scripts] [--setperms] [--setugids] [--conflicts] [--obsoletes]
        [--provides] [--requires] [--info] [--changelog] [--xml]
        [--triggers] [--last] [--dupes] [--filesbypkg] [--fileclass]
        [--filecolor] [--fscontext] [--fileprovide] [--filerequire]
        [--filecaps]
RESULT:  
EXPECTED RESULT: -qa OR gpg-pubkey-* | grep gpg-pubkey-2fa658e0-45700c69 
RETURN CODE: 1
FAIL1

COMMAND:  rpm -qa gpg-pubkey* | grep gpg-pubkey-fd431d51-4ae0493b
RESULT: gpg-pubkey-fd431d51-4ae0493b 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify group file ... 
######################################################################################
COMMAND:  cat /etc/group | grep root:x:0
RESULT: root:x:0: 
EXPECTED RESULT: root:x:0:
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep daemon:x:2
RESULT: daemon:x:2:bin,daemon 
EXPECTED RESULT: daemon:x:2:bin,daemon
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep bin:x:1
RESULT: bin:x:1:bin,daemon 
EXPECTED RESULT: bin:x:1: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
######################################################################################
# NEW TEST: ## Verify iptables ... 
######################################################################################
COMMAND: /etc/init.d/iptables status | grep REJECT 
5    REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-host-prohibited 
1    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
######################################################################################
# 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: cannot access /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 1752696 > hwp MEMORY of 1700000
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_63 /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: 6 
EXPECTED RESULT: 4
RETURN CODE: 0
FAIL2
6
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: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify resize2fs ... 
######################################################################################
COMMAND: resize2fs -p /dev/xvde1 15000M
resize2fs 1.41.12 (17-May-2010)
RETURN CODE: 0
COMMAND:  df -h | grep 15G | wc -l 
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
/root/valid/src
ip-10-38-183-247
Red Hat Enterprise Linux Server release 6.3 (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################
######################################################################################
# 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
######################################################################################
# NEW TEST: ## Verify swap size ... 
######################################################################################
parted -l | grep linux-swap | awk '{print $4}' | awk -F'MB' '{print $1}'
swap size = 940
COMMAND:  test 940 -gt 0
Comment 17 mkovacik 2012-06-13 13:08:52 EDT
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify turning on/off swap file ... 
######################################################################################
COMMAND:  /sbin/swapoff /dev/xvde3 && /sbin/swapon /dev/xvde3
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rsyslog is on ... 
######################################################################################
COMMAND:  chkconfig --list | grep rsyslog | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rsyslog config ... 
######################################################################################
COMMAND:  md5sum /etc/rsyslog.conf | cut -f 1 -d  " "
RESULT: 8b91b32300134e98ef4aee632ed61e21 
EXPECTED RESULT: 8b91b32300134e98ef4aee632ed61e21
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 ... 
######################################################################################
COMMAND:  /bin/uname -s
RESULT: Linux 
EXPECTED RESULT: Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest installed kernel is running ... 
######################################################################################
Detected rpm kernel version: 2.6.32-276.el6.i686
Detected uname kernel version: 2.6.32-276.el6.i686
COMMAND:  true
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ... 
######################################################################################
COMMAND:  cat /boot/grub/menu.lst | grep 2.6.32-276.el6.i686
RESULT: title RHEL6.3-20120531.0-Server-i386-starter-ec2 (2.6.32-276.el6.i686)
        kernel /boot/vmlinuz-2.6.32-276.el6.i686 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-276.el6.i686.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/fingerprint-auth
....L....  c /etc/pam.d/password-auth
....L....  c /etc/pam.d/smartcard-auth
....L....  c /etc/pam.d/system-auth
.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: 5 
EXPECTED RESULT: 5
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify Version 2 ... 
######################################################################################
COMMAND:  /bin/rpm -q --queryformat '%{RELEASE}\n' redhat-release-server | cut -d. -f1,2
RESULT: 6.3 
EXPECTED RESULT: 6.3
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: 2 
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
crash-trace-commandPackager    : Lai Jiangshan <laijs@cn.fujitsu.com>
epel-releasePackager    : Fedora Project
python-bugzillaPackager    : Fedora Project
######################################################################################
# NEW TEST: ## List the configured repositories...
######################################################################################
COMMAND:  /usr/bin/yum repolist
Unable to read consumer identity
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
repo id                                      repo name                    status
epel                                         Extra Packages for Enterpris 6,089
rhui-us-east-1-client-config-server-6        Red Hat Update Infrastructur     1
rhui-us-east-1-rhel-server-releases          Red Hat Enterprise Linux Ser 5,577
rhui-us-east-1-rhel-server-releases-optional Red Hat Enterprise Linux Ser 3,342
repolist: 15,009 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Search zsh...
######################################################################################
COMMAND:  /usr/bin/yum search zsh
Unable to read consumer identity
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
=============================== N/S Matched: zsh ===============================
autojump-zsh.noarch : Autojump for zsh
gromacs-zsh.noarch : GROMACS zsh support
python-twisted-core-zsh.i686 : Tab completion for Zsh and Twisted Core
zsh-html.i686 : Zsh shell manual in html format
zsh.i686 : A powerful interactive shell

  Name and summary matches only, use "search all" for everything. 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## install zsh ... 
######################################################################################
COMMAND: /usr/bin/yum -y install zsh
Unable to read consumer identity
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
Unable to read consumer identity
http://s3-mirror-us-east-1.fedoraproject.org/pub/epel/6/i386/repodata/b71bf803e1b9b2e052c3579001a0f6b5c32f52aa497f74a5c26cca127ec98296-comps-el6.xml.gz: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Group Process
Installed Groups:
   Additional Development
   Base
   Client management tools
   Console internet tools
   Debugging Tools
   Desktop Platform
   Directory Client
   E-mail server
   Fonts
   Graphical Administration Tools
   Hardware monitoring utilities
   Java Platform
   Large Systems Performance
   Legacy UNIX compatibility
   Messaging Client Support
   Messaging Server Support
   Milkymist
   NFS file server
   Network file system client
   Networking Tools
   Performance Tools
   Perl Support
   Scientific support
   Server Platform
Installed Language Groups:
   Arabic Support [ar]
   Armenian Support [hy]
   Georgian Support [ka]
   Hebrew Support [he]
   Inuktitut Support [iu]
   Japanese Support [ja]
   Korean Support [ko]
   Lao Support [lo]
   Tajik Support [tg]
Available Groups:
   Backup Client
   Backup Server
   CIFS file server
   Compatibility libraries
   Desktop
   Desktop Debugging and Performance Tools
   Desktop Platform Development
   Development tools
   Dial-up Networking Support
   Directory Server
   Eclipse
   Educational Software
   Electronic Lab
   Emacs
   FCoE Storage Client
   FTP server
   Fedora Packager
   General Purpose Desktop
   Graphics Creation Tools
   Haskell
   Identity Management Server
   Infiniband Support
   Input Methods
   Internet Applications
   Internet Browser
   KDE Desktop
   Legacy X Window System compatibility
   Mainframe Access
   MySQL Database client
   MySQL Database server
   Network Infrastructure Server
   Network Storage Server
   Office Suite and Productivity
   PHP Support
   PostgreSQL Database client
   PostgreSQL Database server
   Print Server
   Printing client
   Remote Desktop Clients
   Ruby Support
   SNMP Support
   Security Tools
   Server Platform Development
   Smart card support
   Somali Support
   Storage Availability Tools
   System Management
   System administration tools
   TeX support
   Technical Writing
   TurboGears application framework
   Virtualization
   Virtualization Client
   Virtualization Platform
   Virtualization Tools
   Web Server
   Web Servlet Engine
   Web-Based Enterprise Management
   X Window System
   Xfce
   iSCSI Storage Client
Available Language Groups:
   Afrikaans Support [af]
   Albanian Support [sq]
   Amazigh Support [ber]
   Assamese Support [as]
   Azerbaijani Support [az]
   Basque Support [eu]
   Belarusian Support [be]
   Bengali Support [bn]
   Bhutanese Support [dz]
   Brazilian Portuguese Support [pt_BR]
   Breton Support [br]
   Bulgarian Support [bg]
   Catalan Support [ca]
   Chhattisgarhi Support [hne]
   Chichewa Support [ny]
   Chinese Support [zh]
   Coptic Support [cop]
   Croatian Support [hr]
   Czech Support [cs]
   Danish Support [da]
   Dutch Support [nl]
   English (UK) Support [en_GB]
   Esperanto Support [eo]
   Estonian Support [et]
   Ethiopic Support [am]
   Faroese Support [fo]
   Fijian Support [fj]
   Filipino Support [fil]
   Finnish Support [fi]
   French Support [fr]
   Frisian Support [fy]
   Friulian Support [fur]
   Gaelic Support [gd]
   Galician Support [gl]
   German Support [de]
   Greek Support [el]
   Gujarati Support [gu]
   Hiligaynon Support [hil]
   Hindi Support [hi]
   Hungarian Support [hu]
   Icelandic Support [is]
   Indonesian Support [id]
   Interlingua Support [ia]
   Irish Support [ga]
   Italian Support [it]
   Kannada Support [kn]
   Kashmiri Support [ks]
   Kashubian Support [csb]
   Kazakh Support [kk]
   Khmer Support [km]
   Kinyarwanda Support [rw]
   Konkani Support [kok]
   Kurdish Support [ku]
   Latin Support [la]
   Latvian Support [lv]
   Lithuanian Support [lt]
   Low Saxon Support [nds]
   Luxembourgish Support [lb]
   Macedonian Support [mk]
   Maithili Support [mai]
   Malagasy Support [mg]
   Malay Support [ms]
   Malayalam Support [ml]
   Maltese Support [mt]
   Manx Support [gv]
   Maori Support [mi]
   Marathi Support [mr]
   Mongolian Support [mn]
   Myanmar (Burmese) Support [my]
   Nepali Support [ne]
   Northern Sotho Support [nso]
   Norwegian Support [nb]
   Occitan Support [oc]
   Oriya Support [or]
   Persian Support [fa]
   Polish Support [pl]
   Portuguese Support [pt]
   Punjabi Support [pa]
   Romanian Support [ro]
   Russian Support [ru]
   Sanskrit Support [sa]
   Sardinian Support [sc]
   Serbian Support [sr]
   Sindhi Support [sd]
   Sinhala Support [si]
   Slovak Support [sk]
   Slovenian Support [sl]
   Southern Ndebele Support [nr]
   Southern Sotho Support [st]
   Spanish Support [es]
   Swahili Support [sw]
   Swati Support [ss]
   Swedish Support [sv]
   Tagalog Support [tl]
   Tamil Support [ta]
   Telugu Support [te]
   Tetum Support [tet]
   Thai Support [th]
   Tibetan Support [bo]
   Tsonga Support [ts]
   Tswana Support [tn]
   Turkish Support [tr]
   Turkmen Support [tk]
   Ukrainian Support [uk]
   Upper Sorbian Support [hsb]
   Urdu Support [ur]
   Uzbek Support [uz]
   Venda Support [ve]
   Vietnamese Support [vi]
   Walloon Support [wa]
   Welsh Support [cy]
   Xhosa Support [xh]
   Zulu Support [zu]
Done 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Install Development tools group...
######################################################################################
COMMAND:  /usr/bin/yum -y groupinstall 'Development tools'
Unable to read consumer identity
Error: Package: glibc-devel-2.12-1.47.el6_2.12.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: glibc = 2.12-1.47.el6_2.12
           Installed: glibc-2.12-1.80.el6.i686 (@koji-override-0/$releasever)
               glibc = 2.12-1.80.el6
           Available: glibc-2.12-1.7.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6
           Available: glibc-2.12-1.7.el6_0.3.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.3
           Available: glibc-2.12-1.7.el6_0.4.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.4
           Available: glibc-2.12-1.7.el6_0.5.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.5
           Available: glibc-2.12-1.25.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.25.el6
           Available: glibc-2.12-1.25.el6_1.3.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.25.el6_1.3
           Available: glibc-2.12-1.47.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6
           Available: glibc-2.12-1.47.el6_2.5.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.5
           Available: glibc-2.12-1.47.el6_2.9.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.9
           Available: glibc-2.12-1.47.el6_2.12.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.12
Error: Package: glibc-headers-2.12-1.47.el6_2.12.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: glibc = 2.12-1.47.el6_2.12
           Installed: glibc-2.12-1.80.el6.i686 (@koji-override-0/$releasever)
               glibc = 2.12-1.80.el6
           Available: glibc-2.12-1.7.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6
           Available: glibc-2.12-1.7.el6_0.3.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.3
           Available: glibc-2.12-1.7.el6_0.4.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.4
           Available: glibc-2.12-1.7.el6_0.5.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.5
           Available: glibc-2.12-1.25.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.25.el6
           Available: glibc-2.12-1.25.el6_1.3.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.25.el6_1.3
           Available: glibc-2.12-1.47.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6
           Available: glibc-2.12-1.47.el6_2.5.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.5
           Available: glibc-2.12-1.47.el6_2.9.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.9
           Available: glibc-2.12-1.47.el6_2.12.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.12
Error: Package: gcc-gfortran-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: libgfortran = 4.4.6-3.el6
           Installed: libgfortran-4.4.6-4.el6.i686 (@koji-override-0/$releasever)
               libgfortran = 4.4.4-15.el6
               libgfortran = 4.4.6-4.el6
           Available: libgfortran-4.4.4-13.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgfortran = 4.4.4-13.el6
           Available: libgfortran-4.4.5-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgfortran = 4.4.5-6.el6
               libgfortran = 4.4.4-15.el6
           Available: libgfortran-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgfortran = 4.4.6-3.el6
               libgfortran = 4.4.4-15.el6
Error: Package: gcc-c++-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: libstdc++ = 4.4.6-3.el6
           Installed: libstdc++-4.4.6-4.el6.i686 (@koji-override-0/$releasever)
               libstdc++ = 4.4.4-15.el6
               libstdc++ = 4.4.6-4.el6
           Available: libstdc++-4.4.4-13.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++ = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++ = 4.4.5-6.el6
               libstdc++ = 4.4.4-15.el6
           Available: libstdc++-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++ = 4.4.6-3.el6
               libstdc++ = 4.4.4-15.el6
Error: Package: gcc-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: libgomp = 4.4.6-3.el6
           Installed: libgomp-4.4.6-4.el6.i686 (@koji-override-0/$releasever)
               libgomp = 4.4.4-15.el6
Comment 18 mkovacik 2012-06-13 13:08:57 EDT
               libgomp = 4.4.6-4.el6
           Available: libgomp-4.4.4-13.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgomp = 4.4.4-13.el6
           Available: libgomp-4.4.5-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgomp = 4.4.5-6.el6
               libgomp = 4.4.4-15.el6
           Available: libgomp-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgomp = 4.4.6-3.el6
               libgomp = 4.4.4-15.el6
Error: Package: systemtap-1.6-5.el6_2.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: systemtap-runtime = 1.6-5.el6_2
           Installed: systemtap-runtime-1.7-5.el6.i686 (@koji-override-0/$releasever)
               systemtap-runtime = 1.7-5.el6
           Available: systemtap-runtime-1.2-9.el6.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.2-9.el6
           Available: systemtap-runtime-1.2-11.el6_0.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.2-11.el6_0
           Available: systemtap-runtime-1.4-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6
           Available: systemtap-runtime-1.4-6.el6_1.1.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.1
           Available: systemtap-runtime-1.4-6.el6_1.2.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.2
           Available: systemtap-runtime-1.4-6.el6_1.3.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.3
           Available: systemtap-runtime-1.6-4.el6.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.6-4.el6
           Available: systemtap-runtime-1.6-5.el6_2.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.6-5.el6_2
Error: Package: libstdc++-devel-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: libstdc++(x86-32) = 4.4.6-3.el6
           Installed: libstdc++-4.4.6-4.el6.i686 (@koji-override-0/$releasever)
               libstdc++(x86-32) = 4.4.6-4.el6
           Available: libstdc++-4.4.4-13.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++(x86-32) = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++(x86-32) = 4.4.5-6.el6
           Available: libstdc++-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++(x86-32) = 4.4.6-3.el6
Error: Package: rpm-build-4.8.0-19.el6_2.1.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: rpm = 4.8.0-19.el6_2.1
           Installed: rpm-4.8.0-27.el6.i686 (@koji-override-0/$releasever)
               rpm = 4.8.0-27.el6
           Available: rpm-4.8.0-12.el6.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-12.el6
           Available: rpm-4.8.0-16.el6.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-16.el6
           Available: rpm-4.8.0-16.el6_1.1.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-16.el6_1.1
           Available: rpm-4.8.0-19.el6.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-19.el6
           Available: rpm-4.8.0-19.el6_2.1.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-19.el6_2.1
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Group Process
Package matching 1:make-3.81-19.el6.i686 already installed. Checking for update.
Package 1:pkgconfig-0.23-9.1.el6.i686 already installed and latest version
Package gettext-0.17-16.el6.i686 already installed and latest version
Package patch-2.6-6.el6.i686 already installed and latest version
Package matching binutils-2.20.51.0.2-5.28.el6.i686 already installed. Checking for update.
Package elfutils-0.152-1.el6.i686 already installed and latest version
Package cvs-1.11.23-11.el6_2.1.i686 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed
---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed
---> Package bison.i686 0:2.4.1-5.el6 will be installed
---> Package byacc.i686 0:1.9.20070509-6.1.el6 will be installed
---> Package cscope.i686 0:15.6-6.el6 will be installed
---> Package ctags.i686 0:5.8-2.el6 will be installed
---> Package diffstat.i686 0:1.51-2.el6 will be installed
---> Package doxygen.i686 1:1.6.1-6.el6 will be installed
---> Package flex.i686 0:2.5.35-8.el6 will be installed
---> Package gcc.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686
--> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-3.el6.i686
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-3.el6.i686
---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++-devel = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
--> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
--> Processing Dependency: libmpfr.so.1 for package: gcc-c++-4.4.6-3.el6.i686
---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686
---> Package git.i686 0:1.7.1-2.el6_0.1 will be installed
--> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.i686
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.i686
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.i686
---> Package indent.i686 0:2.2.10-5.1.el6 will be installed
---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed
--> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch
---> Package libtool.i686 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.i686 0:0.3.1-3.1.el6 will be installed
---> Package rcs.i686 0:5.7-37.el6 will be installed
---> Package redhat-rpm-config.noarch 0:9.0.3-34.el6 will be installed
---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed
--> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686
---> Package subversion.i686 0:1.6.11-2.el6_1.4 will be installed
--> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libneon.so.27 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libaprutil-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libapr-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686
---> Package swig.i686 0:1.3.40-6.el6 will be installed
---> Package systemtap.i686 0:1.6-5.el6_2 will be installed
--> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686
--> Processing Dependency: kernel-devel for package: systemtap-1.6-5.el6_2.i686
--> Running transaction check
---> Package apr.i686 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util.i686 0:1.3.9-3.el6_0.1 will be installed
---> Package cloog-ppl.i686 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2 for package: cloog-ppl-0.15.7-1.2.el6.i686
--> Processing Dependency: libppl.so.7 for package: cloog-ppl-0.15.7-1.2.el6.i686
---> Package cpp.i686 0:4.4.6-3.el6 will be installed
---> Package gcc.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686
---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686
---> Package gettext-devel.i686 0:0.17-16.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libgettextpo.so.0 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libgcj_bc.so.1 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libasprintf.so.0 for package: gettext-devel-0.17-16.el6.i686
---> Package glibc-devel.i686 0:2.12-1.47.el6_2.12 will be installed
--> Processing Dependency: glibc-headers = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686
--> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.47.el6_2.12.i686
---> Package kernel-devel.i686 0:2.6.32-220.17.1.el6 will be installed
---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686
---> Package mpfr.i686 0:2.4.1-6.el6 will be installed
---> Package neon.i686 0:0.29.3-1.2.el6 will be installed
--> Processing Dependency: libproxy.so.0 for package: neon-0.29.3-1.2.el6.i686
--> Processing Dependency: libpakchois.so.0 for package: neon-0.29.3-1.2.el6.i686
---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed
---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed
---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed
--> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686
---> Package systemtap.i686 0:1.6-5.el6_2 will be installed
--> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686
--> Running transaction check
---> Package gcc.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686
---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686
---> Package gettext-libs.i686 0:0.17-16.el6 will be installed
---> Package glibc-devel.i686 0:2.12-1.47.el6_2.12 will be installed
--> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686
---> Package glibc-headers.i686 0:2.12-1.47.el6_2.12 will be installed
--> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-headers-2.12-1.47.el6_2.12.i686
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.47.el6_2.12.i686
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.47.el6_2.12.i686
---> Package libgcj.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-3.el6.i686
---> Package libproxy.i686 0:0.3.0-2.el6 will be installed
--> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686
--> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686
---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686
---> Package pakchois.i686 0:0.4-3.2.el6 will be installed
---> Package ppl.i686 0:0.10.2-11.el6 will be installed
---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed
--> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686
---> Package systemtap.i686 0:1.6-5.el6_2 will be installed
--> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686
--> Running transaction check
---> Package gcc.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686
---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686
---> Package glibc-devel.i686 0:2.12-1.47.el6_2.12 will be installed
--> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686
---> Package glibc-headers.i686 0:2.12-1.47.el6_2.12 will be installed
--> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-headers-2.12-1.47.el6_2.12.i686
---> Package kernel-headers.i686 0:2.6.32-220.17.1.el6 will be installed
---> Package libart_lgpl.i686 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.i686 0:0.3.0-2.el6 will be installed
---> Package libproxy-python.i686 0:0.3.0-2.el6 will be installed
---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686
---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed
--> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686
---> Package systemtap.i686 0:1.6-5.el6_2 will be installed
--> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686
--> Finished Dependency Resolution
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest 
EXPECTED RESULT: 
RETURN CODE: 1
FAIL1
Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Setting up Group Process Package matching 1:make-3.81-19.el6.i686 already installed. Checking for update. Package 1:pkgconfig-0.23-9.1.el6.i686 already installed and latest version Package gettext-0.17-16.el6.i686 already installed and latest version Package patch-2.6-6.el6.i686 already installed and latest version Package matching binutils-2.20.51.0.2-5.28.el6.i686 already installed. Checking for update. Package elfutils-0.152-1.el6.i686 already installed and latest version Package cvs-1.11.23-11.el6_2.1.i686 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.i686 0:2.4.1-5.el6 will be installed ---> Package byacc.i686 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.i686 0:15.6-6.el6 will be installed ---> Package ctags.i686 0:5.8-2.el6 will be installed ---> Package diffstat.i686 0:1.51-2.el6 will be installed ---> Package doxygen.i686 1:1.6.1-6.el6 will be installed ---> Package flex.i686 0:2.5.35-8.el6 will be installed ---> Package gcc.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686 --> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-3.el6.i686 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-3.el6.i686 ---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++-devel = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 --> Processing Dependency: libmpfr.so.1 for package: gcc-c++-4.4.6-3.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686 ---> Package git.i686 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.i686 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.i686 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.i686 ---> Package indent.i686 0:2.2.10-5.1.el6 will be installed ---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed --> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch ---> Package libtool.i686 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.i686 0:0.3.1-3.1.el6 will be installed ---> Package rcs.i686 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-34.el6 will be installed ---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686 ---> Package subversion.i686 0:1.6.11-2.el6_1.4 will be installed --> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libneon.so.27 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libaprutil-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libapr-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686 ---> Package swig.i686 0:1.3.40-6.el6 will be installed ---> Package systemtap.i686 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686 --> Processing Dependency: kernel-devel for package: systemtap-1.6-5.el6_2.i686 --> Running transaction check ---> Package apr.i686 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.i686 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.i686 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2 for package: cloog-ppl-0.15.7-1.2.el6.i686 --> Processing Dependency: libppl.so.7 for package: cloog-ppl-0.15.7-1.2.el6.i686 ---> Package cpp.i686 0:4.4.6-3.el6 will be installed ---> Package gcc.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686 ---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686 ---> Package gettext-devel.i686 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libgettextpo.so.0 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libgcj_bc.so.1 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libasprintf.so.0 for package: gettext-devel-0.17-16.el6.i686 ---> Package glibc-devel.i686 0:2.12-1.47.el6_2.12 will be installed --> Processing Dependency: glibc-headers = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686 --> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.47.el6_2.12.i686 ---> Package kernel-devel.i686 0:2.6.32-220.17.1.el6 will be installed ---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686 ---> Package mpfr.i686 0:2.4.1-6.el6 will be installed ---> Package neon.i686 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libproxy.so.0 for package: neon-0.29.3-1.2.el6.i686 --> Processing Dependency: libpakchois.so.0 for package: neon-0.29.3-1.2.el6.i686 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686 ---> Package systemtap.i686 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686 --> Running transaction check ---> Package gcc.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686 ---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686 ---> Package gettext-libs.i686 0:0.17-16.el6 will be installed ---> Package glibc-devel.i686 0:2.12-1.47.el6_2.12 will be installed --> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686 ---> Package glibc-headers.i686 0:2.12-1.47.el6_2.12 will be installed --> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-headers-2.12-1.47.el6_2.12.i686 --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.47.el6_2.12.i686 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.47.el6_2.12.i686 ---> Package libgcj.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-3.el6.i686 ---> Package libproxy.i686 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686 ---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686 ---> Package pakchois.i686 0:0.4-3.2.el6 will be installed ---> Package ppl.i686 0:0.10.2-11.el6 will be installed ---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686 ---> Package systemtap.i686 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686 --> Running transaction check ---> Package gcc.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686 ---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686 ---> Package glibc-devel.i686 0:2.12-1.47.el6_2.12 will be installed --> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686 ---> Package glibc-headers.i686 0:2.12-1.47.el6_2.12 will be installed --> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-headers-2.12-1.47.el6_2.12.i686 ---> Package kernel-headers.i686 0:2.6.32-220.17.1.el6 will be installed ---> Package libart_lgpl.i686 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.i686 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.i686 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686 ---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686 ---> Package systemtap.i686 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686 --> Finished Dependency Resolution You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
# checking possible sys update
Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
# no sys update found
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
Unable to read consumer identity
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package dmidecode.i686 1:2.11-2.el6 will be updated
---> Package dmidecode.i686 1:2.11-2.el6_1 will be an update
---> Package perl-Compress-Raw-Bzip2.i686 0:2.020-127.el6 will be updated
---> Package perl-Compress-Raw-Bzip2.i686 0:2.027-1.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package          Arch Version        Repository                           Size
================================================================================
Updating:
 dmidecode        i686 1:2.11-2.el6_1 rhui-us-east-1-rhel-server-releases  70 k
 perl-Compress-Raw-Bzip2
                  i686 2.027-1.el6    epel                                 30 k

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

Total download size: 101 k
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           370 kB/s | 101 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Updating   : perl-Compress-Raw-Bzip2-2.027-1.el6.i686                     1/4 

  Updating   : 1:dmidecode-2.11-2.el6_1.i686                                2/4 

  Cleanup    : 1:dmidecode-2.11-2.el6.i686                                  3/4 

  Cleanup    : perl-Compress-Raw-Bzip2-2.020-127.el6.i686                   4/4 
Installed products updated.

  Verifying  : perl-Compress-Raw-Bzip2-2.027-1.el6.i686                     1/4 

  Verifying  : 1:dmidecode-2.11-2.el6_1.i686                                2/4 

  Verifying  : 1:dmidecode-2.11-2.el6.i686                                  3/4 

  Verifying  : perl-Compress-Raw-Bzip2-2.020-127.el6.i686                   4/4 

Updated:
  dmidecode.i686 1:2.11-2.el6_1    perl-Compress-Raw-Bzip2.i686 0:2.027-1.el6   

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
Unable to read consumer identity
Warning: RPMDB altered outside of yum.
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, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
# no sys update found
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
Unable to read consumer identity
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
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 = 3
FAILED TESTS = ## Verify GPG RPMS ... ## test repo files ... ## Install Development tools group...
LOG FILE = /root/valid/src/validate.log
## Summary ##

######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
Comment 19 mkovacik 2012-06-13 13:13:46 EDT
IMAGE ID= 
Preparing...                ##################################################
epel-release                ##################################################
Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package python-bugzilla.noarch 0:0.6.0-1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                 Arch           Version              Repository    Size
================================================================================
Installing:
 python-bugzilla         noarch         0.6.0-1.el6          epel          71 k

Transaction Summary
================================================================================
Install       1 Package(s)

Total download size: 71 k
Installed size: 309 k
Downloading Packages:
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Installing : python-bugzilla-0.6.0-1.el6.noarch                           1/1 
Installed products updated.

  Verifying  : python-bugzilla-0.6.0-1.el6.noarch                           1/1 

Installed:
  python-bugzilla.noarch 0:0.6.0-1.el6                                          

Complete!
=====image_validation.sh Wed Jun 13 13:09:51 EDT 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-23-22-225-208.compute-1.amazonaws.com with Image Id : ami-140eaf7d, is launched with Instance Id : i-4cec7a35 , Instance Type : t1.micro and Arch : i386 in the Region : us-east-1d
The Validate Signature is : crAeZvd/CI4o1aEx6VCN8UFmd4QuJxNvKYen57oH4MA2scFEaMMGMmkHKnkE/JvvjcvapaCcYnLX
bLJbqtsP2cvLgD6X6unmMesO/CFoU+tfPHqLls6/xfiMJowShs9lu6gVY4SMc5XC0NgSVeU5loca
YzCQw4HjqJ570itPj3c=
This is a Cloud Access image
/root/valid/src
ip-10-144-4-171
Red Hat Enterprise Linux Server release 6.3 (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################
######################################################################################
# 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: e1886162554c18906df2ecd258aa4794 
EXPECTED RESULT: e1886162554c18906df2ecd258aa4794
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify auditd sysconfig ... 
######################################################################################
COMMAND:  md5sum /etc/sysconfig/auditd | cut -f 1 -d  " "
RESULT: d4d43637708e30418c30003e212f76fc 
EXPECTED RESULT: d4d43637708e30418c30003e212f76fc
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify bash_history ... 
######################################################################################
COMMAND:  cat ~/.bash_history | wc -l 
cat: /root/.bash_history: No such file or directory
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
######################################################################################
# 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/xvde1 | awk '{ print  }'
COMMAND:  echo ext4
RESULT: ext4 
EXPECTED RESULT: ext4
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Partition Size ...
######################################################################################
size=5905712
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-23-22-225-208.compute-1.amazonaws.com with Image Id : ami-140eaf7d, is launched with Instance Id : i-4cec7a35 , Instance Type : t1.micro and Arch : i386 in the Region : us-east-1d
The Validate Signature is : crAeZvd/CI4o1aEx6VCN8UFmd4QuJxNvKYen57oH4MA2scFEaMMGMmkHKnkE/JvvjcvapaCcYnLX
bLJbqtsP2cvLgD6X6unmMesO/CFoU+tfPHqLls6/xfiMJowShs9lu6gVY4SMc5XC0NgSVeU5loca
YzCQw4HjqJ570itPj3c=
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 RPMS ... 
######################################################################################
COMMAND:  rpm
RPM version 4.8.0
Copyright (C) 1998-2002 - Red Hat, Inc.
This program may be freely redistributed under the terms of the GNU GPL

Usage: rpm [-aKfgpWHqVcdilsKiv?] [-a|--all] [-f|--file] [-g|--group]
        [-p|--package] [-W|--ftswalk] [--pkgid] [--hdrid] [--fileid]
        [--specfile] [--triggeredby] [--whatrequires] [--whatprovides]
        [--nomanifest] [-c|--configfiles] [-d|--docfiles] [--dump] [-l|--list]
        [--queryformat=QUERYFORMAT] [-s|--state] [--nofiledigest] [--nomd5]
        [--nofiles] [--nodeps] [--noscript] [--comfollow] [--logical]
        [--nochdir] [--nostat] [--physical] [--seedot] [--xdev]
        [--whiteout] [--addsign] [-K|--checksig] [--delsign] [--import]
        [--resign] [--nodigest] [--nosignature] [--initdb] [--rebuilddb]
        [--aid] [--allfiles] [--allmatches] [--badreloc]
        [-e|--erase <package>+] [--excludedocs] [--excludepath=<path>]
        [--fileconflicts] [--force] [-F|--freshen <packagefile>+] [-h|--hash]
        [--ignorearch] [--ignoreos] [--ignoresize] [-i|--install] [--justdb]
        [--nodeps] [--nofiledigest] [--nomd5] [--nocontexts] [--noorder]
        [--nosuggest] [--noscripts] [--notriggers] [--oldpackage]
        [--percent] [--prefix=<dir>] [--relocate=<old>=<new>]
        [--replacefiles] [--replacepkgs] [--test]
        [-U|--upgrade <packagefile>+] [--quiet] [-D|--define 'MACRO EXPR']
        [-E|--eval 'EXPR'] [--macros=<FILE:...>] [--nodigest] [--nosignature]
        [--rcfile=<FILE:...>] [-r|--root ROOT] [--querytags] [--showrc]
        [--quiet] [-v|--verbose] [--version] [-?|--help] [--usage]
        [--scripts] [--setperms] [--setugids] [--conflicts] [--obsoletes]
        [--provides] [--requires] [--info] [--changelog] [--xml]
        [--triggers] [--last] [--dupes] [--filesbypkg] [--fileclass]
        [--filecolor] [--fscontext] [--fileprovide] [--filerequire]
        [--filecaps]
RESULT:  
EXPECTED RESULT: -qa OR gpg-pubkey-* | grep gpg-pubkey-2fa658e0-45700c69 
RETURN CODE: 1
FAIL1

COMMAND:  rpm -qa gpg-pubkey* | grep gpg-pubkey-fd431d51-4ae0493b
RESULT: gpg-pubkey-fd431d51-4ae0493b 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify group file ... 
######################################################################################
COMMAND:  cat /etc/group | grep root:x:0
RESULT: root:x:0: 
EXPECTED RESULT: root:x:0:
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep daemon:x:2
RESULT: daemon:x:2:bin,daemon 
EXPECTED RESULT: daemon:x:2:bin,daemon
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep bin:x:1
RESULT: bin:x:1:bin,daemon 
EXPECTED RESULT: bin:x:1: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
######################################################################################
# NEW TEST: ## Verify iptables ... 
######################################################################################
COMMAND: /etc/init.d/iptables status | grep REJECT 
5    REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-host-prohibited 
1    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
######################################################################################
# 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: cannot access /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 610340 > 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_63 /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: 6 
EXPECTED RESULT: 4
RETURN CODE: 0
FAIL2
6
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: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify resize2fs ... 
######################################################################################
COMMAND: resize2fs -p /dev/xvde1 15000M
resize2fs 1.41.12 (17-May-2010)
RETURN CODE: 0
COMMAND:  df -h | grep 15G | wc -l 
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
/root/valid/src
ip-10-144-4-171
Red Hat Enterprise Linux Server release 6.3 (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################
######################################################################################
# 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
Comment 20 mkovacik 2012-06-13 13:13:53 EDT
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rsyslog config ... 
######################################################################################
COMMAND:  md5sum /etc/rsyslog.conf | cut -f 1 -d  " "
RESULT: 8b91b32300134e98ef4aee632ed61e21 
EXPECTED RESULT: 8b91b32300134e98ef4aee632ed61e21
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 ... 
######################################################################################
COMMAND:  /bin/uname -s
RESULT: Linux 
EXPECTED RESULT: Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest installed kernel is running ... 
######################################################################################
Detected rpm kernel version: 2.6.32-276.el6.i686
Detected uname kernel version: 2.6.32-276.el6.i686
COMMAND:  true
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ... 
######################################################################################
COMMAND:  cat /boot/grub/menu.lst | grep 2.6.32-276.el6.i686
RESULT: title RHEL6.3-20120531.0-Server-i386-starter-ec2 (2.6.32-276.el6.i686)
        kernel /boot/vmlinuz-2.6.32-276.el6.i686 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-276.el6.i686.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/fingerprint-auth
....L....  c /etc/pam.d/password-auth
....L....  c /etc/pam.d/smartcard-auth
....L....  c /etc/pam.d/system-auth
.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: 5 
EXPECTED RESULT: 5
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify Version 2 ... 
######################################################################################
COMMAND:  /bin/rpm -q --queryformat '%{RELEASE}\n' redhat-release-server | cut -d. -f1,2
RESULT: 6.3 
EXPECTED RESULT: 6.3
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: 2 
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
crash-trace-commandPackager    : Lai Jiangshan <laijs@cn.fujitsu.com>
epel-releasePackager    : Fedora Project
python-bugzillaPackager    : Fedora Project
######################################################################################
# NEW TEST: ## List the configured repositories...
######################################################################################
COMMAND:  /usr/bin/yum repolist
Unable to read consumer identity
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
repo id                                      repo name                    status
epel                                         Extra Packages for Enterpris 6,089
rhui-us-east-1-client-config-server-6        Red Hat Update Infrastructur     1
rhui-us-east-1-rhel-server-releases          Red Hat Enterprise Linux Ser 5,577
rhui-us-east-1-rhel-server-releases-optional Red Hat Enterprise Linux Ser 3,342
repolist: 15,009 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Search zsh...
######################################################################################
COMMAND:  /usr/bin/yum search zsh
Unable to read consumer identity
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
=============================== N/S Matched: zsh ===============================
autojump-zsh.noarch : Autojump for zsh
gromacs-zsh.noarch : GROMACS zsh support
python-twisted-core-zsh.i686 : Tab completion for Zsh and Twisted Core
zsh-html.i686 : Zsh shell manual in html format
zsh.i686 : A powerful interactive shell

  Name and summary matches only, use "search all" for everything. 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## install zsh ... 
######################################################################################
COMMAND: /usr/bin/yum -y install zsh
Unable to read consumer identity
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
Unable to read consumer identity
http://s3-mirror-us-east-1.fedoraproject.org/pub/epel/6/i386/repodata/b71bf803e1b9b2e052c3579001a0f6b5c32f52aa497f74a5c26cca127ec98296-comps-el6.xml.gz: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
http://mirrors.solfo.com/epel/6/i386/repodata/b71bf803e1b9b2e052c3579001a0f6b5c32f52aa497f74a5c26cca127ec98296-comps-el6.xml.gz: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Group Process
Installed Groups:
   Additional Development
   Base
   Client management tools
   Console internet tools
   Debugging Tools
   Desktop Platform
   Directory Client
   E-mail server
   Fonts
   Graphical Administration Tools
   Hardware monitoring utilities
   Java Platform
   Large Systems Performance
   Legacy UNIX compatibility
   Messaging Client Support
   Messaging Server Support
   Milkymist
   NFS file server
   Network file system client
   Networking Tools
   Performance Tools
   Perl Support
   Scientific support
   Server Platform
Installed Language Groups:
   Arabic Support [ar]
   Armenian Support [hy]
   Georgian Support [ka]
   Hebrew Support [he]
   Inuktitut Support [iu]
   Japanese Support [ja]
   Korean Support [ko]
   Lao Support [lo]
   Tajik Support [tg]
Available Groups:
   Backup Client
   Backup Server
   CIFS file server
   Compatibility libraries
   Desktop
   Desktop Debugging and Performance Tools
   Desktop Platform Development
   Development tools
   Dial-up Networking Support
   Directory Server
   Eclipse
   Educational Software
   Electronic Lab
   Emacs
   FCoE Storage Client
   FTP server
   Fedora Packager
   General Purpose Desktop
   Graphics Creation Tools
   Haskell
   Identity Management Server
   Infiniband Support
   Input Methods
   Internet Applications
   Internet Browser
   KDE Desktop
   Legacy X Window System compatibility
   Mainframe Access
   MySQL Database client
   MySQL Database server
   Network Infrastructure Server
   Network Storage Server
   Office Suite and Productivity
   PHP Support
   PostgreSQL Database client
   PostgreSQL Database server
   Print Server
   Printing client
   Remote Desktop Clients
   Ruby Support
   SNMP Support
   Security Tools
   Server Platform Development
   Smart card support
   Somali Support
   Storage Availability Tools
   System Management
   System administration tools
   TeX support
   Technical Writing
   TurboGears application framework
   Virtualization
   Virtualization Client
   Virtualization Platform
   Virtualization Tools
   Web Server
   Web Servlet Engine
   Web-Based Enterprise Management
   X Window System
   Xfce
   iSCSI Storage Client
Available Language Groups:
   Afrikaans Support [af]
   Albanian Support [sq]
   Amazigh Support [ber]
   Assamese Support [as]
   Azerbaijani Support [az]
   Basque Support [eu]
   Belarusian Support [be]
   Bengali Support [bn]
   Bhutanese Support [dz]
   Brazilian Portuguese Support [pt_BR]
   Breton Support [br]
   Bulgarian Support [bg]
   Catalan Support [ca]
   Chhattisgarhi Support [hne]
   Chichewa Support [ny]
   Chinese Support [zh]
   Coptic Support [cop]
   Croatian Support [hr]
   Czech Support [cs]
   Danish Support [da]
   Dutch Support [nl]
   English (UK) Support [en_GB]
   Esperanto Support [eo]
   Estonian Support [et]
   Ethiopic Support [am]
   Faroese Support [fo]
   Fijian Support [fj]
   Filipino Support [fil]
   Finnish Support [fi]
   French Support [fr]
   Frisian Support [fy]
   Friulian Support [fur]
   Gaelic Support [gd]
   Galician Support [gl]
   German Support [de]
   Greek Support [el]
   Gujarati Support [gu]
   Hiligaynon Support [hil]
   Hindi Support [hi]
   Hungarian Support [hu]
   Icelandic Support [is]
   Indonesian Support [id]
   Interlingua Support [ia]
   Irish Support [ga]
   Italian Support [it]
   Kannada Support [kn]
   Kashmiri Support [ks]
   Kashubian Support [csb]
   Kazakh Support [kk]
   Khmer Support [km]
   Kinyarwanda Support [rw]
   Konkani Support [kok]
   Kurdish Support [ku]
   Latin Support [la]
   Latvian Support [lv]
   Lithuanian Support [lt]
   Low Saxon Support [nds]
   Luxembourgish Support [lb]
   Macedonian Support [mk]
   Maithili Support [mai]
   Malagasy Support [mg]
   Malay Support [ms]
   Malayalam Support [ml]
   Maltese Support [mt]
   Manx Support [gv]
   Maori Support [mi]
   Marathi Support [mr]
   Mongolian Support [mn]
   Myanmar (Burmese) Support [my]
   Nepali Support [ne]
   Northern Sotho Support [nso]
   Norwegian Support [nb]
   Occitan Support [oc]
   Oriya Support [or]
   Persian Support [fa]
   Polish Support [pl]
   Portuguese Support [pt]
   Punjabi Support [pa]
   Romanian Support [ro]
   Russian Support [ru]
   Sanskrit Support [sa]
   Sardinian Support [sc]
   Serbian Support [sr]
   Sindhi Support [sd]
   Sinhala Support [si]
   Slovak Support [sk]
   Slovenian Support [sl]
   Southern Ndebele Support [nr]
   Southern Sotho Support [st]
   Spanish Support [es]
   Swahili Support [sw]
   Swati Support [ss]
   Swedish Support [sv]
   Tagalog Support [tl]
   Tamil Support [ta]
   Telugu Support [te]
   Tetum Support [tet]
   Thai Support [th]
   Tibetan Support [bo]
   Tsonga Support [ts]
   Tswana Support [tn]
   Turkish Support [tr]
   Turkmen Support [tk]
   Ukrainian Support [uk]
   Upper Sorbian Support [hsb]
   Urdu Support [ur]
   Uzbek Support [uz]
   Venda Support [ve]
   Vietnamese Support [vi]
   Walloon Support [wa]
   Welsh Support [cy]
   Xhosa Support [xh]
   Zulu Support [zu]
Done 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Install Development tools group...
######################################################################################
COMMAND:  /usr/bin/yum -y groupinstall 'Development tools'
Unable to read consumer identity
Error: Package: glibc-devel-2.12-1.47.el6_2.12.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: glibc = 2.12-1.47.el6_2.12
           Installed: glibc-2.12-1.80.el6.i686 (@koji-override-0/$releasever)
               glibc = 2.12-1.80.el6
           Available: glibc-2.12-1.7.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6
           Available: glibc-2.12-1.7.el6_0.3.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.3
           Available: glibc-2.12-1.7.el6_0.4.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.4
           Available: glibc-2.12-1.7.el6_0.5.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.5
           Available: glibc-2.12-1.25.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.25.el6
           Available: glibc-2.12-1.25.el6_1.3.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.25.el6_1.3
           Available: glibc-2.12-1.47.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6
           Available: glibc-2.12-1.47.el6_2.5.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.5
           Available: glibc-2.12-1.47.el6_2.9.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.9
           Available: glibc-2.12-1.47.el6_2.12.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.12
Error: Package: glibc-headers-2.12-1.47.el6_2.12.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: glibc = 2.12-1.47.el6_2.12
           Installed: glibc-2.12-1.80.el6.i686 (@koji-override-0/$releasever)
               glibc = 2.12-1.80.el6
           Available: glibc-2.12-1.7.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6
           Available: glibc-2.12-1.7.el6_0.3.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.3
           Available: glibc-2.12-1.7.el6_0.4.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.4
           Available: glibc-2.12-1.7.el6_0.5.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.5
           Available: glibc-2.12-1.25.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.25.el6
           Available: glibc-2.12-1.25.el6_1.3.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.25.el6_1.3
           Available: glibc-2.12-1.47.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6
           Available: glibc-2.12-1.47.el6_2.5.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.5
           Available: glibc-2.12-1.47.el6_2.9.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.9
           Available: glibc-2.12-1.47.el6_2.12.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.12
Error: Package: gcc-gfortran-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: libgfortran = 4.4.6-3.el6
           Installed: libgfortran-4.4.6-4.el6.i686 (@koji-override-0/$releasever)
               libgfortran = 4.4.4-15.el6
               libgfortran = 4.4.6-4.el6
           Available: libgfortran-4.4.4-13.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgfortran = 4.4.4-13.el6
           Available: libgfortran-4.4.5-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgfortran = 4.4.5-6.el6
               libgfortran = 4.4.4-15.el6
           Available: libgfortran-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgfortran = 4.4.6-3.el6
               libgfortran = 4.4.4-15.el6
Error: Package: gcc-c++-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: libstdc++ = 4.4.6-3.el6
           Installed: libstdc++-4.4.6-4.el6.i686 (@koji-override-0/$releasever)
               libstdc++ = 4.4.4-15.el6
               libstdc++ = 4.4.6-4.el6
           Available: libstdc++-4.4.4-13.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++ = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++ = 4.4.5-6.el6
               libstdc++ = 4.4.4-15.el6
           Available: libstdc++-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++ = 4.4.6-3.el6
               libstdc++ = 4.4.4-15.el6
Error: Package: gcc-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: libgomp = 4.4.6-3.el6
           Installed: libgomp-4.4.6-4.el6.i686 (@koji-override-0/$releasever)
               libgomp = 4.4.4-15.el6
               libgomp = 4.4.6-4.el6
           Available: libgomp-4.4.4-13.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgomp = 4.4.4-13.el6
           Available: libgomp-4.4.5-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgomp = 4.4.5-6.el6
               libgomp = 4.4.4-15.el6
           Available: libgomp-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgomp = 4.4.6-3.el6
               libgomp = 4.4.4-15.el6
Error: Package: systemtap-1.6-5.el6_2.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: systemtap-runtime = 1.6-5.el6_2
           Installed: systemtap-runtime-1.7-5.el6.i686 (@koji-override-0/$releasever)
               systemtap-runtime = 1.7-5.el6
           Available: systemtap-runtime-1.2-9.el6.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.2-9.el6
Comment 21 mkovacik 2012-06-13 13:14:00 EDT
           Available: systemtap-runtime-1.2-11.el6_0.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.2-11.el6_0
           Available: systemtap-runtime-1.4-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6
           Available: systemtap-runtime-1.4-6.el6_1.1.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.1
           Available: systemtap-runtime-1.4-6.el6_1.2.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.2
           Available: systemtap-runtime-1.4-6.el6_1.3.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.3
           Available: systemtap-runtime-1.6-4.el6.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.6-4.el6
           Available: systemtap-runtime-1.6-5.el6_2.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.6-5.el6_2
Error: Package: libstdc++-devel-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: libstdc++(x86-32) = 4.4.6-3.el6
           Installed: libstdc++-4.4.6-4.el6.i686 (@koji-override-0/$releasever)
               libstdc++(x86-32) = 4.4.6-4.el6
           Available: libstdc++-4.4.4-13.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++(x86-32) = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++(x86-32) = 4.4.5-6.el6
           Available: libstdc++-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++(x86-32) = 4.4.6-3.el6
Error: Package: rpm-build-4.8.0-19.el6_2.1.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: rpm = 4.8.0-19.el6_2.1
           Installed: rpm-4.8.0-27.el6.i686 (@koji-override-0/$releasever)
               rpm = 4.8.0-27.el6
           Available: rpm-4.8.0-12.el6.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-12.el6
           Available: rpm-4.8.0-16.el6.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-16.el6
           Available: rpm-4.8.0-16.el6_1.1.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-16.el6_1.1
           Available: rpm-4.8.0-19.el6.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-19.el6
           Available: rpm-4.8.0-19.el6_2.1.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-19.el6_2.1
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Group Process
Package matching 1:make-3.81-19.el6.i686 already installed. Checking for update.
Package 1:pkgconfig-0.23-9.1.el6.i686 already installed and latest version
Package gettext-0.17-16.el6.i686 already installed and latest version
Package patch-2.6-6.el6.i686 already installed and latest version
Package matching binutils-2.20.51.0.2-5.28.el6.i686 already installed. Checking for update.
Package elfutils-0.152-1.el6.i686 already installed and latest version
Package cvs-1.11.23-11.el6_2.1.i686 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed
---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed
---> Package bison.i686 0:2.4.1-5.el6 will be installed
---> Package byacc.i686 0:1.9.20070509-6.1.el6 will be installed
---> Package cscope.i686 0:15.6-6.el6 will be installed
---> Package ctags.i686 0:5.8-2.el6 will be installed
---> Package diffstat.i686 0:1.51-2.el6 will be installed
---> Package doxygen.i686 1:1.6.1-6.el6 will be installed
---> Package flex.i686 0:2.5.35-8.el6 will be installed
---> Package gcc.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686
--> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-3.el6.i686
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-3.el6.i686
---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++-devel = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
--> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
--> Processing Dependency: libmpfr.so.1 for package: gcc-c++-4.4.6-3.el6.i686
---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686
---> Package git.i686 0:1.7.1-2.el6_0.1 will be installed
--> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.i686
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.i686
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.i686
---> Package indent.i686 0:2.2.10-5.1.el6 will be installed
---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed
--> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch
---> Package libtool.i686 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.i686 0:0.3.1-3.1.el6 will be installed
---> Package rcs.i686 0:5.7-37.el6 will be installed
---> Package redhat-rpm-config.noarch 0:9.0.3-34.el6 will be installed
---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed
--> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686
---> Package subversion.i686 0:1.6.11-2.el6_1.4 will be installed
--> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libneon.so.27 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libaprutil-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libapr-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686
---> Package swig.i686 0:1.3.40-6.el6 will be installed
---> Package systemtap.i686 0:1.6-5.el6_2 will be installed
--> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686
--> Processing Dependency: kernel-devel for package: systemtap-1.6-5.el6_2.i686
--> Running transaction check
---> Package apr.i686 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util.i686 0:1.3.9-3.el6_0.1 will be installed
---> Package cloog-ppl.i686 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2 for package: cloog-ppl-0.15.7-1.2.el6.i686
--> Processing Dependency: libppl.so.7 for package: cloog-ppl-0.15.7-1.2.el6.i686
---> Package cpp.i686 0:4.4.6-3.el6 will be installed
---> Package gcc.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686
---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686
---> Package gettext-devel.i686 0:0.17-16.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libgettextpo.so.0 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libgcj_bc.so.1 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libasprintf.so.0 for package: gettext-devel-0.17-16.el6.i686
---> Package glibc-devel.i686 0:2.12-1.47.el6_2.12 will be installed
--> Processing Dependency: glibc-headers = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686
--> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.47.el6_2.12.i686
---> Package kernel-devel.i686 0:2.6.32-220.17.1.el6 will be installed
---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686
---> Package mpfr.i686 0:2.4.1-6.el6 will be installed
---> Package neon.i686 0:0.29.3-1.2.el6 will be installed
--> Processing Dependency: libproxy.so.0 for package: neon-0.29.3-1.2.el6.i686
--> Processing Dependency: libpakchois.so.0 for package: neon-0.29.3-1.2.el6.i686
---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed
---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed
---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed
--> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686
---> Package systemtap.i686 0:1.6-5.el6_2 will be installed
--> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686
--> Running transaction check
---> Package gcc.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686
---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686
---> Package gettext-libs.i686 0:0.17-16.el6 will be installed
---> Package glibc-devel.i686 0:2.12-1.47.el6_2.12 will be installed
--> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686
---> Package glibc-headers.i686 0:2.12-1.47.el6_2.12 will be installed
--> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-headers-2.12-1.47.el6_2.12.i686
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.47.el6_2.12.i686
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.47.el6_2.12.i686
---> Package libgcj.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-3.el6.i686
---> Package libproxy.i686 0:0.3.0-2.el6 will be installed
--> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686
--> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686
---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686
---> Package pakchois.i686 0:0.4-3.2.el6 will be installed
---> Package ppl.i686 0:0.10.2-11.el6 will be installed
---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed
--> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686
---> Package systemtap.i686 0:1.6-5.el6_2 will be installed
--> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686
--> Running transaction check
---> Package gcc.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686
---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686
---> Package glibc-devel.i686 0:2.12-1.47.el6_2.12 will be installed
--> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686
---> Package glibc-headers.i686 0:2.12-1.47.el6_2.12 will be installed
--> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-headers-2.12-1.47.el6_2.12.i686
---> Package kernel-headers.i686 0:2.6.32-220.17.1.el6 will be installed
---> Package libart_lgpl.i686 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.i686 0:0.3.0-2.el6 will be installed
---> Package libproxy-python.i686 0:0.3.0-2.el6 will be installed
---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686
---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed
--> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686
---> Package systemtap.i686 0:1.6-5.el6_2 will be installed
--> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686
--> Finished Dependency Resolution
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest 
EXPECTED RESULT: 
RETURN CODE: 1
FAIL1
Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Setting up Group Process Package matching 1:make-3.81-19.el6.i686 already installed. Checking for update. Package 1:pkgconfig-0.23-9.1.el6.i686 already installed and latest version Package gettext-0.17-16.el6.i686 already installed and latest version Package patch-2.6-6.el6.i686 already installed and latest version Package matching binutils-2.20.51.0.2-5.28.el6.i686 already installed. Checking for update. Package elfutils-0.152-1.el6.i686 already installed and latest version Package cvs-1.11.23-11.el6_2.1.i686 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.i686 0:2.4.1-5.el6 will be installed ---> Package byacc.i686 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.i686 0:15.6-6.el6 will be installed ---> Package ctags.i686 0:5.8-2.el6 will be installed ---> Package diffstat.i686 0:1.51-2.el6 will be installed ---> Package doxygen.i686 1:1.6.1-6.el6 will be installed ---> Package flex.i686 0:2.5.35-8.el6 will be installed ---> Package gcc.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686 --> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-3.el6.i686 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-3.el6.i686 ---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++-devel = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 --> Processing Dependency: libmpfr.so.1 for package: gcc-c++-4.4.6-3.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686 ---> Package git.i686 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.i686 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.i686 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.i686 ---> Package indent.i686 0:2.2.10-5.1.el6 will be installed ---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed --> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch ---> Package libtool.i686 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.i686 0:0.3.1-3.1.el6 will be installed ---> Package rcs.i686 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-34.el6 will be installed ---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686 ---> Package subversion.i686 0:1.6.11-2.el6_1.4 will be installed --> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libneon.so.27 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libaprutil-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libapr-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686 ---> Package swig.i686 0:1.3.40-6.el6 will be installed ---> Package systemtap.i686 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686 --> Processing Dependency: kernel-devel for package: systemtap-1.6-5.el6_2.i686 --> Running transaction check ---> Package apr.i686 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.i686 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.i686 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2 for package: cloog-ppl-0.15.7-1.2.el6.i686 --> Processing Dependency: libppl.so.7 for package: cloog-ppl-0.15.7-1.2.el6.i686 ---> Package cpp.i686 0:4.4.6-3.el6 will be installed ---> Package gcc.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686 ---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686 ---> Package gettext-devel.i686 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libgettextpo.so.0 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libgcj_bc.so.1 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libasprintf.so.0 for package: gettext-devel-0.17-16.el6.i686 ---> Package glibc-devel.i686 0:2.12-1.47.el6_2.12 will be installed --> Processing Dependency: glibc-headers = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686 --> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.47.el6_2.12.i686 ---> Package kernel-devel.i686 0:2.6.32-220.17.1.el6 will be installed ---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686 ---> Package mpfr.i686 0:2.4.1-6.el6 will be installed ---> Package neon.i686 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libproxy.so.0 for package: neon-0.29.3-1.2.el6.i686 --> Processing Dependency: libpakchois.so.0 for package: neon-0.29.3-1.2.el6.i686 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686 ---> Package systemtap.i686 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686 --> Running transaction check ---> Package gcc.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686 ---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686 ---> Package gettext-libs.i686 0:0.17-16.el6 will be installed ---> Package glibc-devel.i686 0:2.12-1.47.el6_2.12 will be installed --> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686 ---> Package glibc-headers.i686 0:2.12-1.47.el6_2.12 will be installed --> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-headers-2.12-1.47.el6_2.12.i686 --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.47.el6_2.12.i686 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.47.el6_2.12.i686 ---> Package libgcj.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-3.el6.i686 ---> Package libproxy.i686 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686 ---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686 ---> Package pakchois.i686 0:0.4-3.2.el6 will be installed ---> Package ppl.i686 0:0.10.2-11.el6 will be installed ---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686 ---> Package systemtap.i686 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686 --> Running transaction check ---> Package gcc.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686 ---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686 ---> Package glibc-devel.i686 0:2.12-1.47.el6_2.12 will be installed --> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686 ---> Package glibc-headers.i686 0:2.12-1.47.el6_2.12 will be installed --> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-headers-2.12-1.47.el6_2.12.i686 ---> Package kernel-headers.i686 0:2.6.32-220.17.1.el6 will be installed ---> Package libart_lgpl.i686 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.i686 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.i686 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686 ---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686 ---> Package systemtap.i686 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686 --> Finished Dependency Resolution You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
# checking possible sys update
Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
# no sys update found
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
Unable to read consumer identity
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package dmidecode.i686 1:2.11-2.el6 will be updated
---> Package dmidecode.i686 1:2.11-2.el6_1 will be an update
---> Package perl-Compress-Raw-Bzip2.i686 0:2.020-127.el6 will be updated
---> Package perl-Compress-Raw-Bzip2.i686 0:2.027-1.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package          Arch Version        Repository                           Size
================================================================================
Updating:
 dmidecode        i686 1:2.11-2.el6_1 rhui-us-east-1-rhel-server-releases  70 k
 perl-Compress-Raw-Bzip2
                  i686 2.027-1.el6    epel                                 30 k

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

Total download size: 101 k
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           263 kB/s | 101 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Updating   : perl-Compress-Raw-Bzip2-2.027-1.el6.i686                     1/4 

  Updating   : 1:dmidecode-2.11-2.el6_1.i686                                2/4 

  Cleanup    : 1:dmidecode-2.11-2.el6.i686                                  3/4 

  Cleanup    : perl-Compress-Raw-Bzip2-2.020-127.el6.i686                   4/4 
Installed products updated.

  Verifying  : perl-Compress-Raw-Bzip2-2.027-1.el6.i686                     1/4 

  Verifying  : 1:dmidecode-2.11-2.el6_1.i686                                2/4 

  Verifying  : 1:dmidecode-2.11-2.el6.i686                                  3/4 

  Verifying  : perl-Compress-Raw-Bzip2-2.020-127.el6.i686                   4/4 

Updated:
  dmidecode.i686 1:2.11-2.el6_1    perl-Compress-Raw-Bzip2.i686 0:2.027-1.el6   

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
Unable to read consumer identity
Warning: RPMDB altered outside of yum.
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, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
# no sys update found
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
Unable to read consumer identity
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
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 = 3
FAILED TESTS = ## Verify GPG RPMS ... ## test repo files ... ## Install Development tools group...
LOG FILE = /root/valid/src/validate.log
## Summary ##

######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
Comment 22 mkovacik 2012-06-13 13:16:06 EDT
IMAGE ID= ami-140eaf7d_us-east-1_c1.medium
Preparing...                ##################################################
COMMAND:  false
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 1
FAIL2

94 main ./image_validation_postreboot.sh
_err 1 
Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Install Process
Package python-bugzilla-0.6.0-1.el6.noarch already installed and latest version
Nothing to do
###### 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 ... 
######################################################################################
Detected rpm kernel version: 2.6.32-276.el6.i686
Detected uname kernel version: 2.6.32-276.el6.i686
COMMAND:  true
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ... 
######################################################################################
COMMAND:  cat /boot/grub/menu.lst | grep 2.6.32-276.el6.i686
RESULT: title RHEL6.3-20120531.0-Server-i386-starter-ec2 (2.6.32-276.el6.i686)
        kernel /boot/vmlinuz-2.6.32-276.el6.i686 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-276.el6.i686.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 1752696 > hwp MEMORY of 1700000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
hostname
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################

## Summary ##
FAILURES = 4
FAILED TESTS = ## Verify GPG RPMS ... ## test repo files ... ## Install Development tools group...
LOG FILE = /root/valid/src/validate.log
## Summary ##

######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
Comment 23 mkovacik 2012-06-13 13:16:10 EDT
IMAGE ID= 
Preparing...                ##################################################
epel-release                ##################################################
Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package python-bugzilla.noarch 0:0.6.0-1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                 Arch           Version              Repository    Size
================================================================================
Installing:
 python-bugzilla         noarch         0.6.0-1.el6          epel          71 k

Transaction Summary
================================================================================
Install       1 Package(s)

Total download size: 71 k
Installed size: 309 k
Downloading Packages:
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Installing : python-bugzilla-0.6.0-1.el6.noarch                           1/1 
Installed products updated.

  Verifying  : python-bugzilla-0.6.0-1.el6.noarch                           1/1 

Installed:
  python-bugzilla.noarch 0:0.6.0-1.el6                                          

Complete!
=====image_validation.sh Wed Jun 13 13:12:53 EDT 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-184-73-75-44.compute-1.amazonaws.com with Image Id : ami-140eaf7d, is launched with Instance Id : i-ceec7ab7 , Instance Type : m1.small and Arch : i386 in the Region : us-east-1c
The Validate Signature is : G6Sg3ziTKQO46p+38nriugl8gi0oHZLgqLtlT6sjvWYrEbhhZ3GM+KoQG2nCXOVGfSOaoYgz9kqH
AkP9WMKxc6Ls0w4XFvtRreKPqO+fX5UgOqGv/xAq51tUU+veOc6EKA5HTltwdGWfA2ILmRkXok88
imcgkMbjrAsEmF3mVLo=
This is a Cloud Access image
/root/valid/src
ip-10-110-51-177
Red Hat Enterprise Linux Server release 6.3 (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################
######################################################################################
# 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: e1886162554c18906df2ecd258aa4794 
EXPECTED RESULT: e1886162554c18906df2ecd258aa4794
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify auditd sysconfig ... 
######################################################################################
COMMAND:  md5sum /etc/sysconfig/auditd | cut -f 1 -d  " "
RESULT: d4d43637708e30418c30003e212f76fc 
EXPECTED RESULT: d4d43637708e30418c30003e212f76fc
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify bash_history ... 
######################################################################################
COMMAND:  cat ~/.bash_history | wc -l 
cat: /root/.bash_history: No such file or directory
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
######################################################################################
# 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/xvde1 | awk '{ print  }'
COMMAND:  echo ext4
RESULT: ext4 
EXPECTED RESULT: ext4
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Partition Size ...
######################################################################################
size=5905712
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-184-73-75-44.compute-1.amazonaws.com with Image Id : ami-140eaf7d, is launched with Instance Id : i-ceec7ab7 , Instance Type : m1.small and Arch : i386 in the Region : us-east-1c
The Validate Signature is : G6Sg3ziTKQO46p+38nriugl8gi0oHZLgqLtlT6sjvWYrEbhhZ3GM+KoQG2nCXOVGfSOaoYgz9kqH
AkP9WMKxc6Ls0w4XFvtRreKPqO+fX5UgOqGv/xAq51tUU+veOc6EKA5HTltwdGWfA2ILmRkXok88
imcgkMbjrAsEmF3mVLo=
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 RPMS ... 
######################################################################################
COMMAND:  rpm
RPM version 4.8.0
Copyright (C) 1998-2002 - Red Hat, Inc.
This program may be freely redistributed under the terms of the GNU GPL

Usage: rpm [-aKfgpWHqVcdilsKiv?] [-a|--all] [-f|--file] [-g|--group]
        [-p|--package] [-W|--ftswalk] [--pkgid] [--hdrid] [--fileid]
        [--specfile] [--triggeredby] [--whatrequires] [--whatprovides]
        [--nomanifest] [-c|--configfiles] [-d|--docfiles] [--dump] [-l|--list]
        [--queryformat=QUERYFORMAT] [-s|--state] [--nofiledigest] [--nomd5]
        [--nofiles] [--nodeps] [--noscript] [--comfollow] [--logical]
        [--nochdir] [--nostat] [--physical] [--seedot] [--xdev]
        [--whiteout] [--addsign] [-K|--checksig] [--delsign] [--import]
        [--resign] [--nodigest] [--nosignature] [--initdb] [--rebuilddb]
        [--aid] [--allfiles] [--allmatches] [--badreloc]
        [-e|--erase <package>+] [--excludedocs] [--excludepath=<path>]
        [--fileconflicts] [--force] [-F|--freshen <packagefile>+] [-h|--hash]
        [--ignorearch] [--ignoreos] [--ignoresize] [-i|--install] [--justdb]
        [--nodeps] [--nofiledigest] [--nomd5] [--nocontexts] [--noorder]
        [--nosuggest] [--noscripts] [--notriggers] [--oldpackage]
        [--percent] [--prefix=<dir>] [--relocate=<old>=<new>]
        [--replacefiles] [--replacepkgs] [--test]
        [-U|--upgrade <packagefile>+] [--quiet] [-D|--define 'MACRO EXPR']
        [-E|--eval 'EXPR'] [--macros=<FILE:...>] [--nodigest] [--nosignature]
        [--rcfile=<FILE:...>] [-r|--root ROOT] [--querytags] [--showrc]
        [--quiet] [-v|--verbose] [--version] [-?|--help] [--usage]
        [--scripts] [--setperms] [--setugids] [--conflicts] [--obsoletes]
        [--provides] [--requires] [--info] [--changelog] [--xml]
        [--triggers] [--last] [--dupes] [--filesbypkg] [--fileclass]
        [--filecolor] [--fscontext] [--fileprovide] [--filerequire]
        [--filecaps]
RESULT:  
EXPECTED RESULT: -qa OR gpg-pubkey-* | grep gpg-pubkey-2fa658e0-45700c69 
RETURN CODE: 1
FAIL1

COMMAND:  rpm -qa gpg-pubkey* | grep gpg-pubkey-fd431d51-4ae0493b
RESULT: gpg-pubkey-fd431d51-4ae0493b 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify group file ... 
######################################################################################
COMMAND:  cat /etc/group | grep root:x:0
RESULT: root:x:0: 
EXPECTED RESULT: root:x:0:
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep daemon:x:2
RESULT: daemon:x:2:bin,daemon 
EXPECTED RESULT: daemon:x:2:bin,daemon
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep bin:x:1
RESULT: bin:x:1:bin,daemon 
EXPECTED RESULT: bin:x:1: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
######################################################################################
# NEW TEST: ## Verify iptables ... 
######################################################################################
COMMAND: /etc/init.d/iptables status | grep REJECT 
5    REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-host-prohibited 
1    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
######################################################################################
# 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: cannot access /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 1711852 > hwp MEMORY of 1700000
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_63 /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: 6 
EXPECTED RESULT: 4
RETURN CODE: 0
FAIL2
6
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: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify resize2fs ... 
######################################################################################
COMMAND: resize2fs -p /dev/xvde1 15000M
resize2fs 1.41.12 (17-May-2010)
RETURN CODE: 0
COMMAND:  df -h | grep 15G | wc -l 
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
/root/valid/src
ip-10-110-51-177
Red Hat Enterprise Linux Server release 6.3 (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################
######################################################################################
# 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
######################################################################################
# NEW TEST: ## Verify swap size ... 
######################################################################################
parted -l | grep linux-swap | awk '{print $4}' | awk -F'MB' '{print $1}'
swap size = 940
COMMAND:  test 940 -gt 0
Comment 24 mkovacik 2012-06-13 13:16:17 EDT
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify turning on/off swap file ... 
######################################################################################
COMMAND:  /sbin/swapoff /dev/xvde3 && /sbin/swapon /dev/xvde3
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rsyslog is on ... 
######################################################################################
COMMAND:  chkconfig --list | grep rsyslog | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rsyslog config ... 
######################################################################################
COMMAND:  md5sum /etc/rsyslog.conf | cut -f 1 -d  " "
RESULT: 8b91b32300134e98ef4aee632ed61e21 
EXPECTED RESULT: 8b91b32300134e98ef4aee632ed61e21
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 ... 
######################################################################################
COMMAND:  /bin/uname -s
RESULT: Linux 
EXPECTED RESULT: Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest installed kernel is running ... 
######################################################################################
Detected rpm kernel version: 2.6.32-276.el6.i686
Detected uname kernel version: 2.6.32-276.el6.i686
COMMAND:  true
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ... 
######################################################################################
COMMAND:  cat /boot/grub/menu.lst | grep 2.6.32-276.el6.i686
RESULT: title RHEL6.3-20120531.0-Server-i386-starter-ec2 (2.6.32-276.el6.i686)
        kernel /boot/vmlinuz-2.6.32-276.el6.i686 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-276.el6.i686.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/fingerprint-auth
....L....  c /etc/pam.d/password-auth
....L....  c /etc/pam.d/smartcard-auth
....L....  c /etc/pam.d/system-auth
.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: 5 
EXPECTED RESULT: 5
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify Version 2 ... 
######################################################################################
COMMAND:  /bin/rpm -q --queryformat '%{RELEASE}\n' redhat-release-server | cut -d. -f1,2
RESULT: 6.3 
EXPECTED RESULT: 6.3
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: 2 
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
crash-trace-commandPackager    : Lai Jiangshan <laijs@cn.fujitsu.com>
epel-releasePackager    : Fedora Project
python-bugzillaPackager    : Fedora Project
######################################################################################
# NEW TEST: ## List the configured repositories...
######################################################################################
COMMAND:  /usr/bin/yum repolist
Unable to read consumer identity
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
repo id                                      repo name                    status
epel                                         Extra Packages for Enterpris 6,089
rhui-us-east-1-client-config-server-6        Red Hat Update Infrastructur     1
rhui-us-east-1-rhel-server-releases          Red Hat Enterprise Linux Ser 5,577
rhui-us-east-1-rhel-server-releases-optional Red Hat Enterprise Linux Ser 3,342
repolist: 15,009 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Search zsh...
######################################################################################
COMMAND:  /usr/bin/yum search zsh
Unable to read consumer identity
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
=============================== N/S Matched: zsh ===============================
autojump-zsh.noarch : Autojump for zsh
gromacs-zsh.noarch : GROMACS zsh support
python-twisted-core-zsh.i686 : Tab completion for Zsh and Twisted Core
zsh-html.i686 : Zsh shell manual in html format
zsh.i686 : A powerful interactive shell

  Name and summary matches only, use "search all" for everything. 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## install zsh ... 
######################################################################################
COMMAND: /usr/bin/yum -y install zsh
Unable to read consumer identity
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
Unable to read consumer identity
http://s3-mirror-us-east-1.fedoraproject.org/pub/epel/6/i386/repodata/b71bf803e1b9b2e052c3579001a0f6b5c32f52aa497f74a5c26cca127ec98296-comps-el6.xml.gz: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Group Process
Installed Groups:
   Additional Development
   Base
   Client management tools
   Console internet tools
   Debugging Tools
   Desktop Platform
   Directory Client
   E-mail server
   Fonts
   Graphical Administration Tools
   Hardware monitoring utilities
   Java Platform
   Large Systems Performance
   Legacy UNIX compatibility
   Messaging Client Support
   Messaging Server Support
   Milkymist
   NFS file server
   Network file system client
   Networking Tools
   Performance Tools
   Perl Support
   Scientific support
   Server Platform
Installed Language Groups:
   Arabic Support [ar]
   Armenian Support [hy]
   Georgian Support [ka]
   Hebrew Support [he]
   Inuktitut Support [iu]
   Japanese Support [ja]
   Korean Support [ko]
   Lao Support [lo]
   Tajik Support [tg]
Available Groups:
   Backup Client
   Backup Server
   CIFS file server
   Compatibility libraries
   Desktop
   Desktop Debugging and Performance Tools
   Desktop Platform Development
   Development tools
   Dial-up Networking Support
   Directory Server
   Eclipse
   Educational Software
   Electronic Lab
   Emacs
   FCoE Storage Client
   FTP server
   Fedora Packager
   General Purpose Desktop
   Graphics Creation Tools
   Haskell
   Identity Management Server
   Infiniband Support
   Input Methods
   Internet Applications
   Internet Browser
   KDE Desktop
   Legacy X Window System compatibility
   Mainframe Access
   MySQL Database client
   MySQL Database server
   Network Infrastructure Server
   Network Storage Server
   Office Suite and Productivity
   PHP Support
   PostgreSQL Database client
   PostgreSQL Database server
   Print Server
   Printing client
   Remote Desktop Clients
   Ruby Support
   SNMP Support
   Security Tools
   Server Platform Development
   Smart card support
   Somali Support
   Storage Availability Tools
   System Management
   System administration tools
   TeX support
   Technical Writing
   TurboGears application framework
   Virtualization
   Virtualization Client
   Virtualization Platform
   Virtualization Tools
   Web Server
   Web Servlet Engine
   Web-Based Enterprise Management
   X Window System
   Xfce
   iSCSI Storage Client
Available Language Groups:
   Afrikaans Support [af]
   Albanian Support [sq]
   Amazigh Support [ber]
   Assamese Support [as]
   Azerbaijani Support [az]
   Basque Support [eu]
   Belarusian Support [be]
   Bengali Support [bn]
   Bhutanese Support [dz]
   Brazilian Portuguese Support [pt_BR]
   Breton Support [br]
   Bulgarian Support [bg]
   Catalan Support [ca]
   Chhattisgarhi Support [hne]
   Chichewa Support [ny]
   Chinese Support [zh]
   Coptic Support [cop]
   Croatian Support [hr]
   Czech Support [cs]
   Danish Support [da]
   Dutch Support [nl]
   English (UK) Support [en_GB]
   Esperanto Support [eo]
   Estonian Support [et]
   Ethiopic Support [am]
   Faroese Support [fo]
   Fijian Support [fj]
   Filipino Support [fil]
   Finnish Support [fi]
   French Support [fr]
   Frisian Support [fy]
   Friulian Support [fur]
   Gaelic Support [gd]
   Galician Support [gl]
   German Support [de]
   Greek Support [el]
   Gujarati Support [gu]
   Hiligaynon Support [hil]
   Hindi Support [hi]
   Hungarian Support [hu]
   Icelandic Support [is]
   Indonesian Support [id]
   Interlingua Support [ia]
   Irish Support [ga]
   Italian Support [it]
   Kannada Support [kn]
   Kashmiri Support [ks]
   Kashubian Support [csb]
   Kazakh Support [kk]
   Khmer Support [km]
   Kinyarwanda Support [rw]
   Konkani Support [kok]
   Kurdish Support [ku]
   Latin Support [la]
   Latvian Support [lv]
   Lithuanian Support [lt]
   Low Saxon Support [nds]
   Luxembourgish Support [lb]
   Macedonian Support [mk]
   Maithili Support [mai]
   Malagasy Support [mg]
   Malay Support [ms]
   Malayalam Support [ml]
   Maltese Support [mt]
   Manx Support [gv]
   Maori Support [mi]
   Marathi Support [mr]
   Mongolian Support [mn]
   Myanmar (Burmese) Support [my]
   Nepali Support [ne]
   Northern Sotho Support [nso]
   Norwegian Support [nb]
   Occitan Support [oc]
   Oriya Support [or]
   Persian Support [fa]
   Polish Support [pl]
   Portuguese Support [pt]
   Punjabi Support [pa]
   Romanian Support [ro]
   Russian Support [ru]
   Sanskrit Support [sa]
   Sardinian Support [sc]
   Serbian Support [sr]
   Sindhi Support [sd]
   Sinhala Support [si]
   Slovak Support [sk]
   Slovenian Support [sl]
   Southern Ndebele Support [nr]
   Southern Sotho Support [st]
   Spanish Support [es]
   Swahili Support [sw]
   Swati Support [ss]
   Swedish Support [sv]
   Tagalog Support [tl]
   Tamil Support [ta]
   Telugu Support [te]
   Tetum Support [tet]
   Thai Support [th]
   Tibetan Support [bo]
   Tsonga Support [ts]
   Tswana Support [tn]
   Turkish Support [tr]
   Turkmen Support [tk]
   Ukrainian Support [uk]
   Upper Sorbian Support [hsb]
   Urdu Support [ur]
   Uzbek Support [uz]
   Venda Support [ve]
   Vietnamese Support [vi]
   Walloon Support [wa]
   Welsh Support [cy]
   Xhosa Support [xh]
   Zulu Support [zu]
Done 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Install Development tools group...
######################################################################################
COMMAND:  /usr/bin/yum -y groupinstall 'Development tools'
Unable to read consumer identity
Error: Package: glibc-devel-2.12-1.47.el6_2.12.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: glibc = 2.12-1.47.el6_2.12
           Installed: glibc-2.12-1.80.el6.i686 (@koji-override-0/$releasever)
               glibc = 2.12-1.80.el6
           Available: glibc-2.12-1.7.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6
           Available: glibc-2.12-1.7.el6_0.3.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.3
           Available: glibc-2.12-1.7.el6_0.4.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.4
           Available: glibc-2.12-1.7.el6_0.5.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.5
           Available: glibc-2.12-1.25.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.25.el6
           Available: glibc-2.12-1.25.el6_1.3.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.25.el6_1.3
           Available: glibc-2.12-1.47.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6
           Available: glibc-2.12-1.47.el6_2.5.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.5
           Available: glibc-2.12-1.47.el6_2.9.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.9
           Available: glibc-2.12-1.47.el6_2.12.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.12
Error: Package: glibc-headers-2.12-1.47.el6_2.12.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: glibc = 2.12-1.47.el6_2.12
           Installed: glibc-2.12-1.80.el6.i686 (@koji-override-0/$releasever)
               glibc = 2.12-1.80.el6
           Available: glibc-2.12-1.7.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6
           Available: glibc-2.12-1.7.el6_0.3.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.3
           Available: glibc-2.12-1.7.el6_0.4.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.4
           Available: glibc-2.12-1.7.el6_0.5.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.5
           Available: glibc-2.12-1.25.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.25.el6
           Available: glibc-2.12-1.25.el6_1.3.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.25.el6_1.3
           Available: glibc-2.12-1.47.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6
           Available: glibc-2.12-1.47.el6_2.5.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.5
           Available: glibc-2.12-1.47.el6_2.9.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.9
           Available: glibc-2.12-1.47.el6_2.12.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.12
Error: Package: gcc-gfortran-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: libgfortran = 4.4.6-3.el6
           Installed: libgfortran-4.4.6-4.el6.i686 (@koji-override-0/$releasever)
               libgfortran = 4.4.4-15.el6
               libgfortran = 4.4.6-4.el6
           Available: libgfortran-4.4.4-13.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgfortran = 4.4.4-13.el6
           Available: libgfortran-4.4.5-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgfortran = 4.4.5-6.el6
               libgfortran = 4.4.4-15.el6
           Available: libgfortran-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgfortran = 4.4.6-3.el6
               libgfortran = 4.4.4-15.el6
Error: Package: gcc-c++-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: libstdc++ = 4.4.6-3.el6
           Installed: libstdc++-4.4.6-4.el6.i686 (@koji-override-0/$releasever)
               libstdc++ = 4.4.4-15.el6
               libstdc++ = 4.4.6-4.el6
           Available: libstdc++-4.4.4-13.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++ = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++ = 4.4.5-6.el6
               libstdc++ = 4.4.4-15.el6
           Available: libstdc++-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++ = 4.4.6-3.el6
               libstdc++ = 4.4.4-15.el6
Error: Package: gcc-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: libgomp = 4.4.6-3.el6
           Installed: libgomp-4.4.6-4.el6.i686 (@koji-override-0/$releasever)
               libgomp = 4.4.4-15.el6
Comment 25 mkovacik 2012-06-13 13:16:24 EDT
               libgomp = 4.4.6-4.el6
           Available: libgomp-4.4.4-13.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgomp = 4.4.4-13.el6
           Available: libgomp-4.4.5-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgomp = 4.4.5-6.el6
               libgomp = 4.4.4-15.el6
           Available: libgomp-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgomp = 4.4.6-3.el6
               libgomp = 4.4.4-15.el6
Error: Package: systemtap-1.6-5.el6_2.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: systemtap-runtime = 1.6-5.el6_2
           Installed: systemtap-runtime-1.7-5.el6.i686 (@koji-override-0/$releasever)
               systemtap-runtime = 1.7-5.el6
           Available: systemtap-runtime-1.2-9.el6.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.2-9.el6
           Available: systemtap-runtime-1.2-11.el6_0.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.2-11.el6_0
           Available: systemtap-runtime-1.4-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6
           Available: systemtap-runtime-1.4-6.el6_1.1.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.1
           Available: systemtap-runtime-1.4-6.el6_1.2.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.2
           Available: systemtap-runtime-1.4-6.el6_1.3.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.3
           Available: systemtap-runtime-1.6-4.el6.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.6-4.el6
           Available: systemtap-runtime-1.6-5.el6_2.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.6-5.el6_2
Error: Package: libstdc++-devel-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: libstdc++(x86-32) = 4.4.6-3.el6
           Installed: libstdc++-4.4.6-4.el6.i686 (@koji-override-0/$releasever)
               libstdc++(x86-32) = 4.4.6-4.el6
           Available: libstdc++-4.4.4-13.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++(x86-32) = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++(x86-32) = 4.4.5-6.el6
           Available: libstdc++-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++(x86-32) = 4.4.6-3.el6
Error: Package: rpm-build-4.8.0-19.el6_2.1.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: rpm = 4.8.0-19.el6_2.1
           Installed: rpm-4.8.0-27.el6.i686 (@koji-override-0/$releasever)
               rpm = 4.8.0-27.el6
           Available: rpm-4.8.0-12.el6.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-12.el6
           Available: rpm-4.8.0-16.el6.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-16.el6
           Available: rpm-4.8.0-16.el6_1.1.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-16.el6_1.1
           Available: rpm-4.8.0-19.el6.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-19.el6
           Available: rpm-4.8.0-19.el6_2.1.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-19.el6_2.1
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Group Process
Package matching 1:make-3.81-19.el6.i686 already installed. Checking for update.
Package 1:pkgconfig-0.23-9.1.el6.i686 already installed and latest version
Package gettext-0.17-16.el6.i686 already installed and latest version
Package patch-2.6-6.el6.i686 already installed and latest version
Package matching binutils-2.20.51.0.2-5.28.el6.i686 already installed. Checking for update.
Package elfutils-0.152-1.el6.i686 already installed and latest version
Package cvs-1.11.23-11.el6_2.1.i686 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed
---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed
---> Package bison.i686 0:2.4.1-5.el6 will be installed
---> Package byacc.i686 0:1.9.20070509-6.1.el6 will be installed
---> Package cscope.i686 0:15.6-6.el6 will be installed
---> Package ctags.i686 0:5.8-2.el6 will be installed
---> Package diffstat.i686 0:1.51-2.el6 will be installed
---> Package doxygen.i686 1:1.6.1-6.el6 will be installed
---> Package flex.i686 0:2.5.35-8.el6 will be installed
---> Package gcc.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686
--> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-3.el6.i686
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-3.el6.i686
---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++-devel = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
--> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
--> Processing Dependency: libmpfr.so.1 for package: gcc-c++-4.4.6-3.el6.i686
---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686
---> Package git.i686 0:1.7.1-2.el6_0.1 will be installed
--> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.i686
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.i686
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.i686
---> Package indent.i686 0:2.2.10-5.1.el6 will be installed
---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed
--> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch
---> Package libtool.i686 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.i686 0:0.3.1-3.1.el6 will be installed
---> Package rcs.i686 0:5.7-37.el6 will be installed
---> Package redhat-rpm-config.noarch 0:9.0.3-34.el6 will be installed
---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed
--> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686
---> Package subversion.i686 0:1.6.11-2.el6_1.4 will be installed
--> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libneon.so.27 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libaprutil-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libapr-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686
---> Package swig.i686 0:1.3.40-6.el6 will be installed
---> Package systemtap.i686 0:1.6-5.el6_2 will be installed
--> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686
--> Processing Dependency: kernel-devel for package: systemtap-1.6-5.el6_2.i686
--> Running transaction check
---> Package apr.i686 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util.i686 0:1.3.9-3.el6_0.1 will be installed
---> Package cloog-ppl.i686 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2 for package: cloog-ppl-0.15.7-1.2.el6.i686
--> Processing Dependency: libppl.so.7 for package: cloog-ppl-0.15.7-1.2.el6.i686
---> Package cpp.i686 0:4.4.6-3.el6 will be installed
---> Package gcc.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686
---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686
---> Package gettext-devel.i686 0:0.17-16.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libgettextpo.so.0 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libgcj_bc.so.1 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libasprintf.so.0 for package: gettext-devel-0.17-16.el6.i686
---> Package glibc-devel.i686 0:2.12-1.47.el6_2.12 will be installed
--> Processing Dependency: glibc-headers = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686
--> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.47.el6_2.12.i686
---> Package kernel-devel.i686 0:2.6.32-220.17.1.el6 will be installed
---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686
---> Package mpfr.i686 0:2.4.1-6.el6 will be installed
---> Package neon.i686 0:0.29.3-1.2.el6 will be installed
--> Processing Dependency: libproxy.so.0 for package: neon-0.29.3-1.2.el6.i686
--> Processing Dependency: libpakchois.so.0 for package: neon-0.29.3-1.2.el6.i686
---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed
---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed
---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed
--> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686
---> Package systemtap.i686 0:1.6-5.el6_2 will be installed
--> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686
--> Running transaction check
---> Package gcc.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686
---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686
---> Package gettext-libs.i686 0:0.17-16.el6 will be installed
---> Package glibc-devel.i686 0:2.12-1.47.el6_2.12 will be installed
--> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686
---> Package glibc-headers.i686 0:2.12-1.47.el6_2.12 will be installed
--> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-headers-2.12-1.47.el6_2.12.i686
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.47.el6_2.12.i686
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.47.el6_2.12.i686
---> Package libgcj.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-3.el6.i686
---> Package libproxy.i686 0:0.3.0-2.el6 will be installed
--> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686
--> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686
---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686
---> Package pakchois.i686 0:0.4-3.2.el6 will be installed
---> Package ppl.i686 0:0.10.2-11.el6 will be installed
---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed
--> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686
---> Package systemtap.i686 0:1.6-5.el6_2 will be installed
--> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686
--> Running transaction check
---> Package gcc.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686
---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686
---> Package glibc-devel.i686 0:2.12-1.47.el6_2.12 will be installed
--> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686
---> Package glibc-headers.i686 0:2.12-1.47.el6_2.12 will be installed
--> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-headers-2.12-1.47.el6_2.12.i686
---> Package kernel-headers.i686 0:2.6.32-220.17.1.el6 will be installed
---> Package libart_lgpl.i686 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.i686 0:0.3.0-2.el6 will be installed
---> Package libproxy-python.i686 0:0.3.0-2.el6 will be installed
---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686
---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed
--> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686
---> Package systemtap.i686 0:1.6-5.el6_2 will be installed
--> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686
--> Finished Dependency Resolution
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest 
EXPECTED RESULT: 
RETURN CODE: 1
FAIL1
Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Setting up Group Process Package matching 1:make-3.81-19.el6.i686 already installed. Checking for update. Package 1:pkgconfig-0.23-9.1.el6.i686 already installed and latest version Package gettext-0.17-16.el6.i686 already installed and latest version Package patch-2.6-6.el6.i686 already installed and latest version Package matching binutils-2.20.51.0.2-5.28.el6.i686 already installed. Checking for update. Package elfutils-0.152-1.el6.i686 already installed and latest version Package cvs-1.11.23-11.el6_2.1.i686 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.i686 0:2.4.1-5.el6 will be installed ---> Package byacc.i686 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.i686 0:15.6-6.el6 will be installed ---> Package ctags.i686 0:5.8-2.el6 will be installed ---> Package diffstat.i686 0:1.51-2.el6 will be installed ---> Package doxygen.i686 1:1.6.1-6.el6 will be installed ---> Package flex.i686 0:2.5.35-8.el6 will be installed ---> Package gcc.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686 --> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-3.el6.i686 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-3.el6.i686 ---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++-devel = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 --> Processing Dependency: libmpfr.so.1 for package: gcc-c++-4.4.6-3.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686 ---> Package git.i686 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.i686 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.i686 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.i686 ---> Package indent.i686 0:2.2.10-5.1.el6 will be installed ---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed --> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch ---> Package libtool.i686 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.i686 0:0.3.1-3.1.el6 will be installed ---> Package rcs.i686 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-34.el6 will be installed ---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686 ---> Package subversion.i686 0:1.6.11-2.el6_1.4 will be installed --> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libneon.so.27 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libaprutil-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libapr-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686 ---> Package swig.i686 0:1.3.40-6.el6 will be installed ---> Package systemtap.i686 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686 --> Processing Dependency: kernel-devel for package: systemtap-1.6-5.el6_2.i686 --> Running transaction check ---> Package apr.i686 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.i686 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.i686 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2 for package: cloog-ppl-0.15.7-1.2.el6.i686 --> Processing Dependency: libppl.so.7 for package: cloog-ppl-0.15.7-1.2.el6.i686 ---> Package cpp.i686 0:4.4.6-3.el6 will be installed ---> Package gcc.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686 ---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686 ---> Package gettext-devel.i686 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libgettextpo.so.0 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libgcj_bc.so.1 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libasprintf.so.0 for package: gettext-devel-0.17-16.el6.i686 ---> Package glibc-devel.i686 0:2.12-1.47.el6_2.12 will be installed --> Processing Dependency: glibc-headers = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686 --> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.47.el6_2.12.i686 ---> Package kernel-devel.i686 0:2.6.32-220.17.1.el6 will be installed ---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686 ---> Package mpfr.i686 0:2.4.1-6.el6 will be installed ---> Package neon.i686 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libproxy.so.0 for package: neon-0.29.3-1.2.el6.i686 --> Processing Dependency: libpakchois.so.0 for package: neon-0.29.3-1.2.el6.i686 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686 ---> Package systemtap.i686 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686 --> Running transaction check ---> Package gcc.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686 ---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686 ---> Package gettext-libs.i686 0:0.17-16.el6 will be installed ---> Package glibc-devel.i686 0:2.12-1.47.el6_2.12 will be installed --> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686 ---> Package glibc-headers.i686 0:2.12-1.47.el6_2.12 will be installed --> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-headers-2.12-1.47.el6_2.12.i686 --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.47.el6_2.12.i686 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.47.el6_2.12.i686 ---> Package libgcj.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-3.el6.i686 ---> Package libproxy.i686 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686 ---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686 ---> Package pakchois.i686 0:0.4-3.2.el6 will be installed ---> Package ppl.i686 0:0.10.2-11.el6 will be installed ---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686 ---> Package systemtap.i686 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686 --> Running transaction check ---> Package gcc.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686 ---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.i686 ---> Package glibc-devel.i686 0:2.12-1.47.el6_2.12 will be installed --> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.i686 ---> Package glibc-headers.i686 0:2.12-1.47.el6_2.12 will be installed --> Processing Dependency: glibc = 2.12-1.47.el6_2.12 for package: glibc-headers-2.12-1.47.el6_2.12.i686 ---> Package kernel-headers.i686 0:2.6.32-220.17.1.el6 will be installed ---> Package libart_lgpl.i686 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.i686 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.i686 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686 ---> Package rpm-build.i686 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.i686 ---> Package systemtap.i686 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.i686 --> Finished Dependency Resolution You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
# checking possible sys update
Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
# no sys update found
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
Unable to read consumer identity
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package dmidecode.i686 1:2.11-2.el6 will be updated
---> Package dmidecode.i686 1:2.11-2.el6_1 will be an update
---> Package perl-Compress-Raw-Bzip2.i686 0:2.020-127.el6 will be updated
---> Package perl-Compress-Raw-Bzip2.i686 0:2.027-1.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package          Arch Version        Repository                           Size
================================================================================
Updating:
 dmidecode        i686 1:2.11-2.el6_1 rhui-us-east-1-rhel-server-releases  70 k
 perl-Compress-Raw-Bzip2
                  i686 2.027-1.el6    epel                                 30 k

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

Total download size: 101 k
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           297 kB/s | 101 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Updating   : perl-Compress-Raw-Bzip2-2.027-1.el6.i686                     1/4 

  Updating   : 1:dmidecode-2.11-2.el6_1.i686                                2/4 

  Cleanup    : 1:dmidecode-2.11-2.el6.i686                                  3/4 

  Cleanup    : perl-Compress-Raw-Bzip2-2.020-127.el6.i686                   4/4 
Installed products updated.

  Verifying  : perl-Compress-Raw-Bzip2-2.027-1.el6.i686                     1/4 

  Verifying  : 1:dmidecode-2.11-2.el6_1.i686                                2/4 

  Verifying  : 1:dmidecode-2.11-2.el6.i686                                  3/4 

  Verifying  : perl-Compress-Raw-Bzip2-2.020-127.el6.i686                   4/4 

Updated:
  dmidecode.i686 1:2.11-2.el6_1    perl-Compress-Raw-Bzip2.i686 0:2.027-1.el6   

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
Unable to read consumer identity
Warning: RPMDB altered outside of yum.
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, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
# no sys update found
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
Unable to read consumer identity
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
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 = 3
FAILED TESTS = ## Verify GPG RPMS ... ## test repo files ... ## Install Development tools group...
LOG FILE = /root/valid/src/validate.log
## Summary ##

######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
Comment 26 mkovacik 2012-06-13 13:21:18 EDT
IMAGE ID= ami-140eaf7d_us-east-1_t1.micro
Preparing...                ##################################################
COMMAND:  false
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 1
FAIL2

94 main ./image_validation_postreboot.sh
_err 1 
Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Install Process
Package python-bugzilla-0.6.0-1.el6.noarch already installed and latest version
Nothing to do
###### 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 ... 
######################################################################################
Detected rpm kernel version: 2.6.32-276.el6.i686
Detected uname kernel version: 2.6.32-276.el6.i686
COMMAND:  true
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ... 
######################################################################################
COMMAND:  cat /boot/grub/menu.lst | grep 2.6.32-276.el6.i686
RESULT: title RHEL6.3-20120531.0-Server-i386-starter-ec2 (2.6.32-276.el6.i686)
        kernel /boot/vmlinuz-2.6.32-276.el6.i686 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-276.el6.i686.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 610340 > 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 6.3
######################################################################################

## Summary ##
FAILURES = 4
FAILED TESTS = ## Verify GPG RPMS ... ## test repo files ... ## Install Development tools group...
LOG FILE = /root/valid/src/validate.log
## Summary ##

######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
Comment 27 mkovacik 2012-06-13 13:24:17 EDT
IMAGE ID= ami-140eaf7d_us-east-1_m1.small
Preparing...                ##################################################
COMMAND:  false
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 1
FAIL2

94 main ./image_validation_postreboot.sh
_err 1 
Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Install Process
Package python-bugzilla-0.6.0-1.el6.noarch already installed and latest version
Nothing to do
###### 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 ... 
######################################################################################
Detected rpm kernel version: 2.6.32-276.el6.i686
Detected uname kernel version: 2.6.32-276.el6.i686
COMMAND:  true
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ... 
######################################################################################
COMMAND:  cat /boot/grub/menu.lst | grep 2.6.32-276.el6.i686
RESULT: title RHEL6.3-20120531.0-Server-i386-starter-ec2 (2.6.32-276.el6.i686)
        kernel /boot/vmlinuz-2.6.32-276.el6.i686 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-276.el6.i686.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 1711852 > hwp MEMORY of 1700000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
hostname
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################

## Summary ##
FAILURES = 4
FAILED TESTS = ## Verify GPG RPMS ... ## test repo files ... ## Install Development tools group...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

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