Bug 758167 - ami-10105542 6.2 i386 ap-southeast-1
Summary: ami-10105542 6.2 i386 ap-southeast-1
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Cloud Image Validation
Classification: Red Hat
Component: images
Version: RHEL6.2
Hardware: i386
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: wes hayutin
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-29 13:09 UTC by Kedar Bidarkar
Modified: 2011-12-16 15:32 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-16 15:32:21 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Kedar Bidarkar 2011-11-29 13:09:40 UTC

Comment 1 Kedar Bidarkar 2011-11-29 13:13:18 UTC
IMAGE ID= ami-10105542_ap-southeast-1_c1.medium
######################################################################################
# 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-175-41-169-201.ap-southeast-1.compute.amazonaws.com with Image Id : ami-10105542, is launched with Instance Id : i-2bb89a7e , Instance Type : c1.medium and Arch : i386 in the Region : ap-southeast-1b
The Validate Signature is : URqJGwfoUa3EQNuhxRdhKopAVKXyxukl1njQvQyXqe6VP6t4rB1hDEzsBWlpsiQZMHjZVLuh0eEt
f+QO94/vRx5aQLYTgXEw1IrJh2aHOJoUPyH3chOdrPMMFUQz+FjKZEOX16E0IIWe5TToXKbUbSpL
M5h7Se1kn0vgiM0uRIw=
This is a Cloud Access image
/root/valid/src
ip-10-128-253-3
Red Hat Enterprise Linux Server release 6.2 (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.2
######################################################################################
######################################################################################
# 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 ... 
######################################################################################
RHEL VERSION IS 6
LATEST_RPM_KERNEL_VERSION=rpm -q kernel --last | head -n 1 |  cut -c 8-60 | cut -d ' ' -f 1
CURRENT_UNAME_KERNAL_VERSION=2.6.32-220.el6
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed  's/\(.*\)...../\1/'
RESULT: 2.6.32-220.el6 
EXPECTED RESULT: 2.6.32-220.el6
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-220.el6
RESULT: title RHEL6.2-20111117.0-Server-i386-starter-ec2 (2.6.32-220.el6.i686)
        kernel /boot/vmlinuz-2.6.32-220.el6.i686 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-220.el6.i686.img 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify operating system ... 
######################################################################################
COMMAND:  /bin/uname -o
RESULT: GNU/Linux 
EXPECTED RESULT: GNU/Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel ... 
######################################################################################
COMMAND:  ls /etc/sysconfig/kernel
RESULT: /etc/sysconfig/kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains UPDATEDEFAULT ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep UPDATEDEFAULT=yes
RESULT: UPDATEDEFAULT=yes 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains DEFAULTKERNEL ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep DEFAULTKERNEL=kernel
RESULT: DEFAULTKERNEL=kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## 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: ## Verify turning on/off swap file ... 
######################################################################################
COMMAND:  /sbin/swapoff /dev/xvde3 && /sbin/swapon /dev/xvde3
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify swap size ... 
######################################################################################
free | grep Swap | awk '{print }'
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## /sbin/getenforce ... 
######################################################################################
COMMAND:  /usr/sbin/getenforce
RESULT: Enforcing 
EXPECTED RESULT: Enforcing
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify SELINUX enforcing ... 
######################################################################################
COMMAND:  grep ^SELINUX= /etc/sysconfig/selinux | cut -d\= -f2
RESULT: enforcing 
EXPECTED RESULT: enforcing
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify SELINUXTYPE targeted ... 
######################################################################################
COMMAND:  grep ^SELINUXTYPE= /etc/sysconfig/selinux | cut -d\= -f2
RESULT: targeted 
EXPECTED RESULT: targeted
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Flip Selinux Permissive ... 
######################################################################################
COMMAND:  /usr/sbin/setenforce Permissive && /usr/sbin/getenforce
RESULT: Permissive 
EXPECTED RESULT: Permissive
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Flip Selinux Enforcing ... 
######################################################################################
COMMAND:  /usr/sbin/setenforce Enforcing && /usr/sbin/getenforce
RESULT: Enforcing 
EXPECTED RESULT: Enforcing
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no missing packages ... 
######################################################################################
COMMAND: /bin/rpm -qa --queryformat='%{NAME}\n' > /tmp/rpmqa.tmp
RETURN CODE: 0
COMMAND: comm -23 packages_62 /tmp/rpmqa
RETURN CODE: 0
abrt-plugin-logger
abrt-plugin-rhtsupport
abrt-plugin-sosreport
COUNT = 3
COMMAND:  echo test failed
RESULT: test failed 
EXPECTED RESULT: 1
RETURN CODE: 0
FAIL2
test failed
######################################################################################
# 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...UG..    /var/run/abrt
.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: 6 
EXPECTED RESULT: 4
RETURN CODE: 0
FAIL2
6
######################################################################################
# NEW TEST: ## Verify Version 2 ... 
######################################################################################
COMMAND:  /bin/rpm -q --queryformat '%{RELEASE}\n' redhat-release-server | cut -d. -f1,2
RESULT: 6.2 
EXPECTED RESULT: 6.2
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: ## Verify GPG checking ... 
######################################################################################
COMMAND:  grep '^gpgcheck=1' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | sort -f | uniq
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify GPG Keys ... 
######################################################################################
COMMAND:  rpm -qa gpg-pubkey* | wc -l 
RESULT: 2 
EXPECTED RESULT: 2
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify GPG RPMS ... 
######################################################################################
COMMAND:  rpm -qa gpg-pubkey* | sort -f | tail -n 1
RESULT: gpg-pubkey-fd431d51-4ae0493b 
EXPECTED RESULT: gpg-pubkey-fd431d51-4ae0493b
RETURN CODE: 0
PASS
COMMAND:  rpm -qa gpg-pubkey* |  grep 2fa6
RESULT: gpg-pubkey-2fa658e0-45700c69 
EXPECTED RESULT: gpg-pubkey-2fa658e0-45700c69
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify disabled yum plugin ... 
######################################################################################
COMMAND:  grep ^enabled /etc/yum/pluginconf.d/rhnplugin.conf | grep -v '^#' | cut -d\= -f2 | awk '{print }' | sort -f | uniq
RESULT:  0 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## List the configured repositories...
######################################################################################
COMMAND:  /usr/bin/yum repolist
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
repo id                                  repo name                        status
rhui-ap-se-rhel-server-releases          Red Hat Enterprise Linux Server  4,316
rhui-ap-se-rhel-server-releases-optional Red Hat Enterprise Linux Server  2,682
rhui-ap-southeast-client-config-server-6 Red Hat Update Infrastructure 2.     1
repolist: 6,999 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Search zsh...
######################################################################################
COMMAND:  /usr/bin/yum search zsh
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
=============================== N/S Matched: zsh ===============================
python-twisted-core-zsh.i686 : Tab completion for Zsh and Twisted Core
zsh-html.i686 : Zsh shell manual in html format
zsh.i686 : A powerful interactive shell

  Name and summary matches only, use "search all" for everything. 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## install zsh ... 
######################################################################################
COMMAND: /usr/bin/yum -y install zsh
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
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
   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
   Debugging Tools
   Desktop
   Desktop Debugging and Performance Tools
   Desktop Platform Development
   Development tools
   Dial-up Networking Support
   Directory Server
   Eclipse
   Emacs
   Enterprise Identity Server Base
   FCoE Storage Client
   FTP server
   General Purpose Desktop
   Graphics Creation Tools
   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
   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]

Comment 2 Kedar Bidarkar 2011-11-29 13:13:23 UTC
   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'
Error: Package: gcc-c++-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
           Requires: libstdc++ = 4.4.5-6.el6
           Installed: libstdc++-4.4.6-3.el6.i686 (@koji-override-0/$releasever)
               libstdc++ = 4.4.4-15.el6
               libstdc++ = 4.4.6-3.el6
           Available: libstdc++-4.4.4-13.el6.i686 (rhui-ap-se-rhel-server-releases)
               libstdc++ = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
               libstdc++ = 4.4.4-15.el6
               libstdc++ = 4.4.5-6.el6
Error: Package: rpm-build-4.8.0-16.el6_1.1.i686 (rhui-ap-se-rhel-server-releases)
           Requires: rpm = 4.8.0-16.el6_1.1
           Installed: rpm-4.8.0-19.el6.i686 (@koji-override-0/$releasever)
               rpm = 4.8.0-19.el6
           Available: rpm-4.8.0-12.el6.i686 (rhui-ap-se-rhel-server-releases)
               rpm = 4.8.0-12.el6
           Available: rpm-4.8.0-16.el6.i686 (rhui-ap-se-rhel-server-releases)
               rpm = 4.8.0-16.el6
           Available: rpm-4.8.0-16.el6_1.1.i686 (rhui-ap-se-rhel-server-releases)
               rpm = 4.8.0-16.el6_1.1
Error: Package: systemtap-1.4-6.el6_1.3.i686 (rhui-ap-se-rhel-server-releases)
           Requires: systemtap-runtime = 1.4-6.el6_1.3
           Installed: systemtap-runtime-1.6-4.el6.i686 (@koji-override-0/$releasever)
               systemtap-runtime = 1.6-4.el6
           Available: systemtap-runtime-1.2-9.el6.i686 (rhui-ap-se-rhel-server-releases)
               systemtap-runtime = 1.2-9.el6
           Available: systemtap-runtime-1.2-11.el6_0.i686 (rhui-ap-se-rhel-server-releases)
               systemtap-runtime = 1.2-11.el6_0
           Available: systemtap-runtime-1.4-6.el6.i686 (rhui-ap-se-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6
           Available: systemtap-runtime-1.4-6.el6_1.1.i686 (rhui-ap-se-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.1
           Available: systemtap-runtime-1.4-6.el6_1.2.i686 (rhui-ap-se-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.2
           Available: systemtap-runtime-1.4-6.el6_1.3.i686 (rhui-ap-se-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.3
Error: Package: glibc-devel-2.12-1.25.el6_1.3.i686 (rhui-ap-se-rhel-server-releases)
           Requires: glibc = 2.12-1.25.el6_1.3
           Installed: glibc-2.12-1.47.el6.i686 (@koji-override-0/$releasever)
               glibc = 2.12-1.47.el6
           Available: glibc-2.12-1.7.el6.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6
           Available: glibc-2.12-1.7.el6_0.3.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.3
           Available: glibc-2.12-1.7.el6_0.4.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.4
           Available: glibc-2.12-1.7.el6_0.5.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.5
           Available: glibc-2.12-1.25.el6.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.25.el6
           Available: glibc-2.12-1.25.el6_1.3.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.25.el6_1.3
Error: Package: glibc-headers-2.12-1.25.el6_1.3.i686 (rhui-ap-se-rhel-server-releases)
           Requires: glibc = 2.12-1.25.el6_1.3
           Installed: glibc-2.12-1.47.el6.i686 (@koji-override-0/$releasever)
               glibc = 2.12-1.47.el6
           Available: glibc-2.12-1.7.el6.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6
           Available: glibc-2.12-1.7.el6_0.3.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.3
           Available: glibc-2.12-1.7.el6_0.4.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.4
           Available: glibc-2.12-1.7.el6_0.5.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.5
           Available: glibc-2.12-1.25.el6.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.25.el6
           Available: glibc-2.12-1.25.el6_1.3.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.25.el6_1.3
Error: Package: gcc-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
           Requires: libgomp = 4.4.5-6.el6
           Installed: libgomp-4.4.6-3.el6.i686 (@koji-override-0/$releasever)
               libgomp = 4.4.4-15.el6
               libgomp = 4.4.6-3.el6
           Available: libgomp-4.4.4-13.el6.i686 (rhui-ap-se-rhel-server-releases)
               libgomp = 4.4.4-13.el6
           Available: libgomp-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
               libgomp = 4.4.4-15.el6
               libgomp = 4.4.5-6.el6
Error: Package: gcc-gfortran-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
           Requires: libgfortran = 4.4.5-6.el6
           Installed: libgfortran-4.4.6-3.el6.i686 (@koji-override-0/$releasever)
               libgfortran = 4.4.4-15.el6
               libgfortran = 4.4.6-3.el6
           Available: libgfortran-4.4.4-13.el6.i686 (rhui-ap-se-rhel-server-releases)
               libgfortran = 4.4.4-13.el6
           Available: libgfortran-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
               libgfortran = 4.4.4-15.el6
               libgfortran = 4.4.5-6.el6
Error: Package: libstdc++-devel-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
           Requires: libstdc++(x86-32) = 4.4.5-6.el6
           Installed: libstdc++-4.4.6-3.el6.i686 (@koji-override-0/$releasever)
               libstdc++(x86-32) = 4.4.6-3.el6
           Available: libstdc++-4.4.4-13.el6.i686 (rhui-ap-se-rhel-server-releases)
               libstdc++(x86-32) = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
               libstdc++(x86-32) = 4.4.5-6.el6
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-19.el6.i686 already installed and latest version
Package patch-2.6-6.el6.i686 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.i686 already installed and latest version
Package gettext-0.17-16.el6.i686 already installed and latest version
Package matching binutils-2.20.51.0.2-5.20.el6_1.1.i686 already installed. Checking for update.
Package elfutils-0.152-1.el6.i686 already installed and latest version
Package cvs-1.11.23-11.el6_0.1.i686 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed
---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed
---> Package bison.i686 0:2.4.1-5.el6 will be installed
---> Package byacc.i686 0:1.9.20070509-6.1.el6 will be installed
---> Package cscope.i686 0:15.6-6.el6 will be installed
---> Package ctags.i686 0:5.8-2.el6 will be installed
---> Package diffstat.i686 0:1.51-2.el6 will be installed
---> Package doxygen.i686 1:1.6.1-4.el6 will be installed
---> Package flex.i686 0:2.5.35-8.el6 will be installed
---> Package gcc.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686
--> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.i686
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.i686
---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686
--> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686
--> Processing Dependency: libmpfr.so.1 for package: gcc-c++-4.4.5-6.el6.i686
---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686
---> Package git.i686 0:1.7.1-2.el6_0.1 will be installed
--> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.i686
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.i686
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.i686
---> Package indent.i686 0:2.2.10-5.1.el6 will be installed
---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed
--> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch
---> Package libtool.i686 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.i686 0:0.3.1-3.1.el6 will be installed
---> Package rcs.i686 0:5.7-37.el6 will be installed
---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed
---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed
--> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686
---> Package subversion.i686 0:1.6.11-2.el6_1.4 will be installed
--> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libaprutil-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libapr-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libneon.so.27 for package: subversion-1.6.11-2.el6_1.4.i686
---> Package swig.i686 0:1.3.40-5.el6 will be installed
---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed
--> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686
--> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.i686
--> Running transaction check
---> Package apr.i686 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util.i686 0:1.3.9-3.el6_0.1 will be installed
---> Package cloog-ppl.i686 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2 for package: cloog-ppl-0.15.7-1.2.el6.i686
--> Processing Dependency: libppl.so.7 for package: cloog-ppl-0.15.7-1.2.el6.i686
---> Package cpp.i686 0:4.4.5-6.el6 will be installed
---> Package gcc.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686
---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686
---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686
---> Package gettext-devel.i686 0:0.17-16.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libgettextpo.so.0 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libasprintf.so.0 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libgcj_bc.so.1 for package: gettext-devel-0.17-16.el6.i686
---> Package glibc-devel.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686
--> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.i686
---> Package kernel-devel.i686 0:2.6.32-131.21.1.el6 will be installed
---> Package libstdc++-devel.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.i686
---> Package mpfr.i686 0:2.4.1-6.el6 will be installed
---> Package neon.i686 0:0.29.3-1.2.el6 will be installed
--> Processing Dependency: libpakchois.so.0 for package: neon-0.29.3-1.2.el6.i686
--> Processing Dependency: libproxy.so.0 for package: neon-0.29.3-1.2.el6.i686
---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed
---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed
---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed
--> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686
---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed
--> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686
--> Running transaction check
---> Package gcc.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686
---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686
---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686
---> Package gettext-libs.i686 0:0.17-16.el6 will be installed
---> Package glibc-devel.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686
---> Package glibc-headers.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-headers-2.12-1.25.el6_1.3.i686
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.i686
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.i686
---> Package libgcj.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.i686
---> Package libproxy.i686 0:0.3.0-2.el6 will be installed
--> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686
--> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686
---> Package libstdc++-devel.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.i686
---> Package pakchois.i686 0:0.4-3.2.el6 will be installed
---> Package ppl.i686 0:0.10.2-11.el6 will be installed
---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed
--> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686
---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed
--> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686
--> Running transaction check
---> Package gcc.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686
---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686
---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686
---> Package glibc-devel.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686
---> Package glibc-headers.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-headers-2.12-1.25.el6_1.3.i686
---> Package kernel-headers.i686 0:2.6.32-131.21.1.el6 will be installed
---> Package libart_lgpl.i686 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.i686 0:0.3.0-2.el6 will be installed
---> Package libproxy-python.i686 0:0.3.0-2.el6 will be installed
---> Package libstdc++-devel.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.i686
---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed
--> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686
---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed
--> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686
--> Finished Dependency Resolution
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest 
EXPECTED RESULT: 
RETURN CODE: 1
FAIL1
Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Setting up Group Process Package 1:make-3.81-19.el6.i686 already installed and latest version Package patch-2.6-6.el6.i686 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.i686 already installed and latest version Package gettext-0.17-16.el6.i686 already installed and latest version Package matching binutils-2.20.51.0.2-5.20.el6_1.1.i686 already installed. Checking for update. Package elfutils-0.152-1.el6.i686 already installed and latest version Package cvs-1.11.23-11.el6_0.1.i686 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.i686 0:2.4.1-5.el6 will be installed ---> Package byacc.i686 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.i686 0:15.6-6.el6 will be installed ---> Package ctags.i686 0:5.8-2.el6 will be installed ---> Package diffstat.i686 0:1.51-2.el6 will be installed ---> Package doxygen.i686 1:1.6.1-4.el6 will be installed ---> Package flex.i686 0:2.5.35-8.el6 will be installed ---> Package gcc.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686 --> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.i686 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.i686 ---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686 --> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686 --> Processing Dependency: libmpfr.so.1 for package: gcc-c++-4.4.5-6.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686 ---> Package git.i686 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.i686 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.i686 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.i686 ---> Package indent.i686 0:2.2.10-5.1.el6 will be installed ---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed --> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch ---> Package libtool.i686 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.i686 0:0.3.1-3.1.el6 will be installed ---> Package rcs.i686 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed ---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed --> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686 ---> Package subversion.i686 0:1.6.11-2.el6_1.4 will be installed --> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libaprutil-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libapr-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libneon.so.27 for package: subversion-1.6.11-2.el6_1.4.i686 ---> Package swig.i686 0:1.3.40-5.el6 will be installed ---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed --> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686 --> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.i686 --> Running transaction check ---> Package apr.i686 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.i686 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.i686 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2 for package: cloog-ppl-0.15.7-1.2.el6.i686 --> Processing Dependency: libppl.so.7 for package: cloog-ppl-0.15.7-1.2.el6.i686 ---> Package cpp.i686 0:4.4.5-6.el6 will be installed ---> Package gcc.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686 ---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686 ---> Package gettext-devel.i686 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libgettextpo.so.0 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libasprintf.so.0 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libgcj_bc.so.1 for package: gettext-devel-0.17-16.el6.i686 ---> Package glibc-devel.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686 --> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.i686 ---> Package kernel-devel.i686 0:2.6.32-131.21.1.el6 will be installed ---> Package libstdc++-devel.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.i686 ---> Package mpfr.i686 0:2.4.1-6.el6 will be installed ---> Package neon.i686 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libpakchois.so.0 for package: neon-0.29.3-1.2.el6.i686 --> Processing Dependency: libproxy.so.0 for package: neon-0.29.3-1.2.el6.i686 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed --> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686 ---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed --> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686 --> Running transaction check ---> Package gcc.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686 ---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686 ---> Package gettext-libs.i686 0:0.17-16.el6 will be installed ---> Package glibc-devel.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686 ---> Package glibc-headers.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-headers-2.12-1.25.el6_1.3.i686 --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.i686 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.i686 ---> Package libgcj.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.i686 ---> Package libproxy.i686 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686 ---> Package libstdc++-devel.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.i686 ---> Package pakchois.i686 0:0.4-3.2.el6 will be installed ---> Package ppl.i686 0:0.10.2-11.el6 will be installed ---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed --> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686 ---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed --> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686 --> Running transaction check ---> Package gcc.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686 ---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686 ---> Package glibc-devel.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686 ---> Package glibc-headers.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-headers-2.12-1.25.el6_1.3.i686 ---> Package kernel-headers.i686 0:2.6.32-131.21.1.el6 will be installed ---> Package libart_lgpl.i686 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.i686 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.i686 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.i686 ---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed --> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686 ---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed --> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686 --> Finished Dependency Resolution You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package dmidecode.i686 1:2.11-2.el6 will be updated
---> Package dmidecode.i686 1:2.11-2.el6_1 will be an update
---> Package freetype.i686 0:2.3.11-6.el6_1.7 will be updated
---> Package freetype.i686 0:2.3.11-6.el6_1.8 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package     Arch   Version             Repository                         Size
================================================================================
Updating:
 dmidecode   i686   1:2.11-2.el6_1      rhui-ap-se-rhel-server-releases    70 k
 freetype    i686   2.3.11-6.el6_1.8    rhui-ap-se-rhel-server-releases   362 k

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

Total download size: 433 k
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           1.3 MB/s | 433 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Updating   : freetype-2.3.11-6.el6_1.8.i686                               1/4 

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

  Cleanup    : freetype-2.3.11-6.el6_1.7.i686                               3/4 

  Cleanup    : 1:dmidecode-2.11-2.el6.i686                                  4/4 
Installed products updated.

Updated:
  dmidecode.i686 1:2.11-2.el6_1         freetype.i686 0:2.3.11-6.el6_1.8        

Complete! 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no fa1lures in rpm package ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'failure in rpm package' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no rpm scriplet fa1lures ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'scriptlet failed, exit status 1' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify package removal... 
######################################################################################
COMMAND: /bin/rpm -e zsh
RETURN CODE: 0
COMMAND:  /bin/rpm -q zsh
RESULT: package zsh is not installed 
EXPECTED RESULT: package zsh is not installed
RETURN CODE: 1
PASS
######################################################################################
# NEW TEST: ## Verify bash_history ... 
######################################################################################
COMMAND:  cat ~/.bash_history | wc -l 
RESULT: 0 
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no systemid file ... 
######################################################################################
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rh-cloud-firstboot is OFF ... 
######################################################################################
COMMAND:  chkconfig --list | grep rh-cloud | grep 3:off | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
/etc/sysconfig/rh-cloud-firstboot FOUND
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
COMMAND:  cat /etc/sysconfig/rh-cloud-firstboot
RESULT: RUN_FIRSTBOOT=NO 
EXPECTED RESULT: RUN_FIRSTBOOT=NO
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify nameserver ... 
######################################################################################
COMMAND:  /usr/bin/dig clock.redhat.com 2>> /root/valid/src/validate.log | grep 66.187.233.4  | wc -l
RESULT: 1 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify group file ... 
######################################################################################
COMMAND:  cat /etc/group | grep root:x:0
RESULT: root:x:0:root 
EXPECTED RESULT: root:x:0:root
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep bin:x:1
RESULT: bin:x:1:root,bin,daemon 
EXPECTED RESULT: bin:x:1:root,bin,daemon
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep daemon:x:2
RESULT: daemon:x:2:root,bin,daemon 
EXPECTED RESULT: daemon:x:2:root,bin,daemon
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep nobody:x:99
RESULT: nobody:x:99: 
EXPECTED RESULT: nobody:x:99:
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify new passwd file ... 
######################################################################################
COMMAND:  cat /etc/passwd | grep root:x:0
RESULT: root:x:0:0:root:/root:/bin/bash 
EXPECTED RESULT: root:x:0:0:root:/root:/bin/bash
RETURN CODE: 0
PASS
COMMAND:  cat /etc/passwd | grep nobody:x:99
RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin 
EXPECTED RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin
RETURN CODE: 0
PASS
COMMAND:  cat /etc/passwd | grep sshd
RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin 
EXPECTED RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify runlevel ... 
######################################################################################
COMMAND:  cat /etc/inittab | grep id:
RESULT: id:3:initdefault: 
EXPECTED RESULT: id:3:initdefault:
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify new shells file ... 
######################################################################################
COMMAND:  cat /etc/shells | grep bash
RESULT: /bin/bash 
EXPECTED RESULT: /bin/bash
RETURN CODE: 0
PASS
COMMAND:  cat /etc/shells | grep nologin
RESULT: /sbin/nologin 
EXPECTED RESULT: /sbin/nologin
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify networking ... 
######################################################################################
COMMAND:  grep ^NETWORKING= /etc/sysconfig/network | cut -d\= -f2
RESULT: yes 
EXPECTED RESULT: yes
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify device ... 
######################################################################################
COMMAND:  grep ^DEVICE= /etc/sysconfig/network-scripts/ifcfg-eth0 | cut -d\= -f2
RESULT: eth0 
EXPECTED RESULT: eth0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify iptables ... 
######################################################################################
COMMAND: /etc/init.d/iptables status | grep REJECT 
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 sshd ...
######################################################################################
COMMAND:  chkconfig --list | grep sshd
RESULT: sshd           	0:off	1:off	2:on	3:on	4:on	5:on	6:off 
EXPECTED RESULT: sshd           	0:off	1:off	2:on	3:on	4:on	5:on	6:off
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/sshd status | grep running | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify  chkconfig ... 
######################################################################################
COMMAND:  chkconfig --list | grep crond | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
COMMAND:  chkconfig --list | grep  iptables | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0

Comment 3 Kedar Bidarkar 2011-11-29 13:13:28 UTC
PASS
######################################################################################
# NEW TEST: ## Verify rsyslog is on ... 
######################################################################################
COMMAND:  chkconfig --list | grep rsyslog | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rsyslog config ... 
######################################################################################
COMMAND:  md5sum /etc/rsyslog.conf | cut -f 1 -d  " "
RESULT: dd356958ca9c4e779f7fac13dde3c1b5 
EXPECTED RESULT: dd356958ca9c4e779f7fac13dde3c1b5
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify auditd is on ... 
######################################################################################
COMMAND:  /sbin/chkconfig --list auditd | grep 3:on
RESULT: auditd         	0:off	1:off	2:on	3:on	4:on	5:on	6:off 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
COMMAND:  /sbin/chkconfig --list auditd | grep 5:on
RESULT: auditd         	0:off	1:off	2:on	3:on	4:on	5:on	6:off 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify audit.rules ... 
######################################################################################
COMMAND:  md5sum /etc/audit/audit.rules | cut -f 1 -d  " "
RESULT: f9869e1191838c461f5b9051c78a638d 
EXPECTED RESULT: f9869e1191838c461f5b9051c78a638d
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify auditd.conf ... 
######################################################################################
COMMAND:  md5sum /etc/audit/auditd.conf | cut -f 1 -d  " "
RESULT: 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 sshd_config settings ...
######################################################################################
COMMAND:  cat /etc/ssh/sshd_config  | grep  PasswordAuthentication | grep no | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/ld.so.conf.d/libc6-xen.conf is not present ... 
######################################################################################
COMMAND:  ls /etc/ld.so.conf.d/libc6-xen.conf
ls: 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: ##test menu.lst ... 
######################################################################################
COMMAND:  file /boot/grub/menu.lst  | grep symbolic | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  file /boot/grub/menu.lst  | grep grub.conf | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  cat /boot/grub/grub.conf  | grep "(hd0,0)" | wc -l
RESULT: 0 
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify resize2fs ... 
######################################################################################
COMMAND: resize2fs -p /dev/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
######################################################################################
# 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-175-41-169-201.ap-southeast-1.compute.amazonaws.com with Image Id : ami-10105542, is launched with Instance Id : i-2bb89a7e , Instance Type : c1.medium and Arch : i386 in the Region : ap-southeast-1b
The Validate Signature is : URqJGwfoUa3EQNuhxRdhKopAVKXyxukl1njQvQyXqe6VP6t4rB1hDEzsBWlpsiQZMHjZVLuh0eEt
f+QO94/vRx5aQLYTgXEw1IrJh2aHOJoUPyH3chOdrPMMFUQz+FjKZEOX16E0IIWe5TToXKbUbSpL
M5h7Se1kn0vgiM0uRIw=
This is a Cloud Access image

## Summary ##
FAILURES = 3
FAILED TESTS = ## Verify no missing packages ... ## Verify RPMs ... ## Install Development tools group...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 4 Kedar Bidarkar 2011-11-29 13:16:44 UTC
IMAGE ID= ami-10105542_ap-southeast-1_m1.small
######################################################################################
# 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-122-248-224-34.ap-southeast-1.compute.amazonaws.com with Image Id : ami-10105542, is launched with Instance Id : i-cfb89a9a , Instance Type : m1.small and Arch : i386 in the Region : ap-southeast-1a
The Validate Signature is : WkPJX1q9h4TSbIT2w4QrjLq3LxozULhVEMKh1uze0bJfae09dAyUD5DN5iMPf2Hm5SmhqXoYe6N9
Tp0AM6cLK1pc2lXCLbjHI1oAUzUfmEd/F/vsiXQQ/O+W3pkVpyQkLLl7Hhtm7GEXp6/cOWgdc+gz
mfYcUv1EFMVPBNEY5FU=
This is a Cloud Access image
/root/valid/src
ip-10-136-73-100
Red Hat Enterprise Linux Server release 6.2 (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.2
######################################################################################
######################################################################################
# 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 ... 
######################################################################################
RHEL VERSION IS 6
LATEST_RPM_KERNEL_VERSION=rpm -q kernel --last | head -n 1 |  cut -c 8-60 | cut -d ' ' -f 1
CURRENT_UNAME_KERNAL_VERSION=2.6.32-220.el6
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed  's/\(.*\)...../\1/'
RESULT: 2.6.32-220.el6 
EXPECTED RESULT: 2.6.32-220.el6
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-220.el6
RESULT: title RHEL6.2-20111117.0-Server-i386-starter-ec2 (2.6.32-220.el6.i686)
        kernel /boot/vmlinuz-2.6.32-220.el6.i686 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-220.el6.i686.img 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify operating system ... 
######################################################################################
COMMAND:  /bin/uname -o
RESULT: GNU/Linux 
EXPECTED RESULT: GNU/Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel ... 
######################################################################################
COMMAND:  ls /etc/sysconfig/kernel
RESULT: /etc/sysconfig/kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains UPDATEDEFAULT ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep UPDATEDEFAULT=yes
RESULT: UPDATEDEFAULT=yes 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains DEFAULTKERNEL ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep DEFAULTKERNEL=kernel
RESULT: DEFAULTKERNEL=kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## 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: ## Verify turning on/off swap file ... 
######################################################################################
COMMAND:  /sbin/swapoff /dev/xvde3 && /sbin/swapon /dev/xvde3
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify swap size ... 
######################################################################################
free | grep Swap | awk '{print }'
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## /sbin/getenforce ... 
######################################################################################
COMMAND:  /usr/sbin/getenforce
RESULT: Enforcing 
EXPECTED RESULT: Enforcing
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify SELINUX enforcing ... 
######################################################################################
COMMAND:  grep ^SELINUX= /etc/sysconfig/selinux | cut -d\= -f2
RESULT: enforcing 
EXPECTED RESULT: enforcing
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify SELINUXTYPE targeted ... 
######################################################################################
COMMAND:  grep ^SELINUXTYPE= /etc/sysconfig/selinux | cut -d\= -f2
RESULT: targeted 
EXPECTED RESULT: targeted
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Flip Selinux Permissive ... 
######################################################################################
COMMAND:  /usr/sbin/setenforce Permissive && /usr/sbin/getenforce
RESULT: Permissive 
EXPECTED RESULT: Permissive
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Flip Selinux Enforcing ... 
######################################################################################
COMMAND:  /usr/sbin/setenforce Enforcing && /usr/sbin/getenforce
RESULT: Enforcing 
EXPECTED RESULT: Enforcing
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no missing packages ... 
######################################################################################
COMMAND: /bin/rpm -qa --queryformat='%{NAME}\n' > /tmp/rpmqa.tmp
RETURN CODE: 0
COMMAND: comm -23 packages_62 /tmp/rpmqa
RETURN CODE: 0
abrt-plugin-logger
abrt-plugin-rhtsupport
abrt-plugin-sosreport
COUNT = 3
COMMAND:  echo test failed
RESULT: test failed 
EXPECTED RESULT: 1
RETURN CODE: 0
FAIL2
test failed
######################################################################################
# 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...UG..    /var/run/abrt
.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: 6 
EXPECTED RESULT: 4
RETURN CODE: 0
FAIL2
6
######################################################################################
# NEW TEST: ## Verify Version 2 ... 
######################################################################################
COMMAND:  /bin/rpm -q --queryformat '%{RELEASE}\n' redhat-release-server | cut -d. -f1,2
RESULT: 6.2 
EXPECTED RESULT: 6.2
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: ## Verify GPG checking ... 
######################################################################################
COMMAND:  grep '^gpgcheck=1' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | sort -f | uniq
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify GPG Keys ... 
######################################################################################
COMMAND:  rpm -qa gpg-pubkey* | wc -l 
RESULT: 2 
EXPECTED RESULT: 2
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify GPG RPMS ... 
######################################################################################
COMMAND:  rpm -qa gpg-pubkey* | sort -f | tail -n 1
RESULT: gpg-pubkey-fd431d51-4ae0493b 
EXPECTED RESULT: gpg-pubkey-fd431d51-4ae0493b
RETURN CODE: 0
PASS
COMMAND:  rpm -qa gpg-pubkey* |  grep 2fa6
RESULT: gpg-pubkey-2fa658e0-45700c69 
EXPECTED RESULT: gpg-pubkey-2fa658e0-45700c69
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify disabled yum plugin ... 
######################################################################################
COMMAND:  grep ^enabled /etc/yum/pluginconf.d/rhnplugin.conf | grep -v '^#' | cut -d\= -f2 | awk '{print }' | sort -f | uniq
RESULT:  0 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## List the configured repositories...
######################################################################################
COMMAND:  /usr/bin/yum repolist
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
repo id                                  repo name                        status
rhui-ap-se-rhel-server-releases          Red Hat Enterprise Linux Server  4,316
rhui-ap-se-rhel-server-releases-optional Red Hat Enterprise Linux Server  2,682
rhui-ap-southeast-client-config-server-6 Red Hat Update Infrastructure 2.     1
repolist: 6,999 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Search zsh...
######################################################################################
COMMAND:  /usr/bin/yum search zsh
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
=============================== N/S Matched: zsh ===============================
python-twisted-core-zsh.i686 : Tab completion for Zsh and Twisted Core
zsh-html.i686 : Zsh shell manual in html format
zsh.i686 : A powerful interactive shell

  Name and summary matches only, use "search all" for everything. 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## install zsh ... 
######################################################################################
COMMAND: /usr/bin/yum -y install zsh
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
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
   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
   Debugging Tools
   Desktop
   Desktop Debugging and Performance Tools
   Desktop Platform Development
   Development tools
   Dial-up Networking Support
   Directory Server
   Eclipse
   Emacs
   Enterprise Identity Server Base
   FCoE Storage Client
   FTP server
   General Purpose Desktop
   Graphics Creation Tools
   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
   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]

Comment 5 Kedar Bidarkar 2011-11-29 13:16:49 UTC
   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'
Error: Package: gcc-c++-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
           Requires: libstdc++ = 4.4.5-6.el6
           Installed: libstdc++-4.4.6-3.el6.i686 (@koji-override-0/$releasever)
               libstdc++ = 4.4.4-15.el6
               libstdc++ = 4.4.6-3.el6
           Available: libstdc++-4.4.4-13.el6.i686 (rhui-ap-se-rhel-server-releases)
               libstdc++ = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
               libstdc++ = 4.4.4-15.el6
               libstdc++ = 4.4.5-6.el6
Error: Package: rpm-build-4.8.0-16.el6_1.1.i686 (rhui-ap-se-rhel-server-releases)
           Requires: rpm = 4.8.0-16.el6_1.1
           Installed: rpm-4.8.0-19.el6.i686 (@koji-override-0/$releasever)
               rpm = 4.8.0-19.el6
           Available: rpm-4.8.0-12.el6.i686 (rhui-ap-se-rhel-server-releases)
               rpm = 4.8.0-12.el6
           Available: rpm-4.8.0-16.el6.i686 (rhui-ap-se-rhel-server-releases)
               rpm = 4.8.0-16.el6
           Available: rpm-4.8.0-16.el6_1.1.i686 (rhui-ap-se-rhel-server-releases)
               rpm = 4.8.0-16.el6_1.1
Error: Package: systemtap-1.4-6.el6_1.3.i686 (rhui-ap-se-rhel-server-releases)
           Requires: systemtap-runtime = 1.4-6.el6_1.3
           Installed: systemtap-runtime-1.6-4.el6.i686 (@koji-override-0/$releasever)
               systemtap-runtime = 1.6-4.el6
           Available: systemtap-runtime-1.2-9.el6.i686 (rhui-ap-se-rhel-server-releases)
               systemtap-runtime = 1.2-9.el6
           Available: systemtap-runtime-1.2-11.el6_0.i686 (rhui-ap-se-rhel-server-releases)
               systemtap-runtime = 1.2-11.el6_0
           Available: systemtap-runtime-1.4-6.el6.i686 (rhui-ap-se-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6
           Available: systemtap-runtime-1.4-6.el6_1.1.i686 (rhui-ap-se-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.1
           Available: systemtap-runtime-1.4-6.el6_1.2.i686 (rhui-ap-se-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.2
           Available: systemtap-runtime-1.4-6.el6_1.3.i686 (rhui-ap-se-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.3
Error: Package: glibc-devel-2.12-1.25.el6_1.3.i686 (rhui-ap-se-rhel-server-releases)
           Requires: glibc = 2.12-1.25.el6_1.3
           Installed: glibc-2.12-1.47.el6.i686 (@koji-override-0/$releasever)
               glibc = 2.12-1.47.el6
           Available: glibc-2.12-1.7.el6.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6
           Available: glibc-2.12-1.7.el6_0.3.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.3
           Available: glibc-2.12-1.7.el6_0.4.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.4
           Available: glibc-2.12-1.7.el6_0.5.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.5
           Available: glibc-2.12-1.25.el6.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.25.el6
           Available: glibc-2.12-1.25.el6_1.3.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.25.el6_1.3
Error: Package: glibc-headers-2.12-1.25.el6_1.3.i686 (rhui-ap-se-rhel-server-releases)
           Requires: glibc = 2.12-1.25.el6_1.3
           Installed: glibc-2.12-1.47.el6.i686 (@koji-override-0/$releasever)
               glibc = 2.12-1.47.el6
           Available: glibc-2.12-1.7.el6.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6
           Available: glibc-2.12-1.7.el6_0.3.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.3
           Available: glibc-2.12-1.7.el6_0.4.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.4
           Available: glibc-2.12-1.7.el6_0.5.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.5
           Available: glibc-2.12-1.25.el6.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.25.el6
           Available: glibc-2.12-1.25.el6_1.3.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.25.el6_1.3
Error: Package: gcc-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
           Requires: libgomp = 4.4.5-6.el6
           Installed: libgomp-4.4.6-3.el6.i686 (@koji-override-0/$releasever)
               libgomp = 4.4.4-15.el6
               libgomp = 4.4.6-3.el6
           Available: libgomp-4.4.4-13.el6.i686 (rhui-ap-se-rhel-server-releases)
               libgomp = 4.4.4-13.el6
           Available: libgomp-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
               libgomp = 4.4.4-15.el6
               libgomp = 4.4.5-6.el6
Error: Package: gcc-gfortran-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
           Requires: libgfortran = 4.4.5-6.el6
           Installed: libgfortran-4.4.6-3.el6.i686 (@koji-override-0/$releasever)
               libgfortran = 4.4.4-15.el6
               libgfortran = 4.4.6-3.el6
           Available: libgfortran-4.4.4-13.el6.i686 (rhui-ap-se-rhel-server-releases)
               libgfortran = 4.4.4-13.el6
           Available: libgfortran-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
               libgfortran = 4.4.4-15.el6
               libgfortran = 4.4.5-6.el6
Error: Package: libstdc++-devel-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
           Requires: libstdc++(x86-32) = 4.4.5-6.el6
           Installed: libstdc++-4.4.6-3.el6.i686 (@koji-override-0/$releasever)
               libstdc++(x86-32) = 4.4.6-3.el6
           Available: libstdc++-4.4.4-13.el6.i686 (rhui-ap-se-rhel-server-releases)
               libstdc++(x86-32) = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
               libstdc++(x86-32) = 4.4.5-6.el6
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-19.el6.i686 already installed and latest version
Package patch-2.6-6.el6.i686 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.i686 already installed and latest version
Package gettext-0.17-16.el6.i686 already installed and latest version
Package matching binutils-2.20.51.0.2-5.20.el6_1.1.i686 already installed. Checking for update.
Package elfutils-0.152-1.el6.i686 already installed and latest version
Package cvs-1.11.23-11.el6_0.1.i686 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed
---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed
---> Package bison.i686 0:2.4.1-5.el6 will be installed
---> Package byacc.i686 0:1.9.20070509-6.1.el6 will be installed
---> Package cscope.i686 0:15.6-6.el6 will be installed
---> Package ctags.i686 0:5.8-2.el6 will be installed
---> Package diffstat.i686 0:1.51-2.el6 will be installed
---> Package doxygen.i686 1:1.6.1-4.el6 will be installed
---> Package flex.i686 0:2.5.35-8.el6 will be installed
---> Package gcc.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686
--> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.i686
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.i686
---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686
--> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686
--> Processing Dependency: libmpfr.so.1 for package: gcc-c++-4.4.5-6.el6.i686
---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686
---> Package git.i686 0:1.7.1-2.el6_0.1 will be installed
--> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.i686
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.i686
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.i686
---> Package indent.i686 0:2.2.10-5.1.el6 will be installed
---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed
--> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch
---> Package libtool.i686 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.i686 0:0.3.1-3.1.el6 will be installed
---> Package rcs.i686 0:5.7-37.el6 will be installed
---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed
---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed
--> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686
---> Package subversion.i686 0:1.6.11-2.el6_1.4 will be installed
--> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libaprutil-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libapr-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libneon.so.27 for package: subversion-1.6.11-2.el6_1.4.i686
---> Package swig.i686 0:1.3.40-5.el6 will be installed
---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed
--> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686
--> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.i686
--> Running transaction check
---> Package apr.i686 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util.i686 0:1.3.9-3.el6_0.1 will be installed
---> Package cloog-ppl.i686 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2 for package: cloog-ppl-0.15.7-1.2.el6.i686
--> Processing Dependency: libppl.so.7 for package: cloog-ppl-0.15.7-1.2.el6.i686
---> Package cpp.i686 0:4.4.5-6.el6 will be installed
---> Package gcc.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686
---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686
---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686
---> Package gettext-devel.i686 0:0.17-16.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libgettextpo.so.0 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libasprintf.so.0 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libgcj_bc.so.1 for package: gettext-devel-0.17-16.el6.i686
---> Package glibc-devel.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686
--> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.i686
---> Package kernel-devel.i686 0:2.6.32-131.21.1.el6 will be installed
---> Package libstdc++-devel.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.i686
---> Package mpfr.i686 0:2.4.1-6.el6 will be installed
---> Package neon.i686 0:0.29.3-1.2.el6 will be installed
--> Processing Dependency: libpakchois.so.0 for package: neon-0.29.3-1.2.el6.i686
--> Processing Dependency: libproxy.so.0 for package: neon-0.29.3-1.2.el6.i686
---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed
---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed
---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed
--> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686
---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed
--> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686
--> Running transaction check
---> Package gcc.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686
---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686
---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686
---> Package gettext-libs.i686 0:0.17-16.el6 will be installed
---> Package glibc-devel.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686
---> Package glibc-headers.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-headers-2.12-1.25.el6_1.3.i686
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.i686
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.i686
---> Package libgcj.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.i686
---> Package libproxy.i686 0:0.3.0-2.el6 will be installed
--> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686
--> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686
---> Package libstdc++-devel.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.i686
---> Package pakchois.i686 0:0.4-3.2.el6 will be installed
---> Package ppl.i686 0:0.10.2-11.el6 will be installed
---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed
--> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686
---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed
--> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686
--> Running transaction check
---> Package gcc.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686
---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686
---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686
---> Package glibc-devel.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686
---> Package glibc-headers.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-headers-2.12-1.25.el6_1.3.i686
---> Package kernel-headers.i686 0:2.6.32-131.21.1.el6 will be installed
---> Package libart_lgpl.i686 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.i686 0:0.3.0-2.el6 will be installed
---> Package libproxy-python.i686 0:0.3.0-2.el6 will be installed
---> Package libstdc++-devel.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.i686
---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed
--> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686
---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed
--> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686
--> Finished Dependency Resolution
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest 
EXPECTED RESULT: 
RETURN CODE: 1
FAIL1
Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Setting up Group Process Package 1:make-3.81-19.el6.i686 already installed and latest version Package patch-2.6-6.el6.i686 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.i686 already installed and latest version Package gettext-0.17-16.el6.i686 already installed and latest version Package matching binutils-2.20.51.0.2-5.20.el6_1.1.i686 already installed. Checking for update. Package elfutils-0.152-1.el6.i686 already installed and latest version Package cvs-1.11.23-11.el6_0.1.i686 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.i686 0:2.4.1-5.el6 will be installed ---> Package byacc.i686 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.i686 0:15.6-6.el6 will be installed ---> Package ctags.i686 0:5.8-2.el6 will be installed ---> Package diffstat.i686 0:1.51-2.el6 will be installed ---> Package doxygen.i686 1:1.6.1-4.el6 will be installed ---> Package flex.i686 0:2.5.35-8.el6 will be installed ---> Package gcc.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686 --> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.i686 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.i686 ---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686 --> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686 --> Processing Dependency: libmpfr.so.1 for package: gcc-c++-4.4.5-6.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686 ---> Package git.i686 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.i686 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.i686 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.i686 ---> Package indent.i686 0:2.2.10-5.1.el6 will be installed ---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed --> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch ---> Package libtool.i686 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.i686 0:0.3.1-3.1.el6 will be installed ---> Package rcs.i686 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed ---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed --> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686 ---> Package subversion.i686 0:1.6.11-2.el6_1.4 will be installed --> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libaprutil-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libapr-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libneon.so.27 for package: subversion-1.6.11-2.el6_1.4.i686 ---> Package swig.i686 0:1.3.40-5.el6 will be installed ---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed --> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686 --> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.i686 --> Running transaction check ---> Package apr.i686 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.i686 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.i686 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2 for package: cloog-ppl-0.15.7-1.2.el6.i686 --> Processing Dependency: libppl.so.7 for package: cloog-ppl-0.15.7-1.2.el6.i686 ---> Package cpp.i686 0:4.4.5-6.el6 will be installed ---> Package gcc.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686 ---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686 ---> Package gettext-devel.i686 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libgettextpo.so.0 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libasprintf.so.0 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libgcj_bc.so.1 for package: gettext-devel-0.17-16.el6.i686 ---> Package glibc-devel.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686 --> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.i686 ---> Package kernel-devel.i686 0:2.6.32-131.21.1.el6 will be installed ---> Package libstdc++-devel.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.i686 ---> Package mpfr.i686 0:2.4.1-6.el6 will be installed ---> Package neon.i686 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libpakchois.so.0 for package: neon-0.29.3-1.2.el6.i686 --> Processing Dependency: libproxy.so.0 for package: neon-0.29.3-1.2.el6.i686 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed --> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686 ---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed --> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686 --> Running transaction check ---> Package gcc.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686 ---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686 ---> Package gettext-libs.i686 0:0.17-16.el6 will be installed ---> Package glibc-devel.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686 ---> Package glibc-headers.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-headers-2.12-1.25.el6_1.3.i686 --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.i686 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.i686 ---> Package libgcj.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.i686 ---> Package libproxy.i686 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686 ---> Package libstdc++-devel.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.i686 ---> Package pakchois.i686 0:0.4-3.2.el6 will be installed ---> Package ppl.i686 0:0.10.2-11.el6 will be installed ---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed --> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686 ---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed --> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686 --> Running transaction check ---> Package gcc.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686 ---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686 ---> Package glibc-devel.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686 ---> Package glibc-headers.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-headers-2.12-1.25.el6_1.3.i686 ---> Package kernel-headers.i686 0:2.6.32-131.21.1.el6 will be installed ---> Package libart_lgpl.i686 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.i686 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.i686 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.i686 ---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed --> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686 ---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed --> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686 --> Finished Dependency Resolution You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package dmidecode.i686 1:2.11-2.el6 will be updated
---> Package dmidecode.i686 1:2.11-2.el6_1 will be an update
---> Package freetype.i686 0:2.3.11-6.el6_1.7 will be updated
---> Package freetype.i686 0:2.3.11-6.el6_1.8 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package     Arch   Version             Repository                         Size
================================================================================
Updating:
 dmidecode   i686   1:2.11-2.el6_1      rhui-ap-se-rhel-server-releases    70 k
 freetype    i686   2.3.11-6.el6_1.8    rhui-ap-se-rhel-server-releases   362 k

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

Total download size: 433 k
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           1.2 MB/s | 433 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Updating   : freetype-2.3.11-6.el6_1.8.i686                               1/4 

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

  Cleanup    : freetype-2.3.11-6.el6_1.7.i686                               3/4 

  Cleanup    : 1:dmidecode-2.11-2.el6.i686                                  4/4 
Installed products updated.

Updated:
  dmidecode.i686 1:2.11-2.el6_1         freetype.i686 0:2.3.11-6.el6_1.8        

Complete! 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no fa1lures in rpm package ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'failure in rpm package' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no rpm scriplet fa1lures ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'scriptlet failed, exit status 1' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify package removal... 
######################################################################################
COMMAND: /bin/rpm -e zsh
RETURN CODE: 0
COMMAND:  /bin/rpm -q zsh
RESULT: package zsh is not installed 
EXPECTED RESULT: package zsh is not installed
RETURN CODE: 1
PASS
######################################################################################
# NEW TEST: ## Verify bash_history ... 
######################################################################################
COMMAND:  cat ~/.bash_history | wc -l 
RESULT: 0 
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no systemid file ... 
######################################################################################
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rh-cloud-firstboot is OFF ... 
######################################################################################
COMMAND:  chkconfig --list | grep rh-cloud | grep 3:off | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
/etc/sysconfig/rh-cloud-firstboot FOUND
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
COMMAND:  cat /etc/sysconfig/rh-cloud-firstboot
RESULT: RUN_FIRSTBOOT=NO 
EXPECTED RESULT: RUN_FIRSTBOOT=NO
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify nameserver ... 
######################################################################################
COMMAND:  /usr/bin/dig clock.redhat.com 2>> /root/valid/src/validate.log | grep 66.187.233.4  | wc -l
RESULT: 1 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify group file ... 
######################################################################################
COMMAND:  cat /etc/group | grep root:x:0
RESULT: root:x:0:root 
EXPECTED RESULT: root:x:0:root
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep bin:x:1
RESULT: bin:x:1:root,bin,daemon 
EXPECTED RESULT: bin:x:1:root,bin,daemon
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep daemon:x:2
RESULT: daemon:x:2:root,bin,daemon 
EXPECTED RESULT: daemon:x:2:root,bin,daemon
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep nobody:x:99
RESULT: nobody:x:99: 
EXPECTED RESULT: nobody:x:99:
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify new passwd file ... 
######################################################################################
COMMAND:  cat /etc/passwd | grep root:x:0
RESULT: root:x:0:0:root:/root:/bin/bash 
EXPECTED RESULT: root:x:0:0:root:/root:/bin/bash
RETURN CODE: 0
PASS
COMMAND:  cat /etc/passwd | grep nobody:x:99
RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin 
EXPECTED RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin
RETURN CODE: 0
PASS
COMMAND:  cat /etc/passwd | grep sshd
RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin 
EXPECTED RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify runlevel ... 
######################################################################################
COMMAND:  cat /etc/inittab | grep id:
RESULT: id:3:initdefault: 
EXPECTED RESULT: id:3:initdefault:
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify new shells file ... 
######################################################################################
COMMAND:  cat /etc/shells | grep bash
RESULT: /bin/bash 
EXPECTED RESULT: /bin/bash
RETURN CODE: 0
PASS
COMMAND:  cat /etc/shells | grep nologin
RESULT: /sbin/nologin 
EXPECTED RESULT: /sbin/nologin
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify networking ... 
######################################################################################
COMMAND:  grep ^NETWORKING= /etc/sysconfig/network | cut -d\= -f2
RESULT: yes 
EXPECTED RESULT: yes
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify device ... 
######################################################################################
COMMAND:  grep ^DEVICE= /etc/sysconfig/network-scripts/ifcfg-eth0 | cut -d\= -f2
RESULT: eth0 
EXPECTED RESULT: eth0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify iptables ... 
######################################################################################
COMMAND: /etc/init.d/iptables status | grep REJECT 
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 sshd ...
######################################################################################
COMMAND:  chkconfig --list | grep sshd
RESULT: sshd           	0:off	1:off	2:on	3:on	4:on	5:on	6:off 
EXPECTED RESULT: sshd           	0:off	1:off	2:on	3:on	4:on	5:on	6:off
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/sshd status | grep running | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify  chkconfig ... 
######################################################################################
COMMAND:  chkconfig --list | grep crond | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
COMMAND:  chkconfig --list | grep  iptables | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0

Comment 6 Kedar Bidarkar 2011-11-29 13:16:57 UTC
PASS
######################################################################################
# NEW TEST: ## Verify rsyslog is on ... 
######################################################################################
COMMAND:  chkconfig --list | grep rsyslog | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rsyslog config ... 
######################################################################################
COMMAND:  md5sum /etc/rsyslog.conf | cut -f 1 -d  " "
RESULT: dd356958ca9c4e779f7fac13dde3c1b5 
EXPECTED RESULT: dd356958ca9c4e779f7fac13dde3c1b5
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify auditd is on ... 
######################################################################################
COMMAND:  /sbin/chkconfig --list auditd | grep 3:on
RESULT: auditd         	0:off	1:off	2:on	3:on	4:on	5:on	6:off 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
COMMAND:  /sbin/chkconfig --list auditd | grep 5:on
RESULT: auditd         	0:off	1:off	2:on	3:on	4:on	5:on	6:off 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify audit.rules ... 
######################################################################################
COMMAND:  md5sum /etc/audit/audit.rules | cut -f 1 -d  " "
RESULT: f9869e1191838c461f5b9051c78a638d 
EXPECTED RESULT: f9869e1191838c461f5b9051c78a638d
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify auditd.conf ... 
######################################################################################
COMMAND:  md5sum /etc/audit/auditd.conf | cut -f 1 -d  " "
RESULT: 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 sshd_config settings ...
######################################################################################
COMMAND:  cat /etc/ssh/sshd_config  | grep  PasswordAuthentication | grep no | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/ld.so.conf.d/libc6-xen.conf is not present ... 
######################################################################################
COMMAND:  ls /etc/ld.so.conf.d/libc6-xen.conf
ls: 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: ##test menu.lst ... 
######################################################################################
COMMAND:  file /boot/grub/menu.lst  | grep symbolic | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  file /boot/grub/menu.lst  | grep grub.conf | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  cat /boot/grub/grub.conf  | grep "(hd0,0)" | wc -l
RESULT: 0 
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify resize2fs ... 
######################################################################################
COMMAND: resize2fs -p /dev/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
######################################################################################
# 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-122-248-224-34.ap-southeast-1.compute.amazonaws.com with Image Id : ami-10105542, is launched with Instance Id : i-cfb89a9a , Instance Type : m1.small and Arch : i386 in the Region : ap-southeast-1a
The Validate Signature is : WkPJX1q9h4TSbIT2w4QrjLq3LxozULhVEMKh1uze0bJfae09dAyUD5DN5iMPf2Hm5SmhqXoYe6N9
Tp0AM6cLK1pc2lXCLbjHI1oAUzUfmEd/F/vsiXQQ/O+W3pkVpyQkLLl7Hhtm7GEXp6/cOWgdc+gz
mfYcUv1EFMVPBNEY5FU=
This is a Cloud Access image

## Summary ##
FAILURES = 3
FAILED TESTS = ## Verify no missing packages ... ## Verify RPMs ... ## Install Development tools group...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 7 Kedar Bidarkar 2011-11-29 13:18:38 UTC
IMAGE ID= ami-10105542_ap-southeast-1_t1.micro
######################################################################################
# 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-122-248-206-223.ap-southeast-1.compute.amazonaws.com with Image Id : ami-10105542, is launched with Instance Id : i-d1b89a84 , Instance Type : t1.micro and Arch : i386 in the Region : ap-southeast-1a
The Validate Signature is : DUK7Xx3VHpupDyCzrUH/U5ReWRlsbsRqi6Mc0LxndBpQBZigN8cltptuAwUTJJaHxeobddbVlFTD
QkaYlRfjyek2u5cAAXoB3Na4tDNK5XMU05kjBT/D14zb8MkfCFijyrU7HkdLKNGKfzttBsJffiCS
meMnG8mQEKDLsygBU2U=
This is a Cloud Access image
/root/valid/src
ip-10-130-154-41
Red Hat Enterprise Linux Server release 6.2 (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.2
######################################################################################
######################################################################################
# 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 ... 
######################################################################################
RHEL VERSION IS 6
LATEST_RPM_KERNEL_VERSION=rpm -q kernel --last | head -n 1 |  cut -c 8-60 | cut -d ' ' -f 1
CURRENT_UNAME_KERNAL_VERSION=2.6.32-220.el6
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed  's/\(.*\)...../\1/'
RESULT: 2.6.32-220.el6 
EXPECTED RESULT: 2.6.32-220.el6
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-220.el6
RESULT: title RHEL6.2-20111117.0-Server-i386-starter-ec2 (2.6.32-220.el6.i686)
        kernel /boot/vmlinuz-2.6.32-220.el6.i686 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-220.el6.i686.img 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify operating system ... 
######################################################################################
COMMAND:  /bin/uname -o
RESULT: GNU/Linux 
EXPECTED RESULT: GNU/Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel ... 
######################################################################################
COMMAND:  ls /etc/sysconfig/kernel
RESULT: /etc/sysconfig/kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains UPDATEDEFAULT ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep UPDATEDEFAULT=yes
RESULT: UPDATEDEFAULT=yes 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains DEFAULTKERNEL ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep DEFAULTKERNEL=kernel
RESULT: DEFAULTKERNEL=kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## 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: ## /sbin/getenforce ... 
######################################################################################
COMMAND:  /usr/sbin/getenforce
RESULT: Enforcing 
EXPECTED RESULT: Enforcing
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify SELINUX enforcing ... 
######################################################################################
COMMAND:  grep ^SELINUX= /etc/sysconfig/selinux | cut -d\= -f2
RESULT: enforcing 
EXPECTED RESULT: enforcing
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify SELINUXTYPE targeted ... 
######################################################################################
COMMAND:  grep ^SELINUXTYPE= /etc/sysconfig/selinux | cut -d\= -f2
RESULT: targeted 
EXPECTED RESULT: targeted
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Flip Selinux Permissive ... 
######################################################################################
COMMAND:  /usr/sbin/setenforce Permissive && /usr/sbin/getenforce
RESULT: Permissive 
EXPECTED RESULT: Permissive
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Flip Selinux Enforcing ... 
######################################################################################
COMMAND:  /usr/sbin/setenforce Enforcing && /usr/sbin/getenforce
RESULT: Enforcing 
EXPECTED RESULT: Enforcing
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no missing packages ... 
######################################################################################
COMMAND: /bin/rpm -qa --queryformat='%{NAME}\n' > /tmp/rpmqa.tmp
RETURN CODE: 0
COMMAND: comm -23 packages_62 /tmp/rpmqa
RETURN CODE: 0
abrt-plugin-logger
abrt-plugin-rhtsupport
abrt-plugin-sosreport
COUNT = 3
COMMAND:  echo test failed
RESULT: test failed 
EXPECTED RESULT: 1
RETURN CODE: 0
FAIL2
test failed
######################################################################################
# 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...UG..    /var/run/abrt
.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: 6 
EXPECTED RESULT: 4
RETURN CODE: 0
FAIL2
6
######################################################################################
# NEW TEST: ## Verify Version 2 ... 
######################################################################################
COMMAND:  /bin/rpm -q --queryformat '%{RELEASE}\n' redhat-release-server | cut -d. -f1,2
RESULT: 6.2 
EXPECTED RESULT: 6.2
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: ## Verify GPG checking ... 
######################################################################################
COMMAND:  grep '^gpgcheck=1' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | sort -f | uniq
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify GPG Keys ... 
######################################################################################
COMMAND:  rpm -qa gpg-pubkey* | wc -l 
RESULT: 2 
EXPECTED RESULT: 2
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify GPG RPMS ... 
######################################################################################
COMMAND:  rpm -qa gpg-pubkey* | sort -f | tail -n 1
RESULT: gpg-pubkey-fd431d51-4ae0493b 
EXPECTED RESULT: gpg-pubkey-fd431d51-4ae0493b
RETURN CODE: 0
PASS
COMMAND:  rpm -qa gpg-pubkey* |  grep 2fa6
RESULT: gpg-pubkey-2fa658e0-45700c69 
EXPECTED RESULT: gpg-pubkey-2fa658e0-45700c69
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify disabled yum plugin ... 
######################################################################################
COMMAND:  grep ^enabled /etc/yum/pluginconf.d/rhnplugin.conf | grep -v '^#' | cut -d\= -f2 | awk '{print }' | sort -f | uniq
RESULT:  0 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## List the configured repositories...
######################################################################################
COMMAND:  /usr/bin/yum repolist
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
repo id                                  repo name                        status
rhui-ap-se-rhel-server-releases          Red Hat Enterprise Linux Server  4,316
rhui-ap-se-rhel-server-releases-optional Red Hat Enterprise Linux Server  2,682
rhui-ap-southeast-client-config-server-6 Red Hat Update Infrastructure 2.     1
repolist: 6,999 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Search zsh...
######################################################################################
COMMAND:  /usr/bin/yum search zsh
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
=============================== N/S Matched: zsh ===============================
python-twisted-core-zsh.i686 : Tab completion for Zsh and Twisted Core
zsh-html.i686 : Zsh shell manual in html format
zsh.i686 : A powerful interactive shell

  Name and summary matches only, use "search all" for everything. 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## install zsh ... 
######################################################################################
COMMAND: /usr/bin/yum -y install zsh
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
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
   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
   Debugging Tools
   Desktop
   Desktop Debugging and Performance Tools
   Desktop Platform Development
   Development tools
   Dial-up Networking Support
   Directory Server
   Eclipse
   Emacs
   Enterprise Identity Server Base
   FCoE Storage Client
   FTP server
   General Purpose Desktop
   Graphics Creation Tools
   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
   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]

Comment 8 Kedar Bidarkar 2011-11-29 13:18:43 UTC
   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'
Error: Package: gcc-c++-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
           Requires: libstdc++ = 4.4.5-6.el6
           Installed: libstdc++-4.4.6-3.el6.i686 (@koji-override-0/$releasever)
               libstdc++ = 4.4.4-15.el6
               libstdc++ = 4.4.6-3.el6
           Available: libstdc++-4.4.4-13.el6.i686 (rhui-ap-se-rhel-server-releases)
               libstdc++ = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
               libstdc++ = 4.4.4-15.el6
               libstdc++ = 4.4.5-6.el6
Error: Package: rpm-build-4.8.0-16.el6_1.1.i686 (rhui-ap-se-rhel-server-releases)
           Requires: rpm = 4.8.0-16.el6_1.1
           Installed: rpm-4.8.0-19.el6.i686 (@koji-override-0/$releasever)
               rpm = 4.8.0-19.el6
           Available: rpm-4.8.0-12.el6.i686 (rhui-ap-se-rhel-server-releases)
               rpm = 4.8.0-12.el6
           Available: rpm-4.8.0-16.el6.i686 (rhui-ap-se-rhel-server-releases)
               rpm = 4.8.0-16.el6
           Available: rpm-4.8.0-16.el6_1.1.i686 (rhui-ap-se-rhel-server-releases)
               rpm = 4.8.0-16.el6_1.1
Error: Package: systemtap-1.4-6.el6_1.3.i686 (rhui-ap-se-rhel-server-releases)
           Requires: systemtap-runtime = 1.4-6.el6_1.3
           Installed: systemtap-runtime-1.6-4.el6.i686 (@koji-override-0/$releasever)
               systemtap-runtime = 1.6-4.el6
           Available: systemtap-runtime-1.2-9.el6.i686 (rhui-ap-se-rhel-server-releases)
               systemtap-runtime = 1.2-9.el6
           Available: systemtap-runtime-1.2-11.el6_0.i686 (rhui-ap-se-rhel-server-releases)
               systemtap-runtime = 1.2-11.el6_0
           Available: systemtap-runtime-1.4-6.el6.i686 (rhui-ap-se-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6
           Available: systemtap-runtime-1.4-6.el6_1.1.i686 (rhui-ap-se-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.1
           Available: systemtap-runtime-1.4-6.el6_1.2.i686 (rhui-ap-se-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.2
           Available: systemtap-runtime-1.4-6.el6_1.3.i686 (rhui-ap-se-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.3
Error: Package: glibc-devel-2.12-1.25.el6_1.3.i686 (rhui-ap-se-rhel-server-releases)
           Requires: glibc = 2.12-1.25.el6_1.3
           Installed: glibc-2.12-1.47.el6.i686 (@koji-override-0/$releasever)
               glibc = 2.12-1.47.el6
           Available: glibc-2.12-1.7.el6.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6
           Available: glibc-2.12-1.7.el6_0.3.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.3
           Available: glibc-2.12-1.7.el6_0.4.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.4
           Available: glibc-2.12-1.7.el6_0.5.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.5
           Available: glibc-2.12-1.25.el6.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.25.el6
           Available: glibc-2.12-1.25.el6_1.3.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.25.el6_1.3
Error: Package: glibc-headers-2.12-1.25.el6_1.3.i686 (rhui-ap-se-rhel-server-releases)
           Requires: glibc = 2.12-1.25.el6_1.3
           Installed: glibc-2.12-1.47.el6.i686 (@koji-override-0/$releasever)
               glibc = 2.12-1.47.el6
           Available: glibc-2.12-1.7.el6.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6
           Available: glibc-2.12-1.7.el6_0.3.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.3
           Available: glibc-2.12-1.7.el6_0.4.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.4
           Available: glibc-2.12-1.7.el6_0.5.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.5
           Available: glibc-2.12-1.25.el6.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.25.el6
           Available: glibc-2.12-1.25.el6_1.3.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.25.el6_1.3
Error: Package: gcc-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
           Requires: libgomp = 4.4.5-6.el6
           Installed: libgomp-4.4.6-3.el6.i686 (@koji-override-0/$releasever)
               libgomp = 4.4.4-15.el6
               libgomp = 4.4.6-3.el6
           Available: libgomp-4.4.4-13.el6.i686 (rhui-ap-se-rhel-server-releases)
               libgomp = 4.4.4-13.el6
           Available: libgomp-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
               libgomp = 4.4.4-15.el6
               libgomp = 4.4.5-6.el6
Error: Package: gcc-gfortran-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
           Requires: libgfortran = 4.4.5-6.el6
           Installed: libgfortran-4.4.6-3.el6.i686 (@koji-override-0/$releasever)
               libgfortran = 4.4.4-15.el6
               libgfortran = 4.4.6-3.el6
           Available: libgfortran-4.4.4-13.el6.i686 (rhui-ap-se-rhel-server-releases)
               libgfortran = 4.4.4-13.el6
           Available: libgfortran-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
               libgfortran = 4.4.4-15.el6
               libgfortran = 4.4.5-6.el6
Error: Package: libstdc++-devel-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
           Requires: libstdc++(x86-32) = 4.4.5-6.el6
           Installed: libstdc++-4.4.6-3.el6.i686 (@koji-override-0/$releasever)
               libstdc++(x86-32) = 4.4.6-3.el6
           Available: libstdc++-4.4.4-13.el6.i686 (rhui-ap-se-rhel-server-releases)
               libstdc++(x86-32) = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
               libstdc++(x86-32) = 4.4.5-6.el6
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-19.el6.i686 already installed and latest version
Package patch-2.6-6.el6.i686 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.i686 already installed and latest version
Package gettext-0.17-16.el6.i686 already installed and latest version
Package matching binutils-2.20.51.0.2-5.20.el6_1.1.i686 already installed. Checking for update.
Package elfutils-0.152-1.el6.i686 already installed and latest version
Package cvs-1.11.23-11.el6_0.1.i686 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed
---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed
---> Package bison.i686 0:2.4.1-5.el6 will be installed
---> Package byacc.i686 0:1.9.20070509-6.1.el6 will be installed
---> Package cscope.i686 0:15.6-6.el6 will be installed
---> Package ctags.i686 0:5.8-2.el6 will be installed
---> Package diffstat.i686 0:1.51-2.el6 will be installed
---> Package doxygen.i686 1:1.6.1-4.el6 will be installed
---> Package flex.i686 0:2.5.35-8.el6 will be installed
---> Package gcc.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686
--> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.i686
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.i686
---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686
--> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686
--> Processing Dependency: libmpfr.so.1 for package: gcc-c++-4.4.5-6.el6.i686
---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686
---> Package git.i686 0:1.7.1-2.el6_0.1 will be installed
--> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.i686
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.i686
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.i686
---> Package indent.i686 0:2.2.10-5.1.el6 will be installed
---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed
--> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch
---> Package libtool.i686 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.i686 0:0.3.1-3.1.el6 will be installed
---> Package rcs.i686 0:5.7-37.el6 will be installed
---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed
---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed
--> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686
---> Package subversion.i686 0:1.6.11-2.el6_1.4 will be installed
--> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libaprutil-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libapr-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libneon.so.27 for package: subversion-1.6.11-2.el6_1.4.i686
---> Package swig.i686 0:1.3.40-5.el6 will be installed
---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed
--> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686
--> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.i686
--> Running transaction check
---> Package apr.i686 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util.i686 0:1.3.9-3.el6_0.1 will be installed
---> Package cloog-ppl.i686 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2 for package: cloog-ppl-0.15.7-1.2.el6.i686
--> Processing Dependency: libppl.so.7 for package: cloog-ppl-0.15.7-1.2.el6.i686
---> Package cpp.i686 0:4.4.5-6.el6 will be installed
---> Package gcc.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686
---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686
---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686
---> Package gettext-devel.i686 0:0.17-16.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libgettextpo.so.0 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libasprintf.so.0 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libgcj_bc.so.1 for package: gettext-devel-0.17-16.el6.i686
---> Package glibc-devel.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686
--> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.i686
---> Package kernel-devel.i686 0:2.6.32-131.21.1.el6 will be installed
---> Package libstdc++-devel.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.i686
---> Package mpfr.i686 0:2.4.1-6.el6 will be installed
---> Package neon.i686 0:0.29.3-1.2.el6 will be installed
--> Processing Dependency: libpakchois.so.0 for package: neon-0.29.3-1.2.el6.i686
--> Processing Dependency: libproxy.so.0 for package: neon-0.29.3-1.2.el6.i686
---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed
---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed
---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed
--> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686
---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed
--> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686
--> Running transaction check
---> Package gcc.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686
---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686
---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686
---> Package gettext-libs.i686 0:0.17-16.el6 will be installed
---> Package glibc-devel.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686
---> Package glibc-headers.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-headers-2.12-1.25.el6_1.3.i686
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.i686
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.i686
---> Package libgcj.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.i686
---> Package libproxy.i686 0:0.3.0-2.el6 will be installed
--> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686
--> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686
---> Package libstdc++-devel.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.i686
---> Package pakchois.i686 0:0.4-3.2.el6 will be installed
---> Package ppl.i686 0:0.10.2-11.el6 will be installed
---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed
--> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686
---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed
--> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686
--> Running transaction check
---> Package gcc.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686
---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686
---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686
---> Package glibc-devel.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686
---> Package glibc-headers.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-headers-2.12-1.25.el6_1.3.i686
---> Package kernel-headers.i686 0:2.6.32-131.21.1.el6 will be installed
---> Package libart_lgpl.i686 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.i686 0:0.3.0-2.el6 will be installed
---> Package libproxy-python.i686 0:0.3.0-2.el6 will be installed
---> Package libstdc++-devel.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.i686
---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed
--> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686
---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed
--> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686
--> Finished Dependency Resolution
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest 
EXPECTED RESULT: 
RETURN CODE: 1
FAIL1
Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Setting up Group Process Package 1:make-3.81-19.el6.i686 already installed and latest version Package patch-2.6-6.el6.i686 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.i686 already installed and latest version Package gettext-0.17-16.el6.i686 already installed and latest version Package matching binutils-2.20.51.0.2-5.20.el6_1.1.i686 already installed. Checking for update. Package elfutils-0.152-1.el6.i686 already installed and latest version Package cvs-1.11.23-11.el6_0.1.i686 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.i686 0:2.4.1-5.el6 will be installed ---> Package byacc.i686 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.i686 0:15.6-6.el6 will be installed ---> Package ctags.i686 0:5.8-2.el6 will be installed ---> Package diffstat.i686 0:1.51-2.el6 will be installed ---> Package doxygen.i686 1:1.6.1-4.el6 will be installed ---> Package flex.i686 0:2.5.35-8.el6 will be installed ---> Package gcc.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686 --> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.i686 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.i686 ---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686 --> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686 --> Processing Dependency: libmpfr.so.1 for package: gcc-c++-4.4.5-6.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686 ---> Package git.i686 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.i686 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.i686 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.i686 ---> Package indent.i686 0:2.2.10-5.1.el6 will be installed ---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed --> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch ---> Package libtool.i686 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.i686 0:0.3.1-3.1.el6 will be installed ---> Package rcs.i686 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed ---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed --> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686 ---> Package subversion.i686 0:1.6.11-2.el6_1.4 will be installed --> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libaprutil-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libapr-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libneon.so.27 for package: subversion-1.6.11-2.el6_1.4.i686 ---> Package swig.i686 0:1.3.40-5.el6 will be installed ---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed --> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686 --> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.i686 --> Running transaction check ---> Package apr.i686 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.i686 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.i686 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2 for package: cloog-ppl-0.15.7-1.2.el6.i686 --> Processing Dependency: libppl.so.7 for package: cloog-ppl-0.15.7-1.2.el6.i686 ---> Package cpp.i686 0:4.4.5-6.el6 will be installed ---> Package gcc.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686 ---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686 ---> Package gettext-devel.i686 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libgettextpo.so.0 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libasprintf.so.0 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libgcj_bc.so.1 for package: gettext-devel-0.17-16.el6.i686 ---> Package glibc-devel.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686 --> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.i686 ---> Package kernel-devel.i686 0:2.6.32-131.21.1.el6 will be installed ---> Package libstdc++-devel.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.i686 ---> Package mpfr.i686 0:2.4.1-6.el6 will be installed ---> Package neon.i686 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libpakchois.so.0 for package: neon-0.29.3-1.2.el6.i686 --> Processing Dependency: libproxy.so.0 for package: neon-0.29.3-1.2.el6.i686 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed --> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686 ---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed --> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686 --> Running transaction check ---> Package gcc.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686 ---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686 ---> Package gettext-libs.i686 0:0.17-16.el6 will be installed ---> Package glibc-devel.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686 ---> Package glibc-headers.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-headers-2.12-1.25.el6_1.3.i686 --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.i686 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.i686 ---> Package libgcj.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.i686 ---> Package libproxy.i686 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686 ---> Package libstdc++-devel.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.i686 ---> Package pakchois.i686 0:0.4-3.2.el6 will be installed ---> Package ppl.i686 0:0.10.2-11.el6 will be installed ---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed --> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686 ---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed --> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686 --> Running transaction check ---> Package gcc.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686 ---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686 ---> Package glibc-devel.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686 ---> Package glibc-headers.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-headers-2.12-1.25.el6_1.3.i686 ---> Package kernel-headers.i686 0:2.6.32-131.21.1.el6 will be installed ---> Package libart_lgpl.i686 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.i686 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.i686 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.i686 ---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed --> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686 ---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed --> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686 --> Finished Dependency Resolution You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package dmidecode.i686 1:2.11-2.el6 will be updated
---> Package dmidecode.i686 1:2.11-2.el6_1 will be an update
---> Package freetype.i686 0:2.3.11-6.el6_1.7 will be updated
---> Package freetype.i686 0:2.3.11-6.el6_1.8 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package     Arch   Version             Repository                         Size
================================================================================
Updating:
 dmidecode   i686   1:2.11-2.el6_1      rhui-ap-se-rhel-server-releases    70 k
 freetype    i686   2.3.11-6.el6_1.8    rhui-ap-se-rhel-server-releases   362 k

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

Total download size: 433 k
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           1.2 MB/s | 433 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Updating   : freetype-2.3.11-6.el6_1.8.i686                               1/4 

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

  Cleanup    : freetype-2.3.11-6.el6_1.7.i686                               3/4 

  Cleanup    : 1:dmidecode-2.11-2.el6.i686                                  4/4 
Installed products updated.

Updated:
  dmidecode.i686 1:2.11-2.el6_1         freetype.i686 0:2.3.11-6.el6_1.8        

Complete! 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no fa1lures in rpm package ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'failure in rpm package' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no rpm scriplet fa1lures ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'scriptlet failed, exit status 1' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify package removal... 
######################################################################################
COMMAND: /bin/rpm -e zsh
RETURN CODE: 0
COMMAND:  /bin/rpm -q zsh
RESULT: package zsh is not installed 
EXPECTED RESULT: package zsh is not installed
RETURN CODE: 1
PASS
######################################################################################
# NEW TEST: ## Verify bash_history ... 
######################################################################################
COMMAND:  cat ~/.bash_history | wc -l 
RESULT: 0 
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no systemid file ... 
######################################################################################
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rh-cloud-firstboot is OFF ... 
######################################################################################
COMMAND:  chkconfig --list | grep rh-cloud | grep 3:off | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
/etc/sysconfig/rh-cloud-firstboot FOUND
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
COMMAND:  cat /etc/sysconfig/rh-cloud-firstboot
RESULT: RUN_FIRSTBOOT=NO 
EXPECTED RESULT: RUN_FIRSTBOOT=NO
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify nameserver ... 
######################################################################################
COMMAND:  /usr/bin/dig clock.redhat.com 2>> /root/valid/src/validate.log | grep 66.187.233.4  | wc -l
RESULT: 1 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify group file ... 
######################################################################################
COMMAND:  cat /etc/group | grep root:x:0
RESULT: root:x:0:root 
EXPECTED RESULT: root:x:0:root
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep bin:x:1
RESULT: bin:x:1:root,bin,daemon 
EXPECTED RESULT: bin:x:1:root,bin,daemon
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep daemon:x:2
RESULT: daemon:x:2:root,bin,daemon 
EXPECTED RESULT: daemon:x:2:root,bin,daemon
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep nobody:x:99
RESULT: nobody:x:99: 
EXPECTED RESULT: nobody:x:99:
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify new passwd file ... 
######################################################################################
COMMAND:  cat /etc/passwd | grep root:x:0
RESULT: root:x:0:0:root:/root:/bin/bash 
EXPECTED RESULT: root:x:0:0:root:/root:/bin/bash
RETURN CODE: 0
PASS
COMMAND:  cat /etc/passwd | grep nobody:x:99
RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin 
EXPECTED RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin
RETURN CODE: 0
PASS
COMMAND:  cat /etc/passwd | grep sshd
RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin 
EXPECTED RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify runlevel ... 
######################################################################################
COMMAND:  cat /etc/inittab | grep id:
RESULT: id:3:initdefault: 
EXPECTED RESULT: id:3:initdefault:
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify new shells file ... 
######################################################################################
COMMAND:  cat /etc/shells | grep bash
RESULT: /bin/bash 
EXPECTED RESULT: /bin/bash
RETURN CODE: 0
PASS
COMMAND:  cat /etc/shells | grep nologin
RESULT: /sbin/nologin 
EXPECTED RESULT: /sbin/nologin
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify networking ... 
######################################################################################
COMMAND:  grep ^NETWORKING= /etc/sysconfig/network | cut -d\= -f2
RESULT: yes 
EXPECTED RESULT: yes
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify device ... 
######################################################################################
COMMAND:  grep ^DEVICE= /etc/sysconfig/network-scripts/ifcfg-eth0 | cut -d\= -f2
RESULT: eth0 
EXPECTED RESULT: eth0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify iptables ... 
######################################################################################
COMMAND: /etc/init.d/iptables status | grep REJECT 
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 sshd ...
######################################################################################
COMMAND:  chkconfig --list | grep sshd
RESULT: sshd           	0:off	1:off	2:on	3:on	4:on	5:on	6:off 
EXPECTED RESULT: sshd           	0:off	1:off	2:on	3:on	4:on	5:on	6:off
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/sshd status | grep running | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify  chkconfig ... 
######################################################################################
COMMAND:  chkconfig --list | grep crond | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
COMMAND:  chkconfig --list | grep  iptables | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
######################################################################################
# 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: dd356958ca9c4e779f7fac13dde3c1b5 
EXPECTED RESULT: dd356958ca9c4e779f7fac13dde3c1b5
RETURN CODE: 0
PASS

Comment 9 Kedar Bidarkar 2011-11-29 13:18:48 UTC
######################################################################################
# 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 sshd_config settings ...
######################################################################################
COMMAND:  cat /etc/ssh/sshd_config  | grep  PasswordAuthentication | grep no | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/ld.so.conf.d/libc6-xen.conf is not present ... 
######################################################################################
COMMAND:  ls /etc/ld.so.conf.d/libc6-xen.conf
ls: 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: ##test menu.lst ... 
######################################################################################
COMMAND:  file /boot/grub/menu.lst  | grep symbolic | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  file /boot/grub/menu.lst  | grep grub.conf | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  cat /boot/grub/grub.conf  | grep "(hd0,0)" | wc -l
RESULT: 0 
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify resize2fs ... 
######################################################################################
COMMAND: resize2fs -p /dev/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
######################################################################################
# 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-122-248-206-223.ap-southeast-1.compute.amazonaws.com with Image Id : ami-10105542, is launched with Instance Id : i-d1b89a84 , Instance Type : t1.micro and Arch : i386 in the Region : ap-southeast-1a
The Validate Signature is : DUK7Xx3VHpupDyCzrUH/U5ReWRlsbsRqi6Mc0LxndBpQBZigN8cltptuAwUTJJaHxeobddbVlFTD
QkaYlRfjyek2u5cAAXoB3Na4tDNK5XMU05kjBT/D14zb8MkfCFijyrU7HkdLKNGKfzttBsJffiCS
meMnG8mQEKDLsygBU2U=
This is a Cloud Access image

## Summary ##
FAILURES = 3
FAILED TESTS = ## Verify no missing packages ... ## Verify RPMs ... ## Install Development tools group...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 10 Kedar Bidarkar 2011-11-29 13:20:26 UTC
IMAGE ID= ami-10105542_ap-southeast-1_c1.medium
###### TEST KERNEL AFTER REBOOT ####  
######################################################################################
# NEW TEST: ## Verify disabled yum plugin ... 
######################################################################################
COMMAND:  grep ^enabled /etc/yum/pluginconf.d/rhnplugin.conf | grep -v '^#' | cut -d\= -f2 | awk '{print }' | sort -f | uniq
RESULT:  0 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify kernel name ... 
######################################################################################
COMMAND:  /bin/uname -s
RESULT: Linux 
EXPECTED RESULT: Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest installed kernel is running ... 
######################################################################################
RHEL VERSION IS 6
LATEST_RPM_KERNEL_VERSION=rpm -q kernel --last | head -n 1 |  cut -c 8-60 | cut -d ' ' -f 1
CURRENT_UNAME_KERNAL_VERSION=2.6.32-220.el6
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed  's/\(.*\)...../\1/'
RESULT: 2.6.32-220.el6 
EXPECTED RESULT: 2.6.32-220.el6
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-220.el6
RESULT: title RHEL6.2-20111117.0-Server-i386-starter-ec2 (2.6.32-220.el6.i686)
        kernel /boot/vmlinuz-2.6.32-220.el6.i686 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-220.el6.i686.img 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify operating system ... 
######################################################################################
COMMAND:  /bin/uname -o
RESULT: GNU/Linux 
EXPECTED RESULT: GNU/Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel ... 
######################################################################################
COMMAND:  ls /etc/sysconfig/kernel
RESULT: /etc/sysconfig/kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains UPDATEDEFAULT ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep UPDATEDEFAULT=yes
RESULT: UPDATEDEFAULT=yes 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains DEFAULTKERNEL ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep DEFAULTKERNEL=kernel
RESULT: DEFAULTKERNEL=kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ##Verify memory match hwp ... 
######################################################################################
cat /proc/meminfo | grep MemTotal: | awk '{print }'
FOUND MEMORY OF 1752784 > hwp MEMORY of 1700000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
hostname
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.2
######################################################################################

## Summary ##
FAILURES = 3
FAILED TESTS = ## Verify no missing packages ... ## Verify RPMs ... ## Install Development tools group...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 11 Kedar Bidarkar 2011-11-29 13:20:30 UTC
   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'
Error: Package: gcc-c++-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
           Requires: libstdc++ = 4.4.5-6.el6
           Installed: libstdc++-4.4.6-3.el6.i686 (@koji-override-0/$releasever)
               libstdc++ = 4.4.4-15.el6
               libstdc++ = 4.4.6-3.el6
           Available: libstdc++-4.4.4-13.el6.i686 (rhui-ap-se-rhel-server-releases)
               libstdc++ = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
               libstdc++ = 4.4.4-15.el6
               libstdc++ = 4.4.5-6.el6
Error: Package: rpm-build-4.8.0-16.el6_1.1.i686 (rhui-ap-se-rhel-server-releases)
           Requires: rpm = 4.8.0-16.el6_1.1
           Installed: rpm-4.8.0-19.el6.i686 (@koji-override-0/$releasever)
               rpm = 4.8.0-19.el6
           Available: rpm-4.8.0-12.el6.i686 (rhui-ap-se-rhel-server-releases)
               rpm = 4.8.0-12.el6
           Available: rpm-4.8.0-16.el6.i686 (rhui-ap-se-rhel-server-releases)
               rpm = 4.8.0-16.el6
           Available: rpm-4.8.0-16.el6_1.1.i686 (rhui-ap-se-rhel-server-releases)
               rpm = 4.8.0-16.el6_1.1
Error: Package: systemtap-1.4-6.el6_1.3.i686 (rhui-ap-se-rhel-server-releases)
           Requires: systemtap-runtime = 1.4-6.el6_1.3
           Installed: systemtap-runtime-1.6-4.el6.i686 (@koji-override-0/$releasever)
               systemtap-runtime = 1.6-4.el6
           Available: systemtap-runtime-1.2-9.el6.i686 (rhui-ap-se-rhel-server-releases)
               systemtap-runtime = 1.2-9.el6
           Available: systemtap-runtime-1.2-11.el6_0.i686 (rhui-ap-se-rhel-server-releases)
               systemtap-runtime = 1.2-11.el6_0
           Available: systemtap-runtime-1.4-6.el6.i686 (rhui-ap-se-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6
           Available: systemtap-runtime-1.4-6.el6_1.1.i686 (rhui-ap-se-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.1
           Available: systemtap-runtime-1.4-6.el6_1.2.i686 (rhui-ap-se-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.2
           Available: systemtap-runtime-1.4-6.el6_1.3.i686 (rhui-ap-se-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.3
Error: Package: glibc-devel-2.12-1.25.el6_1.3.i686 (rhui-ap-se-rhel-server-releases)
           Requires: glibc = 2.12-1.25.el6_1.3
           Installed: glibc-2.12-1.47.el6.i686 (@koji-override-0/$releasever)
               glibc = 2.12-1.47.el6
           Available: glibc-2.12-1.7.el6.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6
           Available: glibc-2.12-1.7.el6_0.3.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.3
           Available: glibc-2.12-1.7.el6_0.4.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.4
           Available: glibc-2.12-1.7.el6_0.5.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.5
           Available: glibc-2.12-1.25.el6.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.25.el6
           Available: glibc-2.12-1.25.el6_1.3.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.25.el6_1.3
Error: Package: glibc-headers-2.12-1.25.el6_1.3.i686 (rhui-ap-se-rhel-server-releases)
           Requires: glibc = 2.12-1.25.el6_1.3
           Installed: glibc-2.12-1.47.el6.i686 (@koji-override-0/$releasever)
               glibc = 2.12-1.47.el6
           Available: glibc-2.12-1.7.el6.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6
           Available: glibc-2.12-1.7.el6_0.3.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.3
           Available: glibc-2.12-1.7.el6_0.4.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.4
           Available: glibc-2.12-1.7.el6_0.5.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.5
           Available: glibc-2.12-1.25.el6.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.25.el6
           Available: glibc-2.12-1.25.el6_1.3.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.25.el6_1.3
Error: Package: gcc-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
           Requires: libgomp = 4.4.5-6.el6
           Installed: libgomp-4.4.6-3.el6.i686 (@koji-override-0/$releasever)
               libgomp = 4.4.4-15.el6
               libgomp = 4.4.6-3.el6
           Available: libgomp-4.4.4-13.el6.i686 (rhui-ap-se-rhel-server-releases)
               libgomp = 4.4.4-13.el6
           Available: libgomp-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
               libgomp = 4.4.4-15.el6
               libgomp = 4.4.5-6.el6
Error: Package: gcc-gfortran-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
           Requires: libgfortran = 4.4.5-6.el6
           Installed: libgfortran-4.4.6-3.el6.i686 (@koji-override-0/$releasever)
               libgfortran = 4.4.4-15.el6
               libgfortran = 4.4.6-3.el6
           Available: libgfortran-4.4.4-13.el6.i686 (rhui-ap-se-rhel-server-releases)
               libgfortran = 4.4.4-13.el6
           Available: libgfortran-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
               libgfortran = 4.4.4-15.el6
               libgfortran = 4.4.5-6.el6
Error: Package: libstdc++-devel-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
           Requires: libstdc++(x86-32) = 4.4.5-6.el6
           Installed: libstdc++-4.4.6-3.el6.i686 (@koji-override-0/$releasever)
               libstdc++(x86-32) = 4.4.6-3.el6
           Available: libstdc++-4.4.4-13.el6.i686 (rhui-ap-se-rhel-server-releases)
               libstdc++(x86-32) = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
               libstdc++(x86-32) = 4.4.5-6.el6
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-19.el6.i686 already installed and latest version
Package patch-2.6-6.el6.i686 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.i686 already installed and latest version
Package gettext-0.17-16.el6.i686 already installed and latest version
Package matching binutils-2.20.51.0.2-5.20.el6_1.1.i686 already installed. Checking for update.
Package elfutils-0.152-1.el6.i686 already installed and latest version
Package cvs-1.11.23-11.el6_0.1.i686 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed
---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed
---> Package bison.i686 0:2.4.1-5.el6 will be installed
---> Package byacc.i686 0:1.9.20070509-6.1.el6 will be installed
---> Package cscope.i686 0:15.6-6.el6 will be installed
---> Package ctags.i686 0:5.8-2.el6 will be installed
---> Package diffstat.i686 0:1.51-2.el6 will be installed
---> Package doxygen.i686 1:1.6.1-4.el6 will be installed
---> Package flex.i686 0:2.5.35-8.el6 will be installed
---> Package gcc.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686
--> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.i686
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.i686
---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686
--> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686
--> Processing Dependency: libmpfr.so.1 for package: gcc-c++-4.4.5-6.el6.i686
---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686
---> Package git.i686 0:1.7.1-2.el6_0.1 will be installed
--> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.i686
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.i686
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.i686
---> Package indent.i686 0:2.2.10-5.1.el6 will be installed
---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed
--> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch
---> Package libtool.i686 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.i686 0:0.3.1-3.1.el6 will be installed
---> Package rcs.i686 0:5.7-37.el6 will be installed
---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed
---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed
--> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686
---> Package subversion.i686 0:1.6.11-2.el6_1.4 will be installed
--> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libaprutil-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libapr-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libneon.so.27 for package: subversion-1.6.11-2.el6_1.4.i686
---> Package swig.i686 0:1.3.40-5.el6 will be installed
---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed
--> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686
--> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.i686
--> Running transaction check
---> Package apr.i686 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util.i686 0:1.3.9-3.el6_0.1 will be installed
---> Package cloog-ppl.i686 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2 for package: cloog-ppl-0.15.7-1.2.el6.i686
--> Processing Dependency: libppl.so.7 for package: cloog-ppl-0.15.7-1.2.el6.i686
---> Package cpp.i686 0:4.4.5-6.el6 will be installed
---> Package gcc.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686
---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686
---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686
---> Package gettext-devel.i686 0:0.17-16.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libgettextpo.so.0 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libasprintf.so.0 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libgcj_bc.so.1 for package: gettext-devel-0.17-16.el6.i686
---> Package glibc-devel.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686
--> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.i686
---> Package kernel-devel.i686 0:2.6.32-131.21.1.el6 will be installed
---> Package libstdc++-devel.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.i686
---> Package mpfr.i686 0:2.4.1-6.el6 will be installed
---> Package neon.i686 0:0.29.3-1.2.el6 will be installed
--> Processing Dependency: libpakchois.so.0 for package: neon-0.29.3-1.2.el6.i686
--> Processing Dependency: libproxy.so.0 for package: neon-0.29.3-1.2.el6.i686
---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed
---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed
---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed
--> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686
---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed
--> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686
--> Running transaction check
---> Package gcc.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686
---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686
---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686
---> Package gettext-libs.i686 0:0.17-16.el6 will be installed
---> Package glibc-devel.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686
---> Package glibc-headers.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-headers-2.12-1.25.el6_1.3.i686
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.i686
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.i686
---> Package libgcj.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.i686
---> Package libproxy.i686 0:0.3.0-2.el6 will be installed
--> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686
--> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686
---> Package libstdc++-devel.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.i686
---> Package pakchois.i686 0:0.4-3.2.el6 will be installed
---> Package ppl.i686 0:0.10.2-11.el6 will be installed
---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed
--> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686
---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed
--> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686
--> Running transaction check
---> Package gcc.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686
---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686
---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686
---> Package glibc-devel.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686
---> Package glibc-headers.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-headers-2.12-1.25.el6_1.3.i686
---> Package kernel-headers.i686 0:2.6.32-131.21.1.el6 will be installed
---> Package libart_lgpl.i686 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.i686 0:0.3.0-2.el6 will be installed
---> Package libproxy-python.i686 0:0.3.0-2.el6 will be installed
---> Package libstdc++-devel.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.i686
---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed
--> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686
---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed
--> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686
--> Finished Dependency Resolution
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest 
EXPECTED RESULT: 
RETURN CODE: 1
FAIL1
Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Setting up Group Process Package 1:make-3.81-19.el6.i686 already installed and latest version Package patch-2.6-6.el6.i686 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.i686 already installed and latest version Package gettext-0.17-16.el6.i686 already installed and latest version Package matching binutils-2.20.51.0.2-5.20.el6_1.1.i686 already installed. Checking for update. Package elfutils-0.152-1.el6.i686 already installed and latest version Package cvs-1.11.23-11.el6_0.1.i686 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.i686 0:2.4.1-5.el6 will be installed ---> Package byacc.i686 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.i686 0:15.6-6.el6 will be installed ---> Package ctags.i686 0:5.8-2.el6 will be installed ---> Package diffstat.i686 0:1.51-2.el6 will be installed ---> Package doxygen.i686 1:1.6.1-4.el6 will be installed ---> Package flex.i686 0:2.5.35-8.el6 will be installed ---> Package gcc.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686 --> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.i686 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.i686 ---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686 --> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686 --> Processing Dependency: libmpfr.so.1 for package: gcc-c++-4.4.5-6.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686 ---> Package git.i686 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.i686 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.i686 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.i686 ---> Package indent.i686 0:2.2.10-5.1.el6 will be installed ---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed --> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch ---> Package libtool.i686 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.i686 0:0.3.1-3.1.el6 will be installed ---> Package rcs.i686 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed ---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed --> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686 ---> Package subversion.i686 0:1.6.11-2.el6_1.4 will be installed --> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libaprutil-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libapr-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libneon.so.27 for package: subversion-1.6.11-2.el6_1.4.i686 ---> Package swig.i686 0:1.3.40-5.el6 will be installed ---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed --> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686 --> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.i686 --> Running transaction check ---> Package apr.i686 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.i686 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.i686 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2 for package: cloog-ppl-0.15.7-1.2.el6.i686 --> Processing Dependency: libppl.so.7 for package: cloog-ppl-0.15.7-1.2.el6.i686 ---> Package cpp.i686 0:4.4.5-6.el6 will be installed ---> Package gcc.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686 ---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686 ---> Package gettext-devel.i686 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libgettextpo.so.0 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libasprintf.so.0 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libgcj_bc.so.1 for package: gettext-devel-0.17-16.el6.i686 ---> Package glibc-devel.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686 --> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.i686 ---> Package kernel-devel.i686 0:2.6.32-131.21.1.el6 will be installed ---> Package libstdc++-devel.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.i686 ---> Package mpfr.i686 0:2.4.1-6.el6 will be installed ---> Package neon.i686 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libpakchois.so.0 for package: neon-0.29.3-1.2.el6.i686 --> Processing Dependency: libproxy.so.0 for package: neon-0.29.3-1.2.el6.i686 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed --> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686 ---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed --> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686 --> Running transaction check ---> Package gcc.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686 ---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686 ---> Package gettext-libs.i686 0:0.17-16.el6 will be installed ---> Package glibc-devel.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686 ---> Package glibc-headers.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-headers-2.12-1.25.el6_1.3.i686 --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.i686 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.i686 ---> Package libgcj.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.i686 ---> Package libproxy.i686 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686 ---> Package libstdc++-devel.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.i686 ---> Package pakchois.i686 0:0.4-3.2.el6 will be installed ---> Package ppl.i686 0:0.10.2-11.el6 will be installed ---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed --> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686 ---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed --> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686 --> Running transaction check ---> Package gcc.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686 ---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686 ---> Package glibc-devel.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686 ---> Package glibc-headers.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-headers-2.12-1.25.el6_1.3.i686 ---> Package kernel-headers.i686 0:2.6.32-131.21.1.el6 will be installed ---> Package libart_lgpl.i686 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.i686 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.i686 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.i686 ---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed --> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686 ---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed --> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686 --> Finished Dependency Resolution You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package dmidecode.i686 1:2.11-2.el6 will be updated
---> Package dmidecode.i686 1:2.11-2.el6_1 will be an update
---> Package freetype.i686 0:2.3.11-6.el6_1.7 will be updated
---> Package freetype.i686 0:2.3.11-6.el6_1.8 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package     Arch   Version             Repository                         Size
================================================================================
Updating:
 dmidecode   i686   1:2.11-2.el6_1      rhui-ap-se-rhel-server-releases    70 k
 freetype    i686   2.3.11-6.el6_1.8    rhui-ap-se-rhel-server-releases   362 k

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

Total download size: 433 k
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           1.3 MB/s | 433 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Updating   : freetype-2.3.11-6.el6_1.8.i686                               1/4 

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

  Cleanup    : freetype-2.3.11-6.el6_1.7.i686                               3/4 

  Cleanup    : 1:dmidecode-2.11-2.el6.i686                                  4/4 
Installed products updated.

Updated:
  dmidecode.i686 1:2.11-2.el6_1         freetype.i686 0:2.3.11-6.el6_1.8        

Complete! 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no fa1lures in rpm package ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'failure in rpm package' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no rpm scriplet fa1lures ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'scriptlet failed, exit status 1' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify package removal... 
######################################################################################
COMMAND: /bin/rpm -e zsh
RETURN CODE: 0
COMMAND:  /bin/rpm -q zsh
RESULT: package zsh is not installed 
EXPECTED RESULT: package zsh is not installed
RETURN CODE: 1
PASS
######################################################################################
# NEW TEST: ## Verify bash_history ... 
######################################################################################
COMMAND:  cat ~/.bash_history | wc -l 
RESULT: 0 
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no systemid file ... 
######################################################################################
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rh-cloud-firstboot is OFF ... 
######################################################################################
COMMAND:  chkconfig --list | grep rh-cloud | grep 3:off | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
/etc/sysconfig/rh-cloud-firstboot FOUND
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
COMMAND:  cat /etc/sysconfig/rh-cloud-firstboot
RESULT: RUN_FIRSTBOOT=NO 
EXPECTED RESULT: RUN_FIRSTBOOT=NO
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify nameserver ... 
######################################################################################
COMMAND:  /usr/bin/dig clock.redhat.com 2>> /root/valid/src/validate.log | grep 66.187.233.4  | wc -l
RESULT: 1 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify group file ... 
######################################################################################
COMMAND:  cat /etc/group | grep root:x:0
RESULT: root:x:0:root 
EXPECTED RESULT: root:x:0:root
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep bin:x:1
RESULT: bin:x:1:root,bin,daemon 
EXPECTED RESULT: bin:x:1:root,bin,daemon
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep daemon:x:2
RESULT: daemon:x:2:root,bin,daemon 
EXPECTED RESULT: daemon:x:2:root,bin,daemon
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep nobody:x:99
RESULT: nobody:x:99: 
EXPECTED RESULT: nobody:x:99:
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify new passwd file ... 
######################################################################################
COMMAND:  cat /etc/passwd | grep root:x:0
RESULT: root:x:0:0:root:/root:/bin/bash 
EXPECTED RESULT: root:x:0:0:root:/root:/bin/bash
RETURN CODE: 0
PASS
COMMAND:  cat /etc/passwd | grep nobody:x:99
RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin 
EXPECTED RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin
RETURN CODE: 0
PASS
COMMAND:  cat /etc/passwd | grep sshd
RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin 
EXPECTED RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify runlevel ... 
######################################################################################
COMMAND:  cat /etc/inittab | grep id:
RESULT: id:3:initdefault: 
EXPECTED RESULT: id:3:initdefault:
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify new shells file ... 
######################################################################################
COMMAND:  cat /etc/shells | grep bash
RESULT: /bin/bash 
EXPECTED RESULT: /bin/bash
RETURN CODE: 0
PASS
COMMAND:  cat /etc/shells | grep nologin
RESULT: /sbin/nologin 
EXPECTED RESULT: /sbin/nologin
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify networking ... 
######################################################################################
COMMAND:  grep ^NETWORKING= /etc/sysconfig/network | cut -d\= -f2
RESULT: yes 
EXPECTED RESULT: yes
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify device ... 
######################################################################################
COMMAND:  grep ^DEVICE= /etc/sysconfig/network-scripts/ifcfg-eth0 | cut -d\= -f2
RESULT: eth0 
EXPECTED RESULT: eth0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify iptables ... 
######################################################################################
COMMAND: /etc/init.d/iptables status | grep REJECT 
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 sshd ...
######################################################################################
COMMAND:  chkconfig --list | grep sshd
RESULT: sshd           	0:off	1:off	2:on	3:on	4:on	5:on	6:off 
EXPECTED RESULT: sshd           	0:off	1:off	2:on	3:on	4:on	5:on	6:off
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/sshd status | grep running | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify  chkconfig ... 
######################################################################################
COMMAND:  chkconfig --list | grep crond | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
COMMAND:  chkconfig --list | grep  iptables | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0

Comment 12 Kedar Bidarkar 2011-11-29 13:20:35 UTC
PASS
######################################################################################
# NEW TEST: ## Verify rsyslog is on ... 
######################################################################################
COMMAND:  chkconfig --list | grep rsyslog | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rsyslog config ... 
######################################################################################
COMMAND:  md5sum /etc/rsyslog.conf | cut -f 1 -d  " "
RESULT: dd356958ca9c4e779f7fac13dde3c1b5 
EXPECTED RESULT: dd356958ca9c4e779f7fac13dde3c1b5
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify auditd is on ... 
######################################################################################
COMMAND:  /sbin/chkconfig --list auditd | grep 3:on
RESULT: auditd         	0:off	1:off	2:on	3:on	4:on	5:on	6:off 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
COMMAND:  /sbin/chkconfig --list auditd | grep 5:on
RESULT: auditd         	0:off	1:off	2:on	3:on	4:on	5:on	6:off 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify audit.rules ... 
######################################################################################
COMMAND:  md5sum /etc/audit/audit.rules | cut -f 1 -d  " "
RESULT: f9869e1191838c461f5b9051c78a638d 
EXPECTED RESULT: f9869e1191838c461f5b9051c78a638d
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify auditd.conf ... 
######################################################################################
COMMAND:  md5sum /etc/audit/auditd.conf | cut -f 1 -d  " "
RESULT: 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 sshd_config settings ...
######################################################################################
COMMAND:  cat /etc/ssh/sshd_config  | grep  PasswordAuthentication | grep no | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/ld.so.conf.d/libc6-xen.conf is not present ... 
######################################################################################
COMMAND:  ls /etc/ld.so.conf.d/libc6-xen.conf
ls: 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: ##test menu.lst ... 
######################################################################################
COMMAND:  file /boot/grub/menu.lst  | grep symbolic | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  file /boot/grub/menu.lst  | grep grub.conf | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  cat /boot/grub/grub.conf  | grep "(hd0,0)" | wc -l
RESULT: 0 
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify resize2fs ... 
######################################################################################
COMMAND: resize2fs -p /dev/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
######################################################################################
# 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-175-41-169-201.ap-southeast-1.compute.amazonaws.com with Image Id : ami-10105542, is launched with Instance Id : i-2bb89a7e , Instance Type : c1.medium and Arch : i386 in the Region : ap-southeast-1b
The Validate Signature is : URqJGwfoUa3EQNuhxRdhKopAVKXyxukl1njQvQyXqe6VP6t4rB1hDEzsBWlpsiQZMHjZVLuh0eEt
f+QO94/vRx5aQLYTgXEw1IrJh2aHOJoUPyH3chOdrPMMFUQz+FjKZEOX16E0IIWe5TToXKbUbSpL
M5h7Se1kn0vgiM0uRIw=
This is a Cloud Access image

## Summary ##
FAILURES = 3
FAILED TESTS = ## Verify no missing packages ... ## Verify RPMs ... ## Install Development tools group...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 13 Kedar Bidarkar 2011-11-29 13:24:21 UTC
IMAGE ID= ami-10105542_ap-southeast-1_m1.small
###### TEST KERNEL AFTER REBOOT ####  
######################################################################################
# NEW TEST: ## Verify disabled yum plugin ... 
######################################################################################
COMMAND:  grep ^enabled /etc/yum/pluginconf.d/rhnplugin.conf | grep -v '^#' | cut -d\= -f2 | awk '{print }' | sort -f | uniq
RESULT:  0 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify kernel name ... 
######################################################################################
COMMAND:  /bin/uname -s
RESULT: Linux 
EXPECTED RESULT: Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest installed kernel is running ... 
######################################################################################
RHEL VERSION IS 6
LATEST_RPM_KERNEL_VERSION=rpm -q kernel --last | head -n 1 |  cut -c 8-60 | cut -d ' ' -f 1
CURRENT_UNAME_KERNAL_VERSION=2.6.32-220.el6
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed  's/\(.*\)...../\1/'
RESULT: 2.6.32-220.el6 
EXPECTED RESULT: 2.6.32-220.el6
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-220.el6
RESULT: title RHEL6.2-20111117.0-Server-i386-starter-ec2 (2.6.32-220.el6.i686)
        kernel /boot/vmlinuz-2.6.32-220.el6.i686 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-220.el6.i686.img 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify operating system ... 
######################################################################################
COMMAND:  /bin/uname -o
RESULT: GNU/Linux 
EXPECTED RESULT: GNU/Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel ... 
######################################################################################
COMMAND:  ls /etc/sysconfig/kernel
RESULT: /etc/sysconfig/kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains UPDATEDEFAULT ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep UPDATEDEFAULT=yes
RESULT: UPDATEDEFAULT=yes 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains DEFAULTKERNEL ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep DEFAULTKERNEL=kernel
RESULT: DEFAULTKERNEL=kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ##Verify memory match hwp ... 
######################################################################################
cat /proc/meminfo | grep MemTotal: | awk '{print }'
FOUND MEMORY OF 1711940 > hwp MEMORY of 1700000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
hostname
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.2
######################################################################################

## Summary ##
FAILURES = 3
FAILED TESTS = ## Verify no missing packages ... ## Verify RPMs ... ## Install Development tools group...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 14 Kedar Bidarkar 2011-11-29 13:24:27 UTC
   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'
Error: Package: gcc-c++-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
           Requires: libstdc++ = 4.4.5-6.el6
           Installed: libstdc++-4.4.6-3.el6.i686 (@koji-override-0/$releasever)
               libstdc++ = 4.4.4-15.el6
               libstdc++ = 4.4.6-3.el6
           Available: libstdc++-4.4.4-13.el6.i686 (rhui-ap-se-rhel-server-releases)
               libstdc++ = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
               libstdc++ = 4.4.4-15.el6
               libstdc++ = 4.4.5-6.el6
Error: Package: rpm-build-4.8.0-16.el6_1.1.i686 (rhui-ap-se-rhel-server-releases)
           Requires: rpm = 4.8.0-16.el6_1.1
           Installed: rpm-4.8.0-19.el6.i686 (@koji-override-0/$releasever)
               rpm = 4.8.0-19.el6
           Available: rpm-4.8.0-12.el6.i686 (rhui-ap-se-rhel-server-releases)
               rpm = 4.8.0-12.el6
           Available: rpm-4.8.0-16.el6.i686 (rhui-ap-se-rhel-server-releases)
               rpm = 4.8.0-16.el6
           Available: rpm-4.8.0-16.el6_1.1.i686 (rhui-ap-se-rhel-server-releases)
               rpm = 4.8.0-16.el6_1.1
Error: Package: systemtap-1.4-6.el6_1.3.i686 (rhui-ap-se-rhel-server-releases)
           Requires: systemtap-runtime = 1.4-6.el6_1.3
           Installed: systemtap-runtime-1.6-4.el6.i686 (@koji-override-0/$releasever)
               systemtap-runtime = 1.6-4.el6
           Available: systemtap-runtime-1.2-9.el6.i686 (rhui-ap-se-rhel-server-releases)
               systemtap-runtime = 1.2-9.el6
           Available: systemtap-runtime-1.2-11.el6_0.i686 (rhui-ap-se-rhel-server-releases)
               systemtap-runtime = 1.2-11.el6_0
           Available: systemtap-runtime-1.4-6.el6.i686 (rhui-ap-se-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6
           Available: systemtap-runtime-1.4-6.el6_1.1.i686 (rhui-ap-se-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.1
           Available: systemtap-runtime-1.4-6.el6_1.2.i686 (rhui-ap-se-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.2
           Available: systemtap-runtime-1.4-6.el6_1.3.i686 (rhui-ap-se-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.3
Error: Package: glibc-devel-2.12-1.25.el6_1.3.i686 (rhui-ap-se-rhel-server-releases)
           Requires: glibc = 2.12-1.25.el6_1.3
           Installed: glibc-2.12-1.47.el6.i686 (@koji-override-0/$releasever)
               glibc = 2.12-1.47.el6
           Available: glibc-2.12-1.7.el6.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6
           Available: glibc-2.12-1.7.el6_0.3.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.3
           Available: glibc-2.12-1.7.el6_0.4.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.4
           Available: glibc-2.12-1.7.el6_0.5.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.5
           Available: glibc-2.12-1.25.el6.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.25.el6
           Available: glibc-2.12-1.25.el6_1.3.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.25.el6_1.3
Error: Package: glibc-headers-2.12-1.25.el6_1.3.i686 (rhui-ap-se-rhel-server-releases)
           Requires: glibc = 2.12-1.25.el6_1.3
           Installed: glibc-2.12-1.47.el6.i686 (@koji-override-0/$releasever)
               glibc = 2.12-1.47.el6
           Available: glibc-2.12-1.7.el6.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6
           Available: glibc-2.12-1.7.el6_0.3.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.3
           Available: glibc-2.12-1.7.el6_0.4.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.4
           Available: glibc-2.12-1.7.el6_0.5.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.5
           Available: glibc-2.12-1.25.el6.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.25.el6
           Available: glibc-2.12-1.25.el6_1.3.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.25.el6_1.3
Error: Package: gcc-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
           Requires: libgomp = 4.4.5-6.el6
           Installed: libgomp-4.4.6-3.el6.i686 (@koji-override-0/$releasever)
               libgomp = 4.4.4-15.el6
               libgomp = 4.4.6-3.el6
           Available: libgomp-4.4.4-13.el6.i686 (rhui-ap-se-rhel-server-releases)
               libgomp = 4.4.4-13.el6
           Available: libgomp-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
               libgomp = 4.4.4-15.el6
               libgomp = 4.4.5-6.el6
Error: Package: gcc-gfortran-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
           Requires: libgfortran = 4.4.5-6.el6
           Installed: libgfortran-4.4.6-3.el6.i686 (@koji-override-0/$releasever)
               libgfortran = 4.4.4-15.el6
               libgfortran = 4.4.6-3.el6
           Available: libgfortran-4.4.4-13.el6.i686 (rhui-ap-se-rhel-server-releases)
               libgfortran = 4.4.4-13.el6
           Available: libgfortran-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
               libgfortran = 4.4.4-15.el6
               libgfortran = 4.4.5-6.el6
Error: Package: libstdc++-devel-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
           Requires: libstdc++(x86-32) = 4.4.5-6.el6
           Installed: libstdc++-4.4.6-3.el6.i686 (@koji-override-0/$releasever)
               libstdc++(x86-32) = 4.4.6-3.el6
           Available: libstdc++-4.4.4-13.el6.i686 (rhui-ap-se-rhel-server-releases)
               libstdc++(x86-32) = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
               libstdc++(x86-32) = 4.4.5-6.el6
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-19.el6.i686 already installed and latest version
Package patch-2.6-6.el6.i686 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.i686 already installed and latest version
Package gettext-0.17-16.el6.i686 already installed and latest version
Package matching binutils-2.20.51.0.2-5.20.el6_1.1.i686 already installed. Checking for update.
Package elfutils-0.152-1.el6.i686 already installed and latest version
Package cvs-1.11.23-11.el6_0.1.i686 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed
---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed
---> Package bison.i686 0:2.4.1-5.el6 will be installed
---> Package byacc.i686 0:1.9.20070509-6.1.el6 will be installed
---> Package cscope.i686 0:15.6-6.el6 will be installed
---> Package ctags.i686 0:5.8-2.el6 will be installed
---> Package diffstat.i686 0:1.51-2.el6 will be installed
---> Package doxygen.i686 1:1.6.1-4.el6 will be installed
---> Package flex.i686 0:2.5.35-8.el6 will be installed
---> Package gcc.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686
--> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.i686
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.i686
---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686
--> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686
--> Processing Dependency: libmpfr.so.1 for package: gcc-c++-4.4.5-6.el6.i686
---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686
---> Package git.i686 0:1.7.1-2.el6_0.1 will be installed
--> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.i686
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.i686
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.i686
---> Package indent.i686 0:2.2.10-5.1.el6 will be installed
---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed
--> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch
---> Package libtool.i686 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.i686 0:0.3.1-3.1.el6 will be installed
---> Package rcs.i686 0:5.7-37.el6 will be installed
---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed
---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed
--> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686
---> Package subversion.i686 0:1.6.11-2.el6_1.4 will be installed
--> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libaprutil-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libapr-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libneon.so.27 for package: subversion-1.6.11-2.el6_1.4.i686
---> Package swig.i686 0:1.3.40-5.el6 will be installed
---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed
--> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686
--> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.i686
--> Running transaction check
---> Package apr.i686 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util.i686 0:1.3.9-3.el6_0.1 will be installed
---> Package cloog-ppl.i686 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2 for package: cloog-ppl-0.15.7-1.2.el6.i686
--> Processing Dependency: libppl.so.7 for package: cloog-ppl-0.15.7-1.2.el6.i686
---> Package cpp.i686 0:4.4.5-6.el6 will be installed
---> Package gcc.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686
---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686
---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686
---> Package gettext-devel.i686 0:0.17-16.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libgettextpo.so.0 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libasprintf.so.0 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libgcj_bc.so.1 for package: gettext-devel-0.17-16.el6.i686
---> Package glibc-devel.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686
--> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.i686
---> Package kernel-devel.i686 0:2.6.32-131.21.1.el6 will be installed
---> Package libstdc++-devel.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.i686
---> Package mpfr.i686 0:2.4.1-6.el6 will be installed
---> Package neon.i686 0:0.29.3-1.2.el6 will be installed
--> Processing Dependency: libpakchois.so.0 for package: neon-0.29.3-1.2.el6.i686
--> Processing Dependency: libproxy.so.0 for package: neon-0.29.3-1.2.el6.i686
---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed
---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed
---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed
--> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686
---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed
--> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686
--> Running transaction check
---> Package gcc.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686
---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686
---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686
---> Package gettext-libs.i686 0:0.17-16.el6 will be installed
---> Package glibc-devel.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686
---> Package glibc-headers.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-headers-2.12-1.25.el6_1.3.i686
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.i686
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.i686
---> Package libgcj.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.i686
---> Package libproxy.i686 0:0.3.0-2.el6 will be installed
--> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686
--> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686
---> Package libstdc++-devel.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.i686
---> Package pakchois.i686 0:0.4-3.2.el6 will be installed
---> Package ppl.i686 0:0.10.2-11.el6 will be installed
---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed
--> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686
---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed
--> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686
--> Running transaction check
---> Package gcc.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686
---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686
---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686
---> Package glibc-devel.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686
---> Package glibc-headers.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-headers-2.12-1.25.el6_1.3.i686
---> Package kernel-headers.i686 0:2.6.32-131.21.1.el6 will be installed
---> Package libart_lgpl.i686 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.i686 0:0.3.0-2.el6 will be installed
---> Package libproxy-python.i686 0:0.3.0-2.el6 will be installed
---> Package libstdc++-devel.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.i686
---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed
--> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686
---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed
--> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686
--> Finished Dependency Resolution
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest 
EXPECTED RESULT: 
RETURN CODE: 1
FAIL1
Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Setting up Group Process Package 1:make-3.81-19.el6.i686 already installed and latest version Package patch-2.6-6.el6.i686 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.i686 already installed and latest version Package gettext-0.17-16.el6.i686 already installed and latest version Package matching binutils-2.20.51.0.2-5.20.el6_1.1.i686 already installed. Checking for update. Package elfutils-0.152-1.el6.i686 already installed and latest version Package cvs-1.11.23-11.el6_0.1.i686 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.i686 0:2.4.1-5.el6 will be installed ---> Package byacc.i686 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.i686 0:15.6-6.el6 will be installed ---> Package ctags.i686 0:5.8-2.el6 will be installed ---> Package diffstat.i686 0:1.51-2.el6 will be installed ---> Package doxygen.i686 1:1.6.1-4.el6 will be installed ---> Package flex.i686 0:2.5.35-8.el6 will be installed ---> Package gcc.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686 --> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.i686 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.i686 ---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686 --> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686 --> Processing Dependency: libmpfr.so.1 for package: gcc-c++-4.4.5-6.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686 ---> Package git.i686 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.i686 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.i686 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.i686 ---> Package indent.i686 0:2.2.10-5.1.el6 will be installed ---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed --> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch ---> Package libtool.i686 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.i686 0:0.3.1-3.1.el6 will be installed ---> Package rcs.i686 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed ---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed --> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686 ---> Package subversion.i686 0:1.6.11-2.el6_1.4 will be installed --> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libaprutil-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libapr-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libneon.so.27 for package: subversion-1.6.11-2.el6_1.4.i686 ---> Package swig.i686 0:1.3.40-5.el6 will be installed ---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed --> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686 --> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.i686 --> Running transaction check ---> Package apr.i686 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.i686 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.i686 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2 for package: cloog-ppl-0.15.7-1.2.el6.i686 --> Processing Dependency: libppl.so.7 for package: cloog-ppl-0.15.7-1.2.el6.i686 ---> Package cpp.i686 0:4.4.5-6.el6 will be installed ---> Package gcc.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686 ---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686 ---> Package gettext-devel.i686 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libgettextpo.so.0 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libasprintf.so.0 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libgcj_bc.so.1 for package: gettext-devel-0.17-16.el6.i686 ---> Package glibc-devel.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686 --> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.i686 ---> Package kernel-devel.i686 0:2.6.32-131.21.1.el6 will be installed ---> Package libstdc++-devel.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.i686 ---> Package mpfr.i686 0:2.4.1-6.el6 will be installed ---> Package neon.i686 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libpakchois.so.0 for package: neon-0.29.3-1.2.el6.i686 --> Processing Dependency: libproxy.so.0 for package: neon-0.29.3-1.2.el6.i686 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed --> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686 ---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed --> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686 --> Running transaction check ---> Package gcc.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686 ---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686 ---> Package gettext-libs.i686 0:0.17-16.el6 will be installed ---> Package glibc-devel.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686 ---> Package glibc-headers.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-headers-2.12-1.25.el6_1.3.i686 --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.i686 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.i686 ---> Package libgcj.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.i686 ---> Package libproxy.i686 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686 ---> Package libstdc++-devel.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.i686 ---> Package pakchois.i686 0:0.4-3.2.el6 will be installed ---> Package ppl.i686 0:0.10.2-11.el6 will be installed ---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed --> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686 ---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed --> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686 --> Running transaction check ---> Package gcc.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686 ---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686 ---> Package glibc-devel.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686 ---> Package glibc-headers.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-headers-2.12-1.25.el6_1.3.i686 ---> Package kernel-headers.i686 0:2.6.32-131.21.1.el6 will be installed ---> Package libart_lgpl.i686 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.i686 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.i686 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.i686 ---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed --> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686 ---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed --> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686 --> Finished Dependency Resolution You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package dmidecode.i686 1:2.11-2.el6 will be updated
---> Package dmidecode.i686 1:2.11-2.el6_1 will be an update
---> Package freetype.i686 0:2.3.11-6.el6_1.7 will be updated
---> Package freetype.i686 0:2.3.11-6.el6_1.8 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package     Arch   Version             Repository                         Size
================================================================================
Updating:
 dmidecode   i686   1:2.11-2.el6_1      rhui-ap-se-rhel-server-releases    70 k
 freetype    i686   2.3.11-6.el6_1.8    rhui-ap-se-rhel-server-releases   362 k

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

Total download size: 433 k
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           1.2 MB/s | 433 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Updating   : freetype-2.3.11-6.el6_1.8.i686                               1/4 

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

  Cleanup    : freetype-2.3.11-6.el6_1.7.i686                               3/4 

  Cleanup    : 1:dmidecode-2.11-2.el6.i686                                  4/4 
Installed products updated.

Updated:
  dmidecode.i686 1:2.11-2.el6_1         freetype.i686 0:2.3.11-6.el6_1.8        

Complete! 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no fa1lures in rpm package ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'failure in rpm package' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no rpm scriplet fa1lures ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'scriptlet failed, exit status 1' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify package removal... 
######################################################################################
COMMAND: /bin/rpm -e zsh
RETURN CODE: 0
COMMAND:  /bin/rpm -q zsh
RESULT: package zsh is not installed 
EXPECTED RESULT: package zsh is not installed
RETURN CODE: 1
PASS
######################################################################################
# NEW TEST: ## Verify bash_history ... 
######################################################################################
COMMAND:  cat ~/.bash_history | wc -l 
RESULT: 0 
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no systemid file ... 
######################################################################################
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rh-cloud-firstboot is OFF ... 
######################################################################################
COMMAND:  chkconfig --list | grep rh-cloud | grep 3:off | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
/etc/sysconfig/rh-cloud-firstboot FOUND
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
COMMAND:  cat /etc/sysconfig/rh-cloud-firstboot
RESULT: RUN_FIRSTBOOT=NO 
EXPECTED RESULT: RUN_FIRSTBOOT=NO
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify nameserver ... 
######################################################################################
COMMAND:  /usr/bin/dig clock.redhat.com 2>> /root/valid/src/validate.log | grep 66.187.233.4  | wc -l
RESULT: 1 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify group file ... 
######################################################################################
COMMAND:  cat /etc/group | grep root:x:0
RESULT: root:x:0:root 
EXPECTED RESULT: root:x:0:root
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep bin:x:1
RESULT: bin:x:1:root,bin,daemon 
EXPECTED RESULT: bin:x:1:root,bin,daemon
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep daemon:x:2
RESULT: daemon:x:2:root,bin,daemon 
EXPECTED RESULT: daemon:x:2:root,bin,daemon
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep nobody:x:99
RESULT: nobody:x:99: 
EXPECTED RESULT: nobody:x:99:
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify new passwd file ... 
######################################################################################
COMMAND:  cat /etc/passwd | grep root:x:0
RESULT: root:x:0:0:root:/root:/bin/bash 
EXPECTED RESULT: root:x:0:0:root:/root:/bin/bash
RETURN CODE: 0
PASS
COMMAND:  cat /etc/passwd | grep nobody:x:99
RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin 
EXPECTED RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin
RETURN CODE: 0
PASS
COMMAND:  cat /etc/passwd | grep sshd
RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin 
EXPECTED RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify runlevel ... 
######################################################################################
COMMAND:  cat /etc/inittab | grep id:
RESULT: id:3:initdefault: 
EXPECTED RESULT: id:3:initdefault:
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify new shells file ... 
######################################################################################
COMMAND:  cat /etc/shells | grep bash
RESULT: /bin/bash 
EXPECTED RESULT: /bin/bash
RETURN CODE: 0
PASS
COMMAND:  cat /etc/shells | grep nologin
RESULT: /sbin/nologin 
EXPECTED RESULT: /sbin/nologin
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify networking ... 
######################################################################################
COMMAND:  grep ^NETWORKING= /etc/sysconfig/network | cut -d\= -f2
RESULT: yes 
EXPECTED RESULT: yes
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify device ... 
######################################################################################
COMMAND:  grep ^DEVICE= /etc/sysconfig/network-scripts/ifcfg-eth0 | cut -d\= -f2
RESULT: eth0 
EXPECTED RESULT: eth0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify iptables ... 
######################################################################################
COMMAND: /etc/init.d/iptables status | grep REJECT 
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 sshd ...
######################################################################################
COMMAND:  chkconfig --list | grep sshd
RESULT: sshd           	0:off	1:off	2:on	3:on	4:on	5:on	6:off 
EXPECTED RESULT: sshd           	0:off	1:off	2:on	3:on	4:on	5:on	6:off
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/sshd status | grep running | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify  chkconfig ... 
######################################################################################
COMMAND:  chkconfig --list | grep crond | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
COMMAND:  chkconfig --list | grep  iptables | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0

Comment 15 Kedar Bidarkar 2011-11-29 13:24:32 UTC
PASS
######################################################################################
# NEW TEST: ## Verify rsyslog is on ... 
######################################################################################
COMMAND:  chkconfig --list | grep rsyslog | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rsyslog config ... 
######################################################################################
COMMAND:  md5sum /etc/rsyslog.conf | cut -f 1 -d  " "
RESULT: dd356958ca9c4e779f7fac13dde3c1b5 
EXPECTED RESULT: dd356958ca9c4e779f7fac13dde3c1b5
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify auditd is on ... 
######################################################################################
COMMAND:  /sbin/chkconfig --list auditd | grep 3:on
RESULT: auditd         	0:off	1:off	2:on	3:on	4:on	5:on	6:off 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
COMMAND:  /sbin/chkconfig --list auditd | grep 5:on
RESULT: auditd         	0:off	1:off	2:on	3:on	4:on	5:on	6:off 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify audit.rules ... 
######################################################################################
COMMAND:  md5sum /etc/audit/audit.rules | cut -f 1 -d  " "
RESULT: f9869e1191838c461f5b9051c78a638d 
EXPECTED RESULT: f9869e1191838c461f5b9051c78a638d
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify auditd.conf ... 
######################################################################################
COMMAND:  md5sum /etc/audit/auditd.conf | cut -f 1 -d  " "
RESULT: 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 sshd_config settings ...
######################################################################################
COMMAND:  cat /etc/ssh/sshd_config  | grep  PasswordAuthentication | grep no | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/ld.so.conf.d/libc6-xen.conf is not present ... 
######################################################################################
COMMAND:  ls /etc/ld.so.conf.d/libc6-xen.conf
ls: 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: ##test menu.lst ... 
######################################################################################
COMMAND:  file /boot/grub/menu.lst  | grep symbolic | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  file /boot/grub/menu.lst  | grep grub.conf | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  cat /boot/grub/grub.conf  | grep "(hd0,0)" | wc -l
RESULT: 0 
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify resize2fs ... 
######################################################################################
COMMAND: resize2fs -p /dev/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
######################################################################################
# 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-122-248-224-34.ap-southeast-1.compute.amazonaws.com with Image Id : ami-10105542, is launched with Instance Id : i-cfb89a9a , Instance Type : m1.small and Arch : i386 in the Region : ap-southeast-1a
The Validate Signature is : WkPJX1q9h4TSbIT2w4QrjLq3LxozULhVEMKh1uze0bJfae09dAyUD5DN5iMPf2Hm5SmhqXoYe6N9
Tp0AM6cLK1pc2lXCLbjHI1oAUzUfmEd/F/vsiXQQ/O+W3pkVpyQkLLl7Hhtm7GEXp6/cOWgdc+gz
mfYcUv1EFMVPBNEY5FU=
This is a Cloud Access image

## Summary ##
FAILURES = 3
FAILED TESTS = ## Verify no missing packages ... ## Verify RPMs ... ## Install Development tools group...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 16 Kedar Bidarkar 2011-11-29 13:25:40 UTC
IMAGE ID= ami-10105542_ap-southeast-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 ... 
######################################################################################
RHEL VERSION IS 6
LATEST_RPM_KERNEL_VERSION=rpm -q kernel --last | head -n 1 |  cut -c 8-60 | cut -d ' ' -f 1
CURRENT_UNAME_KERNAL_VERSION=2.6.32-220.el6
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed  's/\(.*\)...../\1/'
RESULT: 2.6.32-220.el6 
EXPECTED RESULT: 2.6.32-220.el6
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-220.el6
RESULT: title RHEL6.2-20111117.0-Server-i386-starter-ec2 (2.6.32-220.el6.i686)
        kernel /boot/vmlinuz-2.6.32-220.el6.i686 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-220.el6.i686.img 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify operating system ... 
######################################################################################
COMMAND:  /bin/uname -o
RESULT: GNU/Linux 
EXPECTED RESULT: GNU/Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel ... 
######################################################################################
COMMAND:  ls /etc/sysconfig/kernel
RESULT: /etc/sysconfig/kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains UPDATEDEFAULT ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep UPDATEDEFAULT=yes
RESULT: UPDATEDEFAULT=yes 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains DEFAULTKERNEL ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep DEFAULTKERNEL=kernel
RESULT: DEFAULTKERNEL=kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ##Verify memory match hwp ... 
######################################################################################
cat /proc/meminfo | grep MemTotal: | awk '{print }'
FOUND MEMORY OF 610428 > 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.2
######################################################################################

## Summary ##
FAILURES = 3
FAILED TESTS = ## Verify no missing packages ... ## Verify RPMs ... ## Install Development tools group...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 17 Kedar Bidarkar 2011-11-29 13:25:44 UTC
   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'
Error: Package: gcc-c++-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
           Requires: libstdc++ = 4.4.5-6.el6
           Installed: libstdc++-4.4.6-3.el6.i686 (@koji-override-0/$releasever)
               libstdc++ = 4.4.4-15.el6
               libstdc++ = 4.4.6-3.el6
           Available: libstdc++-4.4.4-13.el6.i686 (rhui-ap-se-rhel-server-releases)
               libstdc++ = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
               libstdc++ = 4.4.4-15.el6
               libstdc++ = 4.4.5-6.el6
Error: Package: rpm-build-4.8.0-16.el6_1.1.i686 (rhui-ap-se-rhel-server-releases)
           Requires: rpm = 4.8.0-16.el6_1.1
           Installed: rpm-4.8.0-19.el6.i686 (@koji-override-0/$releasever)
               rpm = 4.8.0-19.el6
           Available: rpm-4.8.0-12.el6.i686 (rhui-ap-se-rhel-server-releases)
               rpm = 4.8.0-12.el6
           Available: rpm-4.8.0-16.el6.i686 (rhui-ap-se-rhel-server-releases)
               rpm = 4.8.0-16.el6
           Available: rpm-4.8.0-16.el6_1.1.i686 (rhui-ap-se-rhel-server-releases)
               rpm = 4.8.0-16.el6_1.1
Error: Package: systemtap-1.4-6.el6_1.3.i686 (rhui-ap-se-rhel-server-releases)
           Requires: systemtap-runtime = 1.4-6.el6_1.3
           Installed: systemtap-runtime-1.6-4.el6.i686 (@koji-override-0/$releasever)
               systemtap-runtime = 1.6-4.el6
           Available: systemtap-runtime-1.2-9.el6.i686 (rhui-ap-se-rhel-server-releases)
               systemtap-runtime = 1.2-9.el6
           Available: systemtap-runtime-1.2-11.el6_0.i686 (rhui-ap-se-rhel-server-releases)
               systemtap-runtime = 1.2-11.el6_0
           Available: systemtap-runtime-1.4-6.el6.i686 (rhui-ap-se-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6
           Available: systemtap-runtime-1.4-6.el6_1.1.i686 (rhui-ap-se-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.1
           Available: systemtap-runtime-1.4-6.el6_1.2.i686 (rhui-ap-se-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.2
           Available: systemtap-runtime-1.4-6.el6_1.3.i686 (rhui-ap-se-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.3
Error: Package: glibc-devel-2.12-1.25.el6_1.3.i686 (rhui-ap-se-rhel-server-releases)
           Requires: glibc = 2.12-1.25.el6_1.3
           Installed: glibc-2.12-1.47.el6.i686 (@koji-override-0/$releasever)
               glibc = 2.12-1.47.el6
           Available: glibc-2.12-1.7.el6.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6
           Available: glibc-2.12-1.7.el6_0.3.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.3
           Available: glibc-2.12-1.7.el6_0.4.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.4
           Available: glibc-2.12-1.7.el6_0.5.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.5
           Available: glibc-2.12-1.25.el6.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.25.el6
           Available: glibc-2.12-1.25.el6_1.3.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.25.el6_1.3
Error: Package: glibc-headers-2.12-1.25.el6_1.3.i686 (rhui-ap-se-rhel-server-releases)
           Requires: glibc = 2.12-1.25.el6_1.3
           Installed: glibc-2.12-1.47.el6.i686 (@koji-override-0/$releasever)
               glibc = 2.12-1.47.el6
           Available: glibc-2.12-1.7.el6.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6
           Available: glibc-2.12-1.7.el6_0.3.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.3
           Available: glibc-2.12-1.7.el6_0.4.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.4
           Available: glibc-2.12-1.7.el6_0.5.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.5
           Available: glibc-2.12-1.25.el6.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.25.el6
           Available: glibc-2.12-1.25.el6_1.3.i686 (rhui-ap-se-rhel-server-releases)
               glibc = 2.12-1.25.el6_1.3
Error: Package: gcc-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
           Requires: libgomp = 4.4.5-6.el6
           Installed: libgomp-4.4.6-3.el6.i686 (@koji-override-0/$releasever)
               libgomp = 4.4.4-15.el6
               libgomp = 4.4.6-3.el6
           Available: libgomp-4.4.4-13.el6.i686 (rhui-ap-se-rhel-server-releases)
               libgomp = 4.4.4-13.el6
           Available: libgomp-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
               libgomp = 4.4.4-15.el6
               libgomp = 4.4.5-6.el6
Error: Package: gcc-gfortran-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
           Requires: libgfortran = 4.4.5-6.el6
           Installed: libgfortran-4.4.6-3.el6.i686 (@koji-override-0/$releasever)
               libgfortran = 4.4.4-15.el6
               libgfortran = 4.4.6-3.el6
           Available: libgfortran-4.4.4-13.el6.i686 (rhui-ap-se-rhel-server-releases)
               libgfortran = 4.4.4-13.el6
           Available: libgfortran-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
               libgfortran = 4.4.4-15.el6
               libgfortran = 4.4.5-6.el6
Error: Package: libstdc++-devel-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
           Requires: libstdc++(x86-32) = 4.4.5-6.el6
           Installed: libstdc++-4.4.6-3.el6.i686 (@koji-override-0/$releasever)
               libstdc++(x86-32) = 4.4.6-3.el6
           Available: libstdc++-4.4.4-13.el6.i686 (rhui-ap-se-rhel-server-releases)
               libstdc++(x86-32) = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.i686 (rhui-ap-se-rhel-server-releases)
               libstdc++(x86-32) = 4.4.5-6.el6
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-19.el6.i686 already installed and latest version
Package patch-2.6-6.el6.i686 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.i686 already installed and latest version
Package gettext-0.17-16.el6.i686 already installed and latest version
Package matching binutils-2.20.51.0.2-5.20.el6_1.1.i686 already installed. Checking for update.
Package elfutils-0.152-1.el6.i686 already installed and latest version
Package cvs-1.11.23-11.el6_0.1.i686 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed
---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed
---> Package bison.i686 0:2.4.1-5.el6 will be installed
---> Package byacc.i686 0:1.9.20070509-6.1.el6 will be installed
---> Package cscope.i686 0:15.6-6.el6 will be installed
---> Package ctags.i686 0:5.8-2.el6 will be installed
---> Package diffstat.i686 0:1.51-2.el6 will be installed
---> Package doxygen.i686 1:1.6.1-4.el6 will be installed
---> Package flex.i686 0:2.5.35-8.el6 will be installed
---> Package gcc.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686
--> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.i686
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.i686
---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686
--> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686
--> Processing Dependency: libmpfr.so.1 for package: gcc-c++-4.4.5-6.el6.i686
---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686
---> Package git.i686 0:1.7.1-2.el6_0.1 will be installed
--> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.i686
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.i686
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.i686
---> Package indent.i686 0:2.2.10-5.1.el6 will be installed
---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed
--> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch
---> Package libtool.i686 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.i686 0:0.3.1-3.1.el6 will be installed
---> Package rcs.i686 0:5.7-37.el6 will be installed
---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed
---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed
--> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686
---> Package subversion.i686 0:1.6.11-2.el6_1.4 will be installed
--> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libaprutil-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libapr-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libneon.so.27 for package: subversion-1.6.11-2.el6_1.4.i686
---> Package swig.i686 0:1.3.40-5.el6 will be installed
---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed
--> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686
--> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.i686
--> Running transaction check
---> Package apr.i686 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util.i686 0:1.3.9-3.el6_0.1 will be installed
---> Package cloog-ppl.i686 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2 for package: cloog-ppl-0.15.7-1.2.el6.i686
--> Processing Dependency: libppl.so.7 for package: cloog-ppl-0.15.7-1.2.el6.i686
---> Package cpp.i686 0:4.4.5-6.el6 will be installed
---> Package gcc.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686
---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686
---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686
---> Package gettext-devel.i686 0:0.17-16.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libgettextpo.so.0 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libasprintf.so.0 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libgcj_bc.so.1 for package: gettext-devel-0.17-16.el6.i686
---> Package glibc-devel.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686
--> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.i686
---> Package kernel-devel.i686 0:2.6.32-131.21.1.el6 will be installed
---> Package libstdc++-devel.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.i686
---> Package mpfr.i686 0:2.4.1-6.el6 will be installed
---> Package neon.i686 0:0.29.3-1.2.el6 will be installed
--> Processing Dependency: libpakchois.so.0 for package: neon-0.29.3-1.2.el6.i686
--> Processing Dependency: libproxy.so.0 for package: neon-0.29.3-1.2.el6.i686
---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed
---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed
---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed
--> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686
---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed
--> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686
--> Running transaction check
---> Package gcc.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686
---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686
---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686
---> Package gettext-libs.i686 0:0.17-16.el6 will be installed
---> Package glibc-devel.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686
---> Package glibc-headers.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-headers-2.12-1.25.el6_1.3.i686
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.i686
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.i686
---> Package libgcj.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.i686
---> Package libproxy.i686 0:0.3.0-2.el6 will be installed
--> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686
--> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686
---> Package libstdc++-devel.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.i686
---> Package pakchois.i686 0:0.4-3.2.el6 will be installed
---> Package ppl.i686 0:0.10.2-11.el6 will be installed
---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed
--> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686
---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed
--> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686
--> Running transaction check
---> Package gcc.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686
---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686
---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686
---> Package glibc-devel.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686
---> Package glibc-headers.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-headers-2.12-1.25.el6_1.3.i686
---> Package kernel-headers.i686 0:2.6.32-131.21.1.el6 will be installed
---> Package libart_lgpl.i686 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.i686 0:0.3.0-2.el6 will be installed
---> Package libproxy-python.i686 0:0.3.0-2.el6 will be installed
---> Package libstdc++-devel.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.i686
---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed
--> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686
---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed
--> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686
--> Finished Dependency Resolution
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest 
EXPECTED RESULT: 
RETURN CODE: 1
FAIL1
Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Setting up Group Process Package 1:make-3.81-19.el6.i686 already installed and latest version Package patch-2.6-6.el6.i686 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.i686 already installed and latest version Package gettext-0.17-16.el6.i686 already installed and latest version Package matching binutils-2.20.51.0.2-5.20.el6_1.1.i686 already installed. Checking for update. Package elfutils-0.152-1.el6.i686 already installed and latest version Package cvs-1.11.23-11.el6_0.1.i686 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.i686 0:2.4.1-5.el6 will be installed ---> Package byacc.i686 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.i686 0:15.6-6.el6 will be installed ---> Package ctags.i686 0:5.8-2.el6 will be installed ---> Package diffstat.i686 0:1.51-2.el6 will be installed ---> Package doxygen.i686 1:1.6.1-4.el6 will be installed ---> Package flex.i686 0:2.5.35-8.el6 will be installed ---> Package gcc.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686 --> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.i686 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.i686 ---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686 --> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686 --> Processing Dependency: libmpfr.so.1 for package: gcc-c++-4.4.5-6.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686 ---> Package git.i686 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.i686 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.i686 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.i686 ---> Package indent.i686 0:2.2.10-5.1.el6 will be installed ---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed --> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch ---> Package libtool.i686 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.i686 0:0.3.1-3.1.el6 will be installed ---> Package rcs.i686 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed ---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed --> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686 ---> Package subversion.i686 0:1.6.11-2.el6_1.4 will be installed --> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libaprutil-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libapr-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libneon.so.27 for package: subversion-1.6.11-2.el6_1.4.i686 ---> Package swig.i686 0:1.3.40-5.el6 will be installed ---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed --> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686 --> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.i686 --> Running transaction check ---> Package apr.i686 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.i686 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.i686 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2 for package: cloog-ppl-0.15.7-1.2.el6.i686 --> Processing Dependency: libppl.so.7 for package: cloog-ppl-0.15.7-1.2.el6.i686 ---> Package cpp.i686 0:4.4.5-6.el6 will be installed ---> Package gcc.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686 ---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686 ---> Package gettext-devel.i686 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libgettextpo.so.0 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libasprintf.so.0 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libgcj_bc.so.1 for package: gettext-devel-0.17-16.el6.i686 ---> Package glibc-devel.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686 --> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.i686 ---> Package kernel-devel.i686 0:2.6.32-131.21.1.el6 will be installed ---> Package libstdc++-devel.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.i686 ---> Package mpfr.i686 0:2.4.1-6.el6 will be installed ---> Package neon.i686 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libpakchois.so.0 for package: neon-0.29.3-1.2.el6.i686 --> Processing Dependency: libproxy.so.0 for package: neon-0.29.3-1.2.el6.i686 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed --> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686 ---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed --> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686 --> Running transaction check ---> Package gcc.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686 ---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686 ---> Package gettext-libs.i686 0:0.17-16.el6 will be installed ---> Package glibc-devel.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686 ---> Package glibc-headers.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-headers-2.12-1.25.el6_1.3.i686 --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.i686 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.i686 ---> Package libgcj.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.i686 ---> Package libproxy.i686 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686 ---> Package libstdc++-devel.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.i686 ---> Package pakchois.i686 0:0.4-3.2.el6 will be installed ---> Package ppl.i686 0:0.10.2-11.el6 will be installed ---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed --> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686 ---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed --> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686 --> Running transaction check ---> Package gcc.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgomp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.i686 ---> Package gcc-c++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.i686 ---> Package gcc-gfortran.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgfortran = 4.4.5-6.el6 for package: gcc-gfortran-4.4.5-6.el6.i686 ---> Package glibc-devel.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.i686 ---> Package glibc-headers.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc = 2.12-1.25.el6_1.3 for package: glibc-headers-2.12-1.25.el6_1.3.i686 ---> Package kernel-headers.i686 0:2.6.32-131.21.1.el6 will be installed ---> Package libart_lgpl.i686 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.i686 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.i686 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.i686 ---> Package rpm-build.i686 0:4.8.0-16.el6_1.1 will be installed --> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.i686 ---> Package systemtap.i686 0:1.4-6.el6_1.3 will be installed --> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.3 for package: systemtap-1.4-6.el6_1.3.i686 --> Finished Dependency Resolution You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
######################################################################################
# NEW TEST: ## Verify yum update ... 
######################################################################################
COMMAND:  /usr/bin/yum -y update
RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager
Updating certificate-based repositories.
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package dmidecode.i686 1:2.11-2.el6 will be updated
---> Package dmidecode.i686 1:2.11-2.el6_1 will be an update
---> Package freetype.i686 0:2.3.11-6.el6_1.7 will be updated
---> Package freetype.i686 0:2.3.11-6.el6_1.8 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package     Arch   Version             Repository                         Size
================================================================================
Updating:
 dmidecode   i686   1:2.11-2.el6_1      rhui-ap-se-rhel-server-releases    70 k
 freetype    i686   2.3.11-6.el6_1.8    rhui-ap-se-rhel-server-releases   362 k

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

Total download size: 433 k
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           1.2 MB/s | 433 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Updating   : freetype-2.3.11-6.el6_1.8.i686                               1/4 

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

  Cleanup    : freetype-2.3.11-6.el6_1.7.i686                               3/4 

  Cleanup    : 1:dmidecode-2.11-2.el6.i686                                  4/4 
Installed products updated.

Updated:
  dmidecode.i686 1:2.11-2.el6_1         freetype.i686 0:2.3.11-6.el6_1.8        

Complete! 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no fa1lures in rpm package ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'failure in rpm package' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no rpm scriplet fa1lures ... 
######################################################################################
COMMAND:  cat /root/valid/src/validate.log | grep 'scriptlet failed, exit status 1' | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify package removal... 
######################################################################################
COMMAND: /bin/rpm -e zsh
RETURN CODE: 0
COMMAND:  /bin/rpm -q zsh
RESULT: package zsh is not installed 
EXPECTED RESULT: package zsh is not installed
RETURN CODE: 1
PASS
######################################################################################
# NEW TEST: ## Verify bash_history ... 
######################################################################################
COMMAND:  cat ~/.bash_history | wc -l 
RESULT: 0 
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no systemid file ... 
######################################################################################
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rh-cloud-firstboot is OFF ... 
######################################################################################
COMMAND:  chkconfig --list | grep rh-cloud | grep 3:off | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
/etc/sysconfig/rh-cloud-firstboot FOUND
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
COMMAND:  cat /etc/sysconfig/rh-cloud-firstboot
RESULT: RUN_FIRSTBOOT=NO 
EXPECTED RESULT: RUN_FIRSTBOOT=NO
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify nameserver ... 
######################################################################################
COMMAND:  /usr/bin/dig clock.redhat.com 2>> /root/valid/src/validate.log | grep 66.187.233.4  | wc -l
RESULT: 1 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify group file ... 
######################################################################################
COMMAND:  cat /etc/group | grep root:x:0
RESULT: root:x:0:root 
EXPECTED RESULT: root:x:0:root
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep bin:x:1
RESULT: bin:x:1:root,bin,daemon 
EXPECTED RESULT: bin:x:1:root,bin,daemon
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep daemon:x:2
RESULT: daemon:x:2:root,bin,daemon 
EXPECTED RESULT: daemon:x:2:root,bin,daemon
RETURN CODE: 0
PASS
COMMAND:  cat /etc/group | grep nobody:x:99
RESULT: nobody:x:99: 
EXPECTED RESULT: nobody:x:99:
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify new passwd file ... 
######################################################################################
COMMAND:  cat /etc/passwd | grep root:x:0
RESULT: root:x:0:0:root:/root:/bin/bash 
EXPECTED RESULT: root:x:0:0:root:/root:/bin/bash
RETURN CODE: 0
PASS
COMMAND:  cat /etc/passwd | grep nobody:x:99
RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin 
EXPECTED RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin
RETURN CODE: 0
PASS
COMMAND:  cat /etc/passwd | grep sshd
RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin 
EXPECTED RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify runlevel ... 
######################################################################################
COMMAND:  cat /etc/inittab | grep id:
RESULT: id:3:initdefault: 
EXPECTED RESULT: id:3:initdefault:
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify new shells file ... 
######################################################################################
COMMAND:  cat /etc/shells | grep bash
RESULT: /bin/bash 
EXPECTED RESULT: /bin/bash
RETURN CODE: 0
PASS
COMMAND:  cat /etc/shells | grep nologin
RESULT: /sbin/nologin 
EXPECTED RESULT: /sbin/nologin
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify networking ... 
######################################################################################
COMMAND:  grep ^NETWORKING= /etc/sysconfig/network | cut -d\= -f2
RESULT: yes 
EXPECTED RESULT: yes
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify device ... 
######################################################################################
COMMAND:  grep ^DEVICE= /etc/sysconfig/network-scripts/ifcfg-eth0 | cut -d\= -f2
RESULT: eth0 
EXPECTED RESULT: eth0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify iptables ... 
######################################################################################
COMMAND: /etc/init.d/iptables status | grep REJECT 
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 sshd ...
######################################################################################
COMMAND:  chkconfig --list | grep sshd
RESULT: sshd           	0:off	1:off	2:on	3:on	4:on	5:on	6:off 
EXPECTED RESULT: sshd           	0:off	1:off	2:on	3:on	4:on	5:on	6:off
RETURN CODE: 0
PASS
COMMAND:  /etc/init.d/sshd status | grep running | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify  chkconfig ... 
######################################################################################
COMMAND:  chkconfig --list | grep crond | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
COMMAND:  chkconfig --list | grep  iptables | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
######################################################################################
# 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: dd356958ca9c4e779f7fac13dde3c1b5 
EXPECTED RESULT: dd356958ca9c4e779f7fac13dde3c1b5
RETURN CODE: 0
PASS

Comment 18 Kedar Bidarkar 2011-11-29 13:25:49 UTC
######################################################################################
# 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 sshd_config settings ...
######################################################################################
COMMAND:  cat /etc/ssh/sshd_config  | grep  PasswordAuthentication | grep no | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/ld.so.conf.d/libc6-xen.conf is not present ... 
######################################################################################
COMMAND:  ls /etc/ld.so.conf.d/libc6-xen.conf
ls: 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: ##test menu.lst ... 
######################################################################################
COMMAND:  file /boot/grub/menu.lst  | grep symbolic | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  file /boot/grub/menu.lst  | grep grub.conf | wc -l
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND:  cat /boot/grub/grub.conf  | grep "(hd0,0)" | wc -l
RESULT: 0 
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify resize2fs ... 
######################################################################################
COMMAND: resize2fs -p /dev/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
######################################################################################
# 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-122-248-206-223.ap-southeast-1.compute.amazonaws.com with Image Id : ami-10105542, is launched with Instance Id : i-d1b89a84 , Instance Type : t1.micro and Arch : i386 in the Region : ap-southeast-1a
The Validate Signature is : DUK7Xx3VHpupDyCzrUH/U5ReWRlsbsRqi6Mc0LxndBpQBZigN8cltptuAwUTJJaHxeobddbVlFTD
QkaYlRfjyek2u5cAAXoB3Na4tDNK5XMU05kjBT/D14zb8MkfCFijyrU7HkdLKNGKfzttBsJffiCS
meMnG8mQEKDLsygBU2U=
This is a Cloud Access image

## Summary ##
FAILURES = 3
FAILED TESTS = ## Verify no missing packages ... ## Verify RPMs ... ## Install Development tools group...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 19 wes hayutin 2011-12-16 15:32:21 UTC
closing old bugs


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