Bug 822843

Summary: ami-48bc1b21 6.3 x86_64 us-east-1
Product: Cloud Image Validation Reporter: mkovacik
Component: imagesAssignee: mkovacik
Status: CLOSED NOTABUG QA Contact: mkovacik
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: RHEL6.3   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-13 11:45:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description mkovacik 2012-05-18 10:18:25 UTC

Comment 1 mkovacik 2012-05-18 10:26:49 UTC
IMAGE ID= 
=====image_validation.sh Fri May 18 06:23:24 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-1-134.compute-1.amazonaws.com with Image Id : ami-48bc1b21, is launched with Instance Id : i-a9295ecf , Instance Type : m1.xlarge and Arch : x86_64 in the Region : us-east-1c
The Validate Signature is : YsqfXWQrlk7aUKCqPb3926Oq71Z2gst6CfFJFMyycLLCLWGiDXHpnAAfQRdnjZ/pnWzd2dSDipzQ
dAHjfnMdbftQSdN5XCSfu0m9f58rnVFz+fu1FoKchB9p27mEyA2PCLxDB2j84xwd8xzEW19gb8uw
Cisovv8dQS1YZHdjF1U=
This is a Cloud Access image
/root/valid/src
ip-10-191-185-167
Red Hat Enterprise Linux Server release 6.3 Beta (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################
ami is a BETA
######################################################################################
# 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 
RESULT: 27 
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-1-134.compute-1.amazonaws.com with Image Id : ami-48bc1b21, is launched with Instance Id : i-a9295ecf , Instance Type : m1.xlarge and Arch : x86_64 in the Region : us-east-1c
The Validate Signature is : YsqfXWQrlk7aUKCqPb3926Oq71Z2gst6CfFJFMyycLLCLWGiDXHpnAAfQRdnjZ/pnWzd2dSDipzQ
dAHjfnMdbftQSdN5XCSfu0m9f58rnVFz+fu1FoKchB9p27mEyA2PCLxDB2j84xwd8xzEW19gb8uw
Cisovv8dQS1YZHdjF1U=
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
SKIPPING TEST, BETA DETECTED
######################################################################################
# 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 15371764 > hwp MEMORY of 15000000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify nameserver ... 
######################################################################################
COMMAND:  /usr/bin/dig clock.redhat.com 2>> /root/valid/src/validate.log | grep 66.187.233.4  | wc -l
RESULT: 1 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify networking ... 
######################################################################################
COMMAND:  grep ^NETWORKING= /etc/sysconfig/network | cut -d\= -f2
RESULT: yes 
EXPECTED RESULT: yes
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify device ... 
######################################################################################
COMMAND:  grep ^DEVICE= /etc/sysconfig/network-scripts/ifcfg-eth0 | cut -d\= -f2
RESULT: eth0 
EXPECTED RESULT: eth0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no missing packages ... 
######################################################################################
COMMAND: /bin/rpm -qa --queryformat='%{NAME}\n' > /tmp/rpmqa.tmp
RETURN CODE: 0
COMMAND: comm -23 packages_63 /tmp/rpmqa
RETURN CODE: 0
COUNT = 0
COMMAND:  echo test failed
RESULT: test failed 
EXPECTED RESULT: 1
RETURN CODE: 0
FAIL2
test failed
######################################################################################
# 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: 4 
EXPECTED RESULT: 2
RETURN CODE: 0
FAIL2
4
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-191-185-167
Red Hat Enterprise Linux Server release 6.3 Beta (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################
ami is a BETA
######################################################################################
# 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 ... 
######################################################################################
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-262.el6.x86_64
Detected uname kernel version: 2.6.32-262.el6.x86_64
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-262.el6.x86_64
RESULT: title RHEL6.3-20120416.0-Server-x86_64-starter-ec2 (2.6.32-262.el6.x86_64)
        kernel /boot/vmlinuz-2.6.32-262.el6.x86_64 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-262.el6.x86_64.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

Comment 2 mkovacik 2012-05-18 10:26:52 UTC
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.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-client-config-server-6             Red Hat Update Infrastr     1
rhui-us-east-1-client-config-server-6-beta        Red Hat Update Infrastr     0
rhui-us-east-1-rhel-server-releases               Red Hat Enterprise Linu 7,211
rhui-us-east-1-rhel-server-releases-beta          Red Hat Enterprise Linu 1,068
rhui-us-east-1-rhel-server-releases-optional      Red Hat Enterprise Linu 4,400
rhui-us-east-1-rhel-server-releases-optional-beta Red Hat Enterprise Linu 2,440
repolist: 15,120 
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.x86_64 : Tab completion for Zsh and Twisted Core
zsh-html.x86_64 : Zsh shell manual in html format
zsh.x86_64 : 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
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID f21541eb: NOKEY
Importing GPG key 0xF21541EB:
 Userid : Red Hat, Inc. (beta key 2) <security>
 Package: redhat-release-server-6Server-6.3.0.2.el6.x86_64 (@koji-override-0/$releasever)
 From   : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
Importing GPG key 0x897DA07A:
 Userid : Red Hat, Inc. (Beta Test Software) <rawhide>
 Package: redhat-release-server-6Server-6.3.0.2.el6.x86_64 (@koji-override-0/$releasever)
 From   : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
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: ## 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.x86_64 already installed and latest version
Package patch-2.6-6.el6.x86_64 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version
Package gettext-0.17-16.el6.x86_64 already installed and latest version
Package binutils-2.20.51.0.2-5.32.el6.x86_64 already installed and latest version
Package elfutils-0.152-1.el6.x86_64 already installed and latest version
Package cvs-1.11.23-11.el6_2.1.x86_64 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.x86_64 0:2.4.1-5.el6 will be installed
---> Package byacc.x86_64 0:1.9.20070509-7.el6 will be installed
---> Package cscope.x86_64 0:15.6-6.el6 will be installed
---> Package ctags.x86_64 0:5.8-2.el6 will be installed
---> Package diffstat.x86_64 0:1.51-2.el6 will be installed
---> Package doxygen.x86_64 1:1.6.1-6.el6 will be installed
---> Package flex.x86_64 0:2.5.35-8.el6 will be installed
---> Package gcc.x86_64 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.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-4.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-4.el6.x86_64
---> Package gcc-c++.x86_64 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.x86_64
--> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.6-4.el6.x86_64
---> Package gcc-gfortran.x86_64 0:4.4.6-4.el6 will be installed
---> Package git.x86_64 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.x86_64
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64
---> Package indent.x86_64 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.x86_64 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed
---> Package rcs.x86_64 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.x86_64 0:4.8.0-27.el6 will be installed
---> Package subversion.x86_64 0:1.6.11-6.el6 will be installed
--> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-6.el6.x86_64
--> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-6.el6.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-6.el6.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-6.el6.x86_64
---> Package swig.x86_64 0:1.3.40-6.el6 will be installed
---> Package systemtap.x86_64 0:1.7-3.el6 will be installed
--> Processing Dependency: systemtap-devel = 1.7-3.el6 for package: systemtap-1.7-3.el6.x86_64
--> Processing Dependency: systemtap-client = 1.7-3.el6 for package: systemtap-1.7-3.el6.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.6-4.el6 will be installed
---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
---> Package glibc-devel.x86_64 0:2.12-1.78.el6 will be installed
--> Processing Dependency: glibc-headers = 2.12-1.78.el6 for package: glibc-devel-2.12-1.78.el6.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.78.el6.x86_64
---> Package libstdc++-devel.x86_64 0:4.4.6-4.el6 will be installed
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
---> Package neon.x86_64 0:0.29.3-2.el6 will be installed
--> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-2.el6.x86_64
--> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-2.el6.x86_64
---> 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.x86_64 0:1.7-3.el6 will be installed
---> Package systemtap-devel.x86_64 0:1.7-3.el6 will be installed
--> Processing Dependency: kernel-devel for package: systemtap-devel-1.7-3.el6.x86_64
--> Running transaction check
---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed
---> Package glibc-headers.x86_64 0:2.12-1.78.el6 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.78.el6.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.78.el6.x86_64
---> Package kernel-devel.x86_64 0:2.6.32-262.el6 will be installed
---> Package libgcj.x86_64 0:4.4.6-4.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-4.el6.x86_64
---> Package libproxy.x86_64 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.x86_64
--> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64
---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
--> Running transaction check
---> Package kernel-headers.x86_64 0:2.6.32-262.el6 will be installed
---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed
---> Package libproxy-python.x86_64 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    x86_64 2.4.1-5.el6     rhui-us-east-1-rhel-server-releases      637 k
 byacc    x86_64 1.9.20070509-7.el6
                                 rhui-us-east-1-rhel-server-releases-beta  48 k
 cscope   x86_64 15.6-6.el6      rhui-us-east-1-rhel-server-releases      136 k
 ctags    x86_64 5.8-2.el6       rhui-us-east-1-rhel-server-releases      147 k
 diffstat x86_64 1.51-2.el6      rhui-us-east-1-rhel-server-releases       29 k
 doxygen  x86_64 1:1.6.1-6.el6   rhui-us-east-1-rhel-server-releases      2.4 M
 flex     x86_64 2.5.35-8.el6    rhui-us-east-1-rhel-server-releases      286 k
 gcc      x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta  10 M
 gcc-c++  x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta 4.7 M
 gcc-gfortran
          x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta 4.7 M
 git      x86_64 1.7.1-2.el6_0.1 rhui-us-east-1-rhel-server-releases      4.6 M
 indent   x86_64 2.2.10-7.el6    rhui-us-east-1-rhel-server-releases-beta 115 k
 intltool noarch 0.41.0-1.1.el6  rhui-us-east-1-rhel-server-releases       58 k
 libtool  x86_64 2.2.6-15.5.el6  rhui-us-east-1-rhel-server-releases      564 k
 patchutils
          x86_64 0.3.1-3.1.el6   rhui-us-east-1-rhel-server-releases       95 k
 rcs      x86_64 5.7-37.el6      rhui-us-east-1-rhel-server-releases      173 k
 redhat-rpm-config
          noarch 9.0.3-39.el6    rhui-us-east-1-rhel-server-releases-beta  58 k
 rpm-build
          x86_64 4.8.0-27.el6    rhui-us-east-1-rhel-server-releases-beta 125 k
 subversion
          x86_64 1.6.11-6.el6    rhui-us-east-1-rhel-server-releases-beta 2.3 M
 swig     x86_64 1.3.40-6.el6    rhui-us-east-1-rhel-server-releases      1.1 M
 systemtap
          x86_64 1.7-3.el6       rhui-us-east-1-rhel-server-releases-beta  25 k
Installing for dependencies:
 apr      x86_64 1.3.9-3.el6_1.2 rhui-us-east-1-rhel-server-releases      123 k
 apr-util x86_64 1.3.9-3.el6_0.1 rhui-us-east-1-rhel-server-releases       87 k
 cloog-ppl
          x86_64 0.15.7-1.2.el6  rhui-us-east-1-rhel-server-releases       93 k
 cpp      x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta 3.7 M
 gettext-devel
          x86_64 0.17-16.el6     rhui-us-east-1-rhel-server-releases      155 k
 gettext-libs
          x86_64 0.17-16.el6     rhui-us-east-1-rhel-server-releases      112 k
 glibc-devel
          x86_64 2.12-1.78.el6   rhui-us-east-1-rhel-server-releases-beta 970 k
 glibc-headers
          x86_64 2.12-1.78.el6   rhui-us-east-1-rhel-server-releases-beta 600 k
 kernel-devel
          x86_64 2.6.32-262.el6  rhui-us-east-1-rhel-server-releases-beta 7.6 M
 kernel-headers
          x86_64 2.6.32-262.el6  rhui-us-east-1-rhel-server-releases-beta 1.9 M
 libart_lgpl
          x86_64 2.3.20-5.1.el6  rhui-us-east-1-rhel-server-releases       65 k
 libgcj   x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta  19 M
 libproxy x86_64 0.3.0-2.el6     rhui-us-east-1-rhel-server-releases       39 k
 libproxy-bin
          x86_64 0.3.0-2.el6     rhui-us-east-1-rhel-server-releases      8.1 k
 libproxy-python
          x86_64 0.3.0-2.el6     rhui-us-east-1-rhel-server-releases      8.3 k
 libstdc++-devel
          x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta 1.5 M
 mpfr     x86_64 2.4.1-6.el6     rhui-us-east-1-rhel-server-releases      156 k
 neon     x86_64 0.29.3-2.el6    rhui-us-east-1-rhel-server-releases-beta 119 k
 pakchois x86_64 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

Comment 3 mkovacik 2012-05-18 10:26:55 UTC
 ppl      x86_64 0.10.2-11.el6   rhui-us-east-1-rhel-server-releases      1.3 M
 systemtap-client
          x86_64 1.7-3.el6       rhui-us-east-1-rhel-server-releases-beta 3.0 M
 systemtap-devel
          x86_64 1.7-3.el6       rhui-us-east-1-rhel-server-releases-beta 1.2 M

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

Total download size: 75 M
Installed size: 192 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           7.9 MB/s |  75 MB     00:09     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Installing : mpfr-2.4.1-6.el6.x86_64                                     1/47 

  Installing : apr-1.3.9-3.el6_1.2.x86_64                                  2/47 

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

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

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

  Installing : git-1.7.1-2.el6_0.1.x86_64                                  6/47 

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

  Installing : apr-util-1.3.9-3.el6_0.1.x86_64                             8/47 

  Installing : cpp-4.4.6-4.el6.x86_64                                      9/47 

  Installing : libproxy-python-0.3.0-2.el6.x86_64                         10/47 

  Installing : libproxy-0.3.0-2.el6.x86_64                                11/47 

  Installing : libproxy-bin-0.3.0-2.el6.x86_64                            12/47 

  Installing : libart_lgpl-2.3.20-5.1.el6.x86_64                          13/47 

  Installing : libgcj-4.4.6-4.el6.x86_64                                  14/47 

  Installing : kernel-devel-2.6.32-262.el6.x86_64                         15/47 

  Installing : gettext-libs-0.17-16.el6.x86_64                            16/47 

  Installing : gettext-devel-0.17-16.el6.x86_64                           17/47 

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

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

  Installing : libstdc++-devel-4.4.6-4.el6.x86_64                         20/47 

  Installing : systemtap-client-1.7-3.el6.x86_64                          21/47 

  Installing : kernel-headers-2.6.32-262.el6.x86_64                       22/47 

  Installing : glibc-headers-2.12-1.78.el6.x86_64                         23/47 

  Installing : glibc-devel-2.12-1.78.el6.x86_64                           24/47 

  Installing : gcc-4.4.6-4.el6.x86_64                                     25/47 

  Installing : systemtap-devel-1.7-3.el6.x86_64                           26/47 

  Installing : pakchois-0.4-3.2.el6.x86_64                                27/47 

  Installing : neon-0.29.3-2.el6.x86_64                                   28/47 

  Installing : subversion-1.6.11-6.el6.x86_64                             29/47 

  Installing : systemtap-1.7-3.el6.x86_64                                 30/47 

  Installing : gcc-gfortran-4.4.6-4.el6.x86_64                            31/47 

  Installing : gcc-c++-4.4.6-4.el6.x86_64                                 32/47 

  Installing : libtool-2.2.6-15.5.el6.x86_64                              33/47 

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

  Installing : rpm-build-4.8.0-27.el6.x86_64                              35/47 

  Installing : swig-1.3.40-6.el6.x86_64                                   36/47 

  Installing : indent-2.2.10-7.el6.x86_64                                 37/47 

  Installing : diffstat-1.51-2.el6.x86_64                                 38/47 

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

  Installing : 1:doxygen-1.6.1-6.el6.x86_64                               40/47 

  Installing : rcs-5.7-37.el6.x86_64                                      41/47 

  Installing : cscope-15.6-6.el6.x86_64                                   42/47 

  Installing : ctags-5.8-2.el6.x86_64                                     43/47 

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

  Installing : byacc-1.9.20070509-7.el6.x86_64                            45/47 

  Installing : flex-2.5.35-8.el6.x86_64                                   46/47 

  Installing : bison-2.4.1-5.el6.x86_64                                   47/47 
Installed products updated.

  Verifying  : pakchois-0.4-3.2.el6.x86_64                                 1/47 

  Verifying  : bison-2.4.1-5.el6.x86_64                                    2/47 

  Verifying  : kernel-headers-2.6.32-262.el6.x86_64                        3/47 

  Verifying  : flex-2.5.35-8.el6.x86_64                                    4/47 

  Verifying  : neon-0.29.3-2.el6.x86_64                                    5/47 

  Verifying  : gcc-gfortran-4.4.6-4.el6.x86_64                             6/47 

  Verifying  : glibc-devel-2.12-1.78.el6.x86_64                            7/47 

  Verifying  : mpfr-2.4.1-6.el6.x86_64                                     8/47 

  Verifying  : cpp-4.4.6-4.el6.x86_64                                      9/47 

  Verifying  : systemtap-client-1.7-3.el6.x86_64                          10/47 

  Verifying  : byacc-1.9.20070509-7.el6.x86_64                            11/47 

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

  Verifying  : libproxy-bin-0.3.0-2.el6.x86_64                            13/47 

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

  Verifying  : ctags-5.8-2.el6.x86_64                                     15/47 

  Verifying  : cscope-15.6-6.el6.x86_64                                   16/47 

  Verifying  : systemtap-1.7-3.el6.x86_64                                 17/47 

  Verifying  : rcs-5.7-37.el6.x86_64                                      18/47 

  Verifying  : gcc-c++-4.4.6-4.el6.x86_64                                 19/47 

  Verifying  : libstdc++-devel-4.4.6-4.el6.x86_64                         20/47 

  Verifying  : glibc-headers-2.12-1.78.el6.x86_64                         21/47 

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

  Verifying  : ppl-0.10.2-11.el6.x86_64                                   23/47 

  Verifying  : 1:doxygen-1.6.1-6.el6.x86_64                               24/47 

  Verifying  : cloog-ppl-0.15.7-1.2.el6.x86_64                            25/47 

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

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

  Verifying  : gettext-devel-0.17-16.el6.x86_64                           28/47 

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

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

  Verifying  : gcc-4.4.6-4.el6.x86_64                                     31/47 

  Verifying  : apr-1.3.9-3.el6_1.2.x86_64                                 32/47 

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

  Verifying  : diffstat-1.51-2.el6.x86_64                                 34/47 

  Verifying  : git-1.7.1-2.el6_0.1.x86_64                                 35/47 

  Verifying  : libgcj-4.4.6-4.el6.x86_64                                  36/47 

  Verifying  : gettext-libs-0.17-16.el6.x86_64                            37/47 

  Verifying  : indent-2.2.10-7.el6.x86_64                                 38/47 

  Verifying  : systemtap-devel-1.7-3.el6.x86_64                           39/47 

  Verifying  : kernel-devel-2.6.32-262.el6.x86_64                         40/47 

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

  Verifying  : swig-1.3.40-6.el6.x86_64                                   42/47 

  Verifying  : rpm-build-4.8.0-27.el6.x86_64                              43/47 

  Verifying  : libproxy-0.3.0-2.el6.x86_64                                44/47 

  Verifying  : libtool-2.2.6-15.5.el6.x86_64                              45/47 

  Verifying  : subversion-1.6.11-6.el6.x86_64                             46/47 

  Verifying  : libart_lgpl-2.3.20-5.1.el6.x86_64                          47/47 

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

Dependency Installed:
  apr.x86_64 0:1.3.9-3.el6_1.2          apr-util.x86_64 0:1.3.9-3.el6_0.1      
  cloog-ppl.x86_64 0:0.15.7-1.2.el6     cpp.x86_64 0:4.4.6-4.el6               
  gettext-devel.x86_64 0:0.17-16.el6    gettext-libs.x86_64 0:0.17-16.el6      
  glibc-devel.x86_64 0:2.12-1.78.el6    glibc-headers.x86_64 0:2.12-1.78.el6   
  kernel-devel.x86_64 0:2.6.32-262.el6  kernel-headers.x86_64 0:2.6.32-262.el6 
  libart_lgpl.x86_64 0:2.3.20-5.1.el6   libgcj.x86_64 0:4.4.6-4.el6            
  libproxy.x86_64 0:0.3.0-2.el6         libproxy-bin.x86_64 0:0.3.0-2.el6      
  libproxy-python.x86_64 0:0.3.0-2.el6  libstdc++-devel.x86_64 0:4.4.6-4.el6   
  mpfr.x86_64 0:2.4.1-6.el6             neon.x86_64 0:0.29.3-2.el6             
  pakchois.x86_64 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.x86_64 0:0.10.2-11.el6             
  systemtap-client.x86_64 0:1.7-3.el6   systemtap-devel.x86_64 0:1.7-3.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
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 bash.x86_64 0:4.1.2-8.el6 will be updated
---> Package bash.x86_64 0:4.1.2-9.el6_2 will be an update
---> Package dmidecode.x86_64 1:2.11-2.el6 will be updated
---> Package dmidecode.x86_64 1:2.11-2.el6_1 will be an update
---> Package libgcrypt.x86_64 0:1.4.5-9.el6 will be updated
---> Package libgcrypt.x86_64 0:1.4.5-9.el6_2.2 will be an update
---> Package libpng.x86_64 2:1.2.48-1.el6_2 will be updated
---> Package libpng.x86_64 2:1.2.49-1.el6_2 will be an update
---> Package net-tools.x86_64 0:1.60-109.el6 will be updated
---> Package net-tools.x86_64 0:1.60-110.el6_2 will be an update
---> Package openssl.x86_64 0:1.0.0-20.el6_2.3 will be updated
---> Package openssl.x86_64 0:1.0.0-20.el6_2.4 will be an update
---> Package pam.x86_64 0:1.1.1-10.el6 will be updated
---> Package pam.x86_64 0:1.1.1-10.el6_2.1 will be an update
---> Package sudo.x86_64 0:1.7.4p5-8.el6 will be updated
---> Package sudo.x86_64 0:1.7.4p5-9.el6_2 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package   Arch   Version             Repository                           Size
================================================================================
Updating:
 bash      x86_64 4.1.2-9.el6_2       rhui-us-east-1-rhel-server-releases 903 k
 dmidecode x86_64 1:2.11-2.el6_1      rhui-us-east-1-rhel-server-releases  71 k
 libgcrypt x86_64 1.4.5-9.el6_2.2     rhui-us-east-1-rhel-server-releases 228 k
 libpng    x86_64 2:1.2.49-1.el6_2    rhui-us-east-1-rhel-server-releases 182 k
 net-tools x86_64 1.60-110.el6_2      rhui-us-east-1-rhel-server-releases 268 k
 openssl   x86_64 1.0.0-20.el6_2.4    rhui-us-east-1-rhel-server-releases 1.4 M
 pam       x86_64 1.1.1-10.el6_2.1    rhui-us-east-1-rhel-server-releases 656 k
 sudo      x86_64 1.7.4p5-9.el6_2     rhui-us-east-1-rhel-server-releases 419 k

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

Total download size: 4.0 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           3.4 MB/s | 4.0 MB     00:01     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Updating   : bash-4.1.2-9.el6_2.x86_64                                   1/16 

  Updating   : pam-1.1.1-10.el6_2.1.x86_64                                 2/16 

  Updating   : sudo-1.7.4p5-9.el6_2.x86_64                                 3/16 

  Updating   : openssl-1.0.0-20.el6_2.4.x86_64                             4/16 

  Updating   : 2:libpng-1.2.49-1.el6_2.x86_64                              5/16 

  Updating   : net-tools-1.60-110.el6_2.x86_64                             6/16 

  Updating   : libgcrypt-1.4.5-9.el6_2.2.x86_64                            7/16 

  Updating   : 1:dmidecode-2.11-2.el6_1.x86_64                             8/16 

  Cleanup    : sudo-1.7.4p5-8.el6.x86_64                                   9/16 

  Cleanup    : pam-1.1.1-10.el6.x86_64                                    10/16 

  Cleanup    : openssl-1.0.0-20.el6_2.3.x86_64                            11/16 

  Cleanup    : bash-4.1.2-8.el6.x86_64                                    12/16 

  Cleanup    : 2:libpng-1.2.48-1.el6_2.x86_64                             13/16 

  Cleanup    : net-tools-1.60-109.el6.x86_64                              14/16 

  Cleanup    : libgcrypt-1.4.5-9.el6.x86_64                               15/16 

  Cleanup    : 1:dmidecode-2.11-2.el6.x86_64                              16/16 
Installed products updated.

  Verifying  : 1:dmidecode-2.11-2.el6_1.x86_64                             1/16 

  Verifying  : libgcrypt-1.4.5-9.el6_2.2.x86_64                            2/16 

  Verifying  : pam-1.1.1-10.el6_2.1.x86_64                                 3/16 

  Verifying  : bash-4.1.2-9.el6_2.x86_64                                   4/16 

  Verifying  : net-tools-1.60-110.el6_2.x86_64                             5/16 

  Verifying  : openssl-1.0.0-20.el6_2.4.x86_64                             6/16 

  Verifying  : 2:libpng-1.2.49-1.el6_2.x86_64                              7/16 

  Verifying  : sudo-1.7.4p5-9.el6_2.x86_64                                 8/16 

  Verifying  : libgcrypt-1.4.5-9.el6.x86_64                                9/16 

  Verifying  : net-tools-1.60-109.el6.x86_64                              10/16 

  Verifying  : sudo-1.7.4p5-8.el6.x86_64                                  11/16 

  Verifying  : 1:dmidecode-2.11-2.el6.x86_64                              12/16 

  Verifying  : bash-4.1.2-8.el6.x86_64                                    13/16 

  Verifying  : openssl-1.0.0-20.el6_2.3.x86_64                            14/16 

  Verifying  : pam-1.1.1-10.el6.x86_64                                    15/16 

  Verifying  : 2:libpng-1.2.48-1.el6_2.x86_64                             16/16 

Updated:
  bash.x86_64 0:4.1.2-9.el6_2             dmidecode.x86_64 1:2.11-2.el6_1       
  libgcrypt.x86_64 0:1.4.5-9.el6_2.2      libpng.x86_64 2:1.2.49-1.el6_2        
  net-tools.x86_64 0:1.60-110.el6_2       openssl.x86_64 0:1.0.0-20.el6_2.4     
  pam.x86_64 0:1.1.1-10.el6_2.1           sudo.x86_64 0:1.7.4p5-9.el6_2         

Complete! 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no fa1lures in rpm package ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'failure in rpm package' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no rpm scriplet fa1lures ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'scriptlet failed, exit status 1' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify package removal... 
######################################################################################
COMMAND: /bin/rpm -e zsh
RETURN CODE: 0
COMMAND:  /bin/rpm -q zsh
RESULT: package zsh is not installed 
EXPECTED RESULT: package zsh is not installed
RETURN CODE: 1
PASS
######################################################################################
# NEW TEST: ## 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 no missing packages ... ## test repo files ... ## test repo files ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 4 mkovacik 2012-05-18 10:31:57 UTC
IMAGE ID= 
=====image_validation.sh Fri May 18 06:27:32 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-20-38-117.compute-1.amazonaws.com with Image Id : ami-48bc1b21, is launched with Instance Id : i-b3285fd5 , Instance Type : m1.large and Arch : x86_64 in the Region : us-east-1d
The Validate Signature is : ansoJ/qc2XKtfOqUHdGqW3L7zp3P8NOhqnID6lZBl937g0MqqcOJ+WOUFyop1t4q5QQ7kBc9XfC8
pYP6IxVfYEHX3ciW1Y2YoawqQts6uJV8YDfH4/AgSFOL0Xz3SNp1mB/oXfIxVGLYwmP3cRVwildy
mU6d0TRgSZm1Pt4POg8=
This is a Cloud Access image
/root/valid/src
ip-10-101-41-170
Red Hat Enterprise Linux Server release 6.3 Beta (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################
ami is a BETA
######################################################################################
# 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 
RESULT: 27 
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-20-38-117.compute-1.amazonaws.com with Image Id : ami-48bc1b21, is launched with Instance Id : i-b3285fd5 , Instance Type : m1.large and Arch : x86_64 in the Region : us-east-1d
The Validate Signature is : ansoJ/qc2XKtfOqUHdGqW3L7zp3P8NOhqnID6lZBl937g0MqqcOJ+WOUFyop1t4q5QQ7kBc9XfC8
pYP6IxVfYEHX3ciW1Y2YoawqQts6uJV8YDfH4/AgSFOL0Xz3SNp1mB/oXfIxVGLYwmP3cRVwildy
mU6d0TRgSZm1Pt4POg8=
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
SKIPPING TEST, BETA DETECTED
######################################################################################
# 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 7646172 > hwp MEMORY of 7500000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify nameserver ... 
######################################################################################
COMMAND:  /usr/bin/dig clock.redhat.com 2>> /root/valid/src/validate.log | grep 66.187.233.4  | wc -l
RESULT: 1 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify networking ... 
######################################################################################
COMMAND:  grep ^NETWORKING= /etc/sysconfig/network | cut -d\= -f2
RESULT: yes 
EXPECTED RESULT: yes
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify device ... 
######################################################################################
COMMAND:  grep ^DEVICE= /etc/sysconfig/network-scripts/ifcfg-eth0 | cut -d\= -f2
RESULT: eth0 
EXPECTED RESULT: eth0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no missing packages ... 
######################################################################################
COMMAND: /bin/rpm -qa --queryformat='%{NAME}\n' > /tmp/rpmqa.tmp
RETURN CODE: 0
COMMAND: comm -23 packages_63 /tmp/rpmqa
RETURN CODE: 0
COUNT = 0
COMMAND:  echo test failed
RESULT: test failed 
EXPECTED RESULT: 1
RETURN CODE: 0
FAIL2
test failed
######################################################################################
# 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: 4 
EXPECTED RESULT: 2
RETURN CODE: 0
FAIL2
4
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-101-41-170
Red Hat Enterprise Linux Server release 6.3 Beta (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################
ami is a BETA
######################################################################################
# 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 ... 
######################################################################################
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-262.el6.x86_64
Detected uname kernel version: 2.6.32-262.el6.x86_64
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-262.el6.x86_64
RESULT: title RHEL6.3-20120416.0-Server-x86_64-starter-ec2 (2.6.32-262.el6.x86_64)
        kernel /boot/vmlinuz-2.6.32-262.el6.x86_64 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-262.el6.x86_64.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

Comment 5 mkovacik 2012-05-18 10:32:00 UTC
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.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-client-config-server-6             Red Hat Update Infrastr     1
rhui-us-east-1-client-config-server-6-beta        Red Hat Update Infrastr     0
rhui-us-east-1-rhel-server-releases               Red Hat Enterprise Linu 7,211
rhui-us-east-1-rhel-server-releases-beta          Red Hat Enterprise Linu 1,068
rhui-us-east-1-rhel-server-releases-optional      Red Hat Enterprise Linu 4,400
rhui-us-east-1-rhel-server-releases-optional-beta Red Hat Enterprise Linu 2,440
repolist: 15,120 
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.x86_64 : Tab completion for Zsh and Twisted Core
zsh-html.x86_64 : Zsh shell manual in html format
zsh.x86_64 : 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
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID f21541eb: NOKEY
Importing GPG key 0xF21541EB:
 Userid : Red Hat, Inc. (beta key 2) <security>
 Package: redhat-release-server-6Server-6.3.0.2.el6.x86_64 (@koji-override-0/$releasever)
 From   : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
Importing GPG key 0x897DA07A:
 Userid : Red Hat, Inc. (Beta Test Software) <rawhide>
 Package: redhat-release-server-6Server-6.3.0.2.el6.x86_64 (@koji-override-0/$releasever)
 From   : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
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: ## 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.x86_64 already installed and latest version
Package patch-2.6-6.el6.x86_64 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version
Package gettext-0.17-16.el6.x86_64 already installed and latest version
Package binutils-2.20.51.0.2-5.32.el6.x86_64 already installed and latest version
Package elfutils-0.152-1.el6.x86_64 already installed and latest version
Package cvs-1.11.23-11.el6_2.1.x86_64 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.x86_64 0:2.4.1-5.el6 will be installed
---> Package byacc.x86_64 0:1.9.20070509-7.el6 will be installed
---> Package cscope.x86_64 0:15.6-6.el6 will be installed
---> Package ctags.x86_64 0:5.8-2.el6 will be installed
---> Package diffstat.x86_64 0:1.51-2.el6 will be installed
---> Package doxygen.x86_64 1:1.6.1-6.el6 will be installed
---> Package flex.x86_64 0:2.5.35-8.el6 will be installed
---> Package gcc.x86_64 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.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-4.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-4.el6.x86_64
---> Package gcc-c++.x86_64 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.x86_64
--> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.6-4.el6.x86_64
---> Package gcc-gfortran.x86_64 0:4.4.6-4.el6 will be installed
---> Package git.x86_64 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.x86_64
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64
---> Package indent.x86_64 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.x86_64 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed
---> Package rcs.x86_64 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.x86_64 0:4.8.0-27.el6 will be installed
---> Package subversion.x86_64 0:1.6.11-6.el6 will be installed
--> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-6.el6.x86_64
--> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-6.el6.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-6.el6.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-6.el6.x86_64
---> Package swig.x86_64 0:1.3.40-6.el6 will be installed
---> Package systemtap.x86_64 0:1.7-3.el6 will be installed
--> Processing Dependency: systemtap-devel = 1.7-3.el6 for package: systemtap-1.7-3.el6.x86_64
--> Processing Dependency: systemtap-client = 1.7-3.el6 for package: systemtap-1.7-3.el6.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.6-4.el6 will be installed
---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
---> Package glibc-devel.x86_64 0:2.12-1.78.el6 will be installed
--> Processing Dependency: glibc-headers = 2.12-1.78.el6 for package: glibc-devel-2.12-1.78.el6.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.78.el6.x86_64
---> Package libstdc++-devel.x86_64 0:4.4.6-4.el6 will be installed
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
---> Package neon.x86_64 0:0.29.3-2.el6 will be installed
--> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-2.el6.x86_64
--> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-2.el6.x86_64
---> 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.x86_64 0:1.7-3.el6 will be installed
---> Package systemtap-devel.x86_64 0:1.7-3.el6 will be installed
--> Processing Dependency: kernel-devel for package: systemtap-devel-1.7-3.el6.x86_64
--> Running transaction check
---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed
---> Package glibc-headers.x86_64 0:2.12-1.78.el6 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.78.el6.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.78.el6.x86_64
---> Package kernel-devel.x86_64 0:2.6.32-262.el6 will be installed
---> Package libgcj.x86_64 0:4.4.6-4.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-4.el6.x86_64
---> Package libproxy.x86_64 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.x86_64
--> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64
---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
--> Running transaction check
---> Package kernel-headers.x86_64 0:2.6.32-262.el6 will be installed
---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed
---> Package libproxy-python.x86_64 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    x86_64 2.4.1-5.el6     rhui-us-east-1-rhel-server-releases      637 k
 byacc    x86_64 1.9.20070509-7.el6
                                 rhui-us-east-1-rhel-server-releases-beta  48 k
 cscope   x86_64 15.6-6.el6      rhui-us-east-1-rhel-server-releases      136 k
 ctags    x86_64 5.8-2.el6       rhui-us-east-1-rhel-server-releases      147 k
 diffstat x86_64 1.51-2.el6      rhui-us-east-1-rhel-server-releases       29 k
 doxygen  x86_64 1:1.6.1-6.el6   rhui-us-east-1-rhel-server-releases      2.4 M
 flex     x86_64 2.5.35-8.el6    rhui-us-east-1-rhel-server-releases      286 k
 gcc      x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta  10 M
 gcc-c++  x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta 4.7 M
 gcc-gfortran
          x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta 4.7 M
 git      x86_64 1.7.1-2.el6_0.1 rhui-us-east-1-rhel-server-releases      4.6 M
 indent   x86_64 2.2.10-7.el6    rhui-us-east-1-rhel-server-releases-beta 115 k
 intltool noarch 0.41.0-1.1.el6  rhui-us-east-1-rhel-server-releases       58 k
 libtool  x86_64 2.2.6-15.5.el6  rhui-us-east-1-rhel-server-releases      564 k
 patchutils
          x86_64 0.3.1-3.1.el6   rhui-us-east-1-rhel-server-releases       95 k
 rcs      x86_64 5.7-37.el6      rhui-us-east-1-rhel-server-releases      173 k
 redhat-rpm-config
          noarch 9.0.3-39.el6    rhui-us-east-1-rhel-server-releases-beta  58 k
 rpm-build
          x86_64 4.8.0-27.el6    rhui-us-east-1-rhel-server-releases-beta 125 k
 subversion
          x86_64 1.6.11-6.el6    rhui-us-east-1-rhel-server-releases-beta 2.3 M
 swig     x86_64 1.3.40-6.el6    rhui-us-east-1-rhel-server-releases      1.1 M
 systemtap
          x86_64 1.7-3.el6       rhui-us-east-1-rhel-server-releases-beta  25 k
Installing for dependencies:
 apr      x86_64 1.3.9-3.el6_1.2 rhui-us-east-1-rhel-server-releases      123 k
 apr-util x86_64 1.3.9-3.el6_0.1 rhui-us-east-1-rhel-server-releases       87 k
 cloog-ppl
          x86_64 0.15.7-1.2.el6  rhui-us-east-1-rhel-server-releases       93 k
 cpp      x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta 3.7 M
 gettext-devel
          x86_64 0.17-16.el6     rhui-us-east-1-rhel-server-releases      155 k
 gettext-libs
          x86_64 0.17-16.el6     rhui-us-east-1-rhel-server-releases      112 k
 glibc-devel
          x86_64 2.12-1.78.el6   rhui-us-east-1-rhel-server-releases-beta 970 k
 glibc-headers
          x86_64 2.12-1.78.el6   rhui-us-east-1-rhel-server-releases-beta 600 k
 kernel-devel
          x86_64 2.6.32-262.el6  rhui-us-east-1-rhel-server-releases-beta 7.6 M
 kernel-headers
          x86_64 2.6.32-262.el6  rhui-us-east-1-rhel-server-releases-beta 1.9 M
 libart_lgpl
          x86_64 2.3.20-5.1.el6  rhui-us-east-1-rhel-server-releases       65 k
 libgcj   x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta  19 M
 libproxy x86_64 0.3.0-2.el6     rhui-us-east-1-rhel-server-releases       39 k
 libproxy-bin
          x86_64 0.3.0-2.el6     rhui-us-east-1-rhel-server-releases      8.1 k
 libproxy-python
          x86_64 0.3.0-2.el6     rhui-us-east-1-rhel-server-releases      8.3 k
 libstdc++-devel
          x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta 1.5 M
 mpfr     x86_64 2.4.1-6.el6     rhui-us-east-1-rhel-server-releases      156 k
 neon     x86_64 0.29.3-2.el6    rhui-us-east-1-rhel-server-releases-beta 119 k
 pakchois x86_64 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

Comment 6 mkovacik 2012-05-18 10:32:04 UTC
 ppl      x86_64 0.10.2-11.el6   rhui-us-east-1-rhel-server-releases      1.3 M
 systemtap-client
          x86_64 1.7-3.el6       rhui-us-east-1-rhel-server-releases-beta 3.0 M
 systemtap-devel
          x86_64 1.7-3.el6       rhui-us-east-1-rhel-server-releases-beta 1.2 M

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

Total download size: 75 M
Installed size: 192 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           7.0 MB/s |  75 MB     00:10     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Installing : mpfr-2.4.1-6.el6.x86_64                                     1/47 

  Installing : apr-1.3.9-3.el6_1.2.x86_64                                  2/47 

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

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

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

  Installing : git-1.7.1-2.el6_0.1.x86_64                                  6/47 

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

  Installing : apr-util-1.3.9-3.el6_0.1.x86_64                             8/47 

  Installing : cpp-4.4.6-4.el6.x86_64                                      9/47 

  Installing : libproxy-python-0.3.0-2.el6.x86_64                         10/47 

  Installing : libproxy-0.3.0-2.el6.x86_64                                11/47 

  Installing : libproxy-bin-0.3.0-2.el6.x86_64                            12/47 

  Installing : libart_lgpl-2.3.20-5.1.el6.x86_64                          13/47 

  Installing : libgcj-4.4.6-4.el6.x86_64                                  14/47 

  Installing : kernel-devel-2.6.32-262.el6.x86_64                         15/47 

  Installing : gettext-libs-0.17-16.el6.x86_64                            16/47 

  Installing : gettext-devel-0.17-16.el6.x86_64                           17/47 

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

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

  Installing : libstdc++-devel-4.4.6-4.el6.x86_64                         20/47 

  Installing : systemtap-client-1.7-3.el6.x86_64                          21/47 

  Installing : kernel-headers-2.6.32-262.el6.x86_64                       22/47 

  Installing : glibc-headers-2.12-1.78.el6.x86_64                         23/47 

  Installing : glibc-devel-2.12-1.78.el6.x86_64                           24/47 

  Installing : gcc-4.4.6-4.el6.x86_64                                     25/47 

  Installing : systemtap-devel-1.7-3.el6.x86_64                           26/47 

  Installing : pakchois-0.4-3.2.el6.x86_64                                27/47 

  Installing : neon-0.29.3-2.el6.x86_64                                   28/47 

  Installing : subversion-1.6.11-6.el6.x86_64                             29/47 

  Installing : systemtap-1.7-3.el6.x86_64                                 30/47 

  Installing : gcc-gfortran-4.4.6-4.el6.x86_64                            31/47 

  Installing : gcc-c++-4.4.6-4.el6.x86_64                                 32/47 

  Installing : libtool-2.2.6-15.5.el6.x86_64                              33/47 

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

  Installing : rpm-build-4.8.0-27.el6.x86_64                              35/47 

  Installing : swig-1.3.40-6.el6.x86_64                                   36/47 

  Installing : indent-2.2.10-7.el6.x86_64                                 37/47 

  Installing : diffstat-1.51-2.el6.x86_64                                 38/47 

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

  Installing : 1:doxygen-1.6.1-6.el6.x86_64                               40/47 

  Installing : rcs-5.7-37.el6.x86_64                                      41/47 

  Installing : cscope-15.6-6.el6.x86_64                                   42/47 

  Installing : ctags-5.8-2.el6.x86_64                                     43/47 

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

  Installing : byacc-1.9.20070509-7.el6.x86_64                            45/47 

  Installing : flex-2.5.35-8.el6.x86_64                                   46/47 

  Installing : bison-2.4.1-5.el6.x86_64                                   47/47 
Installed products updated.

  Verifying  : pakchois-0.4-3.2.el6.x86_64                                 1/47 

  Verifying  : bison-2.4.1-5.el6.x86_64                                    2/47 

  Verifying  : kernel-headers-2.6.32-262.el6.x86_64                        3/47 

  Verifying  : flex-2.5.35-8.el6.x86_64                                    4/47 

  Verifying  : neon-0.29.3-2.el6.x86_64                                    5/47 

  Verifying  : gcc-gfortran-4.4.6-4.el6.x86_64                             6/47 

  Verifying  : glibc-devel-2.12-1.78.el6.x86_64                            7/47 

  Verifying  : mpfr-2.4.1-6.el6.x86_64                                     8/47 

  Verifying  : cpp-4.4.6-4.el6.x86_64                                      9/47 

  Verifying  : systemtap-client-1.7-3.el6.x86_64                          10/47 

  Verifying  : byacc-1.9.20070509-7.el6.x86_64                            11/47 

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

  Verifying  : libproxy-bin-0.3.0-2.el6.x86_64                            13/47 

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

  Verifying  : ctags-5.8-2.el6.x86_64                                     15/47 

  Verifying  : cscope-15.6-6.el6.x86_64                                   16/47 

  Verifying  : systemtap-1.7-3.el6.x86_64                                 17/47 

  Verifying  : rcs-5.7-37.el6.x86_64                                      18/47 

  Verifying  : gcc-c++-4.4.6-4.el6.x86_64                                 19/47 

  Verifying  : libstdc++-devel-4.4.6-4.el6.x86_64                         20/47 

  Verifying  : glibc-headers-2.12-1.78.el6.x86_64                         21/47 

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

  Verifying  : ppl-0.10.2-11.el6.x86_64                                   23/47 

  Verifying  : 1:doxygen-1.6.1-6.el6.x86_64                               24/47 

  Verifying  : cloog-ppl-0.15.7-1.2.el6.x86_64                            25/47 

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

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

  Verifying  : gettext-devel-0.17-16.el6.x86_64                           28/47 

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

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

  Verifying  : gcc-4.4.6-4.el6.x86_64                                     31/47 

  Verifying  : apr-1.3.9-3.el6_1.2.x86_64                                 32/47 

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

  Verifying  : diffstat-1.51-2.el6.x86_64                                 34/47 

  Verifying  : git-1.7.1-2.el6_0.1.x86_64                                 35/47 

  Verifying  : libgcj-4.4.6-4.el6.x86_64                                  36/47 

  Verifying  : gettext-libs-0.17-16.el6.x86_64                            37/47 

  Verifying  : indent-2.2.10-7.el6.x86_64                                 38/47 

  Verifying  : systemtap-devel-1.7-3.el6.x86_64                           39/47 

  Verifying  : kernel-devel-2.6.32-262.el6.x86_64                         40/47 

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

  Verifying  : swig-1.3.40-6.el6.x86_64                                   42/47 

  Verifying  : rpm-build-4.8.0-27.el6.x86_64                              43/47 

  Verifying  : libproxy-0.3.0-2.el6.x86_64                                44/47 

  Verifying  : libtool-2.2.6-15.5.el6.x86_64                              45/47 

  Verifying  : subversion-1.6.11-6.el6.x86_64                             46/47 

  Verifying  : libart_lgpl-2.3.20-5.1.el6.x86_64                          47/47 

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

Dependency Installed:
  apr.x86_64 0:1.3.9-3.el6_1.2          apr-util.x86_64 0:1.3.9-3.el6_0.1      
  cloog-ppl.x86_64 0:0.15.7-1.2.el6     cpp.x86_64 0:4.4.6-4.el6               
  gettext-devel.x86_64 0:0.17-16.el6    gettext-libs.x86_64 0:0.17-16.el6      
  glibc-devel.x86_64 0:2.12-1.78.el6    glibc-headers.x86_64 0:2.12-1.78.el6   
  kernel-devel.x86_64 0:2.6.32-262.el6  kernel-headers.x86_64 0:2.6.32-262.el6 
  libart_lgpl.x86_64 0:2.3.20-5.1.el6   libgcj.x86_64 0:4.4.6-4.el6            
  libproxy.x86_64 0:0.3.0-2.el6         libproxy-bin.x86_64 0:0.3.0-2.el6      
  libproxy-python.x86_64 0:0.3.0-2.el6  libstdc++-devel.x86_64 0:4.4.6-4.el6   
  mpfr.x86_64 0:2.4.1-6.el6             neon.x86_64 0:0.29.3-2.el6             
  pakchois.x86_64 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.x86_64 0:0.10.2-11.el6             
  systemtap-client.x86_64 0:1.7-3.el6   systemtap-devel.x86_64 0:1.7-3.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
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 bash.x86_64 0:4.1.2-8.el6 will be updated
---> Package bash.x86_64 0:4.1.2-9.el6_2 will be an update
---> Package dmidecode.x86_64 1:2.11-2.el6 will be updated
---> Package dmidecode.x86_64 1:2.11-2.el6_1 will be an update
---> Package libgcrypt.x86_64 0:1.4.5-9.el6 will be updated
---> Package libgcrypt.x86_64 0:1.4.5-9.el6_2.2 will be an update
---> Package libpng.x86_64 2:1.2.48-1.el6_2 will be updated
---> Package libpng.x86_64 2:1.2.49-1.el6_2 will be an update
---> Package net-tools.x86_64 0:1.60-109.el6 will be updated
---> Package net-tools.x86_64 0:1.60-110.el6_2 will be an update
---> Package openssl.x86_64 0:1.0.0-20.el6_2.3 will be updated
---> Package openssl.x86_64 0:1.0.0-20.el6_2.4 will be an update
---> Package pam.x86_64 0:1.1.1-10.el6 will be updated
---> Package pam.x86_64 0:1.1.1-10.el6_2.1 will be an update
---> Package sudo.x86_64 0:1.7.4p5-8.el6 will be updated
---> Package sudo.x86_64 0:1.7.4p5-9.el6_2 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package   Arch   Version             Repository                           Size
================================================================================
Updating:
 bash      x86_64 4.1.2-9.el6_2       rhui-us-east-1-rhel-server-releases 903 k
 dmidecode x86_64 1:2.11-2.el6_1      rhui-us-east-1-rhel-server-releases  71 k
 libgcrypt x86_64 1.4.5-9.el6_2.2     rhui-us-east-1-rhel-server-releases 228 k
 libpng    x86_64 2:1.2.49-1.el6_2    rhui-us-east-1-rhel-server-releases 182 k
 net-tools x86_64 1.60-110.el6_2      rhui-us-east-1-rhel-server-releases 268 k
 openssl   x86_64 1.0.0-20.el6_2.4    rhui-us-east-1-rhel-server-releases 1.4 M
 pam       x86_64 1.1.1-10.el6_2.1    rhui-us-east-1-rhel-server-releases 656 k
 sudo      x86_64 1.7.4p5-9.el6_2     rhui-us-east-1-rhel-server-releases 419 k

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

Total download size: 4.0 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           2.6 MB/s | 4.0 MB     00:01     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Updating   : bash-4.1.2-9.el6_2.x86_64                                   1/16 

  Updating   : pam-1.1.1-10.el6_2.1.x86_64                                 2/16 

  Updating   : sudo-1.7.4p5-9.el6_2.x86_64                                 3/16 

  Updating   : openssl-1.0.0-20.el6_2.4.x86_64                             4/16 

  Updating   : 2:libpng-1.2.49-1.el6_2.x86_64                              5/16 

  Updating   : net-tools-1.60-110.el6_2.x86_64                             6/16 

  Updating   : libgcrypt-1.4.5-9.el6_2.2.x86_64                            7/16 

  Updating   : 1:dmidecode-2.11-2.el6_1.x86_64                             8/16 

  Cleanup    : sudo-1.7.4p5-8.el6.x86_64                                   9/16 

  Cleanup    : pam-1.1.1-10.el6.x86_64                                    10/16 

  Cleanup    : openssl-1.0.0-20.el6_2.3.x86_64                            11/16 

  Cleanup    : bash-4.1.2-8.el6.x86_64                                    12/16 

  Cleanup    : 2:libpng-1.2.48-1.el6_2.x86_64                             13/16 

  Cleanup    : net-tools-1.60-109.el6.x86_64                              14/16 

  Cleanup    : libgcrypt-1.4.5-9.el6.x86_64                               15/16 

  Cleanup    : 1:dmidecode-2.11-2.el6.x86_64                              16/16 
Installed products updated.

  Verifying  : 1:dmidecode-2.11-2.el6_1.x86_64                             1/16 

  Verifying  : libgcrypt-1.4.5-9.el6_2.2.x86_64                            2/16 

  Verifying  : pam-1.1.1-10.el6_2.1.x86_64                                 3/16 

  Verifying  : bash-4.1.2-9.el6_2.x86_64                                   4/16 

  Verifying  : net-tools-1.60-110.el6_2.x86_64                             5/16 

  Verifying  : openssl-1.0.0-20.el6_2.4.x86_64                             6/16 

  Verifying  : 2:libpng-1.2.49-1.el6_2.x86_64                              7/16 

  Verifying  : sudo-1.7.4p5-9.el6_2.x86_64                                 8/16 

  Verifying  : libgcrypt-1.4.5-9.el6.x86_64                                9/16 

  Verifying  : net-tools-1.60-109.el6.x86_64                              10/16 

  Verifying  : sudo-1.7.4p5-8.el6.x86_64                                  11/16 

  Verifying  : 1:dmidecode-2.11-2.el6.x86_64                              12/16 

  Verifying  : bash-4.1.2-8.el6.x86_64                                    13/16 

  Verifying  : openssl-1.0.0-20.el6_2.3.x86_64                            14/16 

  Verifying  : pam-1.1.1-10.el6.x86_64                                    15/16 

  Verifying  : 2:libpng-1.2.48-1.el6_2.x86_64                             16/16 

Updated:
  bash.x86_64 0:4.1.2-9.el6_2             dmidecode.x86_64 1:2.11-2.el6_1       
  libgcrypt.x86_64 0:1.4.5-9.el6_2.2      libpng.x86_64 2:1.2.49-1.el6_2        
  net-tools.x86_64 0:1.60-110.el6_2       openssl.x86_64 0:1.0.0-20.el6_2.4     
  pam.x86_64 0:1.1.1-10.el6_2.1           sudo.x86_64 0:1.7.4p5-9.el6_2         

Complete! 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no fa1lures in rpm package ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'failure in rpm package' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no rpm scriplet fa1lures ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'scriptlet failed, exit status 1' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify package removal... 
######################################################################################
COMMAND: /bin/rpm -e zsh
RETURN CODE: 0
COMMAND:  /bin/rpm -q zsh
RESULT: package zsh is not installed 
EXPECTED RESULT: package zsh is not installed
RETURN CODE: 1
PASS
######################################################################################
# NEW TEST: ## 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 no missing packages ... ## test repo files ... ## test repo files ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 7 mkovacik 2012-05-18 10:32:11 UTC
IMAGE ID= 
=====image_validation.sh Fri May 18 06:29:25 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-72-87-173.compute-1.amazonaws.com with Image Id : ami-48bc1b21, is launched with Instance Id : i-53176035 , Instance Type : m2.xlarge and Arch : x86_64 in the Region : us-east-1d
The Validate Signature is : dtq6sRK5f9yGbcI6sZc49XvEHdpXdv7qluVNfWpa1BGfvidb2Av1klQzqN68XcCjZblBYjC7Zrz+
47GM0yebjMJubvvJSCTKm8NRg5jdatVC/9Ek8h4LEc0jHhGy1hiwh31UkfC6M/Jl/xN3Dh9LzoNt
QWWKlDCzN2O/LzkClyE=
This is a Cloud Access image
/root/valid/src
ip-10-115-65-159
Red Hat Enterprise Linux Server release 6.3 Beta (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################
ami is a BETA
######################################################################################
# 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 
RESULT: 27 
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-72-87-173.compute-1.amazonaws.com with Image Id : ami-48bc1b21, is launched with Instance Id : i-53176035 , Instance Type : m2.xlarge and Arch : x86_64 in the Region : us-east-1d
The Validate Signature is : dtq6sRK5f9yGbcI6sZc49XvEHdpXdv7qluVNfWpa1BGfvidb2Av1klQzqN68XcCjZblBYjC7Zrz+
47GM0yebjMJubvvJSCTKm8NRg5jdatVC/9Ek8h4LEc0jHhGy1hiwh31UkfC6M/Jl/xN3Dh9LzoNt
QWWKlDCzN2O/LzkClyE=
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
SKIPPING TEST, BETA DETECTED
######################################################################################
# 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 17524268 > hwp MEMORY of 17100000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify nameserver ... 
######################################################################################
COMMAND:  /usr/bin/dig clock.redhat.com 2>> /root/valid/src/validate.log | grep 66.187.233.4  | wc -l
RESULT: 1 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify networking ... 
######################################################################################
COMMAND:  grep ^NETWORKING= /etc/sysconfig/network | cut -d\= -f2
RESULT: yes 
EXPECTED RESULT: yes
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify device ... 
######################################################################################
COMMAND:  grep ^DEVICE= /etc/sysconfig/network-scripts/ifcfg-eth0 | cut -d\= -f2
RESULT: eth0 
EXPECTED RESULT: eth0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no missing packages ... 
######################################################################################
COMMAND: /bin/rpm -qa --queryformat='%{NAME}\n' > /tmp/rpmqa.tmp
RETURN CODE: 0
COMMAND: comm -23 packages_63 /tmp/rpmqa
RETURN CODE: 0
COUNT = 0
COMMAND:  echo test failed
RESULT: test failed 
EXPECTED RESULT: 1
RETURN CODE: 0
FAIL2
test failed
######################################################################################
# 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: 4 
EXPECTED RESULT: 2
RETURN CODE: 0
FAIL2
4
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-115-65-159
Red Hat Enterprise Linux Server release 6.3 Beta (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################
ami is a BETA
######################################################################################
# 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 ... 
######################################################################################
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-262.el6.x86_64
Detected uname kernel version: 2.6.32-262.el6.x86_64
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-262.el6.x86_64
RESULT: title RHEL6.3-20120416.0-Server-x86_64-starter-ec2 (2.6.32-262.el6.x86_64)
        kernel /boot/vmlinuz-2.6.32-262.el6.x86_64 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-262.el6.x86_64.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

Comment 8 mkovacik 2012-05-18 10:32:15 UTC
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.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-client-config-server-6             Red Hat Update Infrastr     1
rhui-us-east-1-client-config-server-6-beta        Red Hat Update Infrastr     0
rhui-us-east-1-rhel-server-releases               Red Hat Enterprise Linu 7,211
rhui-us-east-1-rhel-server-releases-beta          Red Hat Enterprise Linu 1,068
rhui-us-east-1-rhel-server-releases-optional      Red Hat Enterprise Linu 4,400
rhui-us-east-1-rhel-server-releases-optional-beta Red Hat Enterprise Linu 2,440
repolist: 15,120 
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.x86_64 : Tab completion for Zsh and Twisted Core
zsh-html.x86_64 : Zsh shell manual in html format
zsh.x86_64 : 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
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID f21541eb: NOKEY
Importing GPG key 0xF21541EB:
 Userid : Red Hat, Inc. (beta key 2) <security>
 Package: redhat-release-server-6Server-6.3.0.2.el6.x86_64 (@koji-override-0/$releasever)
 From   : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
Importing GPG key 0x897DA07A:
 Userid : Red Hat, Inc. (Beta Test Software) <rawhide>
 Package: redhat-release-server-6Server-6.3.0.2.el6.x86_64 (@koji-override-0/$releasever)
 From   : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
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: ## 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.x86_64 already installed and latest version
Package patch-2.6-6.el6.x86_64 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version
Package gettext-0.17-16.el6.x86_64 already installed and latest version
Package binutils-2.20.51.0.2-5.32.el6.x86_64 already installed and latest version
Package elfutils-0.152-1.el6.x86_64 already installed and latest version
Package cvs-1.11.23-11.el6_2.1.x86_64 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.x86_64 0:2.4.1-5.el6 will be installed
---> Package byacc.x86_64 0:1.9.20070509-7.el6 will be installed
---> Package cscope.x86_64 0:15.6-6.el6 will be installed
---> Package ctags.x86_64 0:5.8-2.el6 will be installed
---> Package diffstat.x86_64 0:1.51-2.el6 will be installed
---> Package doxygen.x86_64 1:1.6.1-6.el6 will be installed
---> Package flex.x86_64 0:2.5.35-8.el6 will be installed
---> Package gcc.x86_64 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.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-4.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-4.el6.x86_64
---> Package gcc-c++.x86_64 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.x86_64
--> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.6-4.el6.x86_64
---> Package gcc-gfortran.x86_64 0:4.4.6-4.el6 will be installed
---> Package git.x86_64 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.x86_64
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64
---> Package indent.x86_64 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.x86_64 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed
---> Package rcs.x86_64 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.x86_64 0:4.8.0-27.el6 will be installed
---> Package subversion.x86_64 0:1.6.11-6.el6 will be installed
--> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-6.el6.x86_64
--> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-6.el6.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-6.el6.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-6.el6.x86_64
---> Package swig.x86_64 0:1.3.40-6.el6 will be installed
---> Package systemtap.x86_64 0:1.7-3.el6 will be installed
--> Processing Dependency: systemtap-devel = 1.7-3.el6 for package: systemtap-1.7-3.el6.x86_64
--> Processing Dependency: systemtap-client = 1.7-3.el6 for package: systemtap-1.7-3.el6.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.6-4.el6 will be installed
---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
---> Package glibc-devel.x86_64 0:2.12-1.78.el6 will be installed
--> Processing Dependency: glibc-headers = 2.12-1.78.el6 for package: glibc-devel-2.12-1.78.el6.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.78.el6.x86_64
---> Package libstdc++-devel.x86_64 0:4.4.6-4.el6 will be installed
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
---> Package neon.x86_64 0:0.29.3-2.el6 will be installed
--> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-2.el6.x86_64
--> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-2.el6.x86_64
---> 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.x86_64 0:1.7-3.el6 will be installed
---> Package systemtap-devel.x86_64 0:1.7-3.el6 will be installed
--> Processing Dependency: kernel-devel for package: systemtap-devel-1.7-3.el6.x86_64
--> Running transaction check
---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed
---> Package glibc-headers.x86_64 0:2.12-1.78.el6 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.78.el6.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.78.el6.x86_64
---> Package kernel-devel.x86_64 0:2.6.32-262.el6 will be installed
---> Package libgcj.x86_64 0:4.4.6-4.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-4.el6.x86_64
---> Package libproxy.x86_64 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.x86_64
--> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64
---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
--> Running transaction check
---> Package kernel-headers.x86_64 0:2.6.32-262.el6 will be installed
---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed
---> Package libproxy-python.x86_64 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    x86_64 2.4.1-5.el6     rhui-us-east-1-rhel-server-releases      637 k
 byacc    x86_64 1.9.20070509-7.el6
                                 rhui-us-east-1-rhel-server-releases-beta  48 k
 cscope   x86_64 15.6-6.el6      rhui-us-east-1-rhel-server-releases      136 k
 ctags    x86_64 5.8-2.el6       rhui-us-east-1-rhel-server-releases      147 k
 diffstat x86_64 1.51-2.el6      rhui-us-east-1-rhel-server-releases       29 k
 doxygen  x86_64 1:1.6.1-6.el6   rhui-us-east-1-rhel-server-releases      2.4 M
 flex     x86_64 2.5.35-8.el6    rhui-us-east-1-rhel-server-releases      286 k
 gcc      x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta  10 M
 gcc-c++  x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta 4.7 M
 gcc-gfortran
          x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta 4.7 M
 git      x86_64 1.7.1-2.el6_0.1 rhui-us-east-1-rhel-server-releases      4.6 M
 indent   x86_64 2.2.10-7.el6    rhui-us-east-1-rhel-server-releases-beta 115 k
 intltool noarch 0.41.0-1.1.el6  rhui-us-east-1-rhel-server-releases       58 k
 libtool  x86_64 2.2.6-15.5.el6  rhui-us-east-1-rhel-server-releases      564 k
 patchutils
          x86_64 0.3.1-3.1.el6   rhui-us-east-1-rhel-server-releases       95 k
 rcs      x86_64 5.7-37.el6      rhui-us-east-1-rhel-server-releases      173 k
 redhat-rpm-config
          noarch 9.0.3-39.el6    rhui-us-east-1-rhel-server-releases-beta  58 k
 rpm-build
          x86_64 4.8.0-27.el6    rhui-us-east-1-rhel-server-releases-beta 125 k
 subversion
          x86_64 1.6.11-6.el6    rhui-us-east-1-rhel-server-releases-beta 2.3 M
 swig     x86_64 1.3.40-6.el6    rhui-us-east-1-rhel-server-releases      1.1 M
 systemtap
          x86_64 1.7-3.el6       rhui-us-east-1-rhel-server-releases-beta  25 k
Installing for dependencies:
 apr      x86_64 1.3.9-3.el6_1.2 rhui-us-east-1-rhel-server-releases      123 k
 apr-util x86_64 1.3.9-3.el6_0.1 rhui-us-east-1-rhel-server-releases       87 k
 cloog-ppl
          x86_64 0.15.7-1.2.el6  rhui-us-east-1-rhel-server-releases       93 k
 cpp      x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta 3.7 M
 gettext-devel
          x86_64 0.17-16.el6     rhui-us-east-1-rhel-server-releases      155 k
 gettext-libs
          x86_64 0.17-16.el6     rhui-us-east-1-rhel-server-releases      112 k
 glibc-devel
          x86_64 2.12-1.78.el6   rhui-us-east-1-rhel-server-releases-beta 970 k
 glibc-headers
          x86_64 2.12-1.78.el6   rhui-us-east-1-rhel-server-releases-beta 600 k
 kernel-devel
          x86_64 2.6.32-262.el6  rhui-us-east-1-rhel-server-releases-beta 7.6 M
 kernel-headers
          x86_64 2.6.32-262.el6  rhui-us-east-1-rhel-server-releases-beta 1.9 M
 libart_lgpl
          x86_64 2.3.20-5.1.el6  rhui-us-east-1-rhel-server-releases       65 k
 libgcj   x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta  19 M
 libproxy x86_64 0.3.0-2.el6     rhui-us-east-1-rhel-server-releases       39 k
 libproxy-bin
          x86_64 0.3.0-2.el6     rhui-us-east-1-rhel-server-releases      8.1 k
 libproxy-python
          x86_64 0.3.0-2.el6     rhui-us-east-1-rhel-server-releases      8.3 k
 libstdc++-devel
          x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta 1.5 M
 mpfr     x86_64 2.4.1-6.el6     rhui-us-east-1-rhel-server-releases      156 k
 neon     x86_64 0.29.3-2.el6    rhui-us-east-1-rhel-server-releases-beta 119 k
 pakchois x86_64 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

Comment 9 mkovacik 2012-05-18 10:32:19 UTC
 ppl      x86_64 0.10.2-11.el6   rhui-us-east-1-rhel-server-releases      1.3 M
 systemtap-client
          x86_64 1.7-3.el6       rhui-us-east-1-rhel-server-releases-beta 3.0 M
 systemtap-devel
          x86_64 1.7-3.el6       rhui-us-east-1-rhel-server-releases-beta 1.2 M

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

Total download size: 75 M
Installed size: 192 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           7.1 MB/s |  75 MB     00:10     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Installing : mpfr-2.4.1-6.el6.x86_64                                     1/47 

  Installing : apr-1.3.9-3.el6_1.2.x86_64                                  2/47 

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

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

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

  Installing : git-1.7.1-2.el6_0.1.x86_64                                  6/47 

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

  Installing : apr-util-1.3.9-3.el6_0.1.x86_64                             8/47 

  Installing : cpp-4.4.6-4.el6.x86_64                                      9/47 

  Installing : libproxy-python-0.3.0-2.el6.x86_64                         10/47 

  Installing : libproxy-0.3.0-2.el6.x86_64                                11/47 

  Installing : libproxy-bin-0.3.0-2.el6.x86_64                            12/47 

  Installing : libart_lgpl-2.3.20-5.1.el6.x86_64                          13/47 

  Installing : libgcj-4.4.6-4.el6.x86_64                                  14/47 

  Installing : kernel-devel-2.6.32-262.el6.x86_64                         15/47 

  Installing : gettext-libs-0.17-16.el6.x86_64                            16/47 

  Installing : gettext-devel-0.17-16.el6.x86_64                           17/47 

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

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

  Installing : libstdc++-devel-4.4.6-4.el6.x86_64                         20/47 

  Installing : systemtap-client-1.7-3.el6.x86_64                          21/47 

  Installing : kernel-headers-2.6.32-262.el6.x86_64                       22/47 

  Installing : glibc-headers-2.12-1.78.el6.x86_64                         23/47 

  Installing : glibc-devel-2.12-1.78.el6.x86_64                           24/47 

  Installing : gcc-4.4.6-4.el6.x86_64                                     25/47 

  Installing : systemtap-devel-1.7-3.el6.x86_64                           26/47 

  Installing : pakchois-0.4-3.2.el6.x86_64                                27/47 

  Installing : neon-0.29.3-2.el6.x86_64                                   28/47 

  Installing : subversion-1.6.11-6.el6.x86_64                             29/47 

  Installing : systemtap-1.7-3.el6.x86_64                                 30/47 

  Installing : gcc-gfortran-4.4.6-4.el6.x86_64                            31/47 

  Installing : gcc-c++-4.4.6-4.el6.x86_64                                 32/47 

  Installing : libtool-2.2.6-15.5.el6.x86_64                              33/47 

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

  Installing : rpm-build-4.8.0-27.el6.x86_64                              35/47 

  Installing : swig-1.3.40-6.el6.x86_64                                   36/47 

  Installing : indent-2.2.10-7.el6.x86_64                                 37/47 

  Installing : diffstat-1.51-2.el6.x86_64                                 38/47 

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

  Installing : 1:doxygen-1.6.1-6.el6.x86_64                               40/47 

  Installing : rcs-5.7-37.el6.x86_64                                      41/47 

  Installing : cscope-15.6-6.el6.x86_64                                   42/47 

  Installing : ctags-5.8-2.el6.x86_64                                     43/47 

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

  Installing : byacc-1.9.20070509-7.el6.x86_64                            45/47 

  Installing : flex-2.5.35-8.el6.x86_64                                   46/47 

  Installing : bison-2.4.1-5.el6.x86_64                                   47/47 
Installed products updated.

  Verifying  : pakchois-0.4-3.2.el6.x86_64                                 1/47 

  Verifying  : bison-2.4.1-5.el6.x86_64                                    2/47 

  Verifying  : kernel-headers-2.6.32-262.el6.x86_64                        3/47 

  Verifying  : flex-2.5.35-8.el6.x86_64                                    4/47 

  Verifying  : neon-0.29.3-2.el6.x86_64                                    5/47 

  Verifying  : gcc-gfortran-4.4.6-4.el6.x86_64                             6/47 

  Verifying  : glibc-devel-2.12-1.78.el6.x86_64                            7/47 

  Verifying  : mpfr-2.4.1-6.el6.x86_64                                     8/47 

  Verifying  : cpp-4.4.6-4.el6.x86_64                                      9/47 

  Verifying  : systemtap-client-1.7-3.el6.x86_64                          10/47 

  Verifying  : byacc-1.9.20070509-7.el6.x86_64                            11/47 

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

  Verifying  : libproxy-bin-0.3.0-2.el6.x86_64                            13/47 

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

  Verifying  : ctags-5.8-2.el6.x86_64                                     15/47 

  Verifying  : cscope-15.6-6.el6.x86_64                                   16/47 

  Verifying  : systemtap-1.7-3.el6.x86_64                                 17/47 

  Verifying  : rcs-5.7-37.el6.x86_64                                      18/47 

  Verifying  : gcc-c++-4.4.6-4.el6.x86_64                                 19/47 

  Verifying  : libstdc++-devel-4.4.6-4.el6.x86_64                         20/47 

  Verifying  : glibc-headers-2.12-1.78.el6.x86_64                         21/47 

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

  Verifying  : ppl-0.10.2-11.el6.x86_64                                   23/47 

  Verifying  : 1:doxygen-1.6.1-6.el6.x86_64                               24/47 

  Verifying  : cloog-ppl-0.15.7-1.2.el6.x86_64                            25/47 

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

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

  Verifying  : gettext-devel-0.17-16.el6.x86_64                           28/47 

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

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

  Verifying  : gcc-4.4.6-4.el6.x86_64                                     31/47 

  Verifying  : apr-1.3.9-3.el6_1.2.x86_64                                 32/47 

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

  Verifying  : diffstat-1.51-2.el6.x86_64                                 34/47 

  Verifying  : git-1.7.1-2.el6_0.1.x86_64                                 35/47 

  Verifying  : libgcj-4.4.6-4.el6.x86_64                                  36/47 

  Verifying  : gettext-libs-0.17-16.el6.x86_64                            37/47 

  Verifying  : indent-2.2.10-7.el6.x86_64                                 38/47 

  Verifying  : systemtap-devel-1.7-3.el6.x86_64                           39/47 

  Verifying  : kernel-devel-2.6.32-262.el6.x86_64                         40/47 

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

  Verifying  : swig-1.3.40-6.el6.x86_64                                   42/47 

  Verifying  : rpm-build-4.8.0-27.el6.x86_64                              43/47 

  Verifying  : libproxy-0.3.0-2.el6.x86_64                                44/47 

  Verifying  : libtool-2.2.6-15.5.el6.x86_64                              45/47 

  Verifying  : subversion-1.6.11-6.el6.x86_64                             46/47 

  Verifying  : libart_lgpl-2.3.20-5.1.el6.x86_64                          47/47 

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

Dependency Installed:
  apr.x86_64 0:1.3.9-3.el6_1.2          apr-util.x86_64 0:1.3.9-3.el6_0.1      
  cloog-ppl.x86_64 0:0.15.7-1.2.el6     cpp.x86_64 0:4.4.6-4.el6               
  gettext-devel.x86_64 0:0.17-16.el6    gettext-libs.x86_64 0:0.17-16.el6      
  glibc-devel.x86_64 0:2.12-1.78.el6    glibc-headers.x86_64 0:2.12-1.78.el6   
  kernel-devel.x86_64 0:2.6.32-262.el6  kernel-headers.x86_64 0:2.6.32-262.el6 
  libart_lgpl.x86_64 0:2.3.20-5.1.el6   libgcj.x86_64 0:4.4.6-4.el6            
  libproxy.x86_64 0:0.3.0-2.el6         libproxy-bin.x86_64 0:0.3.0-2.el6      
  libproxy-python.x86_64 0:0.3.0-2.el6  libstdc++-devel.x86_64 0:4.4.6-4.el6   
  mpfr.x86_64 0:2.4.1-6.el6             neon.x86_64 0:0.29.3-2.el6             
  pakchois.x86_64 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.x86_64 0:0.10.2-11.el6             
  systemtap-client.x86_64 0:1.7-3.el6   systemtap-devel.x86_64 0:1.7-3.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
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 bash.x86_64 0:4.1.2-8.el6 will be updated
---> Package bash.x86_64 0:4.1.2-9.el6_2 will be an update
---> Package dmidecode.x86_64 1:2.11-2.el6 will be updated
---> Package dmidecode.x86_64 1:2.11-2.el6_1 will be an update
---> Package libgcrypt.x86_64 0:1.4.5-9.el6 will be updated
---> Package libgcrypt.x86_64 0:1.4.5-9.el6_2.2 will be an update
---> Package libpng.x86_64 2:1.2.48-1.el6_2 will be updated
---> Package libpng.x86_64 2:1.2.49-1.el6_2 will be an update
---> Package net-tools.x86_64 0:1.60-109.el6 will be updated
---> Package net-tools.x86_64 0:1.60-110.el6_2 will be an update
---> Package openssl.x86_64 0:1.0.0-20.el6_2.3 will be updated
---> Package openssl.x86_64 0:1.0.0-20.el6_2.4 will be an update
---> Package pam.x86_64 0:1.1.1-10.el6 will be updated
---> Package pam.x86_64 0:1.1.1-10.el6_2.1 will be an update
---> Package sudo.x86_64 0:1.7.4p5-8.el6 will be updated
---> Package sudo.x86_64 0:1.7.4p5-9.el6_2 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package   Arch   Version             Repository                           Size
================================================================================
Updating:
 bash      x86_64 4.1.2-9.el6_2       rhui-us-east-1-rhel-server-releases 903 k
 dmidecode x86_64 1:2.11-2.el6_1      rhui-us-east-1-rhel-server-releases  71 k
 libgcrypt x86_64 1.4.5-9.el6_2.2     rhui-us-east-1-rhel-server-releases 228 k
 libpng    x86_64 2:1.2.49-1.el6_2    rhui-us-east-1-rhel-server-releases 182 k
 net-tools x86_64 1.60-110.el6_2      rhui-us-east-1-rhel-server-releases 268 k
 openssl   x86_64 1.0.0-20.el6_2.4    rhui-us-east-1-rhel-server-releases 1.4 M
 pam       x86_64 1.1.1-10.el6_2.1    rhui-us-east-1-rhel-server-releases 656 k
 sudo      x86_64 1.7.4p5-9.el6_2     rhui-us-east-1-rhel-server-releases 419 k

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

Total download size: 4.0 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           3.0 MB/s | 4.0 MB     00:01     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Updating   : bash-4.1.2-9.el6_2.x86_64                                   1/16 

  Updating   : pam-1.1.1-10.el6_2.1.x86_64                                 2/16 

  Updating   : sudo-1.7.4p5-9.el6_2.x86_64                                 3/16 

  Updating   : openssl-1.0.0-20.el6_2.4.x86_64                             4/16 

  Updating   : 2:libpng-1.2.49-1.el6_2.x86_64                              5/16 

  Updating   : net-tools-1.60-110.el6_2.x86_64                             6/16 

  Updating   : libgcrypt-1.4.5-9.el6_2.2.x86_64                            7/16 

  Updating   : 1:dmidecode-2.11-2.el6_1.x86_64                             8/16 

  Cleanup    : sudo-1.7.4p5-8.el6.x86_64                                   9/16 

  Cleanup    : pam-1.1.1-10.el6.x86_64                                    10/16 

  Cleanup    : openssl-1.0.0-20.el6_2.3.x86_64                            11/16 

  Cleanup    : bash-4.1.2-8.el6.x86_64                                    12/16 

  Cleanup    : 2:libpng-1.2.48-1.el6_2.x86_64                             13/16 

  Cleanup    : net-tools-1.60-109.el6.x86_64                              14/16 

  Cleanup    : libgcrypt-1.4.5-9.el6.x86_64                               15/16 

  Cleanup    : 1:dmidecode-2.11-2.el6.x86_64                              16/16 
Installed products updated.

  Verifying  : 1:dmidecode-2.11-2.el6_1.x86_64                             1/16 

  Verifying  : libgcrypt-1.4.5-9.el6_2.2.x86_64                            2/16 

  Verifying  : pam-1.1.1-10.el6_2.1.x86_64                                 3/16 

  Verifying  : bash-4.1.2-9.el6_2.x86_64                                   4/16 

  Verifying  : net-tools-1.60-110.el6_2.x86_64                             5/16 

  Verifying  : openssl-1.0.0-20.el6_2.4.x86_64                             6/16 

  Verifying  : 2:libpng-1.2.49-1.el6_2.x86_64                              7/16 

  Verifying  : sudo-1.7.4p5-9.el6_2.x86_64                                 8/16 

  Verifying  : libgcrypt-1.4.5-9.el6.x86_64                                9/16 

  Verifying  : net-tools-1.60-109.el6.x86_64                              10/16 

  Verifying  : sudo-1.7.4p5-8.el6.x86_64                                  11/16 

  Verifying  : 1:dmidecode-2.11-2.el6.x86_64                              12/16 

  Verifying  : bash-4.1.2-8.el6.x86_64                                    13/16 

  Verifying  : openssl-1.0.0-20.el6_2.3.x86_64                            14/16 

  Verifying  : pam-1.1.1-10.el6.x86_64                                    15/16 

  Verifying  : 2:libpng-1.2.48-1.el6_2.x86_64                             16/16 

Updated:
  bash.x86_64 0:4.1.2-9.el6_2             dmidecode.x86_64 1:2.11-2.el6_1       
  libgcrypt.x86_64 0:1.4.5-9.el6_2.2      libpng.x86_64 2:1.2.49-1.el6_2        
  net-tools.x86_64 0:1.60-110.el6_2       openssl.x86_64 0:1.0.0-20.el6_2.4     
  pam.x86_64 0:1.1.1-10.el6_2.1           sudo.x86_64 0:1.7.4p5-9.el6_2         

Complete! 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no fa1lures in rpm package ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'failure in rpm package' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no rpm scriplet fa1lures ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'scriptlet failed, exit status 1' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify package removal... 
######################################################################################
COMMAND: /bin/rpm -e zsh
RETURN CODE: 0
COMMAND:  /bin/rpm -q zsh
RESULT: package zsh is not installed 
EXPECTED RESULT: package zsh is not installed
RETURN CODE: 1
PASS
######################################################################################
# NEW TEST: ## 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 no missing packages ... ## test repo files ... ## test repo files ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 10 mkovacik 2012-05-18 10:34:15 UTC
IMAGE ID= ami-48bc1b21_us-east-1_m1.xlarge
###### TEST KERNEL AFTER REBOOT ####  
######################################################################################
# NEW TEST: ## Verify disabled yum plugin ... 
######################################################################################
COMMAND:  grep ^enabled /etc/yum/pluginconf.d/rhnplugin.conf | grep -v '^#' | cut -d\= -f2 | awk '{print }' | sort -f | uniq
RESULT:  0 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify kernel name ... 
######################################################################################
COMMAND:  /bin/uname -s
RESULT: Linux 
EXPECTED RESULT: Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest installed kernel is running ... 
######################################################################################
Detected rpm kernel version: 2.6.32-262.el6.x86_64
Detected uname kernel version: 2.6.32-262.el6.x86_64
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-262.el6.x86_64
RESULT: title RHEL6.3-20120416.0-Server-x86_64-starter-ec2 (2.6.32-262.el6.x86_64)
        kernel /boot/vmlinuz-2.6.32-262.el6.x86_64 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-262.el6.x86_64.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 15371764 > hwp MEMORY of 15000000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
hostname
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################

## Summary ##
FAILURES = 3
FAILED TESTS = ## Verify no missing packages ... ## test repo files ... ## test repo files ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 11 mkovacik 2012-05-18 10:34:16 UTC
IMAGE ID= 
=====image_validation.sh Fri May 18 06:31:30 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-124-124.compute-1.amazonaws.com with Image Id : ami-48bc1b21, is launched with Instance Id : i-7f166119 , Instance Type : m2.2xlarge and Arch : x86_64 in the Region : us-east-1d
The Validate Signature is : GmTgAVlKU5dArklWc3lpXQ3lWG5flQW4075dHceOJs36Z/mhsaaTiFWqKUU1+pzn+DmB2zvdeUIF
wJVnCK9cHYPrd2jQd+PGoExH3+tNJ/RidhVH/TAJktH2ntZ03CiUWlFD2ZpCdXmQqFOvuMx25dS9
CC+EoBjF98Q6D9az2u0=
This is a Cloud Access image
/root/valid/src
ip-10-119-69-36
Red Hat Enterprise Linux Server release 6.3 Beta (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################
ami is a BETA
######################################################################################
# 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 
RESULT: 27 
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-124-124.compute-1.amazonaws.com with Image Id : ami-48bc1b21, is launched with Instance Id : i-7f166119 , Instance Type : m2.2xlarge and Arch : x86_64 in the Region : us-east-1d
The Validate Signature is : GmTgAVlKU5dArklWc3lpXQ3lWG5flQW4075dHceOJs36Z/mhsaaTiFWqKUU1+pzn+DmB2zvdeUIF
wJVnCK9cHYPrd2jQd+PGoExH3+tNJ/RidhVH/TAJktH2ntZ03CiUWlFD2ZpCdXmQqFOvuMx25dS9
CC+EoBjF98Q6D9az2u0=
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
SKIPPING TEST, BETA DETECTED
######################################################################################
# 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 35127956 > hwp MEMORY of 34200000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify nameserver ... 
######################################################################################
COMMAND:  /usr/bin/dig clock.redhat.com 2>> /root/valid/src/validate.log | grep 66.187.233.4  | wc -l
RESULT: 1 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify networking ... 
######################################################################################
COMMAND:  grep ^NETWORKING= /etc/sysconfig/network | cut -d\= -f2
RESULT: yes 
EXPECTED RESULT: yes
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify device ... 
######################################################################################
COMMAND:  grep ^DEVICE= /etc/sysconfig/network-scripts/ifcfg-eth0 | cut -d\= -f2
RESULT: eth0 
EXPECTED RESULT: eth0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no missing packages ... 
######################################################################################
COMMAND: /bin/rpm -qa --queryformat='%{NAME}\n' > /tmp/rpmqa.tmp
RETURN CODE: 0
COMMAND: comm -23 packages_63 /tmp/rpmqa
RETURN CODE: 0
COUNT = 0
COMMAND:  echo test failed
RESULT: test failed 
EXPECTED RESULT: 1
RETURN CODE: 0
FAIL2
test failed
######################################################################################
# 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: 4 
EXPECTED RESULT: 2
RETURN CODE: 0
FAIL2
4
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-119-69-36
Red Hat Enterprise Linux Server release 6.3 Beta (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################
ami is a BETA
######################################################################################
# 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 ... 
######################################################################################
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-262.el6.x86_64
Detected uname kernel version: 2.6.32-262.el6.x86_64
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-262.el6.x86_64
RESULT: title RHEL6.3-20120416.0-Server-x86_64-starter-ec2 (2.6.32-262.el6.x86_64)
        kernel /boot/vmlinuz-2.6.32-262.el6.x86_64 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-262.el6.x86_64.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

Comment 12 mkovacik 2012-05-18 10:34:20 UTC
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.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-client-config-server-6             Red Hat Update Infrastr     1
rhui-us-east-1-client-config-server-6-beta        Red Hat Update Infrastr     0
rhui-us-east-1-rhel-server-releases               Red Hat Enterprise Linu 7,211
rhui-us-east-1-rhel-server-releases-beta          Red Hat Enterprise Linu 1,068
rhui-us-east-1-rhel-server-releases-optional      Red Hat Enterprise Linu 4,400
rhui-us-east-1-rhel-server-releases-optional-beta Red Hat Enterprise Linu 2,440
repolist: 15,120 
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.x86_64 : Tab completion for Zsh and Twisted Core
zsh-html.x86_64 : Zsh shell manual in html format
zsh.x86_64 : 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
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID f21541eb: NOKEY
Importing GPG key 0xF21541EB:
 Userid : Red Hat, Inc. (beta key 2) <security>
 Package: redhat-release-server-6Server-6.3.0.2.el6.x86_64 (@koji-override-0/$releasever)
 From   : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
Importing GPG key 0x897DA07A:
 Userid : Red Hat, Inc. (Beta Test Software) <rawhide>
 Package: redhat-release-server-6Server-6.3.0.2.el6.x86_64 (@koji-override-0/$releasever)
 From   : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
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: ## 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.x86_64 already installed and latest version
Package patch-2.6-6.el6.x86_64 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version
Package gettext-0.17-16.el6.x86_64 already installed and latest version
Package binutils-2.20.51.0.2-5.32.el6.x86_64 already installed and latest version
Package elfutils-0.152-1.el6.x86_64 already installed and latest version
Package cvs-1.11.23-11.el6_2.1.x86_64 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.x86_64 0:2.4.1-5.el6 will be installed
---> Package byacc.x86_64 0:1.9.20070509-7.el6 will be installed
---> Package cscope.x86_64 0:15.6-6.el6 will be installed
---> Package ctags.x86_64 0:5.8-2.el6 will be installed
---> Package diffstat.x86_64 0:1.51-2.el6 will be installed
---> Package doxygen.x86_64 1:1.6.1-6.el6 will be installed
---> Package flex.x86_64 0:2.5.35-8.el6 will be installed
---> Package gcc.x86_64 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.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-4.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-4.el6.x86_64
---> Package gcc-c++.x86_64 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.x86_64
--> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.6-4.el6.x86_64
---> Package gcc-gfortran.x86_64 0:4.4.6-4.el6 will be installed
---> Package git.x86_64 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.x86_64
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64
---> Package indent.x86_64 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.x86_64 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed
---> Package rcs.x86_64 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.x86_64 0:4.8.0-27.el6 will be installed
---> Package subversion.x86_64 0:1.6.11-6.el6 will be installed
--> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-6.el6.x86_64
--> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-6.el6.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-6.el6.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-6.el6.x86_64
---> Package swig.x86_64 0:1.3.40-6.el6 will be installed
---> Package systemtap.x86_64 0:1.7-3.el6 will be installed
--> Processing Dependency: systemtap-devel = 1.7-3.el6 for package: systemtap-1.7-3.el6.x86_64
--> Processing Dependency: systemtap-client = 1.7-3.el6 for package: systemtap-1.7-3.el6.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.6-4.el6 will be installed
---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
---> Package glibc-devel.x86_64 0:2.12-1.78.el6 will be installed
--> Processing Dependency: glibc-headers = 2.12-1.78.el6 for package: glibc-devel-2.12-1.78.el6.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.78.el6.x86_64
---> Package libstdc++-devel.x86_64 0:4.4.6-4.el6 will be installed
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
---> Package neon.x86_64 0:0.29.3-2.el6 will be installed
--> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-2.el6.x86_64
--> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-2.el6.x86_64
---> 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.x86_64 0:1.7-3.el6 will be installed
---> Package systemtap-devel.x86_64 0:1.7-3.el6 will be installed
--> Processing Dependency: kernel-devel for package: systemtap-devel-1.7-3.el6.x86_64
--> Running transaction check
---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed
---> Package glibc-headers.x86_64 0:2.12-1.78.el6 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.78.el6.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.78.el6.x86_64
---> Package kernel-devel.x86_64 0:2.6.32-262.el6 will be installed
---> Package libgcj.x86_64 0:4.4.6-4.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-4.el6.x86_64
---> Package libproxy.x86_64 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.x86_64
--> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64
---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
--> Running transaction check
---> Package kernel-headers.x86_64 0:2.6.32-262.el6 will be installed
---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed
---> Package libproxy-python.x86_64 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    x86_64 2.4.1-5.el6     rhui-us-east-1-rhel-server-releases      637 k
 byacc    x86_64 1.9.20070509-7.el6
                                 rhui-us-east-1-rhel-server-releases-beta  48 k
 cscope   x86_64 15.6-6.el6      rhui-us-east-1-rhel-server-releases      136 k
 ctags    x86_64 5.8-2.el6       rhui-us-east-1-rhel-server-releases      147 k
 diffstat x86_64 1.51-2.el6      rhui-us-east-1-rhel-server-releases       29 k
 doxygen  x86_64 1:1.6.1-6.el6   rhui-us-east-1-rhel-server-releases      2.4 M
 flex     x86_64 2.5.35-8.el6    rhui-us-east-1-rhel-server-releases      286 k
 gcc      x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta  10 M
 gcc-c++  x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta 4.7 M
 gcc-gfortran
          x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta 4.7 M
 git      x86_64 1.7.1-2.el6_0.1 rhui-us-east-1-rhel-server-releases      4.6 M
 indent   x86_64 2.2.10-7.el6    rhui-us-east-1-rhel-server-releases-beta 115 k
 intltool noarch 0.41.0-1.1.el6  rhui-us-east-1-rhel-server-releases       58 k
 libtool  x86_64 2.2.6-15.5.el6  rhui-us-east-1-rhel-server-releases      564 k
 patchutils
          x86_64 0.3.1-3.1.el6   rhui-us-east-1-rhel-server-releases       95 k
 rcs      x86_64 5.7-37.el6      rhui-us-east-1-rhel-server-releases      173 k
 redhat-rpm-config
          noarch 9.0.3-39.el6    rhui-us-east-1-rhel-server-releases-beta  58 k
 rpm-build
          x86_64 4.8.0-27.el6    rhui-us-east-1-rhel-server-releases-beta 125 k
 subversion
          x86_64 1.6.11-6.el6    rhui-us-east-1-rhel-server-releases-beta 2.3 M
 swig     x86_64 1.3.40-6.el6    rhui-us-east-1-rhel-server-releases      1.1 M
 systemtap
          x86_64 1.7-3.el6       rhui-us-east-1-rhel-server-releases-beta  25 k
Installing for dependencies:
 apr      x86_64 1.3.9-3.el6_1.2 rhui-us-east-1-rhel-server-releases      123 k
 apr-util x86_64 1.3.9-3.el6_0.1 rhui-us-east-1-rhel-server-releases       87 k
 cloog-ppl
          x86_64 0.15.7-1.2.el6  rhui-us-east-1-rhel-server-releases       93 k
 cpp      x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta 3.7 M
 gettext-devel
          x86_64 0.17-16.el6     rhui-us-east-1-rhel-server-releases      155 k
 gettext-libs
          x86_64 0.17-16.el6     rhui-us-east-1-rhel-server-releases      112 k
 glibc-devel
          x86_64 2.12-1.78.el6   rhui-us-east-1-rhel-server-releases-beta 970 k
 glibc-headers
          x86_64 2.12-1.78.el6   rhui-us-east-1-rhel-server-releases-beta 600 k
 kernel-devel
          x86_64 2.6.32-262.el6  rhui-us-east-1-rhel-server-releases-beta 7.6 M
 kernel-headers
          x86_64 2.6.32-262.el6  rhui-us-east-1-rhel-server-releases-beta 1.9 M
 libart_lgpl
          x86_64 2.3.20-5.1.el6  rhui-us-east-1-rhel-server-releases       65 k
 libgcj   x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta  19 M
 libproxy x86_64 0.3.0-2.el6     rhui-us-east-1-rhel-server-releases       39 k
 libproxy-bin
          x86_64 0.3.0-2.el6     rhui-us-east-1-rhel-server-releases      8.1 k
 libproxy-python
          x86_64 0.3.0-2.el6     rhui-us-east-1-rhel-server-releases      8.3 k
 libstdc++-devel
          x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta 1.5 M
 mpfr     x86_64 2.4.1-6.el6     rhui-us-east-1-rhel-server-releases      156 k
 neon     x86_64 0.29.3-2.el6    rhui-us-east-1-rhel-server-releases-beta 119 k
 pakchois x86_64 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

Comment 13 mkovacik 2012-05-18 10:34:23 UTC
 ppl      x86_64 0.10.2-11.el6   rhui-us-east-1-rhel-server-releases      1.3 M
 systemtap-client
          x86_64 1.7-3.el6       rhui-us-east-1-rhel-server-releases-beta 3.0 M
 systemtap-devel
          x86_64 1.7-3.el6       rhui-us-east-1-rhel-server-releases-beta 1.2 M

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

Total download size: 75 M
Installed size: 192 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           7.9 MB/s |  75 MB     00:09     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Installing : mpfr-2.4.1-6.el6.x86_64                                     1/47 

  Installing : apr-1.3.9-3.el6_1.2.x86_64                                  2/47 

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

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

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

  Installing : git-1.7.1-2.el6_0.1.x86_64                                  6/47 

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

  Installing : apr-util-1.3.9-3.el6_0.1.x86_64                             8/47 

  Installing : cpp-4.4.6-4.el6.x86_64                                      9/47 

  Installing : libproxy-python-0.3.0-2.el6.x86_64                         10/47 

  Installing : libproxy-0.3.0-2.el6.x86_64                                11/47 

  Installing : libproxy-bin-0.3.0-2.el6.x86_64                            12/47 

  Installing : libart_lgpl-2.3.20-5.1.el6.x86_64                          13/47 

  Installing : libgcj-4.4.6-4.el6.x86_64                                  14/47 

  Installing : kernel-devel-2.6.32-262.el6.x86_64                         15/47 

  Installing : gettext-libs-0.17-16.el6.x86_64                            16/47 

  Installing : gettext-devel-0.17-16.el6.x86_64                           17/47 

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

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

  Installing : libstdc++-devel-4.4.6-4.el6.x86_64                         20/47 

  Installing : systemtap-client-1.7-3.el6.x86_64                          21/47 

  Installing : kernel-headers-2.6.32-262.el6.x86_64                       22/47 

  Installing : glibc-headers-2.12-1.78.el6.x86_64                         23/47 

  Installing : glibc-devel-2.12-1.78.el6.x86_64                           24/47 

  Installing : gcc-4.4.6-4.el6.x86_64                                     25/47 

  Installing : systemtap-devel-1.7-3.el6.x86_64                           26/47 

  Installing : pakchois-0.4-3.2.el6.x86_64                                27/47 

  Installing : neon-0.29.3-2.el6.x86_64                                   28/47 

  Installing : subversion-1.6.11-6.el6.x86_64                             29/47 

  Installing : systemtap-1.7-3.el6.x86_64                                 30/47 

  Installing : gcc-gfortran-4.4.6-4.el6.x86_64                            31/47 

  Installing : gcc-c++-4.4.6-4.el6.x86_64                                 32/47 

  Installing : libtool-2.2.6-15.5.el6.x86_64                              33/47 

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

  Installing : rpm-build-4.8.0-27.el6.x86_64                              35/47 

  Installing : swig-1.3.40-6.el6.x86_64                                   36/47 

  Installing : indent-2.2.10-7.el6.x86_64                                 37/47 

  Installing : diffstat-1.51-2.el6.x86_64                                 38/47 

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

  Installing : 1:doxygen-1.6.1-6.el6.x86_64                               40/47 

  Installing : rcs-5.7-37.el6.x86_64                                      41/47 

  Installing : cscope-15.6-6.el6.x86_64                                   42/47 

  Installing : ctags-5.8-2.el6.x86_64                                     43/47 

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

  Installing : byacc-1.9.20070509-7.el6.x86_64                            45/47 

  Installing : flex-2.5.35-8.el6.x86_64                                   46/47 

  Installing : bison-2.4.1-5.el6.x86_64                                   47/47 
Installed products updated.

  Verifying  : pakchois-0.4-3.2.el6.x86_64                                 1/47 

  Verifying  : bison-2.4.1-5.el6.x86_64                                    2/47 

  Verifying  : kernel-headers-2.6.32-262.el6.x86_64                        3/47 

  Verifying  : flex-2.5.35-8.el6.x86_64                                    4/47 

  Verifying  : neon-0.29.3-2.el6.x86_64                                    5/47 

  Verifying  : gcc-gfortran-4.4.6-4.el6.x86_64                             6/47 

  Verifying  : glibc-devel-2.12-1.78.el6.x86_64                            7/47 

  Verifying  : mpfr-2.4.1-6.el6.x86_64                                     8/47 

  Verifying  : cpp-4.4.6-4.el6.x86_64                                      9/47 

  Verifying  : systemtap-client-1.7-3.el6.x86_64                          10/47 

  Verifying  : byacc-1.9.20070509-7.el6.x86_64                            11/47 

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

  Verifying  : libproxy-bin-0.3.0-2.el6.x86_64                            13/47 

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

  Verifying  : ctags-5.8-2.el6.x86_64                                     15/47 

  Verifying  : cscope-15.6-6.el6.x86_64                                   16/47 

  Verifying  : systemtap-1.7-3.el6.x86_64                                 17/47 

  Verifying  : rcs-5.7-37.el6.x86_64                                      18/47 

  Verifying  : gcc-c++-4.4.6-4.el6.x86_64                                 19/47 

  Verifying  : libstdc++-devel-4.4.6-4.el6.x86_64                         20/47 

  Verifying  : glibc-headers-2.12-1.78.el6.x86_64                         21/47 

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

  Verifying  : ppl-0.10.2-11.el6.x86_64                                   23/47 

  Verifying  : 1:doxygen-1.6.1-6.el6.x86_64                               24/47 

  Verifying  : cloog-ppl-0.15.7-1.2.el6.x86_64                            25/47 

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

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

  Verifying  : gettext-devel-0.17-16.el6.x86_64                           28/47 

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

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

  Verifying  : gcc-4.4.6-4.el6.x86_64                                     31/47 

  Verifying  : apr-1.3.9-3.el6_1.2.x86_64                                 32/47 

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

  Verifying  : diffstat-1.51-2.el6.x86_64                                 34/47 

  Verifying  : git-1.7.1-2.el6_0.1.x86_64                                 35/47 

  Verifying  : libgcj-4.4.6-4.el6.x86_64                                  36/47 

  Verifying  : gettext-libs-0.17-16.el6.x86_64                            37/47 

  Verifying  : indent-2.2.10-7.el6.x86_64                                 38/47 

  Verifying  : systemtap-devel-1.7-3.el6.x86_64                           39/47 

  Verifying  : kernel-devel-2.6.32-262.el6.x86_64                         40/47 

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

  Verifying  : swig-1.3.40-6.el6.x86_64                                   42/47 

  Verifying  : rpm-build-4.8.0-27.el6.x86_64                              43/47 

  Verifying  : libproxy-0.3.0-2.el6.x86_64                                44/47 

  Verifying  : libtool-2.2.6-15.5.el6.x86_64                              45/47 

  Verifying  : subversion-1.6.11-6.el6.x86_64                             46/47 

  Verifying  : libart_lgpl-2.3.20-5.1.el6.x86_64                          47/47 

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

Dependency Installed:
  apr.x86_64 0:1.3.9-3.el6_1.2          apr-util.x86_64 0:1.3.9-3.el6_0.1      
  cloog-ppl.x86_64 0:0.15.7-1.2.el6     cpp.x86_64 0:4.4.6-4.el6               
  gettext-devel.x86_64 0:0.17-16.el6    gettext-libs.x86_64 0:0.17-16.el6      
  glibc-devel.x86_64 0:2.12-1.78.el6    glibc-headers.x86_64 0:2.12-1.78.el6   
  kernel-devel.x86_64 0:2.6.32-262.el6  kernel-headers.x86_64 0:2.6.32-262.el6 
  libart_lgpl.x86_64 0:2.3.20-5.1.el6   libgcj.x86_64 0:4.4.6-4.el6            
  libproxy.x86_64 0:0.3.0-2.el6         libproxy-bin.x86_64 0:0.3.0-2.el6      
  libproxy-python.x86_64 0:0.3.0-2.el6  libstdc++-devel.x86_64 0:4.4.6-4.el6   
  mpfr.x86_64 0:2.4.1-6.el6             neon.x86_64 0:0.29.3-2.el6             
  pakchois.x86_64 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.x86_64 0:0.10.2-11.el6             
  systemtap-client.x86_64 0:1.7-3.el6   systemtap-devel.x86_64 0:1.7-3.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
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 bash.x86_64 0:4.1.2-8.el6 will be updated
---> Package bash.x86_64 0:4.1.2-9.el6_2 will be an update
---> Package dmidecode.x86_64 1:2.11-2.el6 will be updated
---> Package dmidecode.x86_64 1:2.11-2.el6_1 will be an update
---> Package libgcrypt.x86_64 0:1.4.5-9.el6 will be updated
---> Package libgcrypt.x86_64 0:1.4.5-9.el6_2.2 will be an update
---> Package libpng.x86_64 2:1.2.48-1.el6_2 will be updated
---> Package libpng.x86_64 2:1.2.49-1.el6_2 will be an update
---> Package net-tools.x86_64 0:1.60-109.el6 will be updated
---> Package net-tools.x86_64 0:1.60-110.el6_2 will be an update
---> Package openssl.x86_64 0:1.0.0-20.el6_2.3 will be updated
---> Package openssl.x86_64 0:1.0.0-20.el6_2.4 will be an update
---> Package pam.x86_64 0:1.1.1-10.el6 will be updated
---> Package pam.x86_64 0:1.1.1-10.el6_2.1 will be an update
---> Package sudo.x86_64 0:1.7.4p5-8.el6 will be updated
---> Package sudo.x86_64 0:1.7.4p5-9.el6_2 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package   Arch   Version             Repository                           Size
================================================================================
Updating:
 bash      x86_64 4.1.2-9.el6_2       rhui-us-east-1-rhel-server-releases 903 k
 dmidecode x86_64 1:2.11-2.el6_1      rhui-us-east-1-rhel-server-releases  71 k
 libgcrypt x86_64 1.4.5-9.el6_2.2     rhui-us-east-1-rhel-server-releases 228 k
 libpng    x86_64 2:1.2.49-1.el6_2    rhui-us-east-1-rhel-server-releases 182 k
 net-tools x86_64 1.60-110.el6_2      rhui-us-east-1-rhel-server-releases 268 k
 openssl   x86_64 1.0.0-20.el6_2.4    rhui-us-east-1-rhel-server-releases 1.4 M
 pam       x86_64 1.1.1-10.el6_2.1    rhui-us-east-1-rhel-server-releases 656 k
 sudo      x86_64 1.7.4p5-9.el6_2     rhui-us-east-1-rhel-server-releases 419 k

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

Total download size: 4.0 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           2.9 MB/s | 4.0 MB     00:01     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Updating   : bash-4.1.2-9.el6_2.x86_64                                   1/16 

  Updating   : pam-1.1.1-10.el6_2.1.x86_64                                 2/16 

  Updating   : sudo-1.7.4p5-9.el6_2.x86_64                                 3/16 

  Updating   : openssl-1.0.0-20.el6_2.4.x86_64                             4/16 

  Updating   : 2:libpng-1.2.49-1.el6_2.x86_64                              5/16 

  Updating   : net-tools-1.60-110.el6_2.x86_64                             6/16 

  Updating   : libgcrypt-1.4.5-9.el6_2.2.x86_64                            7/16 

  Updating   : 1:dmidecode-2.11-2.el6_1.x86_64                             8/16 

  Cleanup    : sudo-1.7.4p5-8.el6.x86_64                                   9/16 

  Cleanup    : pam-1.1.1-10.el6.x86_64                                    10/16 

  Cleanup    : openssl-1.0.0-20.el6_2.3.x86_64                            11/16 

  Cleanup    : bash-4.1.2-8.el6.x86_64                                    12/16 

  Cleanup    : 2:libpng-1.2.48-1.el6_2.x86_64                             13/16 

  Cleanup    : net-tools-1.60-109.el6.x86_64                              14/16 

  Cleanup    : libgcrypt-1.4.5-9.el6.x86_64                               15/16 

  Cleanup    : 1:dmidecode-2.11-2.el6.x86_64                              16/16 
Installed products updated.

  Verifying  : 1:dmidecode-2.11-2.el6_1.x86_64                             1/16 

  Verifying  : libgcrypt-1.4.5-9.el6_2.2.x86_64                            2/16 

  Verifying  : pam-1.1.1-10.el6_2.1.x86_64                                 3/16 

  Verifying  : bash-4.1.2-9.el6_2.x86_64                                   4/16 

  Verifying  : net-tools-1.60-110.el6_2.x86_64                             5/16 

  Verifying  : openssl-1.0.0-20.el6_2.4.x86_64                             6/16 

  Verifying  : 2:libpng-1.2.49-1.el6_2.x86_64                              7/16 

  Verifying  : sudo-1.7.4p5-9.el6_2.x86_64                                 8/16 

  Verifying  : libgcrypt-1.4.5-9.el6.x86_64                                9/16 

  Verifying  : net-tools-1.60-109.el6.x86_64                              10/16 

  Verifying  : sudo-1.7.4p5-8.el6.x86_64                                  11/16 

  Verifying  : 1:dmidecode-2.11-2.el6.x86_64                              12/16 

  Verifying  : bash-4.1.2-8.el6.x86_64                                    13/16 

  Verifying  : openssl-1.0.0-20.el6_2.3.x86_64                            14/16 

  Verifying  : pam-1.1.1-10.el6.x86_64                                    15/16 

  Verifying  : 2:libpng-1.2.48-1.el6_2.x86_64                             16/16 

Updated:
  bash.x86_64 0:4.1.2-9.el6_2             dmidecode.x86_64 1:2.11-2.el6_1       
  libgcrypt.x86_64 0:1.4.5-9.el6_2.2      libpng.x86_64 2:1.2.49-1.el6_2        
  net-tools.x86_64 0:1.60-110.el6_2       openssl.x86_64 0:1.0.0-20.el6_2.4     
  pam.x86_64 0:1.1.1-10.el6_2.1           sudo.x86_64 0:1.7.4p5-9.el6_2         

Complete! 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no fa1lures in rpm package ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'failure in rpm package' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no rpm scriplet fa1lures ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'scriptlet failed, exit status 1' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify package removal... 
######################################################################################
COMMAND: /bin/rpm -e zsh
RETURN CODE: 0
COMMAND:  /bin/rpm -q zsh
RESULT: package zsh is not installed 
EXPECTED RESULT: package zsh is not installed
RETURN CODE: 1
PASS
######################################################################################
# NEW TEST: ## 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 no missing packages ... ## test repo files ... ## test repo files ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 14 mkovacik 2012-05-18 10:36:03 UTC
IMAGE ID= 
=====image_validation.sh Fri May 18 06:33:27 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-174-129-87-173.compute-1.amazonaws.com with Image Id : ami-48bc1b21, is launched with Instance Id : i-a31661c5 , Instance Type : m2.4xlarge and Arch : x86_64 in the Region : us-east-1c
The Validate Signature is : EsV1ULPsU58XyekgEw1w3pfvGwoVVZTC5eXY+vJ073f4eViuCwT7IFhA4WRw+Ih8yF3+3z8EsH5U
CPMkTgnCIYAzCbY7nRoxCPS6I/qzi9I5+lmzOJCW+RE/2AWZoCUFQPTfWLve9EToxi/UVtXzw+eu
6kuzFMoLTzxz6YLfMnw=
This is a Cloud Access image
/root/valid/src
domU-12-31-39-18-2E-01
Red Hat Enterprise Linux Server release 6.3 Beta (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################
ami is a BETA
######################################################################################
# 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 
RESULT: 27 
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-174-129-87-173.compute-1.amazonaws.com with Image Id : ami-48bc1b21, is launched with Instance Id : i-a31661c5 , Instance Type : m2.4xlarge and Arch : x86_64 in the Region : us-east-1c
The Validate Signature is : EsV1ULPsU58XyekgEw1w3pfvGwoVVZTC5eXY+vJ073f4eViuCwT7IFhA4WRw+Ih8yF3+3z8EsH5U
CPMkTgnCIYAzCbY7nRoxCPS6I/qzi9I5+lmzOJCW+RE/2AWZoCUFQPTfWLve9EToxi/UVtXzw+eu
6kuzFMoLTzxz6YLfMnw=
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
SKIPPING TEST, BETA DETECTED
######################################################################################
# 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 70337128 > hwp MEMORY of 68400000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify nameserver ... 
######################################################################################
COMMAND:  /usr/bin/dig clock.redhat.com 2>> /root/valid/src/validate.log | grep 66.187.233.4  | wc -l
RESULT: 1 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify networking ... 
######################################################################################
COMMAND:  grep ^NETWORKING= /etc/sysconfig/network | cut -d\= -f2
RESULT: yes 
EXPECTED RESULT: yes
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify device ... 
######################################################################################
COMMAND:  grep ^DEVICE= /etc/sysconfig/network-scripts/ifcfg-eth0 | cut -d\= -f2
RESULT: eth0 
EXPECTED RESULT: eth0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no missing packages ... 
######################################################################################
COMMAND: /bin/rpm -qa --queryformat='%{NAME}\n' > /tmp/rpmqa.tmp
RETURN CODE: 0
COMMAND: comm -23 packages_63 /tmp/rpmqa
RETURN CODE: 0
COUNT = 0
COMMAND:  echo test failed
RESULT: test failed 
EXPECTED RESULT: 1
RETURN CODE: 0
FAIL2
test failed
######################################################################################
# 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: 4 
EXPECTED RESULT: 2
RETURN CODE: 0
FAIL2
4
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-18-2E-01
Red Hat Enterprise Linux Server release 6.3 Beta (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################
ami is a BETA
######################################################################################
# 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 ... 
######################################################################################
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-262.el6.x86_64
Detected uname kernel version: 2.6.32-262.el6.x86_64
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-262.el6.x86_64
RESULT: title RHEL6.3-20120416.0-Server-x86_64-starter-ec2 (2.6.32-262.el6.x86_64)
        kernel /boot/vmlinuz-2.6.32-262.el6.x86_64 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-262.el6.x86_64.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

Comment 15 mkovacik 2012-05-18 10:36:07 UTC
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.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-client-config-server-6             Red Hat Update Infrastr     1
rhui-us-east-1-client-config-server-6-beta        Red Hat Update Infrastr     0
rhui-us-east-1-rhel-server-releases               Red Hat Enterprise Linu 7,211
rhui-us-east-1-rhel-server-releases-beta          Red Hat Enterprise Linu 1,068
rhui-us-east-1-rhel-server-releases-optional      Red Hat Enterprise Linu 4,400
rhui-us-east-1-rhel-server-releases-optional-beta Red Hat Enterprise Linu 2,440
repolist: 15,120 
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.x86_64 : Tab completion for Zsh and Twisted Core
zsh-html.x86_64 : Zsh shell manual in html format
zsh.x86_64 : 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
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID f21541eb: NOKEY
Importing GPG key 0xF21541EB:
 Userid : Red Hat, Inc. (beta key 2) <security>
 Package: redhat-release-server-6Server-6.3.0.2.el6.x86_64 (@koji-override-0/$releasever)
 From   : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
Importing GPG key 0x897DA07A:
 Userid : Red Hat, Inc. (Beta Test Software) <rawhide>
 Package: redhat-release-server-6Server-6.3.0.2.el6.x86_64 (@koji-override-0/$releasever)
 From   : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
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: ## 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.x86_64 already installed and latest version
Package patch-2.6-6.el6.x86_64 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version
Package gettext-0.17-16.el6.x86_64 already installed and latest version
Package binutils-2.20.51.0.2-5.32.el6.x86_64 already installed and latest version
Package elfutils-0.152-1.el6.x86_64 already installed and latest version
Package cvs-1.11.23-11.el6_2.1.x86_64 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.x86_64 0:2.4.1-5.el6 will be installed
---> Package byacc.x86_64 0:1.9.20070509-7.el6 will be installed
---> Package cscope.x86_64 0:15.6-6.el6 will be installed
---> Package ctags.x86_64 0:5.8-2.el6 will be installed
---> Package diffstat.x86_64 0:1.51-2.el6 will be installed
---> Package doxygen.x86_64 1:1.6.1-6.el6 will be installed
---> Package flex.x86_64 0:2.5.35-8.el6 will be installed
---> Package gcc.x86_64 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.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-4.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-4.el6.x86_64
---> Package gcc-c++.x86_64 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.x86_64
--> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.6-4.el6.x86_64
---> Package gcc-gfortran.x86_64 0:4.4.6-4.el6 will be installed
---> Package git.x86_64 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.x86_64
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64
---> Package indent.x86_64 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.x86_64 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed
---> Package rcs.x86_64 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.x86_64 0:4.8.0-27.el6 will be installed
---> Package subversion.x86_64 0:1.6.11-6.el6 will be installed
--> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-6.el6.x86_64
--> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-6.el6.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-6.el6.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-6.el6.x86_64
---> Package swig.x86_64 0:1.3.40-6.el6 will be installed
---> Package systemtap.x86_64 0:1.7-3.el6 will be installed
--> Processing Dependency: systemtap-devel = 1.7-3.el6 for package: systemtap-1.7-3.el6.x86_64
--> Processing Dependency: systemtap-client = 1.7-3.el6 for package: systemtap-1.7-3.el6.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.6-4.el6 will be installed
---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
---> Package glibc-devel.x86_64 0:2.12-1.78.el6 will be installed
--> Processing Dependency: glibc-headers = 2.12-1.78.el6 for package: glibc-devel-2.12-1.78.el6.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.78.el6.x86_64
---> Package libstdc++-devel.x86_64 0:4.4.6-4.el6 will be installed
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
---> Package neon.x86_64 0:0.29.3-2.el6 will be installed
--> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-2.el6.x86_64
--> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-2.el6.x86_64
---> 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.x86_64 0:1.7-3.el6 will be installed
---> Package systemtap-devel.x86_64 0:1.7-3.el6 will be installed
--> Processing Dependency: kernel-devel for package: systemtap-devel-1.7-3.el6.x86_64
--> Running transaction check
---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed
---> Package glibc-headers.x86_64 0:2.12-1.78.el6 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.78.el6.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.78.el6.x86_64
---> Package kernel-devel.x86_64 0:2.6.32-262.el6 will be installed
---> Package libgcj.x86_64 0:4.4.6-4.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-4.el6.x86_64
---> Package libproxy.x86_64 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.x86_64
--> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64
---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
--> Running transaction check
---> Package kernel-headers.x86_64 0:2.6.32-262.el6 will be installed
---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed
---> Package libproxy-python.x86_64 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    x86_64 2.4.1-5.el6     rhui-us-east-1-rhel-server-releases      637 k
 byacc    x86_64 1.9.20070509-7.el6
                                 rhui-us-east-1-rhel-server-releases-beta  48 k
 cscope   x86_64 15.6-6.el6      rhui-us-east-1-rhel-server-releases      136 k
 ctags    x86_64 5.8-2.el6       rhui-us-east-1-rhel-server-releases      147 k
 diffstat x86_64 1.51-2.el6      rhui-us-east-1-rhel-server-releases       29 k
 doxygen  x86_64 1:1.6.1-6.el6   rhui-us-east-1-rhel-server-releases      2.4 M
 flex     x86_64 2.5.35-8.el6    rhui-us-east-1-rhel-server-releases      286 k
 gcc      x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta  10 M
 gcc-c++  x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta 4.7 M
 gcc-gfortran
          x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta 4.7 M
 git      x86_64 1.7.1-2.el6_0.1 rhui-us-east-1-rhel-server-releases      4.6 M
 indent   x86_64 2.2.10-7.el6    rhui-us-east-1-rhel-server-releases-beta 115 k
 intltool noarch 0.41.0-1.1.el6  rhui-us-east-1-rhel-server-releases       58 k
 libtool  x86_64 2.2.6-15.5.el6  rhui-us-east-1-rhel-server-releases      564 k
 patchutils
          x86_64 0.3.1-3.1.el6   rhui-us-east-1-rhel-server-releases       95 k
 rcs      x86_64 5.7-37.el6      rhui-us-east-1-rhel-server-releases      173 k
 redhat-rpm-config
          noarch 9.0.3-39.el6    rhui-us-east-1-rhel-server-releases-beta  58 k
 rpm-build
          x86_64 4.8.0-27.el6    rhui-us-east-1-rhel-server-releases-beta 125 k
 subversion
          x86_64 1.6.11-6.el6    rhui-us-east-1-rhel-server-releases-beta 2.3 M
 swig     x86_64 1.3.40-6.el6    rhui-us-east-1-rhel-server-releases      1.1 M
 systemtap
          x86_64 1.7-3.el6       rhui-us-east-1-rhel-server-releases-beta  25 k
Installing for dependencies:
 apr      x86_64 1.3.9-3.el6_1.2 rhui-us-east-1-rhel-server-releases      123 k
 apr-util x86_64 1.3.9-3.el6_0.1 rhui-us-east-1-rhel-server-releases       87 k
 cloog-ppl
          x86_64 0.15.7-1.2.el6  rhui-us-east-1-rhel-server-releases       93 k
 cpp      x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta 3.7 M
 gettext-devel
          x86_64 0.17-16.el6     rhui-us-east-1-rhel-server-releases      155 k
 gettext-libs
          x86_64 0.17-16.el6     rhui-us-east-1-rhel-server-releases      112 k
 glibc-devel
          x86_64 2.12-1.78.el6   rhui-us-east-1-rhel-server-releases-beta 970 k
 glibc-headers
          x86_64 2.12-1.78.el6   rhui-us-east-1-rhel-server-releases-beta 600 k
 kernel-devel
          x86_64 2.6.32-262.el6  rhui-us-east-1-rhel-server-releases-beta 7.6 M
 kernel-headers
          x86_64 2.6.32-262.el6  rhui-us-east-1-rhel-server-releases-beta 1.9 M
 libart_lgpl
          x86_64 2.3.20-5.1.el6  rhui-us-east-1-rhel-server-releases       65 k
 libgcj   x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta  19 M
 libproxy x86_64 0.3.0-2.el6     rhui-us-east-1-rhel-server-releases       39 k
 libproxy-bin
          x86_64 0.3.0-2.el6     rhui-us-east-1-rhel-server-releases      8.1 k
 libproxy-python
          x86_64 0.3.0-2.el6     rhui-us-east-1-rhel-server-releases      8.3 k
 libstdc++-devel
          x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta 1.5 M
 mpfr     x86_64 2.4.1-6.el6     rhui-us-east-1-rhel-server-releases      156 k
 neon     x86_64 0.29.3-2.el6    rhui-us-east-1-rhel-server-releases-beta 119 k
 pakchois x86_64 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

Comment 16 mkovacik 2012-05-18 10:36:10 UTC
 ppl      x86_64 0.10.2-11.el6   rhui-us-east-1-rhel-server-releases      1.3 M
 systemtap-client
          x86_64 1.7-3.el6       rhui-us-east-1-rhel-server-releases-beta 3.0 M
 systemtap-devel
          x86_64 1.7-3.el6       rhui-us-east-1-rhel-server-releases-beta 1.2 M

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

Total download size: 75 M
Installed size: 192 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           9.0 MB/s |  75 MB     00:08     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Installing : mpfr-2.4.1-6.el6.x86_64                                     1/47 

  Installing : apr-1.3.9-3.el6_1.2.x86_64                                  2/47 

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

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

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

  Installing : git-1.7.1-2.el6_0.1.x86_64                                  6/47 

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

  Installing : apr-util-1.3.9-3.el6_0.1.x86_64                             8/47 

  Installing : cpp-4.4.6-4.el6.x86_64                                      9/47 

  Installing : libproxy-python-0.3.0-2.el6.x86_64                         10/47 

  Installing : libproxy-0.3.0-2.el6.x86_64                                11/47 

  Installing : libproxy-bin-0.3.0-2.el6.x86_64                            12/47 

  Installing : libart_lgpl-2.3.20-5.1.el6.x86_64                          13/47 

  Installing : libgcj-4.4.6-4.el6.x86_64                                  14/47 

  Installing : kernel-devel-2.6.32-262.el6.x86_64                         15/47 

  Installing : gettext-libs-0.17-16.el6.x86_64                            16/47 

  Installing : gettext-devel-0.17-16.el6.x86_64                           17/47 

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

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

  Installing : libstdc++-devel-4.4.6-4.el6.x86_64                         20/47 

  Installing : systemtap-client-1.7-3.el6.x86_64                          21/47 

  Installing : kernel-headers-2.6.32-262.el6.x86_64                       22/47 

  Installing : glibc-headers-2.12-1.78.el6.x86_64                         23/47 

  Installing : glibc-devel-2.12-1.78.el6.x86_64                           24/47 

  Installing : gcc-4.4.6-4.el6.x86_64                                     25/47 

  Installing : systemtap-devel-1.7-3.el6.x86_64                           26/47 

  Installing : pakchois-0.4-3.2.el6.x86_64                                27/47 

  Installing : neon-0.29.3-2.el6.x86_64                                   28/47 

  Installing : subversion-1.6.11-6.el6.x86_64                             29/47 

  Installing : systemtap-1.7-3.el6.x86_64                                 30/47 

  Installing : gcc-gfortran-4.4.6-4.el6.x86_64                            31/47 

  Installing : gcc-c++-4.4.6-4.el6.x86_64                                 32/47 

  Installing : libtool-2.2.6-15.5.el6.x86_64                              33/47 

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

  Installing : rpm-build-4.8.0-27.el6.x86_64                              35/47 

  Installing : swig-1.3.40-6.el6.x86_64                                   36/47 

  Installing : indent-2.2.10-7.el6.x86_64                                 37/47 

  Installing : diffstat-1.51-2.el6.x86_64                                 38/47 

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

  Installing : 1:doxygen-1.6.1-6.el6.x86_64                               40/47 

  Installing : rcs-5.7-37.el6.x86_64                                      41/47 

  Installing : cscope-15.6-6.el6.x86_64                                   42/47 

  Installing : ctags-5.8-2.el6.x86_64                                     43/47 

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

  Installing : byacc-1.9.20070509-7.el6.x86_64                            45/47 

  Installing : flex-2.5.35-8.el6.x86_64                                   46/47 

  Installing : bison-2.4.1-5.el6.x86_64                                   47/47 
Installed products updated.

  Verifying  : pakchois-0.4-3.2.el6.x86_64                                 1/47 

  Verifying  : bison-2.4.1-5.el6.x86_64                                    2/47 

  Verifying  : kernel-headers-2.6.32-262.el6.x86_64                        3/47 

  Verifying  : flex-2.5.35-8.el6.x86_64                                    4/47 

  Verifying  : neon-0.29.3-2.el6.x86_64                                    5/47 

  Verifying  : gcc-gfortran-4.4.6-4.el6.x86_64                             6/47 

  Verifying  : glibc-devel-2.12-1.78.el6.x86_64                            7/47 

  Verifying  : mpfr-2.4.1-6.el6.x86_64                                     8/47 

  Verifying  : cpp-4.4.6-4.el6.x86_64                                      9/47 

  Verifying  : systemtap-client-1.7-3.el6.x86_64                          10/47 

  Verifying  : byacc-1.9.20070509-7.el6.x86_64                            11/47 

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

  Verifying  : libproxy-bin-0.3.0-2.el6.x86_64                            13/47 

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

  Verifying  : ctags-5.8-2.el6.x86_64                                     15/47 

  Verifying  : cscope-15.6-6.el6.x86_64                                   16/47 

  Verifying  : systemtap-1.7-3.el6.x86_64                                 17/47 

  Verifying  : rcs-5.7-37.el6.x86_64                                      18/47 

  Verifying  : gcc-c++-4.4.6-4.el6.x86_64                                 19/47 

  Verifying  : libstdc++-devel-4.4.6-4.el6.x86_64                         20/47 

  Verifying  : glibc-headers-2.12-1.78.el6.x86_64                         21/47 

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

  Verifying  : ppl-0.10.2-11.el6.x86_64                                   23/47 

  Verifying  : 1:doxygen-1.6.1-6.el6.x86_64                               24/47 

  Verifying  : cloog-ppl-0.15.7-1.2.el6.x86_64                            25/47 

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

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

  Verifying  : gettext-devel-0.17-16.el6.x86_64                           28/47 

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

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

  Verifying  : gcc-4.4.6-4.el6.x86_64                                     31/47 

  Verifying  : apr-1.3.9-3.el6_1.2.x86_64                                 32/47 

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

  Verifying  : diffstat-1.51-2.el6.x86_64                                 34/47 

  Verifying  : git-1.7.1-2.el6_0.1.x86_64                                 35/47 

  Verifying  : libgcj-4.4.6-4.el6.x86_64                                  36/47 

  Verifying  : gettext-libs-0.17-16.el6.x86_64                            37/47 

  Verifying  : indent-2.2.10-7.el6.x86_64                                 38/47 

  Verifying  : systemtap-devel-1.7-3.el6.x86_64                           39/47 

  Verifying  : kernel-devel-2.6.32-262.el6.x86_64                         40/47 

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

  Verifying  : swig-1.3.40-6.el6.x86_64                                   42/47 

  Verifying  : rpm-build-4.8.0-27.el6.x86_64                              43/47 

  Verifying  : libproxy-0.3.0-2.el6.x86_64                                44/47 

  Verifying  : libtool-2.2.6-15.5.el6.x86_64                              45/47 

  Verifying  : subversion-1.6.11-6.el6.x86_64                             46/47 

  Verifying  : libart_lgpl-2.3.20-5.1.el6.x86_64                          47/47 

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

Dependency Installed:
  apr.x86_64 0:1.3.9-3.el6_1.2          apr-util.x86_64 0:1.3.9-3.el6_0.1      
  cloog-ppl.x86_64 0:0.15.7-1.2.el6     cpp.x86_64 0:4.4.6-4.el6               
  gettext-devel.x86_64 0:0.17-16.el6    gettext-libs.x86_64 0:0.17-16.el6      
  glibc-devel.x86_64 0:2.12-1.78.el6    glibc-headers.x86_64 0:2.12-1.78.el6   
  kernel-devel.x86_64 0:2.6.32-262.el6  kernel-headers.x86_64 0:2.6.32-262.el6 
  libart_lgpl.x86_64 0:2.3.20-5.1.el6   libgcj.x86_64 0:4.4.6-4.el6            
  libproxy.x86_64 0:0.3.0-2.el6         libproxy-bin.x86_64 0:0.3.0-2.el6      
  libproxy-python.x86_64 0:0.3.0-2.el6  libstdc++-devel.x86_64 0:4.4.6-4.el6   
  mpfr.x86_64 0:2.4.1-6.el6             neon.x86_64 0:0.29.3-2.el6             
  pakchois.x86_64 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.x86_64 0:0.10.2-11.el6             
  systemtap-client.x86_64 0:1.7-3.el6   systemtap-devel.x86_64 0:1.7-3.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
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 bash.x86_64 0:4.1.2-8.el6 will be updated
---> Package bash.x86_64 0:4.1.2-9.el6_2 will be an update
---> Package dmidecode.x86_64 1:2.11-2.el6 will be updated
---> Package dmidecode.x86_64 1:2.11-2.el6_1 will be an update
---> Package libgcrypt.x86_64 0:1.4.5-9.el6 will be updated
---> Package libgcrypt.x86_64 0:1.4.5-9.el6_2.2 will be an update
---> Package libpng.x86_64 2:1.2.48-1.el6_2 will be updated
---> Package libpng.x86_64 2:1.2.49-1.el6_2 will be an update
---> Package net-tools.x86_64 0:1.60-109.el6 will be updated
---> Package net-tools.x86_64 0:1.60-110.el6_2 will be an update
---> Package openssl.x86_64 0:1.0.0-20.el6_2.3 will be updated
---> Package openssl.x86_64 0:1.0.0-20.el6_2.4 will be an update
---> Package pam.x86_64 0:1.1.1-10.el6 will be updated
---> Package pam.x86_64 0:1.1.1-10.el6_2.1 will be an update
---> Package sudo.x86_64 0:1.7.4p5-8.el6 will be updated
---> Package sudo.x86_64 0:1.7.4p5-9.el6_2 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package   Arch   Version             Repository                           Size
================================================================================
Updating:
 bash      x86_64 4.1.2-9.el6_2       rhui-us-east-1-rhel-server-releases 903 k
 dmidecode x86_64 1:2.11-2.el6_1      rhui-us-east-1-rhel-server-releases  71 k
 libgcrypt x86_64 1.4.5-9.el6_2.2     rhui-us-east-1-rhel-server-releases 228 k
 libpng    x86_64 2:1.2.49-1.el6_2    rhui-us-east-1-rhel-server-releases 182 k
 net-tools x86_64 1.60-110.el6_2      rhui-us-east-1-rhel-server-releases 268 k
 openssl   x86_64 1.0.0-20.el6_2.4    rhui-us-east-1-rhel-server-releases 1.4 M
 pam       x86_64 1.1.1-10.el6_2.1    rhui-us-east-1-rhel-server-releases 656 k
 sudo      x86_64 1.7.4p5-9.el6_2     rhui-us-east-1-rhel-server-releases 419 k

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

Total download size: 4.0 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           3.7 MB/s | 4.0 MB     00:01     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Updating   : bash-4.1.2-9.el6_2.x86_64                                   1/16 

  Updating   : pam-1.1.1-10.el6_2.1.x86_64                                 2/16 

  Updating   : sudo-1.7.4p5-9.el6_2.x86_64                                 3/16 

  Updating   : openssl-1.0.0-20.el6_2.4.x86_64                             4/16 

  Updating   : 2:libpng-1.2.49-1.el6_2.x86_64                              5/16 

  Updating   : net-tools-1.60-110.el6_2.x86_64                             6/16 

  Updating   : libgcrypt-1.4.5-9.el6_2.2.x86_64                            7/16 

  Updating   : 1:dmidecode-2.11-2.el6_1.x86_64                             8/16 

  Cleanup    : sudo-1.7.4p5-8.el6.x86_64                                   9/16 

  Cleanup    : pam-1.1.1-10.el6.x86_64                                    10/16 

  Cleanup    : openssl-1.0.0-20.el6_2.3.x86_64                            11/16 

  Cleanup    : bash-4.1.2-8.el6.x86_64                                    12/16 

  Cleanup    : 2:libpng-1.2.48-1.el6_2.x86_64                             13/16 

  Cleanup    : net-tools-1.60-109.el6.x86_64                              14/16 

  Cleanup    : libgcrypt-1.4.5-9.el6.x86_64                               15/16 

  Cleanup    : 1:dmidecode-2.11-2.el6.x86_64                              16/16 
Installed products updated.

  Verifying  : 1:dmidecode-2.11-2.el6_1.x86_64                             1/16 

  Verifying  : libgcrypt-1.4.5-9.el6_2.2.x86_64                            2/16 

  Verifying  : pam-1.1.1-10.el6_2.1.x86_64                                 3/16 

  Verifying  : bash-4.1.2-9.el6_2.x86_64                                   4/16 

  Verifying  : net-tools-1.60-110.el6_2.x86_64                             5/16 

  Verifying  : openssl-1.0.0-20.el6_2.4.x86_64                             6/16 

  Verifying  : 2:libpng-1.2.49-1.el6_2.x86_64                              7/16 

  Verifying  : sudo-1.7.4p5-9.el6_2.x86_64                                 8/16 

  Verifying  : libgcrypt-1.4.5-9.el6.x86_64                                9/16 

  Verifying  : net-tools-1.60-109.el6.x86_64                              10/16 

  Verifying  : sudo-1.7.4p5-8.el6.x86_64                                  11/16 

  Verifying  : 1:dmidecode-2.11-2.el6.x86_64                              12/16 

  Verifying  : bash-4.1.2-8.el6.x86_64                                    13/16 

  Verifying  : openssl-1.0.0-20.el6_2.3.x86_64                            14/16 

  Verifying  : pam-1.1.1-10.el6.x86_64                                    15/16 

  Verifying  : 2:libpng-1.2.48-1.el6_2.x86_64                             16/16 

Updated:
  bash.x86_64 0:4.1.2-9.el6_2             dmidecode.x86_64 1:2.11-2.el6_1       
  libgcrypt.x86_64 0:1.4.5-9.el6_2.2      libpng.x86_64 2:1.2.49-1.el6_2        
  net-tools.x86_64 0:1.60-110.el6_2       openssl.x86_64 0:1.0.0-20.el6_2.4     
  pam.x86_64 0:1.1.1-10.el6_2.1           sudo.x86_64 0:1.7.4p5-9.el6_2         

Complete! 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no fa1lures in rpm package ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'failure in rpm package' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no rpm scriplet fa1lures ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'scriptlet failed, exit status 1' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify package removal... 
######################################################################################
COMMAND: /bin/rpm -e zsh
RETURN CODE: 0
COMMAND:  /bin/rpm -q zsh
RESULT: package zsh is not installed 
EXPECTED RESULT: package zsh is not installed
RETURN CODE: 1
PASS
######################################################################################
# NEW TEST: ## 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 no missing packages ... ## test repo files ... ## test repo files ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 17 mkovacik 2012-05-18 10:36:16 UTC
IMAGE ID= 
=====image_validation.sh Fri May 18 06:25:36 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-19-48-219.compute-1.amazonaws.com with Image Id : ami-48bc1b21, is launched with Instance Id : i-3d285f5b , Instance Type : t1.micro and Arch : x86_64 in the Region : us-east-1d
The Validate Signature is : FUesYO390R9NO+3xZCK65CH5qHZOkUE0UOpnmkOQIpTrxcKiJcJU/n1Nqm3s6TE6VaNPtNbwE4jg
u5Rz+yGjorsXxlHhYQk1XenljYgIBGKWg9WFMGBm+sCA9OPbMO90RDfXwFeIp3irDqUOSjp2XW37
LrnVjX05zJL/ZEcaVc4=
This is a Cloud Access image
/root/valid/src
ip-10-117-35-31
Red Hat Enterprise Linux Server release 6.3 Beta (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################
ami is a BETA
######################################################################################
# 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 
RESULT: 27 
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-19-48-219.compute-1.amazonaws.com with Image Id : ami-48bc1b21, is launched with Instance Id : i-3d285f5b , Instance Type : t1.micro and Arch : x86_64 in the Region : us-east-1d
The Validate Signature is : FUesYO390R9NO+3xZCK65CH5qHZOkUE0UOpnmkOQIpTrxcKiJcJU/n1Nqm3s6TE6VaNPtNbwE4jg
u5Rz+yGjorsXxlHhYQk1XenljYgIBGKWg9WFMGBm+sCA9OPbMO90RDfXwFeIp3irDqUOSjp2XW37
LrnVjX05zJL/ZEcaVc4=
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
SKIPPING TEST, BETA DETECTED
######################################################################################
# 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 604856 > 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 failed
RESULT: test failed 
EXPECTED RESULT: 1
RETURN CODE: 0
FAIL2
test failed
######################################################################################
# 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: 4 
EXPECTED RESULT: 2
RETURN CODE: 0
FAIL2
4
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-117-35-31
Red Hat Enterprise Linux Server release 6.3 Beta (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################
ami is a BETA
######################################################################################
# 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 ... 
######################################################################################
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-262.el6.x86_64
Detected uname kernel version: 2.6.32-262.el6.x86_64
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-262.el6.x86_64
RESULT: title RHEL6.3-20120416.0-Server-x86_64-starter-ec2 (2.6.32-262.el6.x86_64)
        kernel /boot/vmlinuz-2.6.32-262.el6.x86_64 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-262.el6.x86_64.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

Comment 18 mkovacik 2012-05-18 10:36:19 UTC
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.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-client-config-server-6             Red Hat Update Infrastr     1
rhui-us-east-1-client-config-server-6-beta        Red Hat Update Infrastr     0
rhui-us-east-1-rhel-server-releases               Red Hat Enterprise Linu 7,211
rhui-us-east-1-rhel-server-releases-beta          Red Hat Enterprise Linu 1,068
rhui-us-east-1-rhel-server-releases-optional      Red Hat Enterprise Linu 4,400
rhui-us-east-1-rhel-server-releases-optional-beta Red Hat Enterprise Linu 2,440
repolist: 15,120 
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.x86_64 : Tab completion for Zsh and Twisted Core
zsh-html.x86_64 : Zsh shell manual in html format
zsh.x86_64 : 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
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID f21541eb: NOKEY
Importing GPG key 0xF21541EB:
 Userid : Red Hat, Inc. (beta key 2) <security>
 Package: redhat-release-server-6Server-6.3.0.2.el6.x86_64 (@koji-override-0/$releasever)
 From   : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
Importing GPG key 0x897DA07A:
 Userid : Red Hat, Inc. (Beta Test Software) <rawhide>
 Package: redhat-release-server-6Server-6.3.0.2.el6.x86_64 (@koji-override-0/$releasever)
 From   : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
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: ## 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.x86_64 already installed and latest version
Package patch-2.6-6.el6.x86_64 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version
Package gettext-0.17-16.el6.x86_64 already installed and latest version
Package binutils-2.20.51.0.2-5.32.el6.x86_64 already installed and latest version
Package elfutils-0.152-1.el6.x86_64 already installed and latest version
Package cvs-1.11.23-11.el6_2.1.x86_64 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.x86_64 0:2.4.1-5.el6 will be installed
---> Package byacc.x86_64 0:1.9.20070509-7.el6 will be installed
---> Package cscope.x86_64 0:15.6-6.el6 will be installed
---> Package ctags.x86_64 0:5.8-2.el6 will be installed
---> Package diffstat.x86_64 0:1.51-2.el6 will be installed
---> Package doxygen.x86_64 1:1.6.1-6.el6 will be installed
---> Package flex.x86_64 0:2.5.35-8.el6 will be installed
---> Package gcc.x86_64 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.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-4.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-4.el6.x86_64
---> Package gcc-c++.x86_64 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.x86_64
--> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.6-4.el6.x86_64
---> Package gcc-gfortran.x86_64 0:4.4.6-4.el6 will be installed
---> Package git.x86_64 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.x86_64
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64
---> Package indent.x86_64 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.x86_64 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed
---> Package rcs.x86_64 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.x86_64 0:4.8.0-27.el6 will be installed
---> Package subversion.x86_64 0:1.6.11-6.el6 will be installed
--> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-6.el6.x86_64
--> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-6.el6.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-6.el6.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-6.el6.x86_64
---> Package swig.x86_64 0:1.3.40-6.el6 will be installed
---> Package systemtap.x86_64 0:1.7-3.el6 will be installed
--> Processing Dependency: systemtap-devel = 1.7-3.el6 for package: systemtap-1.7-3.el6.x86_64
--> Processing Dependency: systemtap-client = 1.7-3.el6 for package: systemtap-1.7-3.el6.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.6-4.el6 will be installed
---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
---> Package glibc-devel.x86_64 0:2.12-1.78.el6 will be installed
--> Processing Dependency: glibc-headers = 2.12-1.78.el6 for package: glibc-devel-2.12-1.78.el6.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.78.el6.x86_64
---> Package libstdc++-devel.x86_64 0:4.4.6-4.el6 will be installed
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
---> Package neon.x86_64 0:0.29.3-2.el6 will be installed
--> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-2.el6.x86_64
--> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-2.el6.x86_64
---> 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.x86_64 0:1.7-3.el6 will be installed
---> Package systemtap-devel.x86_64 0:1.7-3.el6 will be installed
--> Processing Dependency: kernel-devel for package: systemtap-devel-1.7-3.el6.x86_64
--> Running transaction check
---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed
---> Package glibc-headers.x86_64 0:2.12-1.78.el6 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.78.el6.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.78.el6.x86_64
---> Package kernel-devel.x86_64 0:2.6.32-262.el6 will be installed
---> Package libgcj.x86_64 0:4.4.6-4.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-4.el6.x86_64
---> Package libproxy.x86_64 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.x86_64
--> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64
---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
--> Running transaction check
---> Package kernel-headers.x86_64 0:2.6.32-262.el6 will be installed
---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed
---> Package libproxy-python.x86_64 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    x86_64 2.4.1-5.el6     rhui-us-east-1-rhel-server-releases      637 k
 byacc    x86_64 1.9.20070509-7.el6
                                 rhui-us-east-1-rhel-server-releases-beta  48 k
 cscope   x86_64 15.6-6.el6      rhui-us-east-1-rhel-server-releases      136 k
 ctags    x86_64 5.8-2.el6       rhui-us-east-1-rhel-server-releases      147 k
 diffstat x86_64 1.51-2.el6      rhui-us-east-1-rhel-server-releases       29 k
 doxygen  x86_64 1:1.6.1-6.el6   rhui-us-east-1-rhel-server-releases      2.4 M
 flex     x86_64 2.5.35-8.el6    rhui-us-east-1-rhel-server-releases      286 k
 gcc      x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta  10 M
 gcc-c++  x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta 4.7 M
 gcc-gfortran
          x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta 4.7 M
 git      x86_64 1.7.1-2.el6_0.1 rhui-us-east-1-rhel-server-releases      4.6 M
 indent   x86_64 2.2.10-7.el6    rhui-us-east-1-rhel-server-releases-beta 115 k
 intltool noarch 0.41.0-1.1.el6  rhui-us-east-1-rhel-server-releases       58 k
 libtool  x86_64 2.2.6-15.5.el6  rhui-us-east-1-rhel-server-releases      564 k
 patchutils
          x86_64 0.3.1-3.1.el6   rhui-us-east-1-rhel-server-releases       95 k
 rcs      x86_64 5.7-37.el6      rhui-us-east-1-rhel-server-releases      173 k
 redhat-rpm-config
          noarch 9.0.3-39.el6    rhui-us-east-1-rhel-server-releases-beta  58 k
 rpm-build
          x86_64 4.8.0-27.el6    rhui-us-east-1-rhel-server-releases-beta 125 k
 subversion
          x86_64 1.6.11-6.el6    rhui-us-east-1-rhel-server-releases-beta 2.3 M
 swig     x86_64 1.3.40-6.el6    rhui-us-east-1-rhel-server-releases      1.1 M
 systemtap
          x86_64 1.7-3.el6       rhui-us-east-1-rhel-server-releases-beta  25 k
Installing for dependencies:
 apr      x86_64 1.3.9-3.el6_1.2 rhui-us-east-1-rhel-server-releases      123 k
 apr-util x86_64 1.3.9-3.el6_0.1 rhui-us-east-1-rhel-server-releases       87 k
 cloog-ppl
          x86_64 0.15.7-1.2.el6  rhui-us-east-1-rhel-server-releases       93 k
 cpp      x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta 3.7 M
 gettext-devel
          x86_64 0.17-16.el6     rhui-us-east-1-rhel-server-releases      155 k
 gettext-libs
          x86_64 0.17-16.el6     rhui-us-east-1-rhel-server-releases      112 k
 glibc-devel
          x86_64 2.12-1.78.el6   rhui-us-east-1-rhel-server-releases-beta 970 k
 glibc-headers
          x86_64 2.12-1.78.el6   rhui-us-east-1-rhel-server-releases-beta 600 k
 kernel-devel
          x86_64 2.6.32-262.el6  rhui-us-east-1-rhel-server-releases-beta 7.6 M
 kernel-headers
          x86_64 2.6.32-262.el6  rhui-us-east-1-rhel-server-releases-beta 1.9 M
 libart_lgpl
          x86_64 2.3.20-5.1.el6  rhui-us-east-1-rhel-server-releases       65 k
 libgcj   x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta  19 M
 libproxy x86_64 0.3.0-2.el6     rhui-us-east-1-rhel-server-releases       39 k
 libproxy-bin
          x86_64 0.3.0-2.el6     rhui-us-east-1-rhel-server-releases      8.1 k
 libproxy-python
          x86_64 0.3.0-2.el6     rhui-us-east-1-rhel-server-releases      8.3 k
 libstdc++-devel
          x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta 1.5 M
 mpfr     x86_64 2.4.1-6.el6     rhui-us-east-1-rhel-server-releases      156 k
 neon     x86_64 0.29.3-2.el6    rhui-us-east-1-rhel-server-releases-beta 119 k
 pakchois x86_64 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

Comment 19 mkovacik 2012-05-18 10:36:22 UTC
 ppl      x86_64 0.10.2-11.el6   rhui-us-east-1-rhel-server-releases      1.3 M
 systemtap-client
          x86_64 1.7-3.el6       rhui-us-east-1-rhel-server-releases-beta 3.0 M
 systemtap-devel
          x86_64 1.7-3.el6       rhui-us-east-1-rhel-server-releases-beta 1.2 M

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

Total download size: 75 M
Installed size: 192 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           1.3 MB/s |  75 MB     00:58     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Installing : mpfr-2.4.1-6.el6.x86_64                                     1/47 

  Installing : apr-1.3.9-3.el6_1.2.x86_64                                  2/47 

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

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

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

  Installing : git-1.7.1-2.el6_0.1.x86_64                                  6/47 

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

  Installing : apr-util-1.3.9-3.el6_0.1.x86_64                             8/47 

  Installing : cpp-4.4.6-4.el6.x86_64                                      9/47 

  Installing : libproxy-python-0.3.0-2.el6.x86_64                         10/47 

  Installing : libproxy-0.3.0-2.el6.x86_64                                11/47 

  Installing : libproxy-bin-0.3.0-2.el6.x86_64                            12/47 

  Installing : libart_lgpl-2.3.20-5.1.el6.x86_64                          13/47 

  Installing : libgcj-4.4.6-4.el6.x86_64                                  14/47 

  Installing : kernel-devel-2.6.32-262.el6.x86_64                         15/47 

  Installing : gettext-libs-0.17-16.el6.x86_64                            16/47 

  Installing : gettext-devel-0.17-16.el6.x86_64                           17/47 

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

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

  Installing : libstdc++-devel-4.4.6-4.el6.x86_64                         20/47 

  Installing : systemtap-client-1.7-3.el6.x86_64                          21/47 

  Installing : kernel-headers-2.6.32-262.el6.x86_64                       22/47 

  Installing : glibc-headers-2.12-1.78.el6.x86_64                         23/47 

  Installing : glibc-devel-2.12-1.78.el6.x86_64                           24/47 

  Installing : gcc-4.4.6-4.el6.x86_64                                     25/47 

  Installing : systemtap-devel-1.7-3.el6.x86_64                           26/47 

  Installing : pakchois-0.4-3.2.el6.x86_64                                27/47 

  Installing : neon-0.29.3-2.el6.x86_64                                   28/47 

  Installing : subversion-1.6.11-6.el6.x86_64                             29/47 

  Installing : systemtap-1.7-3.el6.x86_64                                 30/47 

  Installing : gcc-gfortran-4.4.6-4.el6.x86_64                            31/47 

  Installing : gcc-c++-4.4.6-4.el6.x86_64                                 32/47 

  Installing : libtool-2.2.6-15.5.el6.x86_64                              33/47 

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

  Installing : rpm-build-4.8.0-27.el6.x86_64                              35/47 

  Installing : swig-1.3.40-6.el6.x86_64                                   36/47 

  Installing : indent-2.2.10-7.el6.x86_64                                 37/47 

  Installing : diffstat-1.51-2.el6.x86_64                                 38/47 

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

  Installing : 1:doxygen-1.6.1-6.el6.x86_64                               40/47 

  Installing : rcs-5.7-37.el6.x86_64                                      41/47 

  Installing : cscope-15.6-6.el6.x86_64                                   42/47 

  Installing : ctags-5.8-2.el6.x86_64                                     43/47 

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

  Installing : byacc-1.9.20070509-7.el6.x86_64                            45/47 

  Installing : flex-2.5.35-8.el6.x86_64                                   46/47 

  Installing : bison-2.4.1-5.el6.x86_64                                   47/47 
Installed products updated.

  Verifying  : pakchois-0.4-3.2.el6.x86_64                                 1/47 

  Verifying  : bison-2.4.1-5.el6.x86_64                                    2/47 

  Verifying  : kernel-headers-2.6.32-262.el6.x86_64                        3/47 

  Verifying  : flex-2.5.35-8.el6.x86_64                                    4/47 

  Verifying  : neon-0.29.3-2.el6.x86_64                                    5/47 

  Verifying  : gcc-gfortran-4.4.6-4.el6.x86_64                             6/47 

  Verifying  : glibc-devel-2.12-1.78.el6.x86_64                            7/47 

  Verifying  : mpfr-2.4.1-6.el6.x86_64                                     8/47 

  Verifying  : cpp-4.4.6-4.el6.x86_64                                      9/47 

  Verifying  : systemtap-client-1.7-3.el6.x86_64                          10/47 

  Verifying  : byacc-1.9.20070509-7.el6.x86_64                            11/47 

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

  Verifying  : libproxy-bin-0.3.0-2.el6.x86_64                            13/47 

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

  Verifying  : ctags-5.8-2.el6.x86_64                                     15/47 

  Verifying  : cscope-15.6-6.el6.x86_64                                   16/47 

  Verifying  : systemtap-1.7-3.el6.x86_64                                 17/47 

  Verifying  : rcs-5.7-37.el6.x86_64                                      18/47 

  Verifying  : gcc-c++-4.4.6-4.el6.x86_64                                 19/47 

  Verifying  : libstdc++-devel-4.4.6-4.el6.x86_64                         20/47 

  Verifying  : glibc-headers-2.12-1.78.el6.x86_64                         21/47 

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

  Verifying  : ppl-0.10.2-11.el6.x86_64                                   23/47 

  Verifying  : 1:doxygen-1.6.1-6.el6.x86_64                               24/47 

  Verifying  : cloog-ppl-0.15.7-1.2.el6.x86_64                            25/47 

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

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

  Verifying  : gettext-devel-0.17-16.el6.x86_64                           28/47 

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

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

  Verifying  : gcc-4.4.6-4.el6.x86_64                                     31/47 

  Verifying  : apr-1.3.9-3.el6_1.2.x86_64                                 32/47 

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

  Verifying  : diffstat-1.51-2.el6.x86_64                                 34/47 

  Verifying  : git-1.7.1-2.el6_0.1.x86_64                                 35/47 

  Verifying  : libgcj-4.4.6-4.el6.x86_64                                  36/47 

  Verifying  : gettext-libs-0.17-16.el6.x86_64                            37/47 

  Verifying  : indent-2.2.10-7.el6.x86_64                                 38/47 

  Verifying  : systemtap-devel-1.7-3.el6.x86_64                           39/47 

  Verifying  : kernel-devel-2.6.32-262.el6.x86_64                         40/47 

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

  Verifying  : swig-1.3.40-6.el6.x86_64                                   42/47 

  Verifying  : rpm-build-4.8.0-27.el6.x86_64                              43/47 

  Verifying  : libproxy-0.3.0-2.el6.x86_64                                44/47 

  Verifying  : libtool-2.2.6-15.5.el6.x86_64                              45/47 

  Verifying  : subversion-1.6.11-6.el6.x86_64                             46/47 

  Verifying  : libart_lgpl-2.3.20-5.1.el6.x86_64                          47/47 

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

Dependency Installed:
  apr.x86_64 0:1.3.9-3.el6_1.2          apr-util.x86_64 0:1.3.9-3.el6_0.1      
  cloog-ppl.x86_64 0:0.15.7-1.2.el6     cpp.x86_64 0:4.4.6-4.el6               
  gettext-devel.x86_64 0:0.17-16.el6    gettext-libs.x86_64 0:0.17-16.el6      
  glibc-devel.x86_64 0:2.12-1.78.el6    glibc-headers.x86_64 0:2.12-1.78.el6   
  kernel-devel.x86_64 0:2.6.32-262.el6  kernel-headers.x86_64 0:2.6.32-262.el6 
  libart_lgpl.x86_64 0:2.3.20-5.1.el6   libgcj.x86_64 0:4.4.6-4.el6            
  libproxy.x86_64 0:0.3.0-2.el6         libproxy-bin.x86_64 0:0.3.0-2.el6      
  libproxy-python.x86_64 0:0.3.0-2.el6  libstdc++-devel.x86_64 0:4.4.6-4.el6   
  mpfr.x86_64 0:2.4.1-6.el6             neon.x86_64 0:0.29.3-2.el6             
  pakchois.x86_64 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.x86_64 0:0.10.2-11.el6             
  systemtap-client.x86_64 0:1.7-3.el6   systemtap-devel.x86_64 0:1.7-3.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
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 bash.x86_64 0:4.1.2-8.el6 will be updated
---> Package bash.x86_64 0:4.1.2-9.el6_2 will be an update
---> Package dmidecode.x86_64 1:2.11-2.el6 will be updated
---> Package dmidecode.x86_64 1:2.11-2.el6_1 will be an update
---> Package libgcrypt.x86_64 0:1.4.5-9.el6 will be updated
---> Package libgcrypt.x86_64 0:1.4.5-9.el6_2.2 will be an update
---> Package libpng.x86_64 2:1.2.48-1.el6_2 will be updated
---> Package libpng.x86_64 2:1.2.49-1.el6_2 will be an update
---> Package net-tools.x86_64 0:1.60-109.el6 will be updated
---> Package net-tools.x86_64 0:1.60-110.el6_2 will be an update
---> Package openssl.x86_64 0:1.0.0-20.el6_2.3 will be updated
---> Package openssl.x86_64 0:1.0.0-20.el6_2.4 will be an update
---> Package pam.x86_64 0:1.1.1-10.el6 will be updated
---> Package pam.x86_64 0:1.1.1-10.el6_2.1 will be an update
---> Package sudo.x86_64 0:1.7.4p5-8.el6 will be updated
---> Package sudo.x86_64 0:1.7.4p5-9.el6_2 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package   Arch   Version             Repository                           Size
================================================================================
Updating:
 bash      x86_64 4.1.2-9.el6_2       rhui-us-east-1-rhel-server-releases 903 k
 dmidecode x86_64 1:2.11-2.el6_1      rhui-us-east-1-rhel-server-releases  71 k
 libgcrypt x86_64 1.4.5-9.el6_2.2     rhui-us-east-1-rhel-server-releases 228 k
 libpng    x86_64 2:1.2.49-1.el6_2    rhui-us-east-1-rhel-server-releases 182 k
 net-tools x86_64 1.60-110.el6_2      rhui-us-east-1-rhel-server-releases 268 k
 openssl   x86_64 1.0.0-20.el6_2.4    rhui-us-east-1-rhel-server-releases 1.4 M
 pam       x86_64 1.1.1-10.el6_2.1    rhui-us-east-1-rhel-server-releases 656 k
 sudo      x86_64 1.7.4p5-9.el6_2     rhui-us-east-1-rhel-server-releases 419 k

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

Total download size: 4.0 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           2.7 MB/s | 4.0 MB     00:01     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Updating   : bash-4.1.2-9.el6_2.x86_64                                   1/16 

  Updating   : pam-1.1.1-10.el6_2.1.x86_64                                 2/16 

  Updating   : sudo-1.7.4p5-9.el6_2.x86_64                                 3/16 

  Updating   : openssl-1.0.0-20.el6_2.4.x86_64                             4/16 

  Updating   : 2:libpng-1.2.49-1.el6_2.x86_64                              5/16 

  Updating   : net-tools-1.60-110.el6_2.x86_64                             6/16 

  Updating   : libgcrypt-1.4.5-9.el6_2.2.x86_64                            7/16 

  Updating   : 1:dmidecode-2.11-2.el6_1.x86_64                             8/16 

  Cleanup    : sudo-1.7.4p5-8.el6.x86_64                                   9/16 

  Cleanup    : pam-1.1.1-10.el6.x86_64                                    10/16 

  Cleanup    : openssl-1.0.0-20.el6_2.3.x86_64                            11/16 

  Cleanup    : bash-4.1.2-8.el6.x86_64                                    12/16 

  Cleanup    : 2:libpng-1.2.48-1.el6_2.x86_64                             13/16 

  Cleanup    : net-tools-1.60-109.el6.x86_64                              14/16 

  Cleanup    : libgcrypt-1.4.5-9.el6.x86_64                               15/16 

  Cleanup    : 1:dmidecode-2.11-2.el6.x86_64                              16/16 
Installed products updated.

  Verifying  : 1:dmidecode-2.11-2.el6_1.x86_64                             1/16 

  Verifying  : libgcrypt-1.4.5-9.el6_2.2.x86_64                            2/16 

  Verifying  : pam-1.1.1-10.el6_2.1.x86_64                                 3/16 

  Verifying  : bash-4.1.2-9.el6_2.x86_64                                   4/16 

  Verifying  : net-tools-1.60-110.el6_2.x86_64                             5/16 

  Verifying  : openssl-1.0.0-20.el6_2.4.x86_64                             6/16 

  Verifying  : 2:libpng-1.2.49-1.el6_2.x86_64                              7/16 

  Verifying  : sudo-1.7.4p5-9.el6_2.x86_64                                 8/16 

  Verifying  : libgcrypt-1.4.5-9.el6.x86_64                                9/16 

  Verifying  : net-tools-1.60-109.el6.x86_64                              10/16 

  Verifying  : sudo-1.7.4p5-8.el6.x86_64                                  11/16 

  Verifying  : 1:dmidecode-2.11-2.el6.x86_64                              12/16 

  Verifying  : bash-4.1.2-8.el6.x86_64                                    13/16 

  Verifying  : openssl-1.0.0-20.el6_2.3.x86_64                            14/16 

  Verifying  : pam-1.1.1-10.el6.x86_64                                    15/16 

  Verifying  : 2:libpng-1.2.48-1.el6_2.x86_64                             16/16 

Updated:
  bash.x86_64 0:4.1.2-9.el6_2             dmidecode.x86_64 1:2.11-2.el6_1       
  libgcrypt.x86_64 0:1.4.5-9.el6_2.2      libpng.x86_64 2:1.2.49-1.el6_2        
  net-tools.x86_64 0:1.60-110.el6_2       openssl.x86_64 0:1.0.0-20.el6_2.4     
  pam.x86_64 0:1.1.1-10.el6_2.1           sudo.x86_64 0:1.7.4p5-9.el6_2         

Complete! 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no fa1lures in rpm package ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'failure in rpm package' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no rpm scriplet fa1lures ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'scriptlet failed, exit status 1' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify package removal... 
######################################################################################
COMMAND: /bin/rpm -e zsh
RETURN CODE: 0
COMMAND:  /bin/rpm -q zsh
RESULT: package zsh is not installed 
EXPECTED RESULT: package zsh is not installed
RETURN CODE: 1
PASS
######################################################################################
# NEW TEST: ## 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 no missing packages ... ## test repo files ... ## test repo files ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 20 mkovacik 2012-05-18 10:38:32 UTC
IMAGE ID= 
=====image_validation.sh Fri May 18 06:35:23 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-107-21-80-102.compute-1.amazonaws.com with Image Id : ami-48bc1b21, is launched with Instance Id : i-b11562d7 , Instance Type : c1.xlarge and Arch : x86_64 in the Region : us-east-1d
The Validate Signature is : FNBF+/jTnKiqaPxaPQRWJvFSbKt+PZJocCG1BcUvl5SCxf7PrXwwtDWBNxJLE1RPeapaZzFeakl3
XBDoZfneCt/t6c8PJaD5yxwB1edWBbGv1BP/Vqwk/LAp016/lueqsYGRlp7jae7EalqxVW85oIA4
yk6GjTSmrXUdpoYuOpM=
This is a Cloud Access image
/root/valid/src
ip-10-78-165-4
Red Hat Enterprise Linux Server release 6.3 Beta (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################
ami is a BETA
######################################################################################
# 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 
RESULT: 27 
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-107-21-80-102.compute-1.amazonaws.com with Image Id : ami-48bc1b21, is launched with Instance Id : i-b11562d7 , Instance Type : c1.xlarge and Arch : x86_64 in the Region : us-east-1d
The Validate Signature is : FNBF+/jTnKiqaPxaPQRWJvFSbKt+PZJocCG1BcUvl5SCxf7PrXwwtDWBNxJLE1RPeapaZzFeakl3
XBDoZfneCt/t6c8PJaD5yxwB1edWBbGv1BP/Vqwk/LAp016/lueqsYGRlp7jae7EalqxVW85oIA4
yk6GjTSmrXUdpoYuOpM=
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
SKIPPING TEST, BETA DETECTED
######################################################################################
# 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 7130376 > hwp MEMORY of 7000000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify nameserver ... 
######################################################################################
COMMAND:  /usr/bin/dig clock.redhat.com 2>> /root/valid/src/validate.log | grep 66.187.233.4  | wc -l
RESULT: 1 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify networking ... 
######################################################################################
COMMAND:  grep ^NETWORKING= /etc/sysconfig/network | cut -d\= -f2
RESULT: yes 
EXPECTED RESULT: yes
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify device ... 
######################################################################################
COMMAND:  grep ^DEVICE= /etc/sysconfig/network-scripts/ifcfg-eth0 | cut -d\= -f2
RESULT: eth0 
EXPECTED RESULT: eth0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no missing packages ... 
######################################################################################
COMMAND: /bin/rpm -qa --queryformat='%{NAME}\n' > /tmp/rpmqa.tmp
RETURN CODE: 0
COMMAND: comm -23 packages_63 /tmp/rpmqa
RETURN CODE: 0
COUNT = 0
COMMAND:  echo test failed
RESULT: test failed 
EXPECTED RESULT: 1
RETURN CODE: 0
FAIL2
test failed
######################################################################################
# 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: 4 
EXPECTED RESULT: 2
RETURN CODE: 0
FAIL2
4
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-78-165-4
Red Hat Enterprise Linux Server release 6.3 Beta (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################
ami is a BETA
######################################################################################
# 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 ... 
######################################################################################
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-262.el6.x86_64
Detected uname kernel version: 2.6.32-262.el6.x86_64
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-262.el6.x86_64
RESULT: title RHEL6.3-20120416.0-Server-x86_64-starter-ec2 (2.6.32-262.el6.x86_64)
        kernel /boot/vmlinuz-2.6.32-262.el6.x86_64 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-262.el6.x86_64.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

Comment 21 mkovacik 2012-05-18 10:38:35 UTC
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.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-client-config-server-6             Red Hat Update Infrastr     1
rhui-us-east-1-client-config-server-6-beta        Red Hat Update Infrastr     0
rhui-us-east-1-rhel-server-releases               Red Hat Enterprise Linu 7,211
rhui-us-east-1-rhel-server-releases-beta          Red Hat Enterprise Linu 1,068
rhui-us-east-1-rhel-server-releases-optional      Red Hat Enterprise Linu 4,400
rhui-us-east-1-rhel-server-releases-optional-beta Red Hat Enterprise Linu 2,440
repolist: 15,120 
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.x86_64 : Tab completion for Zsh and Twisted Core
zsh-html.x86_64 : Zsh shell manual in html format
zsh.x86_64 : 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
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID f21541eb: NOKEY
Importing GPG key 0xF21541EB:
 Userid : Red Hat, Inc. (beta key 2) <security>
 Package: redhat-release-server-6Server-6.3.0.2.el6.x86_64 (@koji-override-0/$releasever)
 From   : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
Importing GPG key 0x897DA07A:
 Userid : Red Hat, Inc. (Beta Test Software) <rawhide>
 Package: redhat-release-server-6Server-6.3.0.2.el6.x86_64 (@koji-override-0/$releasever)
 From   : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
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: ## 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.x86_64 already installed and latest version
Package patch-2.6-6.el6.x86_64 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version
Package gettext-0.17-16.el6.x86_64 already installed and latest version
Package binutils-2.20.51.0.2-5.32.el6.x86_64 already installed and latest version
Package elfutils-0.152-1.el6.x86_64 already installed and latest version
Package cvs-1.11.23-11.el6_2.1.x86_64 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.x86_64 0:2.4.1-5.el6 will be installed
---> Package byacc.x86_64 0:1.9.20070509-7.el6 will be installed
---> Package cscope.x86_64 0:15.6-6.el6 will be installed
---> Package ctags.x86_64 0:5.8-2.el6 will be installed
---> Package diffstat.x86_64 0:1.51-2.el6 will be installed
---> Package doxygen.x86_64 1:1.6.1-6.el6 will be installed
---> Package flex.x86_64 0:2.5.35-8.el6 will be installed
---> Package gcc.x86_64 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.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-4.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-4.el6.x86_64
---> Package gcc-c++.x86_64 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.x86_64
--> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.6-4.el6.x86_64
---> Package gcc-gfortran.x86_64 0:4.4.6-4.el6 will be installed
---> Package git.x86_64 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.x86_64
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64
---> Package indent.x86_64 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.x86_64 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed
---> Package rcs.x86_64 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.x86_64 0:4.8.0-27.el6 will be installed
---> Package subversion.x86_64 0:1.6.11-6.el6 will be installed
--> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-6.el6.x86_64
--> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-6.el6.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-6.el6.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-6.el6.x86_64
---> Package swig.x86_64 0:1.3.40-6.el6 will be installed
---> Package systemtap.x86_64 0:1.7-3.el6 will be installed
--> Processing Dependency: systemtap-devel = 1.7-3.el6 for package: systemtap-1.7-3.el6.x86_64
--> Processing Dependency: systemtap-client = 1.7-3.el6 for package: systemtap-1.7-3.el6.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.6-4.el6 will be installed
---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
---> Package glibc-devel.x86_64 0:2.12-1.78.el6 will be installed
--> Processing Dependency: glibc-headers = 2.12-1.78.el6 for package: glibc-devel-2.12-1.78.el6.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.78.el6.x86_64
---> Package libstdc++-devel.x86_64 0:4.4.6-4.el6 will be installed
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
---> Package neon.x86_64 0:0.29.3-2.el6 will be installed
--> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-2.el6.x86_64
--> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-2.el6.x86_64
---> 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.x86_64 0:1.7-3.el6 will be installed
---> Package systemtap-devel.x86_64 0:1.7-3.el6 will be installed
--> Processing Dependency: kernel-devel for package: systemtap-devel-1.7-3.el6.x86_64
--> Running transaction check
---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed
---> Package glibc-headers.x86_64 0:2.12-1.78.el6 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.78.el6.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.78.el6.x86_64
---> Package kernel-devel.x86_64 0:2.6.32-262.el6 will be installed
---> Package libgcj.x86_64 0:4.4.6-4.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-4.el6.x86_64
---> Package libproxy.x86_64 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.x86_64
--> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64
---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
--> Running transaction check
---> Package kernel-headers.x86_64 0:2.6.32-262.el6 will be installed
---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed
---> Package libproxy-python.x86_64 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    x86_64 2.4.1-5.el6     rhui-us-east-1-rhel-server-releases      637 k
 byacc    x86_64 1.9.20070509-7.el6
                                 rhui-us-east-1-rhel-server-releases-beta  48 k
 cscope   x86_64 15.6-6.el6      rhui-us-east-1-rhel-server-releases      136 k
 ctags    x86_64 5.8-2.el6       rhui-us-east-1-rhel-server-releases      147 k
 diffstat x86_64 1.51-2.el6      rhui-us-east-1-rhel-server-releases       29 k
 doxygen  x86_64 1:1.6.1-6.el6   rhui-us-east-1-rhel-server-releases      2.4 M
 flex     x86_64 2.5.35-8.el6    rhui-us-east-1-rhel-server-releases      286 k
 gcc      x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta  10 M
 gcc-c++  x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta 4.7 M
 gcc-gfortran
          x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta 4.7 M
 git      x86_64 1.7.1-2.el6_0.1 rhui-us-east-1-rhel-server-releases      4.6 M
 indent   x86_64 2.2.10-7.el6    rhui-us-east-1-rhel-server-releases-beta 115 k
 intltool noarch 0.41.0-1.1.el6  rhui-us-east-1-rhel-server-releases       58 k
 libtool  x86_64 2.2.6-15.5.el6  rhui-us-east-1-rhel-server-releases      564 k
 patchutils
          x86_64 0.3.1-3.1.el6   rhui-us-east-1-rhel-server-releases       95 k
 rcs      x86_64 5.7-37.el6      rhui-us-east-1-rhel-server-releases      173 k
 redhat-rpm-config
          noarch 9.0.3-39.el6    rhui-us-east-1-rhel-server-releases-beta  58 k
 rpm-build
          x86_64 4.8.0-27.el6    rhui-us-east-1-rhel-server-releases-beta 125 k
 subversion
          x86_64 1.6.11-6.el6    rhui-us-east-1-rhel-server-releases-beta 2.3 M
 swig     x86_64 1.3.40-6.el6    rhui-us-east-1-rhel-server-releases      1.1 M
 systemtap
          x86_64 1.7-3.el6       rhui-us-east-1-rhel-server-releases-beta  25 k
Installing for dependencies:
 apr      x86_64 1.3.9-3.el6_1.2 rhui-us-east-1-rhel-server-releases      123 k
 apr-util x86_64 1.3.9-3.el6_0.1 rhui-us-east-1-rhel-server-releases       87 k
 cloog-ppl
          x86_64 0.15.7-1.2.el6  rhui-us-east-1-rhel-server-releases       93 k
 cpp      x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta 3.7 M
 gettext-devel
          x86_64 0.17-16.el6     rhui-us-east-1-rhel-server-releases      155 k
 gettext-libs
          x86_64 0.17-16.el6     rhui-us-east-1-rhel-server-releases      112 k
 glibc-devel
          x86_64 2.12-1.78.el6   rhui-us-east-1-rhel-server-releases-beta 970 k
 glibc-headers
          x86_64 2.12-1.78.el6   rhui-us-east-1-rhel-server-releases-beta 600 k
 kernel-devel
          x86_64 2.6.32-262.el6  rhui-us-east-1-rhel-server-releases-beta 7.6 M
 kernel-headers
          x86_64 2.6.32-262.el6  rhui-us-east-1-rhel-server-releases-beta 1.9 M
 libart_lgpl
          x86_64 2.3.20-5.1.el6  rhui-us-east-1-rhel-server-releases       65 k
 libgcj   x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta  19 M
 libproxy x86_64 0.3.0-2.el6     rhui-us-east-1-rhel-server-releases       39 k
 libproxy-bin
          x86_64 0.3.0-2.el6     rhui-us-east-1-rhel-server-releases      8.1 k
 libproxy-python
          x86_64 0.3.0-2.el6     rhui-us-east-1-rhel-server-releases      8.3 k
 libstdc++-devel
          x86_64 4.4.6-4.el6     rhui-us-east-1-rhel-server-releases-beta 1.5 M
 mpfr     x86_64 2.4.1-6.el6     rhui-us-east-1-rhel-server-releases      156 k
 neon     x86_64 0.29.3-2.el6    rhui-us-east-1-rhel-server-releases-beta 119 k
 pakchois x86_64 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

Comment 22 mkovacik 2012-05-18 10:38:39 UTC
 ppl      x86_64 0.10.2-11.el6   rhui-us-east-1-rhel-server-releases      1.3 M
 systemtap-client
          x86_64 1.7-3.el6       rhui-us-east-1-rhel-server-releases-beta 3.0 M
 systemtap-devel
          x86_64 1.7-3.el6       rhui-us-east-1-rhel-server-releases-beta 1.2 M

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

Total download size: 75 M
Installed size: 192 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           7.6 MB/s |  75 MB     00:09     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Installing : mpfr-2.4.1-6.el6.x86_64                                     1/47 

  Installing : apr-1.3.9-3.el6_1.2.x86_64                                  2/47 

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

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

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

  Installing : git-1.7.1-2.el6_0.1.x86_64                                  6/47 

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

  Installing : apr-util-1.3.9-3.el6_0.1.x86_64                             8/47 

  Installing : cpp-4.4.6-4.el6.x86_64                                      9/47 

  Installing : libproxy-python-0.3.0-2.el6.x86_64                         10/47 

  Installing : libproxy-0.3.0-2.el6.x86_64                                11/47 

  Installing : libproxy-bin-0.3.0-2.el6.x86_64                            12/47 

  Installing : libart_lgpl-2.3.20-5.1.el6.x86_64                          13/47 

  Installing : libgcj-4.4.6-4.el6.x86_64                                  14/47 

  Installing : kernel-devel-2.6.32-262.el6.x86_64                         15/47 

  Installing : gettext-libs-0.17-16.el6.x86_64                            16/47 

  Installing : gettext-devel-0.17-16.el6.x86_64                           17/47 

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

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

  Installing : libstdc++-devel-4.4.6-4.el6.x86_64                         20/47 

  Installing : systemtap-client-1.7-3.el6.x86_64                          21/47 

  Installing : kernel-headers-2.6.32-262.el6.x86_64                       22/47 

  Installing : glibc-headers-2.12-1.78.el6.x86_64                         23/47 

  Installing : glibc-devel-2.12-1.78.el6.x86_64                           24/47 

  Installing : gcc-4.4.6-4.el6.x86_64                                     25/47 

  Installing : systemtap-devel-1.7-3.el6.x86_64                           26/47 

  Installing : pakchois-0.4-3.2.el6.x86_64                                27/47 

  Installing : neon-0.29.3-2.el6.x86_64                                   28/47 

  Installing : subversion-1.6.11-6.el6.x86_64                             29/47 

  Installing : systemtap-1.7-3.el6.x86_64                                 30/47 

  Installing : gcc-gfortran-4.4.6-4.el6.x86_64                            31/47 

  Installing : gcc-c++-4.4.6-4.el6.x86_64                                 32/47 

  Installing : libtool-2.2.6-15.5.el6.x86_64                              33/47 

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

  Installing : rpm-build-4.8.0-27.el6.x86_64                              35/47 

  Installing : swig-1.3.40-6.el6.x86_64                                   36/47 

  Installing : indent-2.2.10-7.el6.x86_64                                 37/47 

  Installing : diffstat-1.51-2.el6.x86_64                                 38/47 

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

  Installing : 1:doxygen-1.6.1-6.el6.x86_64                               40/47 

  Installing : rcs-5.7-37.el6.x86_64                                      41/47 

  Installing : cscope-15.6-6.el6.x86_64                                   42/47 

  Installing : ctags-5.8-2.el6.x86_64                                     43/47 

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

  Installing : byacc-1.9.20070509-7.el6.x86_64                            45/47 

  Installing : flex-2.5.35-8.el6.x86_64                                   46/47 

  Installing : bison-2.4.1-5.el6.x86_64                                   47/47 
Installed products updated.

  Verifying  : pakchois-0.4-3.2.el6.x86_64                                 1/47 

  Verifying  : bison-2.4.1-5.el6.x86_64                                    2/47 

  Verifying  : kernel-headers-2.6.32-262.el6.x86_64                        3/47 

  Verifying  : flex-2.5.35-8.el6.x86_64                                    4/47 

  Verifying  : neon-0.29.3-2.el6.x86_64                                    5/47 

  Verifying  : gcc-gfortran-4.4.6-4.el6.x86_64                             6/47 

  Verifying  : glibc-devel-2.12-1.78.el6.x86_64                            7/47 

  Verifying  : mpfr-2.4.1-6.el6.x86_64                                     8/47 

  Verifying  : cpp-4.4.6-4.el6.x86_64                                      9/47 

  Verifying  : systemtap-client-1.7-3.el6.x86_64                          10/47 

  Verifying  : byacc-1.9.20070509-7.el6.x86_64                            11/47 

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

  Verifying  : libproxy-bin-0.3.0-2.el6.x86_64                            13/47 

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

  Verifying  : ctags-5.8-2.el6.x86_64                                     15/47 

  Verifying  : cscope-15.6-6.el6.x86_64                                   16/47 

  Verifying  : systemtap-1.7-3.el6.x86_64                                 17/47 

  Verifying  : rcs-5.7-37.el6.x86_64                                      18/47 

  Verifying  : gcc-c++-4.4.6-4.el6.x86_64                                 19/47 

  Verifying  : libstdc++-devel-4.4.6-4.el6.x86_64                         20/47 

  Verifying  : glibc-headers-2.12-1.78.el6.x86_64                         21/47 

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

  Verifying  : ppl-0.10.2-11.el6.x86_64                                   23/47 

  Verifying  : 1:doxygen-1.6.1-6.el6.x86_64                               24/47 

  Verifying  : cloog-ppl-0.15.7-1.2.el6.x86_64                            25/47 

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

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

  Verifying  : gettext-devel-0.17-16.el6.x86_64                           28/47 

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

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

  Verifying  : gcc-4.4.6-4.el6.x86_64                                     31/47 

  Verifying  : apr-1.3.9-3.el6_1.2.x86_64                                 32/47 

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

  Verifying  : diffstat-1.51-2.el6.x86_64                                 34/47 

  Verifying  : git-1.7.1-2.el6_0.1.x86_64                                 35/47 

  Verifying  : libgcj-4.4.6-4.el6.x86_64                                  36/47 

  Verifying  : gettext-libs-0.17-16.el6.x86_64                            37/47 

  Verifying  : indent-2.2.10-7.el6.x86_64                                 38/47 

  Verifying  : systemtap-devel-1.7-3.el6.x86_64                           39/47 

  Verifying  : kernel-devel-2.6.32-262.el6.x86_64                         40/47 

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

  Verifying  : swig-1.3.40-6.el6.x86_64                                   42/47 

  Verifying  : rpm-build-4.8.0-27.el6.x86_64                              43/47 

  Verifying  : libproxy-0.3.0-2.el6.x86_64                                44/47 

  Verifying  : libtool-2.2.6-15.5.el6.x86_64                              45/47 

  Verifying  : subversion-1.6.11-6.el6.x86_64                             46/47 

  Verifying  : libart_lgpl-2.3.20-5.1.el6.x86_64                          47/47 

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

Dependency Installed:
  apr.x86_64 0:1.3.9-3.el6_1.2          apr-util.x86_64 0:1.3.9-3.el6_0.1      
  cloog-ppl.x86_64 0:0.15.7-1.2.el6     cpp.x86_64 0:4.4.6-4.el6               
  gettext-devel.x86_64 0:0.17-16.el6    gettext-libs.x86_64 0:0.17-16.el6      
  glibc-devel.x86_64 0:2.12-1.78.el6    glibc-headers.x86_64 0:2.12-1.78.el6   
  kernel-devel.x86_64 0:2.6.32-262.el6  kernel-headers.x86_64 0:2.6.32-262.el6 
  libart_lgpl.x86_64 0:2.3.20-5.1.el6   libgcj.x86_64 0:4.4.6-4.el6            
  libproxy.x86_64 0:0.3.0-2.el6         libproxy-bin.x86_64 0:0.3.0-2.el6      
  libproxy-python.x86_64 0:0.3.0-2.el6  libstdc++-devel.x86_64 0:4.4.6-4.el6   
  mpfr.x86_64 0:2.4.1-6.el6             neon.x86_64 0:0.29.3-2.el6             
  pakchois.x86_64 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.x86_64 0:0.10.2-11.el6             
  systemtap-client.x86_64 0:1.7-3.el6   systemtap-devel.x86_64 0:1.7-3.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
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 bash.x86_64 0:4.1.2-8.el6 will be updated
---> Package bash.x86_64 0:4.1.2-9.el6_2 will be an update
---> Package dmidecode.x86_64 1:2.11-2.el6 will be updated
---> Package dmidecode.x86_64 1:2.11-2.el6_1 will be an update
---> Package libgcrypt.x86_64 0:1.4.5-9.el6 will be updated
---> Package libgcrypt.x86_64 0:1.4.5-9.el6_2.2 will be an update
---> Package libpng.x86_64 2:1.2.48-1.el6_2 will be updated
---> Package libpng.x86_64 2:1.2.49-1.el6_2 will be an update
---> Package net-tools.x86_64 0:1.60-109.el6 will be updated
---> Package net-tools.x86_64 0:1.60-110.el6_2 will be an update
---> Package openssl.x86_64 0:1.0.0-20.el6_2.3 will be updated
---> Package openssl.x86_64 0:1.0.0-20.el6_2.4 will be an update
---> Package pam.x86_64 0:1.1.1-10.el6 will be updated
---> Package pam.x86_64 0:1.1.1-10.el6_2.1 will be an update
---> Package sudo.x86_64 0:1.7.4p5-8.el6 will be updated
---> Package sudo.x86_64 0:1.7.4p5-9.el6_2 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package   Arch   Version             Repository                           Size
================================================================================
Updating:
 bash      x86_64 4.1.2-9.el6_2       rhui-us-east-1-rhel-server-releases 903 k
 dmidecode x86_64 1:2.11-2.el6_1      rhui-us-east-1-rhel-server-releases  71 k
 libgcrypt x86_64 1.4.5-9.el6_2.2     rhui-us-east-1-rhel-server-releases 228 k
 libpng    x86_64 2:1.2.49-1.el6_2    rhui-us-east-1-rhel-server-releases 182 k
 net-tools x86_64 1.60-110.el6_2      rhui-us-east-1-rhel-server-releases 268 k
 openssl   x86_64 1.0.0-20.el6_2.4    rhui-us-east-1-rhel-server-releases 1.4 M
 pam       x86_64 1.1.1-10.el6_2.1    rhui-us-east-1-rhel-server-releases 656 k
 sudo      x86_64 1.7.4p5-9.el6_2     rhui-us-east-1-rhel-server-releases 419 k

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

Total download size: 4.0 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           3.0 MB/s | 4.0 MB     00:01     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Updating   : bash-4.1.2-9.el6_2.x86_64                                   1/16 

  Updating   : pam-1.1.1-10.el6_2.1.x86_64                                 2/16 

  Updating   : sudo-1.7.4p5-9.el6_2.x86_64                                 3/16 

  Updating   : openssl-1.0.0-20.el6_2.4.x86_64                             4/16 

  Updating   : 2:libpng-1.2.49-1.el6_2.x86_64                              5/16 

  Updating   : net-tools-1.60-110.el6_2.x86_64                             6/16 

  Updating   : libgcrypt-1.4.5-9.el6_2.2.x86_64                            7/16 

  Updating   : 1:dmidecode-2.11-2.el6_1.x86_64                             8/16 

  Cleanup    : sudo-1.7.4p5-8.el6.x86_64                                   9/16 

  Cleanup    : pam-1.1.1-10.el6.x86_64                                    10/16 

  Cleanup    : openssl-1.0.0-20.el6_2.3.x86_64                            11/16 

  Cleanup    : bash-4.1.2-8.el6.x86_64                                    12/16 

  Cleanup    : 2:libpng-1.2.48-1.el6_2.x86_64                             13/16 

  Cleanup    : net-tools-1.60-109.el6.x86_64                              14/16 

  Cleanup    : libgcrypt-1.4.5-9.el6.x86_64                               15/16 

  Cleanup    : 1:dmidecode-2.11-2.el6.x86_64                              16/16 
Installed products updated.

  Verifying  : 1:dmidecode-2.11-2.el6_1.x86_64                             1/16 

  Verifying  : libgcrypt-1.4.5-9.el6_2.2.x86_64                            2/16 

  Verifying  : pam-1.1.1-10.el6_2.1.x86_64                                 3/16 

  Verifying  : bash-4.1.2-9.el6_2.x86_64                                   4/16 

  Verifying  : net-tools-1.60-110.el6_2.x86_64                             5/16 

  Verifying  : openssl-1.0.0-20.el6_2.4.x86_64                             6/16 

  Verifying  : 2:libpng-1.2.49-1.el6_2.x86_64                              7/16 

  Verifying  : sudo-1.7.4p5-9.el6_2.x86_64                                 8/16 

  Verifying  : libgcrypt-1.4.5-9.el6.x86_64                                9/16 

  Verifying  : net-tools-1.60-109.el6.x86_64                              10/16 

  Verifying  : sudo-1.7.4p5-8.el6.x86_64                                  11/16 

  Verifying  : 1:dmidecode-2.11-2.el6.x86_64                              12/16 

  Verifying  : bash-4.1.2-8.el6.x86_64                                    13/16 

  Verifying  : openssl-1.0.0-20.el6_2.3.x86_64                            14/16 

  Verifying  : pam-1.1.1-10.el6.x86_64                                    15/16 

  Verifying  : 2:libpng-1.2.48-1.el6_2.x86_64                             16/16 

Updated:
  bash.x86_64 0:4.1.2-9.el6_2             dmidecode.x86_64 1:2.11-2.el6_1       
  libgcrypt.x86_64 0:1.4.5-9.el6_2.2      libpng.x86_64 2:1.2.49-1.el6_2        
  net-tools.x86_64 0:1.60-110.el6_2       openssl.x86_64 0:1.0.0-20.el6_2.4     
  pam.x86_64 0:1.1.1-10.el6_2.1           sudo.x86_64 0:1.7.4p5-9.el6_2         

Complete! 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no fa1lures in rpm package ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'failure in rpm package' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no rpm scriplet fa1lures ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'scriptlet failed, exit status 1' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify package removal... 
######################################################################################
COMMAND: /bin/rpm -e zsh
RETURN CODE: 0
COMMAND:  /bin/rpm -q zsh
RESULT: package zsh is not installed 
EXPECTED RESULT: package zsh is not installed
RETURN CODE: 1
PASS
######################################################################################
# NEW TEST: ## 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 no missing packages ... ## test repo files ... ## test repo files ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 23 mkovacik 2012-05-18 10:39:17 UTC
IMAGE ID= ami-48bc1b21_us-east-1_m1.large
###### TEST KERNEL AFTER REBOOT ####  
######################################################################################
# NEW TEST: ## Verify disabled yum plugin ... 
######################################################################################
COMMAND:  grep ^enabled /etc/yum/pluginconf.d/rhnplugin.conf | grep -v '^#' | cut -d\= -f2 | awk '{print }' | sort -f | uniq
RESULT:  0 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify kernel name ... 
######################################################################################
COMMAND:  /bin/uname -s
RESULT: Linux 
EXPECTED RESULT: Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest installed kernel is running ... 
######################################################################################
Detected rpm kernel version: 2.6.32-262.el6.x86_64
Detected uname kernel version: 2.6.32-262.el6.x86_64
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-262.el6.x86_64
RESULT: title RHEL6.3-20120416.0-Server-x86_64-starter-ec2 (2.6.32-262.el6.x86_64)
        kernel /boot/vmlinuz-2.6.32-262.el6.x86_64 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-262.el6.x86_64.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 7646172 > hwp MEMORY of 7500000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
hostname
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################

## Summary ##
FAILURES = 3
FAILED TESTS = ## Verify no missing packages ... ## test repo files ... ## test repo files ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 24 mkovacik 2012-05-18 10:39:36 UTC
IMAGE ID= ami-48bc1b21_us-east-1_m2.xlarge
###### TEST KERNEL AFTER REBOOT ####  
######################################################################################
# NEW TEST: ## Verify disabled yum plugin ... 
######################################################################################
COMMAND:  grep ^enabled /etc/yum/pluginconf.d/rhnplugin.conf | grep -v '^#' | cut -d\= -f2 | awk '{print }' | sort -f | uniq
RESULT:  0 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify kernel name ... 
######################################################################################
COMMAND:  /bin/uname -s
RESULT: Linux 
EXPECTED RESULT: Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest installed kernel is running ... 
######################################################################################
Detected rpm kernel version: 2.6.32-262.el6.x86_64
Detected uname kernel version: 2.6.32-262.el6.x86_64
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-262.el6.x86_64
RESULT: title RHEL6.3-20120416.0-Server-x86_64-starter-ec2 (2.6.32-262.el6.x86_64)
        kernel /boot/vmlinuz-2.6.32-262.el6.x86_64 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-262.el6.x86_64.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 17524268 > hwp MEMORY of 17100000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
hostname
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################

## Summary ##
FAILURES = 3
FAILED TESTS = ## Verify no missing packages ... ## test repo files ... ## test repo files ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 25 mkovacik 2012-05-18 10:41:45 UTC
IMAGE ID= ami-48bc1b21_us-east-1_m2.2xlarge
###### TEST KERNEL AFTER REBOOT ####  
######################################################################################
# NEW TEST: ## Verify disabled yum plugin ... 
######################################################################################
COMMAND:  grep ^enabled /etc/yum/pluginconf.d/rhnplugin.conf | grep -v '^#' | cut -d\= -f2 | awk '{print }' | sort -f | uniq
RESULT:  0 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify kernel name ... 
######################################################################################
COMMAND:  /bin/uname -s
RESULT: Linux 
EXPECTED RESULT: Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest installed kernel is running ... 
######################################################################################
Detected rpm kernel version: 2.6.32-262.el6.x86_64
Detected uname kernel version: 2.6.32-262.el6.x86_64
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-262.el6.x86_64
RESULT: title RHEL6.3-20120416.0-Server-x86_64-starter-ec2 (2.6.32-262.el6.x86_64)
        kernel /boot/vmlinuz-2.6.32-262.el6.x86_64 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-262.el6.x86_64.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 35127956 > hwp MEMORY of 34200000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
hostname
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################

## Summary ##
FAILURES = 3
FAILED TESTS = ## Verify no missing packages ... ## test repo files ... ## test repo files ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 26 mkovacik 2012-05-18 10:43:24 UTC
IMAGE ID= ami-48bc1b21_us-east-1_t1.micro
###### TEST KERNEL AFTER REBOOT ####  
######################################################################################
# NEW TEST: ## Verify disabled yum plugin ... 
######################################################################################
COMMAND:  grep ^enabled /etc/yum/pluginconf.d/rhnplugin.conf | grep -v '^#' | cut -d\= -f2 | awk '{print }' | sort -f | uniq
RESULT:  0 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify kernel name ... 
######################################################################################
COMMAND:  /bin/uname -s
RESULT: Linux 
EXPECTED RESULT: Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest installed kernel is running ... 
######################################################################################
Detected rpm kernel version: 2.6.32-262.el6.x86_64
Detected uname kernel version: 2.6.32-262.el6.x86_64
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-262.el6.x86_64
RESULT: title RHEL6.3-20120416.0-Server-x86_64-starter-ec2 (2.6.32-262.el6.x86_64)
        kernel /boot/vmlinuz-2.6.32-262.el6.x86_64 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-262.el6.x86_64.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 604856 > 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 no missing packages ... ## test repo files ... ## test repo files ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 27 mkovacik 2012-05-18 10:44:20 UTC
IMAGE ID= ami-48bc1b21_us-east-1_m2.4xlarge
###### TEST KERNEL AFTER REBOOT ####  
######################################################################################
# NEW TEST: ## Verify disabled yum plugin ... 
######################################################################################
COMMAND:  grep ^enabled /etc/yum/pluginconf.d/rhnplugin.conf | grep -v '^#' | cut -d\= -f2 | awk '{print }' | sort -f | uniq
RESULT:  0 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify kernel name ... 
######################################################################################
COMMAND:  /bin/uname -s
RESULT: Linux 
EXPECTED RESULT: Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest installed kernel is running ... 
######################################################################################
Detected rpm kernel version: 2.6.32-262.el6.x86_64
Detected uname kernel version: 2.6.32-262.el6.x86_64
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-262.el6.x86_64
RESULT: title RHEL6.3-20120416.0-Server-x86_64-starter-ec2 (2.6.32-262.el6.x86_64)
        kernel /boot/vmlinuz-2.6.32-262.el6.x86_64 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-262.el6.x86_64.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 70337128 > hwp MEMORY of 68400000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
hostname
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################

## Summary ##
FAILURES = 3
FAILED TESTS = ## Verify no missing packages ... ## test repo files ... ## test repo files ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 28 mkovacik 2012-05-18 10:45:42 UTC
IMAGE ID= ami-48bc1b21_us-east-1_c1.xlarge
###### TEST KERNEL AFTER REBOOT ####  
######################################################################################
# NEW TEST: ## Verify disabled yum plugin ... 
######################################################################################
COMMAND:  grep ^enabled /etc/yum/pluginconf.d/rhnplugin.conf | grep -v '^#' | cut -d\= -f2 | awk '{print }' | sort -f | uniq
RESULT:  0 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify kernel name ... 
######################################################################################
COMMAND:  /bin/uname -s
RESULT: Linux 
EXPECTED RESULT: Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest installed kernel is running ... 
######################################################################################
Detected rpm kernel version: 2.6.32-262.el6.x86_64
Detected uname kernel version: 2.6.32-262.el6.x86_64
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-262.el6.x86_64
RESULT: title RHEL6.3-20120416.0-Server-x86_64-starter-ec2 (2.6.32-262.el6.x86_64)
        kernel /boot/vmlinuz-2.6.32-262.el6.x86_64 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-262.el6.x86_64.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 7130376 > hwp MEMORY of 7000000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
hostname
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.3
######################################################################################

## Summary ##
FAILURES = 3
FAILED TESTS = ## Verify no missing packages ... ## test repo files ... ## test repo files ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 29 mkovacik 2012-05-18 11:59:37 UTC
"Acceptable" failures due to Beta Image being verified:
- the list of packages is OK; same as on a custom KVM 6.3 beta deployment 
- the repofiles are OK; there are the beta repo files in addition to expected
release repos
Changing state to verified

Comment 30 mkovacik 2012-06-13 11:42:29 UTC
Closing validated amis.

Comment 31 mkovacik 2012-06-13 11:45:50 UTC
Closing validated amis.