Bug 745772

Summary: ami-f11fd398 6.2 x86_64 us-east-1
Product: Cloud Image Validation Reporter: Sachin Ghai <sghai>
Component: imagesAssignee: wes hayutin <whayutin>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: RHEL6.2   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-16 15:27:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Sachin Ghai 2011-10-13 11:09:35 UTC

Comment 1 Sachin Ghai 2011-10-13 11:15:59 UTC
IMAGE ID= ami-f11fd398_us-east-1_m1.xlarge
######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
######################################################################################
# NEW TEST: Fetching the identity doc Details
######################################################################################
Verifying that signature exists
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the IMAGE ID
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the Architecture
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
This Host => ec2-107-20-24-155.compute-1.amazonaws.com with Image Id : ami-f11fd398, is launched with Instance Id : i-12132372 , Instance Type : m1.xlarge and Arch : x86_64 in the Region : us-east-1b
The Validate Signature is : YV1QjAdFprXZ7tuVgdhLH7NE7+P/bcYUzuEbLtA1bz5CH7CwE0AtF2X6zZk8Evu5M6f3GkBS1dFC
JQZwn9E0qHqePQh66C0ditjzITjuC5GduiR7fi5ee0WuEMQq48G8oSoUXeoNWrLzjl1f8gjvXey3
4slcI1JRlrVAa4ySm/M=
This is a Cloud Access image
/root/valid/src
ip-10-86-150-52
Red Hat Enterprise Linux Server release 6.2 Beta (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.2
######################################################################################
ami is a BETA
######################################################################################
# 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-202.el6
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed  's/\(.*\)......./\1/'
RESULT: 2.6.32-202.el6 
EXPECTED RESULT: 2.6.32-202.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-202.el6
RESULT: title RHEL6.2-20110923.3-Server-x86_64-starter-ec2 (2.6.32-202.el6.x86_64)
        kernel /boot/vmlinuz-2.6.32-202.el6.x86_64 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-202.el6.x86_64.img 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify operating system ... 
######################################################################################
COMMAND:  /bin/uname -o
RESULT: GNU/Linux 
EXPECTED RESULT: GNU/Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel ... 
######################################################################################
COMMAND:  ls /etc/sysconfig/kernel
RESULT: /etc/sysconfig/kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains UPDATEDEFAULT ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep UPDATEDEFAULT=yes
RESULT: UPDATEDEFAULT=yes 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains DEFAULTKERNEL ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep DEFAULTKERNEL=kernel
RESULT: DEFAULTKERNEL=kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## 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 ... 
######################################################################################
######################################################################################
# NEW TEST: ## Verify swap size ... 
######################################################################################
no swap for x86_64 is expected
######################################################################################
# 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
COUNT = 0
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: 3
RETURN CODE: 0
FAIL2
2
SKIPPING TEST, BETA DETECTED
######################################################################################
# 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-us-east-client-config-server-6             Red Hat Update Infrastruc     1
rhui-us-east-client-config-server-6-beta        Red Hat Update Infrastruc     0
rhui-us-east-rhel-server-releases               Red Hat Enterprise Linux  5,424
rhui-us-east-rhel-server-releases-beta          Red Hat Enterprise Linux  3,470
rhui-us-east-rhel-server-releases-optional      Red Hat Enterprise Linux  3,616
rhui-us-east-rhel-server-releases-optional-beta Red Hat Enterprise Linux  2,629
repolist: 15,140 
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.x86_64 : Tab completion for Zsh and Twisted Core
zsh-html.x86_64 : Zsh shell manual in html format
zsh.x86_64 : A powerful interactive shell

  Name and summary matches only, use "search all" for everything. 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## install zsh ... 
######################################################################################
COMMAND: /usr/bin/yum -y install zsh
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
   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
   Messaging Client Support
   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]
   Xhosa Support [xh]
   Zulu Support [zu]
Done 
EXPECTED RESULT: 
RETURN CODE: 0

Comment 2 Sachin Ghai 2011-10-13 11:16:03 UTC
PASS
######################################################################################
# NEW TEST: ## Install Development tools group...
######################################################################################
COMMAND:  /usr/bin/yum -y groupinstall 'Development tools'
Error: Package: glibc-2.12-1.25.el6_1.3.i686 (rhui-us-east-rhel-server-releases)
           Requires: glibc-common = 2.12-1.25.el6_1.3
           Installed: glibc-common-2.12-1.43.el6.x86_64 (@koji-override-0/$releasever)
               glibc-common = 2.12-1.43.el6
           Available: glibc-common-2.12-1.7.el6.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6
           Available: glibc-common-2.12-1.7.el6_0.3.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.3
           Available: glibc-common-2.12-1.7.el6_0.4.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.4
           Available: glibc-common-2.12-1.7.el6_0.5.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.5
           Available: glibc-common-2.12-1.19.el6.x86_64 (rhui-us-east-rhel-server-releases-beta)
               glibc-common = 2.12-1.19.el6
           Available: glibc-common-2.12-1.25.el6.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.25.el6
           Available: glibc-common-2.12-1.25.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.25.el6_1.3
Error: Package: rpm-build-4.8.0-16.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: rpm = 4.8.0-16.el6_1.1
           Installed: rpm-4.8.0-17.el6.x86_64 (@koji-override-0/$releasever)
               rpm = 4.8.0-17.el6
           Available: rpm-4.8.0-12.el6.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-12.el6
           Available: rpm-4.8.0-16.el6.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-16.el6
           Available: rpm-4.8.0-16.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-16.el6_1.1
Error: Package: libstdc++-devel-4.4.5-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: libstdc++(x86-64) = 4.4.5-6.el6
           Installed: libstdc++-4.4.6-3.el6.x86_64 (@koji-override-0/$releasever)
               libstdc++(x86-64) = 4.4.6-3.el6
           Available: libstdc++-4.4.4-13.el6.x86_64 (rhui-us-east-rhel-server-releases)
               libstdc++(x86-64) = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
               libstdc++(x86-64) = 4.4.5-6.el6
Error: Package: systemtap-1.4-6.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: systemtap-runtime = 1.4-6.el6_1.3
           Installed: systemtap-runtime-1.6-2.el6.x86_64 (@koji-override-0/$releasever)
               systemtap-runtime = 1.6-2.el6
           Available: systemtap-runtime-1.2-9.el6.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.2-9.el6
           Available: systemtap-runtime-1.2-11.el6_0.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.2-11.el6_0
           Available: systemtap-runtime-1.4-3.el6.x86_64 (rhui-us-east-rhel-server-releases-beta)
               systemtap-runtime = 1.4-3.el6
           Available: systemtap-runtime-1.4-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6
           Available: systemtap-runtime-1.4-6.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.1
           Available: systemtap-runtime-1.4-6.el6_1.2.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.2
           Available: systemtap-runtime-1.4-6.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.3
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.x86_64 already installed and latest version
Package patch-2.6-6.el6.x86_64 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version
Package gettext-0.17-16.el6.x86_64 already installed and latest version
Package matching binutils-2.20.51.0.2-5.20.el6_1.1.x86_64 already installed. Checking for update.
Package elfutils-0.152-1.el6.x86_64 already installed and latest version
Package cvs-1.11.23-11.el6_0.1.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed
---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed
---> Package bison.x86_64 0:2.4.1-5.el6 will be installed
---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed
---> Package cscope.x86_64 0:15.6-6.el6 will be installed
---> Package ctags.x86_64 0:5.8-2.el6 will be installed
---> Package diffstat.x86_64 0:1.51-2.el6 will be installed
---> Package doxygen.x86_64 1:1.6.1-4.el6 will be installed
---> Package flex.x86_64 0:2.5.35-8.el6 will be installed
---> Package gcc.x86_64 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.x86_64
--> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.x86_64
---> Package gcc-c++.x86_64 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.x86_64
--> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.x86_64
--> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.5-6.el6.x86_64
---> Package gcc-gfortran.x86_64 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.x86_64
---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed
--> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64
---> Package indent.x86_64 0:2.2.10-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.x86_64 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed
---> Package rcs.x86_64 0:5.7-37.el6 will be installed
---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package subversion.x86_64 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.x86_64
--> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
---> Package swig.x86_64 0:1.3.40-5.el6 will be installed
---> Package systemtap.x86_64 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.x86_64
--> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.5-6.el6 will be installed
---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
---> Package glibc-devel.x86_64 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.x86_64
--> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.x86_64
---> Package kernel-devel.x86_64 0:2.6.32-131.17.1.el6 will be installed
---> Package libgfortran.i686 0:4.4.5-6.el6 will be installed
---> Package libgomp.i686 0:4.4.5-6.el6 will be installed
---> Package libstdc++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.5-6.el6.i686
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed
--> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64
--> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64
---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed
---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> Running transaction check
---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed
---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.25.el6_1.3.i686
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.25.el6_1.3.i686
---> Package glibc-headers.x86_64 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.x86_64
---> Package libgcc.i686 0:4.4.5-6.el6 will be installed
---> Package libgcj.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.x86_64
---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed
--> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64
--> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> Running transaction check
---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686
---> Package kernel-headers.x86_64 0:2.6.32-131.17.1.el6 will be installed
---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed
---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package nss-softokn-freebl.i686 0:3.12.9-3.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> 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.x86_64 already installed and latest version Package patch-2.6-6.el6.x86_64 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version Package gettext-0.17-16.el6.x86_64 already installed and latest version Package matching binutils-2.20.51.0.2-5.20.el6_1.1.x86_64 already installed. Checking for update. Package elfutils-0.152-1.el6.x86_64 already installed and latest version Package cvs-1.11.23-11.el6_0.1.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.x86_64 0:2.4.1-5.el6 will be installed ---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.x86_64 0:15.6-6.el6 will be installed ---> Package ctags.x86_64 0:5.8-2.el6 will be installed ---> Package diffstat.x86_64 0:1.51-2.el6 will be installed ---> Package doxygen.x86_64 1:1.6.1-4.el6 will be installed ---> Package flex.x86_64 0:2.5.35-8.el6 will be installed ---> Package gcc.x86_64 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.x86_64 --> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.x86_64 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.x86_64 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.x86_64 ---> Package gcc-c++.x86_64 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.x86_64 --> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.x86_64 --> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.5-6.el6.x86_64 ---> Package gcc-gfortran.x86_64 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.x86_64 ---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64 ---> Package indent.x86_64 0:2.2.10-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.x86_64 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed ---> Package rcs.x86_64 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package subversion.x86_64 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.x86_64 --> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 ---> Package swig.x86_64 0:1.3.40-5.el6 will be installed ---> Package systemtap.x86_64 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.x86_64 --> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.x86_64 --> Running transaction check ---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 --> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 ---> Package cpp.x86_64 0:4.4.5-6.el6 will be installed ---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 ---> Package glibc-devel.x86_64 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.x86_64 --> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.x86_64 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.x86_64 ---> Package kernel-devel.x86_64 0:2.6.32-131.17.1.el6 will be installed ---> Package libgfortran.i686 0:4.4.5-6.el6 will be installed ---> Package libgomp.i686 0:4.4.5-6.el6 will be installed ---> Package libstdc++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.5-6.el6.i686 ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed ---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 --> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> Running transaction check ---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed ---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686 --> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.25.el6_1.3.i686 --> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.25.el6_1.3.i686 ---> Package glibc-headers.x86_64 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.x86_64 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.x86_64 ---> Package libgcc.i686 0:4.4.5-6.el6 will be installed ---> Package libgcj.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.x86_64 ---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed ---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> Running transaction check ---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686 ---> Package kernel-headers.x86_64 0:2.6.32-131.17.1.el6 will be installed ---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package nss-softokn-freebl.i686 0:3.12.9-3.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> 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
No Packages marked for Update 
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
######################################################################################
# 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: 612ddf28c3916530d47ef56a1b1ed1ed
RETURN CODE: 0
FAIL2
e1886162554c18906df2ecd258aa4794
######################################################################################
# NEW TEST: ## Verify auditd sysconfig ... 
######################################################################################
COMMAND:  md5sum /etc/sysconfig/auditd | cut -f 1 -d  " "
RESULT: d4d43637708e30418c30003e212f76fc 
EXPECTED RESULT: 123beb3a97a32d96eba4f11509e39da2
RETURN CODE: 0
FAIL2
d4d43637708e30418c30003e212f76fc
######################################################################################
# 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

Comment 3 Sachin Ghai 2011-10-13 11:16:06 UTC
Verifying the IMAGE ID
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the Architecture
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
This Host => ec2-107-20-24-155.compute-1.amazonaws.com with Image Id : ami-f11fd398, is launched with Instance Id : i-12132372 , Instance Type : m1.xlarge and Arch : x86_64 in the Region : us-east-1b
The Validate Signature is : YV1QjAdFprXZ7tuVgdhLH7NE7+P/bcYUzuEbLtA1bz5CH7CwE0AtF2X6zZk8Evu5M6f3GkBS1dFC
JQZwn9E0qHqePQh66C0ditjzITjuC5GduiR7fi5ee0WuEMQq48G8oSoUXeoNWrLzjl1f8gjvXey3
4slcI1JRlrVAa4ySm/M=
This is a Cloud Access image

## Summary ##
FAILURES = 6
FAILED TESTS = ## Verify no missing packages ... ## Verify RPMs ... ## Verify GPG Keys ... ## Install Development tools group... ## Verify auditd.conf ... ## Verify auditd sysconfig ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 4 Sachin Ghai 2011-10-13 11:18:51 UTC
IMAGE ID= ami-f11fd398_us-east-1_m1.large
######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
######################################################################################
# NEW TEST: Fetching the identity doc Details
######################################################################################
Verifying that signature exists
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the IMAGE ID
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the Architecture
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
This Host => ec2-50-19-50-7.compute-1.amazonaws.com with Image Id : ami-f11fd398, is launched with Instance Id : i-62142402 , Instance Type : m1.large and Arch : x86_64 in the Region : us-east-1a
The Validate Signature is : ZyNwtE+kkDqn+UmkHkAe24wp2xEey88NL9Qa1m/AN3NXeISDu1nqtaHTE4g7dmcXK1ocYosxJEjk
0AVziTZRLhJ35Rn+w6wgGiHQc0opbjVS9l0oynwFEQN2gd1OrljJL6G5g41AQt4FQlSuwT1oYNf9
JqhTw5a3Fr6beLv5oeg=
This is a Cloud Access image
/root/valid/src
ip-10-116-134-166
Red Hat Enterprise Linux Server release 6.2 Beta (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.2
######################################################################################
ami is a BETA
######################################################################################
# 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-202.el6
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed  's/\(.*\)......./\1/'
RESULT: 2.6.32-202.el6 
EXPECTED RESULT: 2.6.32-202.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-202.el6
RESULT: title RHEL6.2-20110923.3-Server-x86_64-starter-ec2 (2.6.32-202.el6.x86_64)
        kernel /boot/vmlinuz-2.6.32-202.el6.x86_64 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-202.el6.x86_64.img 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify operating system ... 
######################################################################################
COMMAND:  /bin/uname -o
RESULT: GNU/Linux 
EXPECTED RESULT: GNU/Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel ... 
######################################################################################
COMMAND:  ls /etc/sysconfig/kernel
RESULT: /etc/sysconfig/kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains UPDATEDEFAULT ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep UPDATEDEFAULT=yes
RESULT: UPDATEDEFAULT=yes 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains DEFAULTKERNEL ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep DEFAULTKERNEL=kernel
RESULT: DEFAULTKERNEL=kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## 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 ... 
######################################################################################
######################################################################################
# NEW TEST: ## Verify swap size ... 
######################################################################################
no swap for x86_64 is expected
######################################################################################
# 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
COUNT = 0
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: 3
RETURN CODE: 0
FAIL2
2
SKIPPING TEST, BETA DETECTED
######################################################################################
# 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-us-east-client-config-server-6             Red Hat Update Infrastruc     1
rhui-us-east-client-config-server-6-beta        Red Hat Update Infrastruc     0
rhui-us-east-rhel-server-releases               Red Hat Enterprise Linux  5,424
rhui-us-east-rhel-server-releases-beta          Red Hat Enterprise Linux  3,470
rhui-us-east-rhel-server-releases-optional      Red Hat Enterprise Linux  3,616
rhui-us-east-rhel-server-releases-optional-beta Red Hat Enterprise Linux  2,629
repolist: 15,140 
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.x86_64 : Tab completion for Zsh and Twisted Core
zsh-html.x86_64 : Zsh shell manual in html format
zsh.x86_64 : A powerful interactive shell

  Name and summary matches only, use "search all" for everything. 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## install zsh ... 
######################################################################################
COMMAND: /usr/bin/yum -y install zsh
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
   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
   Messaging Client Support
   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]
   Xhosa Support [xh]
   Zulu Support [zu]
Done 
EXPECTED RESULT: 
RETURN CODE: 0

Comment 5 Sachin Ghai 2011-10-13 11:18:54 UTC
PASS
######################################################################################
# NEW TEST: ## Install Development tools group...
######################################################################################
COMMAND:  /usr/bin/yum -y groupinstall 'Development tools'
Error: Package: glibc-2.12-1.25.el6_1.3.i686 (rhui-us-east-rhel-server-releases)
           Requires: glibc-common = 2.12-1.25.el6_1.3
           Installed: glibc-common-2.12-1.43.el6.x86_64 (@koji-override-0/$releasever)
               glibc-common = 2.12-1.43.el6
           Available: glibc-common-2.12-1.7.el6.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6
           Available: glibc-common-2.12-1.7.el6_0.3.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.3
           Available: glibc-common-2.12-1.7.el6_0.4.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.4
           Available: glibc-common-2.12-1.7.el6_0.5.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.5
           Available: glibc-common-2.12-1.19.el6.x86_64 (rhui-us-east-rhel-server-releases-beta)
               glibc-common = 2.12-1.19.el6
           Available: glibc-common-2.12-1.25.el6.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.25.el6
           Available: glibc-common-2.12-1.25.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.25.el6_1.3
Error: Package: rpm-build-4.8.0-16.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: rpm = 4.8.0-16.el6_1.1
           Installed: rpm-4.8.0-17.el6.x86_64 (@koji-override-0/$releasever)
               rpm = 4.8.0-17.el6
           Available: rpm-4.8.0-12.el6.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-12.el6
           Available: rpm-4.8.0-16.el6.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-16.el6
           Available: rpm-4.8.0-16.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-16.el6_1.1
Error: Package: libstdc++-devel-4.4.5-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: libstdc++(x86-64) = 4.4.5-6.el6
           Installed: libstdc++-4.4.6-3.el6.x86_64 (@koji-override-0/$releasever)
               libstdc++(x86-64) = 4.4.6-3.el6
           Available: libstdc++-4.4.4-13.el6.x86_64 (rhui-us-east-rhel-server-releases)
               libstdc++(x86-64) = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
               libstdc++(x86-64) = 4.4.5-6.el6
Error: Package: systemtap-1.4-6.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: systemtap-runtime = 1.4-6.el6_1.3
           Installed: systemtap-runtime-1.6-2.el6.x86_64 (@koji-override-0/$releasever)
               systemtap-runtime = 1.6-2.el6
           Available: systemtap-runtime-1.2-9.el6.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.2-9.el6
           Available: systemtap-runtime-1.2-11.el6_0.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.2-11.el6_0
           Available: systemtap-runtime-1.4-3.el6.x86_64 (rhui-us-east-rhel-server-releases-beta)
               systemtap-runtime = 1.4-3.el6
           Available: systemtap-runtime-1.4-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6
           Available: systemtap-runtime-1.4-6.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.1
           Available: systemtap-runtime-1.4-6.el6_1.2.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.2
           Available: systemtap-runtime-1.4-6.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.3
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.x86_64 already installed and latest version
Package patch-2.6-6.el6.x86_64 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version
Package gettext-0.17-16.el6.x86_64 already installed and latest version
Package matching binutils-2.20.51.0.2-5.20.el6_1.1.x86_64 already installed. Checking for update.
Package elfutils-0.152-1.el6.x86_64 already installed and latest version
Package cvs-1.11.23-11.el6_0.1.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed
---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed
---> Package bison.x86_64 0:2.4.1-5.el6 will be installed
---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed
---> Package cscope.x86_64 0:15.6-6.el6 will be installed
---> Package ctags.x86_64 0:5.8-2.el6 will be installed
---> Package diffstat.x86_64 0:1.51-2.el6 will be installed
---> Package doxygen.x86_64 1:1.6.1-4.el6 will be installed
---> Package flex.x86_64 0:2.5.35-8.el6 will be installed
---> Package gcc.x86_64 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.x86_64
--> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.x86_64
---> Package gcc-c++.x86_64 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.x86_64
--> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.x86_64
--> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.5-6.el6.x86_64
---> Package gcc-gfortran.x86_64 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.x86_64
---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed
--> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64
---> Package indent.x86_64 0:2.2.10-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.x86_64 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed
---> Package rcs.x86_64 0:5.7-37.el6 will be installed
---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package subversion.x86_64 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.x86_64
--> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
---> Package swig.x86_64 0:1.3.40-5.el6 will be installed
---> Package systemtap.x86_64 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.x86_64
--> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.5-6.el6 will be installed
---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
---> Package glibc-devel.x86_64 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.x86_64
--> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.x86_64
---> Package kernel-devel.x86_64 0:2.6.32-131.17.1.el6 will be installed
---> Package libgfortran.i686 0:4.4.5-6.el6 will be installed
---> Package libgomp.i686 0:4.4.5-6.el6 will be installed
---> Package libstdc++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.5-6.el6.i686
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed
--> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64
--> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64
---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed
---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> Running transaction check
---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed
---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.25.el6_1.3.i686
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.25.el6_1.3.i686
---> Package glibc-headers.x86_64 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.x86_64
---> Package libgcc.i686 0:4.4.5-6.el6 will be installed
---> Package libgcj.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.x86_64
---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed
--> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64
--> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> Running transaction check
---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686
---> Package kernel-headers.x86_64 0:2.6.32-131.17.1.el6 will be installed
---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed
---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package nss-softokn-freebl.i686 0:3.12.9-3.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> 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.x86_64 already installed and latest version Package patch-2.6-6.el6.x86_64 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version Package gettext-0.17-16.el6.x86_64 already installed and latest version Package matching binutils-2.20.51.0.2-5.20.el6_1.1.x86_64 already installed. Checking for update. Package elfutils-0.152-1.el6.x86_64 already installed and latest version Package cvs-1.11.23-11.el6_0.1.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.x86_64 0:2.4.1-5.el6 will be installed ---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.x86_64 0:15.6-6.el6 will be installed ---> Package ctags.x86_64 0:5.8-2.el6 will be installed ---> Package diffstat.x86_64 0:1.51-2.el6 will be installed ---> Package doxygen.x86_64 1:1.6.1-4.el6 will be installed ---> Package flex.x86_64 0:2.5.35-8.el6 will be installed ---> Package gcc.x86_64 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.x86_64 --> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.x86_64 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.x86_64 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.x86_64 ---> Package gcc-c++.x86_64 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.x86_64 --> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.x86_64 --> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.5-6.el6.x86_64 ---> Package gcc-gfortran.x86_64 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.x86_64 ---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64 ---> Package indent.x86_64 0:2.2.10-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.x86_64 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed ---> Package rcs.x86_64 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package subversion.x86_64 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.x86_64 --> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 ---> Package swig.x86_64 0:1.3.40-5.el6 will be installed ---> Package systemtap.x86_64 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.x86_64 --> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.x86_64 --> Running transaction check ---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 --> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 ---> Package cpp.x86_64 0:4.4.5-6.el6 will be installed ---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 ---> Package glibc-devel.x86_64 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.x86_64 --> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.x86_64 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.x86_64 ---> Package kernel-devel.x86_64 0:2.6.32-131.17.1.el6 will be installed ---> Package libgfortran.i686 0:4.4.5-6.el6 will be installed ---> Package libgomp.i686 0:4.4.5-6.el6 will be installed ---> Package libstdc++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.5-6.el6.i686 ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed ---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 --> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> Running transaction check ---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed ---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686 --> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.25.el6_1.3.i686 --> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.25.el6_1.3.i686 ---> Package glibc-headers.x86_64 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.x86_64 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.x86_64 ---> Package libgcc.i686 0:4.4.5-6.el6 will be installed ---> Package libgcj.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.x86_64 ---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed ---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> Running transaction check ---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686 ---> Package kernel-headers.x86_64 0:2.6.32-131.17.1.el6 will be installed ---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package nss-softokn-freebl.i686 0:3.12.9-3.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> 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
No Packages marked for Update 
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
######################################################################################
# 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: 612ddf28c3916530d47ef56a1b1ed1ed
RETURN CODE: 0
FAIL2
e1886162554c18906df2ecd258aa4794
######################################################################################
# NEW TEST: ## Verify auditd sysconfig ... 
######################################################################################
COMMAND:  md5sum /etc/sysconfig/auditd | cut -f 1 -d  " "
RESULT: d4d43637708e30418c30003e212f76fc 
EXPECTED RESULT: 123beb3a97a32d96eba4f11509e39da2
RETURN CODE: 0
FAIL2
d4d43637708e30418c30003e212f76fc
######################################################################################
# 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

Comment 6 Sachin Ghai 2011-10-13 11:18:58 UTC
Verifying the IMAGE ID
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the Architecture
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
This Host => ec2-50-19-50-7.compute-1.amazonaws.com with Image Id : ami-f11fd398, is launched with Instance Id : i-62142402 , Instance Type : m1.large and Arch : x86_64 in the Region : us-east-1a
The Validate Signature is : ZyNwtE+kkDqn+UmkHkAe24wp2xEey88NL9Qa1m/AN3NXeISDu1nqtaHTE4g7dmcXK1ocYosxJEjk
0AVziTZRLhJ35Rn+w6wgGiHQc0opbjVS9l0oynwFEQN2gd1OrljJL6G5g41AQt4FQlSuwT1oYNf9
JqhTw5a3Fr6beLv5oeg=
This is a Cloud Access image

## Summary ##
FAILURES = 6
FAILED TESTS = ## Verify no missing packages ... ## Verify RPMs ... ## Verify GPG Keys ... ## Install Development tools group... ## Verify auditd.conf ... ## Verify auditd sysconfig ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 7 Sachin Ghai 2011-10-13 11:19:38 UTC
IMAGE ID= ami-f11fd398_us-east-1_m2.xlarge
######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
######################################################################################
# NEW TEST: Fetching the identity doc Details
######################################################################################
Verifying that signature exists
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the IMAGE ID
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the Architecture
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
This Host => ec2-50-16-26-181.compute-1.amazonaws.com with Image Id : ami-f11fd398, is launched with Instance Id : i-5c14243c , Instance Type : m2.xlarge and Arch : x86_64 in the Region : us-east-1a
The Validate Signature is : MlTaPGPelb7jRaQMvgPmjZHUjZZUjoq1w1sENa//RtTEm7BjjRcXJS67uJC/MwCTgiWkeMUTXYGZ
JV7FoYlnVWS3UA0RWb6zPTfvKDWgmSY8ZO3GmgwrtuT8ngA023IvVU4BzDiU6rBtJoGIa+U/KTD/
Rg5eN0lVh9vOGhhsaJQ=
This is a Cloud Access image
/root/valid/src
ip-10-84-26-162
Red Hat Enterprise Linux Server release 6.2 Beta (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.2
######################################################################################
ami is a BETA
######################################################################################
# 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-202.el6
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed  's/\(.*\)......./\1/'
RESULT: 2.6.32-202.el6 
EXPECTED RESULT: 2.6.32-202.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-202.el6
RESULT: title RHEL6.2-20110923.3-Server-x86_64-starter-ec2 (2.6.32-202.el6.x86_64)
        kernel /boot/vmlinuz-2.6.32-202.el6.x86_64 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-202.el6.x86_64.img 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify operating system ... 
######################################################################################
COMMAND:  /bin/uname -o
RESULT: GNU/Linux 
EXPECTED RESULT: GNU/Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel ... 
######################################################################################
COMMAND:  ls /etc/sysconfig/kernel
RESULT: /etc/sysconfig/kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains UPDATEDEFAULT ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep UPDATEDEFAULT=yes
RESULT: UPDATEDEFAULT=yes 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains DEFAULTKERNEL ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep DEFAULTKERNEL=kernel
RESULT: DEFAULTKERNEL=kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## 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 ... 
######################################################################################
######################################################################################
# NEW TEST: ## Verify swap size ... 
######################################################################################
no swap for x86_64 is expected
######################################################################################
# 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
COUNT = 0
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: 3
RETURN CODE: 0
FAIL2
2
SKIPPING TEST, BETA DETECTED
######################################################################################
# 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-us-east-client-config-server-6             Red Hat Update Infrastruc     1
rhui-us-east-client-config-server-6-beta        Red Hat Update Infrastruc     0
rhui-us-east-rhel-server-releases               Red Hat Enterprise Linux  5,424
rhui-us-east-rhel-server-releases-beta          Red Hat Enterprise Linux  3,470
rhui-us-east-rhel-server-releases-optional      Red Hat Enterprise Linux  3,616
rhui-us-east-rhel-server-releases-optional-beta Red Hat Enterprise Linux  2,629
repolist: 15,140 
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.x86_64 : Tab completion for Zsh and Twisted Core
zsh-html.x86_64 : Zsh shell manual in html format
zsh.x86_64 : A powerful interactive shell

  Name and summary matches only, use "search all" for everything. 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## install zsh ... 
######################################################################################
COMMAND: /usr/bin/yum -y install zsh
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
   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
   Messaging Client Support
   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]
   Xhosa Support [xh]
   Zulu Support [zu]
Done 
EXPECTED RESULT: 
RETURN CODE: 0

Comment 8 Sachin Ghai 2011-10-13 11:19:41 UTC
PASS
######################################################################################
# NEW TEST: ## Install Development tools group...
######################################################################################
COMMAND:  /usr/bin/yum -y groupinstall 'Development tools'
Error: Package: glibc-2.12-1.25.el6_1.3.i686 (rhui-us-east-rhel-server-releases)
           Requires: glibc-common = 2.12-1.25.el6_1.3
           Installed: glibc-common-2.12-1.43.el6.x86_64 (@koji-override-0/$releasever)
               glibc-common = 2.12-1.43.el6
           Available: glibc-common-2.12-1.7.el6.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6
           Available: glibc-common-2.12-1.7.el6_0.3.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.3
           Available: glibc-common-2.12-1.7.el6_0.4.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.4
           Available: glibc-common-2.12-1.7.el6_0.5.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.5
           Available: glibc-common-2.12-1.19.el6.x86_64 (rhui-us-east-rhel-server-releases-beta)
               glibc-common = 2.12-1.19.el6
           Available: glibc-common-2.12-1.25.el6.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.25.el6
           Available: glibc-common-2.12-1.25.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.25.el6_1.3
Error: Package: rpm-build-4.8.0-16.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: rpm = 4.8.0-16.el6_1.1
           Installed: rpm-4.8.0-17.el6.x86_64 (@koji-override-0/$releasever)
               rpm = 4.8.0-17.el6
           Available: rpm-4.8.0-12.el6.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-12.el6
           Available: rpm-4.8.0-16.el6.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-16.el6
           Available: rpm-4.8.0-16.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-16.el6_1.1
Error: Package: libstdc++-devel-4.4.5-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: libstdc++(x86-64) = 4.4.5-6.el6
           Installed: libstdc++-4.4.6-3.el6.x86_64 (@koji-override-0/$releasever)
               libstdc++(x86-64) = 4.4.6-3.el6
           Available: libstdc++-4.4.4-13.el6.x86_64 (rhui-us-east-rhel-server-releases)
               libstdc++(x86-64) = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
               libstdc++(x86-64) = 4.4.5-6.el6
Error: Package: systemtap-1.4-6.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: systemtap-runtime = 1.4-6.el6_1.3
           Installed: systemtap-runtime-1.6-2.el6.x86_64 (@koji-override-0/$releasever)
               systemtap-runtime = 1.6-2.el6
           Available: systemtap-runtime-1.2-9.el6.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.2-9.el6
           Available: systemtap-runtime-1.2-11.el6_0.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.2-11.el6_0
           Available: systemtap-runtime-1.4-3.el6.x86_64 (rhui-us-east-rhel-server-releases-beta)
               systemtap-runtime = 1.4-3.el6
           Available: systemtap-runtime-1.4-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6
           Available: systemtap-runtime-1.4-6.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.1
           Available: systemtap-runtime-1.4-6.el6_1.2.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.2
           Available: systemtap-runtime-1.4-6.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.3
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.x86_64 already installed and latest version
Package patch-2.6-6.el6.x86_64 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version
Package gettext-0.17-16.el6.x86_64 already installed and latest version
Package matching binutils-2.20.51.0.2-5.20.el6_1.1.x86_64 already installed. Checking for update.
Package elfutils-0.152-1.el6.x86_64 already installed and latest version
Package cvs-1.11.23-11.el6_0.1.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed
---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed
---> Package bison.x86_64 0:2.4.1-5.el6 will be installed
---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed
---> Package cscope.x86_64 0:15.6-6.el6 will be installed
---> Package ctags.x86_64 0:5.8-2.el6 will be installed
---> Package diffstat.x86_64 0:1.51-2.el6 will be installed
---> Package doxygen.x86_64 1:1.6.1-4.el6 will be installed
---> Package flex.x86_64 0:2.5.35-8.el6 will be installed
---> Package gcc.x86_64 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.x86_64
--> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.x86_64
---> Package gcc-c++.x86_64 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.x86_64
--> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.x86_64
--> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.5-6.el6.x86_64
---> Package gcc-gfortran.x86_64 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.x86_64
---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed
--> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64
---> Package indent.x86_64 0:2.2.10-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.x86_64 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed
---> Package rcs.x86_64 0:5.7-37.el6 will be installed
---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package subversion.x86_64 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.x86_64
--> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
---> Package swig.x86_64 0:1.3.40-5.el6 will be installed
---> Package systemtap.x86_64 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.x86_64
--> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.5-6.el6 will be installed
---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
---> Package glibc-devel.x86_64 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.x86_64
--> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.x86_64
---> Package kernel-devel.x86_64 0:2.6.32-131.17.1.el6 will be installed
---> Package libgfortran.i686 0:4.4.5-6.el6 will be installed
---> Package libgomp.i686 0:4.4.5-6.el6 will be installed
---> Package libstdc++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.5-6.el6.i686
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed
--> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64
--> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64
---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed
---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> Running transaction check
---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed
---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.25.el6_1.3.i686
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.25.el6_1.3.i686
---> Package glibc-headers.x86_64 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.x86_64
---> Package libgcc.i686 0:4.4.5-6.el6 will be installed
---> Package libgcj.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.x86_64
---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed
--> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64
--> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> Running transaction check
---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686
---> Package kernel-headers.x86_64 0:2.6.32-131.17.1.el6 will be installed
---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed
---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package nss-softokn-freebl.i686 0:3.12.9-3.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> 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.x86_64 already installed and latest version Package patch-2.6-6.el6.x86_64 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version Package gettext-0.17-16.el6.x86_64 already installed and latest version Package matching binutils-2.20.51.0.2-5.20.el6_1.1.x86_64 already installed. Checking for update. Package elfutils-0.152-1.el6.x86_64 already installed and latest version Package cvs-1.11.23-11.el6_0.1.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.x86_64 0:2.4.1-5.el6 will be installed ---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.x86_64 0:15.6-6.el6 will be installed ---> Package ctags.x86_64 0:5.8-2.el6 will be installed ---> Package diffstat.x86_64 0:1.51-2.el6 will be installed ---> Package doxygen.x86_64 1:1.6.1-4.el6 will be installed ---> Package flex.x86_64 0:2.5.35-8.el6 will be installed ---> Package gcc.x86_64 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.x86_64 --> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.x86_64 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.x86_64 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.x86_64 ---> Package gcc-c++.x86_64 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.x86_64 --> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.x86_64 --> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.5-6.el6.x86_64 ---> Package gcc-gfortran.x86_64 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.x86_64 ---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64 ---> Package indent.x86_64 0:2.2.10-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.x86_64 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed ---> Package rcs.x86_64 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package subversion.x86_64 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.x86_64 --> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 ---> Package swig.x86_64 0:1.3.40-5.el6 will be installed ---> Package systemtap.x86_64 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.x86_64 --> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.x86_64 --> Running transaction check ---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 --> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 ---> Package cpp.x86_64 0:4.4.5-6.el6 will be installed ---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 ---> Package glibc-devel.x86_64 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.x86_64 --> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.x86_64 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.x86_64 ---> Package kernel-devel.x86_64 0:2.6.32-131.17.1.el6 will be installed ---> Package libgfortran.i686 0:4.4.5-6.el6 will be installed ---> Package libgomp.i686 0:4.4.5-6.el6 will be installed ---> Package libstdc++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.5-6.el6.i686 ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed ---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 --> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> Running transaction check ---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed ---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686 --> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.25.el6_1.3.i686 --> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.25.el6_1.3.i686 ---> Package glibc-headers.x86_64 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.x86_64 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.x86_64 ---> Package libgcc.i686 0:4.4.5-6.el6 will be installed ---> Package libgcj.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.x86_64 ---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed ---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> Running transaction check ---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686 ---> Package kernel-headers.x86_64 0:2.6.32-131.17.1.el6 will be installed ---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package nss-softokn-freebl.i686 0:3.12.9-3.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> 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
No Packages marked for Update 
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
######################################################################################
# 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: 612ddf28c3916530d47ef56a1b1ed1ed
RETURN CODE: 0
FAIL2
e1886162554c18906df2ecd258aa4794
######################################################################################
# NEW TEST: ## Verify auditd sysconfig ... 
######################################################################################
COMMAND:  md5sum /etc/sysconfig/auditd | cut -f 1 -d  " "
RESULT: d4d43637708e30418c30003e212f76fc 
EXPECTED RESULT: 123beb3a97a32d96eba4f11509e39da2
RETURN CODE: 0
FAIL2
d4d43637708e30418c30003e212f76fc
######################################################################################
# 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

Comment 9 Sachin Ghai 2011-10-13 11:19:44 UTC
Verifying the IMAGE ID
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the Architecture
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
This Host => ec2-50-16-26-181.compute-1.amazonaws.com with Image Id : ami-f11fd398, is launched with Instance Id : i-5c14243c , Instance Type : m2.xlarge and Arch : x86_64 in the Region : us-east-1a
The Validate Signature is : MlTaPGPelb7jRaQMvgPmjZHUjZZUjoq1w1sENa//RtTEm7BjjRcXJS67uJC/MwCTgiWkeMUTXYGZ
JV7FoYlnVWS3UA0RWb6zPTfvKDWgmSY8ZO3GmgwrtuT8ngA023IvVU4BzDiU6rBtJoGIa+U/KTD/
Rg5eN0lVh9vOGhhsaJQ=
This is a Cloud Access image

## Summary ##
FAILURES = 6
FAILED TESTS = ## Verify no missing packages ... ## Verify RPMs ... ## Verify GPG Keys ... ## Install Development tools group... ## Verify auditd.conf ... ## Verify auditd sysconfig ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 10 Sachin Ghai 2011-10-13 11:21:04 UTC
IMAGE ID= ami-f11fd398_us-east-1_m2.2xlarge
######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
######################################################################################
# NEW TEST: Fetching the identity doc Details
######################################################################################
Verifying that signature exists
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the IMAGE ID
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the Architecture
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
This Host => ec2-50-16-148-15.compute-1.amazonaws.com with Image Id : ami-f11fd398, is launched with Instance Id : i-0c14246c , Instance Type : m2.2xlarge and Arch : x86_64 in the Region : us-east-1d
The Validate Signature is : b31O++ODXt8I4Giht0WQOR3PQjEI+x4fdlfTSfjFKdaEGym9DVAeCHK4hudbYzEquZ/aH5lU75+s
WON6CN0BEtbnryqCCAKBacBFzn83PUR8R43JbyTfY+MndBowNN4x3PNxnaGs1fkJao+a0jdu6jJz
8SXV1rgD50MhjyZU/Z8=
This is a Cloud Access image
/root/valid/src
domU-12-31-39-08-04-6F
Red Hat Enterprise Linux Server release 6.2 Beta (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.2
######################################################################################
ami is a BETA
######################################################################################
# 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-202.el6
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed  's/\(.*\)......./\1/'
RESULT: 2.6.32-202.el6 
EXPECTED RESULT: 2.6.32-202.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-202.el6
RESULT: title RHEL6.2-20110923.3-Server-x86_64-starter-ec2 (2.6.32-202.el6.x86_64)
        kernel /boot/vmlinuz-2.6.32-202.el6.x86_64 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-202.el6.x86_64.img 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify operating system ... 
######################################################################################
COMMAND:  /bin/uname -o
RESULT: GNU/Linux 
EXPECTED RESULT: GNU/Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel ... 
######################################################################################
COMMAND:  ls /etc/sysconfig/kernel
RESULT: /etc/sysconfig/kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains UPDATEDEFAULT ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep UPDATEDEFAULT=yes
RESULT: UPDATEDEFAULT=yes 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains DEFAULTKERNEL ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep DEFAULTKERNEL=kernel
RESULT: DEFAULTKERNEL=kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## 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 ... 
######################################################################################
######################################################################################
# NEW TEST: ## Verify swap size ... 
######################################################################################
no swap for x86_64 is expected
######################################################################################
# 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
COUNT = 0
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: 3
RETURN CODE: 0
FAIL2
2
SKIPPING TEST, BETA DETECTED
######################################################################################
# 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-us-east-client-config-server-6             Red Hat Update Infrastruc     1
rhui-us-east-client-config-server-6-beta        Red Hat Update Infrastruc     0
rhui-us-east-rhel-server-releases               Red Hat Enterprise Linux  5,424
rhui-us-east-rhel-server-releases-beta          Red Hat Enterprise Linux  3,470
rhui-us-east-rhel-server-releases-optional      Red Hat Enterprise Linux  3,616
rhui-us-east-rhel-server-releases-optional-beta Red Hat Enterprise Linux  2,629
repolist: 15,140 
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.x86_64 : Tab completion for Zsh and Twisted Core
zsh-html.x86_64 : Zsh shell manual in html format
zsh.x86_64 : A powerful interactive shell

  Name and summary matches only, use "search all" for everything. 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## install zsh ... 
######################################################################################
COMMAND: /usr/bin/yum -y install zsh
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
   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
   Messaging Client Support
   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]
   Xhosa Support [xh]
   Zulu Support [zu]
Done 
EXPECTED RESULT: 
RETURN CODE: 0

Comment 11 Sachin Ghai 2011-10-13 11:21:08 UTC
PASS
######################################################################################
# NEW TEST: ## Install Development tools group...
######################################################################################
COMMAND:  /usr/bin/yum -y groupinstall 'Development tools'
Error: Package: glibc-2.12-1.25.el6_1.3.i686 (rhui-us-east-rhel-server-releases)
           Requires: glibc-common = 2.12-1.25.el6_1.3
           Installed: glibc-common-2.12-1.43.el6.x86_64 (@koji-override-0/$releasever)
               glibc-common = 2.12-1.43.el6
           Available: glibc-common-2.12-1.7.el6.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6
           Available: glibc-common-2.12-1.7.el6_0.3.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.3
           Available: glibc-common-2.12-1.7.el6_0.4.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.4
           Available: glibc-common-2.12-1.7.el6_0.5.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.5
           Available: glibc-common-2.12-1.19.el6.x86_64 (rhui-us-east-rhel-server-releases-beta)
               glibc-common = 2.12-1.19.el6
           Available: glibc-common-2.12-1.25.el6.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.25.el6
           Available: glibc-common-2.12-1.25.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.25.el6_1.3
Error: Package: rpm-build-4.8.0-16.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: rpm = 4.8.0-16.el6_1.1
           Installed: rpm-4.8.0-17.el6.x86_64 (@koji-override-0/$releasever)
               rpm = 4.8.0-17.el6
           Available: rpm-4.8.0-12.el6.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-12.el6
           Available: rpm-4.8.0-16.el6.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-16.el6
           Available: rpm-4.8.0-16.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-16.el6_1.1
Error: Package: libstdc++-devel-4.4.5-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: libstdc++(x86-64) = 4.4.5-6.el6
           Installed: libstdc++-4.4.6-3.el6.x86_64 (@koji-override-0/$releasever)
               libstdc++(x86-64) = 4.4.6-3.el6
           Available: libstdc++-4.4.4-13.el6.x86_64 (rhui-us-east-rhel-server-releases)
               libstdc++(x86-64) = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
               libstdc++(x86-64) = 4.4.5-6.el6
Error: Package: systemtap-1.4-6.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: systemtap-runtime = 1.4-6.el6_1.3
           Installed: systemtap-runtime-1.6-2.el6.x86_64 (@koji-override-0/$releasever)
               systemtap-runtime = 1.6-2.el6
           Available: systemtap-runtime-1.2-9.el6.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.2-9.el6
           Available: systemtap-runtime-1.2-11.el6_0.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.2-11.el6_0
           Available: systemtap-runtime-1.4-3.el6.x86_64 (rhui-us-east-rhel-server-releases-beta)
               systemtap-runtime = 1.4-3.el6
           Available: systemtap-runtime-1.4-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6
           Available: systemtap-runtime-1.4-6.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.1
           Available: systemtap-runtime-1.4-6.el6_1.2.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.2
           Available: systemtap-runtime-1.4-6.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.3
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.x86_64 already installed and latest version
Package patch-2.6-6.el6.x86_64 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version
Package gettext-0.17-16.el6.x86_64 already installed and latest version
Package matching binutils-2.20.51.0.2-5.20.el6_1.1.x86_64 already installed. Checking for update.
Package elfutils-0.152-1.el6.x86_64 already installed and latest version
Package cvs-1.11.23-11.el6_0.1.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed
---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed
---> Package bison.x86_64 0:2.4.1-5.el6 will be installed
---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed
---> Package cscope.x86_64 0:15.6-6.el6 will be installed
---> Package ctags.x86_64 0:5.8-2.el6 will be installed
---> Package diffstat.x86_64 0:1.51-2.el6 will be installed
---> Package doxygen.x86_64 1:1.6.1-4.el6 will be installed
---> Package flex.x86_64 0:2.5.35-8.el6 will be installed
---> Package gcc.x86_64 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.x86_64
--> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.x86_64
---> Package gcc-c++.x86_64 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.x86_64
--> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.x86_64
--> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.5-6.el6.x86_64
---> Package gcc-gfortran.x86_64 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.x86_64
---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed
--> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64
---> Package indent.x86_64 0:2.2.10-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.x86_64 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed
---> Package rcs.x86_64 0:5.7-37.el6 will be installed
---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package subversion.x86_64 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.x86_64
--> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
---> Package swig.x86_64 0:1.3.40-5.el6 will be installed
---> Package systemtap.x86_64 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.x86_64
--> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.5-6.el6 will be installed
---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
---> Package glibc-devel.x86_64 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.x86_64
--> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.x86_64
---> Package kernel-devel.x86_64 0:2.6.32-131.17.1.el6 will be installed
---> Package libgfortran.i686 0:4.4.5-6.el6 will be installed
---> Package libgomp.i686 0:4.4.5-6.el6 will be installed
---> Package libstdc++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.5-6.el6.i686
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed
--> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64
--> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64
---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed
---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> Running transaction check
---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed
---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.25.el6_1.3.i686
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.25.el6_1.3.i686
---> Package glibc-headers.x86_64 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.x86_64
---> Package libgcc.i686 0:4.4.5-6.el6 will be installed
---> Package libgcj.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.x86_64
---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed
--> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64
--> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> Running transaction check
---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686
---> Package kernel-headers.x86_64 0:2.6.32-131.17.1.el6 will be installed
---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed
---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package nss-softokn-freebl.i686 0:3.12.9-3.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> 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.x86_64 already installed and latest version Package patch-2.6-6.el6.x86_64 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version Package gettext-0.17-16.el6.x86_64 already installed and latest version Package matching binutils-2.20.51.0.2-5.20.el6_1.1.x86_64 already installed. Checking for update. Package elfutils-0.152-1.el6.x86_64 already installed and latest version Package cvs-1.11.23-11.el6_0.1.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.x86_64 0:2.4.1-5.el6 will be installed ---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.x86_64 0:15.6-6.el6 will be installed ---> Package ctags.x86_64 0:5.8-2.el6 will be installed ---> Package diffstat.x86_64 0:1.51-2.el6 will be installed ---> Package doxygen.x86_64 1:1.6.1-4.el6 will be installed ---> Package flex.x86_64 0:2.5.35-8.el6 will be installed ---> Package gcc.x86_64 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.x86_64 --> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.x86_64 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.x86_64 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.x86_64 ---> Package gcc-c++.x86_64 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.x86_64 --> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.x86_64 --> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.5-6.el6.x86_64 ---> Package gcc-gfortran.x86_64 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.x86_64 ---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64 ---> Package indent.x86_64 0:2.2.10-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.x86_64 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed ---> Package rcs.x86_64 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package subversion.x86_64 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.x86_64 --> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 ---> Package swig.x86_64 0:1.3.40-5.el6 will be installed ---> Package systemtap.x86_64 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.x86_64 --> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.x86_64 --> Running transaction check ---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 --> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 ---> Package cpp.x86_64 0:4.4.5-6.el6 will be installed ---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 ---> Package glibc-devel.x86_64 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.x86_64 --> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.x86_64 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.x86_64 ---> Package kernel-devel.x86_64 0:2.6.32-131.17.1.el6 will be installed ---> Package libgfortran.i686 0:4.4.5-6.el6 will be installed ---> Package libgomp.i686 0:4.4.5-6.el6 will be installed ---> Package libstdc++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.5-6.el6.i686 ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed ---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 --> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> Running transaction check ---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed ---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686 --> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.25.el6_1.3.i686 --> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.25.el6_1.3.i686 ---> Package glibc-headers.x86_64 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.x86_64 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.x86_64 ---> Package libgcc.i686 0:4.4.5-6.el6 will be installed ---> Package libgcj.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.x86_64 ---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed ---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> Running transaction check ---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686 ---> Package kernel-headers.x86_64 0:2.6.32-131.17.1.el6 will be installed ---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package nss-softokn-freebl.i686 0:3.12.9-3.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> 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
No Packages marked for Update 
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
######################################################################################
# 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: 612ddf28c3916530d47ef56a1b1ed1ed
RETURN CODE: 0
FAIL2
e1886162554c18906df2ecd258aa4794
######################################################################################
# NEW TEST: ## Verify auditd sysconfig ... 
######################################################################################
COMMAND:  md5sum /etc/sysconfig/auditd | cut -f 1 -d  " "
RESULT: d4d43637708e30418c30003e212f76fc 
EXPECTED RESULT: 123beb3a97a32d96eba4f11509e39da2
RETURN CODE: 0
FAIL2
d4d43637708e30418c30003e212f76fc
######################################################################################
# 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

Comment 12 Sachin Ghai 2011-10-13 11:21:09 UTC
IMAGE ID= ami-f11fd398_us-east-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-107-22-24-48.compute-1.amazonaws.com with Image Id : ami-f11fd398, is launched with Instance Id : i-aa1323ca , Instance Type : t1.micro and Arch : x86_64 in the Region : us-east-1a
The Validate Signature is : RxALlH2fjpDeDnNi6ivDkh3puJXL/x8/yUCelrP5GytTcVe4756z0IbRNTAKbAVzsioGg7/RVpFv
oG95hasKL/VIXxvhZdGqM41hI3HdURG1TJSZrNOcLE7wpqFaYftvFrwO7HLyvv4DcKsXPZS7NCdC
WFFOLWauZ0q+xRga/jc=
This is a Cloud Access image
/root/valid/src
ip-10-244-177-201
Red Hat Enterprise Linux Server release 6.2 Beta (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.2
######################################################################################
ami is a BETA
######################################################################################
# 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-202.el6
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed  's/\(.*\)......./\1/'
RESULT: 2.6.32-202.el6 
EXPECTED RESULT: 2.6.32-202.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-202.el6
RESULT: title RHEL6.2-20110923.3-Server-x86_64-starter-ec2 (2.6.32-202.el6.x86_64)
        kernel /boot/vmlinuz-2.6.32-202.el6.x86_64 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-202.el6.x86_64.img 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify operating system ... 
######################################################################################
COMMAND:  /bin/uname -o
RESULT: GNU/Linux 
EXPECTED RESULT: GNU/Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel ... 
######################################################################################
COMMAND:  ls /etc/sysconfig/kernel
RESULT: /etc/sysconfig/kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains UPDATEDEFAULT ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep UPDATEDEFAULT=yes
RESULT: UPDATEDEFAULT=yes 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains DEFAULTKERNEL ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep DEFAULTKERNEL=kernel
RESULT: DEFAULTKERNEL=kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## 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
COUNT = 0
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: 3
RETURN CODE: 0
FAIL2
2
SKIPPING TEST, BETA DETECTED
######################################################################################
# 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-us-east-client-config-server-6             Red Hat Update Infrastruc     1
rhui-us-east-client-config-server-6-beta        Red Hat Update Infrastruc     0
rhui-us-east-rhel-server-releases               Red Hat Enterprise Linux  5,424
rhui-us-east-rhel-server-releases-beta          Red Hat Enterprise Linux  3,470
rhui-us-east-rhel-server-releases-optional      Red Hat Enterprise Linux  3,616
rhui-us-east-rhel-server-releases-optional-beta Red Hat Enterprise Linux  2,629
repolist: 15,140 
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.x86_64 : Tab completion for Zsh and Twisted Core
zsh-html.x86_64 : Zsh shell manual in html format
zsh.x86_64 : A powerful interactive shell

  Name and summary matches only, use "search all" for everything. 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## install zsh ... 
######################################################################################
COMMAND: /usr/bin/yum -y install zsh
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
   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
   Messaging Client Support
   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]
   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: glibc-2.12-1.25.el6_1.3.i686 (rhui-us-east-rhel-server-releases)
           Requires: glibc-common = 2.12-1.25.el6_1.3

Comment 13 Sachin Ghai 2011-10-13 11:21:11 UTC
Verifying the IMAGE ID
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the Architecture
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
This Host => ec2-50-16-148-15.compute-1.amazonaws.com with Image Id : ami-f11fd398, is launched with Instance Id : i-0c14246c , Instance Type : m2.2xlarge and Arch : x86_64 in the Region : us-east-1d
The Validate Signature is : b31O++ODXt8I4Giht0WQOR3PQjEI+x4fdlfTSfjFKdaEGym9DVAeCHK4hudbYzEquZ/aH5lU75+s
WON6CN0BEtbnryqCCAKBacBFzn83PUR8R43JbyTfY+MndBowNN4x3PNxnaGs1fkJao+a0jdu6jJz
8SXV1rgD50MhjyZU/Z8=
This is a Cloud Access image

## Summary ##
FAILURES = 6
FAILED TESTS = ## Verify no missing packages ... ## Verify RPMs ... ## Verify GPG Keys ... ## Install Development tools group... ## Verify auditd.conf ... ## Verify auditd sysconfig ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 14 Sachin Ghai 2011-10-13 11:21:13 UTC
           Installed: glibc-common-2.12-1.43.el6.x86_64 (@koji-override-0/$releasever)
               glibc-common = 2.12-1.43.el6
           Available: glibc-common-2.12-1.7.el6.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6
           Available: glibc-common-2.12-1.7.el6_0.3.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.3
           Available: glibc-common-2.12-1.7.el6_0.4.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.4
           Available: glibc-common-2.12-1.7.el6_0.5.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.5
           Available: glibc-common-2.12-1.19.el6.x86_64 (rhui-us-east-rhel-server-releases-beta)
               glibc-common = 2.12-1.19.el6
           Available: glibc-common-2.12-1.25.el6.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.25.el6
           Available: glibc-common-2.12-1.25.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.25.el6_1.3
Error: Package: rpm-build-4.8.0-16.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: rpm = 4.8.0-16.el6_1.1
           Installed: rpm-4.8.0-17.el6.x86_64 (@koji-override-0/$releasever)
               rpm = 4.8.0-17.el6
           Available: rpm-4.8.0-12.el6.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-12.el6
           Available: rpm-4.8.0-16.el6.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-16.el6
           Available: rpm-4.8.0-16.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-16.el6_1.1
Error: Package: libstdc++-devel-4.4.5-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: libstdc++(x86-64) = 4.4.5-6.el6
           Installed: libstdc++-4.4.6-3.el6.x86_64 (@koji-override-0/$releasever)
               libstdc++(x86-64) = 4.4.6-3.el6
           Available: libstdc++-4.4.4-13.el6.x86_64 (rhui-us-east-rhel-server-releases)
               libstdc++(x86-64) = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
               libstdc++(x86-64) = 4.4.5-6.el6
Error: Package: systemtap-1.4-6.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: systemtap-runtime = 1.4-6.el6_1.3
           Installed: systemtap-runtime-1.6-2.el6.x86_64 (@koji-override-0/$releasever)
               systemtap-runtime = 1.6-2.el6
           Available: systemtap-runtime-1.2-9.el6.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.2-9.el6
           Available: systemtap-runtime-1.2-11.el6_0.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.2-11.el6_0
           Available: systemtap-runtime-1.4-3.el6.x86_64 (rhui-us-east-rhel-server-releases-beta)
               systemtap-runtime = 1.4-3.el6
           Available: systemtap-runtime-1.4-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6
           Available: systemtap-runtime-1.4-6.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.1
           Available: systemtap-runtime-1.4-6.el6_1.2.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.2
           Available: systemtap-runtime-1.4-6.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.3
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.x86_64 already installed and latest version
Package patch-2.6-6.el6.x86_64 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version
Package gettext-0.17-16.el6.x86_64 already installed and latest version
Package matching binutils-2.20.51.0.2-5.20.el6_1.1.x86_64 already installed. Checking for update.
Package elfutils-0.152-1.el6.x86_64 already installed and latest version
Package cvs-1.11.23-11.el6_0.1.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed
---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed
---> Package bison.x86_64 0:2.4.1-5.el6 will be installed
---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed
---> Package cscope.x86_64 0:15.6-6.el6 will be installed
---> Package ctags.x86_64 0:5.8-2.el6 will be installed
---> Package diffstat.x86_64 0:1.51-2.el6 will be installed
---> Package doxygen.x86_64 1:1.6.1-4.el6 will be installed
---> Package flex.x86_64 0:2.5.35-8.el6 will be installed
---> Package gcc.x86_64 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.x86_64
--> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.x86_64
---> Package gcc-c++.x86_64 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.x86_64
--> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.x86_64
--> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.5-6.el6.x86_64
---> Package gcc-gfortran.x86_64 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.x86_64
---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed
--> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64
---> Package indent.x86_64 0:2.2.10-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.x86_64 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed
---> Package rcs.x86_64 0:5.7-37.el6 will be installed
---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package subversion.x86_64 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.x86_64
--> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
---> Package swig.x86_64 0:1.3.40-5.el6 will be installed
---> Package systemtap.x86_64 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.x86_64
--> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.5-6.el6 will be installed
---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
---> Package glibc-devel.x86_64 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.x86_64
--> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.x86_64
---> Package kernel-devel.x86_64 0:2.6.32-131.17.1.el6 will be installed
---> Package libgfortran.i686 0:4.4.5-6.el6 will be installed
---> Package libgomp.i686 0:4.4.5-6.el6 will be installed
---> Package libstdc++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.5-6.el6.i686
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed
--> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64
--> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64
---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed
---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> Running transaction check
---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed
---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.25.el6_1.3.i686
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.25.el6_1.3.i686
---> Package glibc-headers.x86_64 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.x86_64
---> Package libgcc.i686 0:4.4.5-6.el6 will be installed
---> Package libgcj.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.x86_64
---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed
--> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64
--> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> Running transaction check
---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686
---> Package kernel-headers.x86_64 0:2.6.32-131.17.1.el6 will be installed
---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed
---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package nss-softokn-freebl.i686 0:3.12.9-3.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> 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.x86_64 already installed and latest version Package patch-2.6-6.el6.x86_64 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version Package gettext-0.17-16.el6.x86_64 already installed and latest version Package matching binutils-2.20.51.0.2-5.20.el6_1.1.x86_64 already installed. Checking for update. Package elfutils-0.152-1.el6.x86_64 already installed and latest version Package cvs-1.11.23-11.el6_0.1.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.x86_64 0:2.4.1-5.el6 will be installed ---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.x86_64 0:15.6-6.el6 will be installed ---> Package ctags.x86_64 0:5.8-2.el6 will be installed ---> Package diffstat.x86_64 0:1.51-2.el6 will be installed ---> Package doxygen.x86_64 1:1.6.1-4.el6 will be installed ---> Package flex.x86_64 0:2.5.35-8.el6 will be installed ---> Package gcc.x86_64 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.x86_64 --> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.x86_64 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.x86_64 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.x86_64 ---> Package gcc-c++.x86_64 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.x86_64 --> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.x86_64 --> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.5-6.el6.x86_64 ---> Package gcc-gfortran.x86_64 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.x86_64 ---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64 ---> Package indent.x86_64 0:2.2.10-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.x86_64 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed ---> Package rcs.x86_64 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package subversion.x86_64 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.x86_64 --> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 ---> Package swig.x86_64 0:1.3.40-5.el6 will be installed ---> Package systemtap.x86_64 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.x86_64 --> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.x86_64 --> Running transaction check ---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 --> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 ---> Package cpp.x86_64 0:4.4.5-6.el6 will be installed ---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 ---> Package glibc-devel.x86_64 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.x86_64 --> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.x86_64 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.x86_64 ---> Package kernel-devel.x86_64 0:2.6.32-131.17.1.el6 will be installed ---> Package libgfortran.i686 0:4.4.5-6.el6 will be installed ---> Package libgomp.i686 0:4.4.5-6.el6 will be installed ---> Package libstdc++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.5-6.el6.i686 ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed ---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 --> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> Running transaction check ---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed ---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686 --> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.25.el6_1.3.i686 --> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.25.el6_1.3.i686 ---> Package glibc-headers.x86_64 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.x86_64 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.x86_64 ---> Package libgcc.i686 0:4.4.5-6.el6 will be installed ---> Package libgcj.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.x86_64 ---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed ---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> Running transaction check ---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686 ---> Package kernel-headers.x86_64 0:2.6.32-131.17.1.el6 will be installed ---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package nss-softokn-freebl.i686 0:3.12.9-3.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> 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
No Packages marked for Update 
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
######################################################################################
# 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: 612ddf28c3916530d47ef56a1b1ed1ed
RETURN CODE: 0
FAIL2
e1886162554c18906df2ecd258aa4794
######################################################################################
# NEW TEST: ## Verify auditd sysconfig ... 
######################################################################################
COMMAND:  md5sum /etc/sysconfig/auditd | cut -f 1 -d  " "
RESULT: d4d43637708e30418c30003e212f76fc 
EXPECTED RESULT: 123beb3a97a32d96eba4f11509e39da2
RETURN CODE: 0
FAIL2
d4d43637708e30418c30003e212f76fc
######################################################################################
# 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

Comment 15 Sachin Ghai 2011-10-13 11:21:16 UTC
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
This Host => ec2-107-22-24-48.compute-1.amazonaws.com with Image Id : ami-f11fd398, is launched with Instance Id : i-aa1323ca , Instance Type : t1.micro and Arch : x86_64 in the Region : us-east-1a
The Validate Signature is : RxALlH2fjpDeDnNi6ivDkh3puJXL/x8/yUCelrP5GytTcVe4756z0IbRNTAKbAVzsioGg7/RVpFv
oG95hasKL/VIXxvhZdGqM41hI3HdURG1TJSZrNOcLE7wpqFaYftvFrwO7HLyvv4DcKsXPZS7NCdC
WFFOLWauZ0q+xRga/jc=
This is a Cloud Access image

## Summary ##
FAILURES = 6
FAILED TESTS = ## Verify no missing packages ... ## Verify RPMs ... ## Verify GPG Keys ... ## Install Development tools group... ## Verify auditd.conf ... ## Verify auditd sysconfig ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 16 Sachin Ghai 2011-10-13 11:22:19 UTC
IMAGE ID= ami-f11fd398_us-east-1_m2.4xlarge
######################################################################################
# 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-75-101-200-210.compute-1.amazonaws.com with Image Id : ami-f11fd398, is launched with Instance Id : i-c81424a8 , Instance Type : m2.4xlarge and Arch : x86_64 in the Region : us-east-1d
The Validate Signature is : GQc5GigPa/F/Z8wg7WZWMgQIeLS7dx4OYlZfZuEVO8cbcq4ENhQ2ILfjhq3ME11mnr533DQ9O/YI
bYV/22hUwwwAnT0pAuwgJPE4GwhVNnf0XnrA4pFpLvl4+wvw6nw1yx7AAbngh8kMlZkyS8+y4P8h
metP417vxuGC+J8FzGw=
This is a Cloud Access image
/root/valid/src
domU-12-31-39-18-29-5D
Red Hat Enterprise Linux Server release 6.2 Beta (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.2
######################################################################################
ami is a BETA
######################################################################################
# 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-202.el6
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed  's/\(.*\)......./\1/'
RESULT: 2.6.32-202.el6 
EXPECTED RESULT: 2.6.32-202.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-202.el6
RESULT: title RHEL6.2-20110923.3-Server-x86_64-starter-ec2 (2.6.32-202.el6.x86_64)
        kernel /boot/vmlinuz-2.6.32-202.el6.x86_64 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-202.el6.x86_64.img 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify operating system ... 
######################################################################################
COMMAND:  /bin/uname -o
RESULT: GNU/Linux 
EXPECTED RESULT: GNU/Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel ... 
######################################################################################
COMMAND:  ls /etc/sysconfig/kernel
RESULT: /etc/sysconfig/kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains UPDATEDEFAULT ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep UPDATEDEFAULT=yes
RESULT: UPDATEDEFAULT=yes 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains DEFAULTKERNEL ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep DEFAULTKERNEL=kernel
RESULT: DEFAULTKERNEL=kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## 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 ... 
######################################################################################
######################################################################################
# NEW TEST: ## Verify swap size ... 
######################################################################################
no swap for x86_64 is expected
######################################################################################
# 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
COUNT = 0
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: 3
RETURN CODE: 0
FAIL2
2
SKIPPING TEST, BETA DETECTED
######################################################################################
# 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-us-east-client-config-server-6             Red Hat Update Infrastruc     1
rhui-us-east-client-config-server-6-beta        Red Hat Update Infrastruc     0
rhui-us-east-rhel-server-releases               Red Hat Enterprise Linux  5,424
rhui-us-east-rhel-server-releases-beta          Red Hat Enterprise Linux  3,470
rhui-us-east-rhel-server-releases-optional      Red Hat Enterprise Linux  3,616
rhui-us-east-rhel-server-releases-optional-beta Red Hat Enterprise Linux  2,629
repolist: 15,140 
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.x86_64 : Tab completion for Zsh and Twisted Core
zsh-html.x86_64 : Zsh shell manual in html format
zsh.x86_64 : A powerful interactive shell

  Name and summary matches only, use "search all" for everything. 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## install zsh ... 
######################################################################################
COMMAND: /usr/bin/yum -y install zsh
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
   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
   Messaging Client Support
   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]
   Xhosa Support [xh]
   Zulu Support [zu]
Done 
EXPECTED RESULT: 
RETURN CODE: 0

Comment 17 Sachin Ghai 2011-10-13 11:22:23 UTC
PASS
######################################################################################
# NEW TEST: ## Install Development tools group...
######################################################################################
COMMAND:  /usr/bin/yum -y groupinstall 'Development tools'
Error: Package: glibc-2.12-1.25.el6_1.3.i686 (rhui-us-east-rhel-server-releases)
           Requires: glibc-common = 2.12-1.25.el6_1.3
           Installed: glibc-common-2.12-1.43.el6.x86_64 (@koji-override-0/$releasever)
               glibc-common = 2.12-1.43.el6
           Available: glibc-common-2.12-1.7.el6.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6
           Available: glibc-common-2.12-1.7.el6_0.3.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.3
           Available: glibc-common-2.12-1.7.el6_0.4.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.4
           Available: glibc-common-2.12-1.7.el6_0.5.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.5
           Available: glibc-common-2.12-1.19.el6.x86_64 (rhui-us-east-rhel-server-releases-beta)
               glibc-common = 2.12-1.19.el6
           Available: glibc-common-2.12-1.25.el6.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.25.el6
           Available: glibc-common-2.12-1.25.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.25.el6_1.3
Error: Package: rpm-build-4.8.0-16.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: rpm = 4.8.0-16.el6_1.1
           Installed: rpm-4.8.0-17.el6.x86_64 (@koji-override-0/$releasever)
               rpm = 4.8.0-17.el6
           Available: rpm-4.8.0-12.el6.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-12.el6
           Available: rpm-4.8.0-16.el6.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-16.el6
           Available: rpm-4.8.0-16.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-16.el6_1.1
Error: Package: libstdc++-devel-4.4.5-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: libstdc++(x86-64) = 4.4.5-6.el6
           Installed: libstdc++-4.4.6-3.el6.x86_64 (@koji-override-0/$releasever)
               libstdc++(x86-64) = 4.4.6-3.el6
           Available: libstdc++-4.4.4-13.el6.x86_64 (rhui-us-east-rhel-server-releases)
               libstdc++(x86-64) = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
               libstdc++(x86-64) = 4.4.5-6.el6
Error: Package: systemtap-1.4-6.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: systemtap-runtime = 1.4-6.el6_1.3
           Installed: systemtap-runtime-1.6-2.el6.x86_64 (@koji-override-0/$releasever)
               systemtap-runtime = 1.6-2.el6
           Available: systemtap-runtime-1.2-9.el6.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.2-9.el6
           Available: systemtap-runtime-1.2-11.el6_0.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.2-11.el6_0
           Available: systemtap-runtime-1.4-3.el6.x86_64 (rhui-us-east-rhel-server-releases-beta)
               systemtap-runtime = 1.4-3.el6
           Available: systemtap-runtime-1.4-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6
           Available: systemtap-runtime-1.4-6.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.1
           Available: systemtap-runtime-1.4-6.el6_1.2.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.2
           Available: systemtap-runtime-1.4-6.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.3
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.x86_64 already installed and latest version
Package patch-2.6-6.el6.x86_64 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version
Package gettext-0.17-16.el6.x86_64 already installed and latest version
Package matching binutils-2.20.51.0.2-5.20.el6_1.1.x86_64 already installed. Checking for update.
Package elfutils-0.152-1.el6.x86_64 already installed and latest version
Package cvs-1.11.23-11.el6_0.1.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed
---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed
---> Package bison.x86_64 0:2.4.1-5.el6 will be installed
---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed
---> Package cscope.x86_64 0:15.6-6.el6 will be installed
---> Package ctags.x86_64 0:5.8-2.el6 will be installed
---> Package diffstat.x86_64 0:1.51-2.el6 will be installed
---> Package doxygen.x86_64 1:1.6.1-4.el6 will be installed
---> Package flex.x86_64 0:2.5.35-8.el6 will be installed
---> Package gcc.x86_64 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.x86_64
--> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.x86_64
---> Package gcc-c++.x86_64 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.x86_64
--> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.x86_64
--> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.5-6.el6.x86_64
---> Package gcc-gfortran.x86_64 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.x86_64
---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed
--> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64
---> Package indent.x86_64 0:2.2.10-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.x86_64 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed
---> Package rcs.x86_64 0:5.7-37.el6 will be installed
---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package subversion.x86_64 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.x86_64
--> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
---> Package swig.x86_64 0:1.3.40-5.el6 will be installed
---> Package systemtap.x86_64 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.x86_64
--> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.5-6.el6 will be installed
---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
---> Package glibc-devel.x86_64 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.x86_64
--> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.x86_64
---> Package kernel-devel.x86_64 0:2.6.32-131.17.1.el6 will be installed
---> Package libgfortran.i686 0:4.4.5-6.el6 will be installed
---> Package libgomp.i686 0:4.4.5-6.el6 will be installed
---> Package libstdc++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.5-6.el6.i686
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed
--> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64
--> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64
---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed
---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> Running transaction check
---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed
---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.25.el6_1.3.i686
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.25.el6_1.3.i686
---> Package glibc-headers.x86_64 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.x86_64
---> Package libgcc.i686 0:4.4.5-6.el6 will be installed
---> Package libgcj.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.x86_64
---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed
--> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64
--> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> Running transaction check
---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686
---> Package kernel-headers.x86_64 0:2.6.32-131.17.1.el6 will be installed
---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed
---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package nss-softokn-freebl.i686 0:3.12.9-3.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> 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.x86_64 already installed and latest version Package patch-2.6-6.el6.x86_64 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version Package gettext-0.17-16.el6.x86_64 already installed and latest version Package matching binutils-2.20.51.0.2-5.20.el6_1.1.x86_64 already installed. Checking for update. Package elfutils-0.152-1.el6.x86_64 already installed and latest version Package cvs-1.11.23-11.el6_0.1.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.x86_64 0:2.4.1-5.el6 will be installed ---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.x86_64 0:15.6-6.el6 will be installed ---> Package ctags.x86_64 0:5.8-2.el6 will be installed ---> Package diffstat.x86_64 0:1.51-2.el6 will be installed ---> Package doxygen.x86_64 1:1.6.1-4.el6 will be installed ---> Package flex.x86_64 0:2.5.35-8.el6 will be installed ---> Package gcc.x86_64 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.x86_64 --> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.x86_64 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.x86_64 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.x86_64 ---> Package gcc-c++.x86_64 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.x86_64 --> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.x86_64 --> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.5-6.el6.x86_64 ---> Package gcc-gfortran.x86_64 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.x86_64 ---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64 ---> Package indent.x86_64 0:2.2.10-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.x86_64 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed ---> Package rcs.x86_64 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package subversion.x86_64 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.x86_64 --> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 ---> Package swig.x86_64 0:1.3.40-5.el6 will be installed ---> Package systemtap.x86_64 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.x86_64 --> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.x86_64 --> Running transaction check ---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 --> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 ---> Package cpp.x86_64 0:4.4.5-6.el6 will be installed ---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 ---> Package glibc-devel.x86_64 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.x86_64 --> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.x86_64 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.x86_64 ---> Package kernel-devel.x86_64 0:2.6.32-131.17.1.el6 will be installed ---> Package libgfortran.i686 0:4.4.5-6.el6 will be installed ---> Package libgomp.i686 0:4.4.5-6.el6 will be installed ---> Package libstdc++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.5-6.el6.i686 ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed ---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 --> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> Running transaction check ---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed ---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686 --> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.25.el6_1.3.i686 --> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.25.el6_1.3.i686 ---> Package glibc-headers.x86_64 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.x86_64 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.x86_64 ---> Package libgcc.i686 0:4.4.5-6.el6 will be installed ---> Package libgcj.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.x86_64 ---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed ---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> Running transaction check ---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686 ---> Package kernel-headers.x86_64 0:2.6.32-131.17.1.el6 will be installed ---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package nss-softokn-freebl.i686 0:3.12.9-3.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> 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
No Packages marked for Update 
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
######################################################################################
# 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: 612ddf28c3916530d47ef56a1b1ed1ed
RETURN CODE: 0
FAIL2
e1886162554c18906df2ecd258aa4794
######################################################################################
# NEW TEST: ## Verify auditd sysconfig ... 
######################################################################################
COMMAND:  md5sum /etc/sysconfig/auditd | cut -f 1 -d  " "
RESULT: d4d43637708e30418c30003e212f76fc 
EXPECTED RESULT: 123beb3a97a32d96eba4f11509e39da2
RETURN CODE: 0
FAIL2
d4d43637708e30418c30003e212f76fc
######################################################################################
# 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

Comment 18 Sachin Ghai 2011-10-13 11:22:26 UTC
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-75-101-200-210.compute-1.amazonaws.com with Image Id : ami-f11fd398, is launched with Instance Id : i-c81424a8 , Instance Type : m2.4xlarge and Arch : x86_64 in the Region : us-east-1d
The Validate Signature is : GQc5GigPa/F/Z8wg7WZWMgQIeLS7dx4OYlZfZuEVO8cbcq4ENhQ2ILfjhq3ME11mnr533DQ9O/YI
bYV/22hUwwwAnT0pAuwgJPE4GwhVNnf0XnrA4pFpLvl4+wvw6nw1yx7AAbngh8kMlZkyS8+y4P8h
metP417vxuGC+J8FzGw=
This is a Cloud Access image

## Summary ##
FAILURES = 6
FAILED TESTS = ## Verify no missing packages ... ## Verify RPMs ... ## Verify GPG Keys ... ## Install Development tools group... ## Verify auditd.conf ... ## Verify auditd sysconfig ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 19 Sachin Ghai 2011-10-13 11:23:06 UTC
IMAGE ID= ami-f11fd398_us-east-1_m1.xlarge
###### TEST KERNEL AFTER REBOOT ####  
######################################################################################
# NEW TEST: ## Verify disabled yum plugin ... 
######################################################################################
COMMAND:  grep ^enabled /etc/yum/pluginconf.d/rhnplugin.conf | grep -v '^#' | cut -d\= -f2 | awk '{print }' | sort -f | uniq
RESULT:  0 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify kernel name ... 
######################################################################################
COMMAND:  /bin/uname -s
RESULT: Linux 
EXPECTED RESULT: Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest installed kernel is running ... 
######################################################################################
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-202.el6
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed  's/\(.*\)......./\1/'
RESULT: 2.6.32-202.el6 
EXPECTED RESULT: 2.6.32-202.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-202.el6
RESULT: title RHEL6.2-20110923.3-Server-x86_64-starter-ec2 (2.6.32-202.el6.x86_64)
        kernel /boot/vmlinuz-2.6.32-202.el6.x86_64 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-202.el6.x86_64.img 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify operating system ... 
######################################################################################
COMMAND:  /bin/uname -o
RESULT: GNU/Linux 
EXPECTED RESULT: GNU/Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel ... 
######################################################################################
COMMAND:  ls /etc/sysconfig/kernel
RESULT: /etc/sysconfig/kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains UPDATEDEFAULT ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep UPDATEDEFAULT=yes
RESULT: UPDATEDEFAULT=yes 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains DEFAULTKERNEL ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep DEFAULTKERNEL=kernel
RESULT: DEFAULTKERNEL=kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ##Verify memory match hwp ... 
######################################################################################
cat /proc/meminfo | grep MemTotal: | awk '{print }'
FOUND MEMORY OF 15370052 > hwp MEMORY of 15000000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
hostname
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.2
######################################################################################

## Summary ##
FAILURES = 6
FAILED TESTS = ## Verify no missing packages ... ## Verify RPMs ... ## Verify GPG Keys ... ## Install Development tools group... ## Verify auditd.conf ... ## Verify auditd sysconfig ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 20 Sachin Ghai 2011-10-13 11:23:09 UTC
PASS
######################################################################################
# NEW TEST: ## Install Development tools group...
######################################################################################
COMMAND:  /usr/bin/yum -y groupinstall 'Development tools'
Error: Package: glibc-2.12-1.25.el6_1.3.i686 (rhui-us-east-rhel-server-releases)
           Requires: glibc-common = 2.12-1.25.el6_1.3
           Installed: glibc-common-2.12-1.43.el6.x86_64 (@koji-override-0/$releasever)
               glibc-common = 2.12-1.43.el6
           Available: glibc-common-2.12-1.7.el6.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6
           Available: glibc-common-2.12-1.7.el6_0.3.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.3
           Available: glibc-common-2.12-1.7.el6_0.4.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.4
           Available: glibc-common-2.12-1.7.el6_0.5.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.5
           Available: glibc-common-2.12-1.19.el6.x86_64 (rhui-us-east-rhel-server-releases-beta)
               glibc-common = 2.12-1.19.el6
           Available: glibc-common-2.12-1.25.el6.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.25.el6
           Available: glibc-common-2.12-1.25.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.25.el6_1.3
Error: Package: rpm-build-4.8.0-16.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: rpm = 4.8.0-16.el6_1.1
           Installed: rpm-4.8.0-17.el6.x86_64 (@koji-override-0/$releasever)
               rpm = 4.8.0-17.el6
           Available: rpm-4.8.0-12.el6.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-12.el6
           Available: rpm-4.8.0-16.el6.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-16.el6
           Available: rpm-4.8.0-16.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-16.el6_1.1
Error: Package: libstdc++-devel-4.4.5-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: libstdc++(x86-64) = 4.4.5-6.el6
           Installed: libstdc++-4.4.6-3.el6.x86_64 (@koji-override-0/$releasever)
               libstdc++(x86-64) = 4.4.6-3.el6
           Available: libstdc++-4.4.4-13.el6.x86_64 (rhui-us-east-rhel-server-releases)
               libstdc++(x86-64) = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
               libstdc++(x86-64) = 4.4.5-6.el6
Error: Package: systemtap-1.4-6.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: systemtap-runtime = 1.4-6.el6_1.3
           Installed: systemtap-runtime-1.6-2.el6.x86_64 (@koji-override-0/$releasever)
               systemtap-runtime = 1.6-2.el6
           Available: systemtap-runtime-1.2-9.el6.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.2-9.el6
           Available: systemtap-runtime-1.2-11.el6_0.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.2-11.el6_0
           Available: systemtap-runtime-1.4-3.el6.x86_64 (rhui-us-east-rhel-server-releases-beta)
               systemtap-runtime = 1.4-3.el6
           Available: systemtap-runtime-1.4-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6
           Available: systemtap-runtime-1.4-6.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.1
           Available: systemtap-runtime-1.4-6.el6_1.2.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.2
           Available: systemtap-runtime-1.4-6.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.3
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.x86_64 already installed and latest version
Package patch-2.6-6.el6.x86_64 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version
Package gettext-0.17-16.el6.x86_64 already installed and latest version
Package matching binutils-2.20.51.0.2-5.20.el6_1.1.x86_64 already installed. Checking for update.
Package elfutils-0.152-1.el6.x86_64 already installed and latest version
Package cvs-1.11.23-11.el6_0.1.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed
---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed
---> Package bison.x86_64 0:2.4.1-5.el6 will be installed
---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed
---> Package cscope.x86_64 0:15.6-6.el6 will be installed
---> Package ctags.x86_64 0:5.8-2.el6 will be installed
---> Package diffstat.x86_64 0:1.51-2.el6 will be installed
---> Package doxygen.x86_64 1:1.6.1-4.el6 will be installed
---> Package flex.x86_64 0:2.5.35-8.el6 will be installed
---> Package gcc.x86_64 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.x86_64
--> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.x86_64
---> Package gcc-c++.x86_64 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.x86_64
--> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.x86_64
--> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.5-6.el6.x86_64
---> Package gcc-gfortran.x86_64 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.x86_64
---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed
--> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64
---> Package indent.x86_64 0:2.2.10-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.x86_64 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed
---> Package rcs.x86_64 0:5.7-37.el6 will be installed
---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package subversion.x86_64 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.x86_64
--> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
---> Package swig.x86_64 0:1.3.40-5.el6 will be installed
---> Package systemtap.x86_64 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.x86_64
--> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.5-6.el6 will be installed
---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
---> Package glibc-devel.x86_64 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.x86_64
--> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.x86_64
---> Package kernel-devel.x86_64 0:2.6.32-131.17.1.el6 will be installed
---> Package libgfortran.i686 0:4.4.5-6.el6 will be installed
---> Package libgomp.i686 0:4.4.5-6.el6 will be installed
---> Package libstdc++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.5-6.el6.i686
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed
--> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64
--> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64
---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed
---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> Running transaction check
---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed
---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.25.el6_1.3.i686
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.25.el6_1.3.i686
---> Package glibc-headers.x86_64 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.x86_64
---> Package libgcc.i686 0:4.4.5-6.el6 will be installed
---> Package libgcj.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.x86_64
---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed
--> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64
--> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> Running transaction check
---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686
---> Package kernel-headers.x86_64 0:2.6.32-131.17.1.el6 will be installed
---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed
---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package nss-softokn-freebl.i686 0:3.12.9-3.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> 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.x86_64 already installed and latest version Package patch-2.6-6.el6.x86_64 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version Package gettext-0.17-16.el6.x86_64 already installed and latest version Package matching binutils-2.20.51.0.2-5.20.el6_1.1.x86_64 already installed. Checking for update. Package elfutils-0.152-1.el6.x86_64 already installed and latest version Package cvs-1.11.23-11.el6_0.1.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.x86_64 0:2.4.1-5.el6 will be installed ---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.x86_64 0:15.6-6.el6 will be installed ---> Package ctags.x86_64 0:5.8-2.el6 will be installed ---> Package diffstat.x86_64 0:1.51-2.el6 will be installed ---> Package doxygen.x86_64 1:1.6.1-4.el6 will be installed ---> Package flex.x86_64 0:2.5.35-8.el6 will be installed ---> Package gcc.x86_64 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.x86_64 --> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.x86_64 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.x86_64 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.x86_64 ---> Package gcc-c++.x86_64 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.x86_64 --> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.x86_64 --> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.5-6.el6.x86_64 ---> Package gcc-gfortran.x86_64 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.x86_64 ---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64 ---> Package indent.x86_64 0:2.2.10-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.x86_64 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed ---> Package rcs.x86_64 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package subversion.x86_64 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.x86_64 --> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 ---> Package swig.x86_64 0:1.3.40-5.el6 will be installed ---> Package systemtap.x86_64 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.x86_64 --> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.x86_64 --> Running transaction check ---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 --> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 ---> Package cpp.x86_64 0:4.4.5-6.el6 will be installed ---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 ---> Package glibc-devel.x86_64 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.x86_64 --> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.x86_64 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.x86_64 ---> Package kernel-devel.x86_64 0:2.6.32-131.17.1.el6 will be installed ---> Package libgfortran.i686 0:4.4.5-6.el6 will be installed ---> Package libgomp.i686 0:4.4.5-6.el6 will be installed ---> Package libstdc++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.5-6.el6.i686 ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed ---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 --> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> Running transaction check ---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed ---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686 --> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.25.el6_1.3.i686 --> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.25.el6_1.3.i686 ---> Package glibc-headers.x86_64 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.x86_64 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.x86_64 ---> Package libgcc.i686 0:4.4.5-6.el6 will be installed ---> Package libgcj.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.x86_64 ---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed ---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> Running transaction check ---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686 ---> Package kernel-headers.x86_64 0:2.6.32-131.17.1.el6 will be installed ---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package nss-softokn-freebl.i686 0:3.12.9-3.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> 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
No Packages marked for Update 
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
######################################################################################
# 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: 612ddf28c3916530d47ef56a1b1ed1ed
RETURN CODE: 0
FAIL2
e1886162554c18906df2ecd258aa4794
######################################################################################
# NEW TEST: ## Verify auditd sysconfig ... 
######################################################################################
COMMAND:  md5sum /etc/sysconfig/auditd | cut -f 1 -d  " "
RESULT: d4d43637708e30418c30003e212f76fc 
EXPECTED RESULT: 123beb3a97a32d96eba4f11509e39da2
RETURN CODE: 0
FAIL2
d4d43637708e30418c30003e212f76fc
######################################################################################
# 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

Comment 21 Sachin Ghai 2011-10-13 11:23:13 UTC
Verifying the IMAGE ID
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the Architecture
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
This Host => ec2-107-20-24-155.compute-1.amazonaws.com with Image Id : ami-f11fd398, is launched with Instance Id : i-12132372 , Instance Type : m1.xlarge and Arch : x86_64 in the Region : us-east-1b
The Validate Signature is : YV1QjAdFprXZ7tuVgdhLH7NE7+P/bcYUzuEbLtA1bz5CH7CwE0AtF2X6zZk8Evu5M6f3GkBS1dFC
JQZwn9E0qHqePQh66C0ditjzITjuC5GduiR7fi5ee0WuEMQq48G8oSoUXeoNWrLzjl1f8gjvXey3
4slcI1JRlrVAa4ySm/M=
This is a Cloud Access image

## Summary ##
FAILURES = 6
FAILED TESTS = ## Verify no missing packages ... ## Verify RPMs ... ## Verify GPG Keys ... ## Install Development tools group... ## Verify auditd.conf ... ## Verify auditd sysconfig ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 22 Sachin Ghai 2011-10-13 11:24:11 UTC
IMAGE ID= ami-f11fd398_us-east-1_c1.xlarge
######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
######################################################################################
# NEW TEST: Fetching the identity doc Details
######################################################################################
Verifying that signature exists
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the IMAGE ID
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the Architecture
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
This Host => ec2-174-129-137-36.compute-1.amazonaws.com with Image Id : ami-f11fd398, is launched with Instance Id : i-901424f0 , Instance Type : c1.xlarge and Arch : x86_64 in the Region : us-east-1a
The Validate Signature is : RWdPTiH4RlywaJc5aCLtUzkM9qWjjJ86YFtF3X3CBYEDgu3KFvMjnt9afwsAKmsEpw9c+NBh24hF
1/9P+XW+C8bNd+xe18SMWI3duL8akfCU9FxQDqn5xNtIaWVAk49Aljw6h5IrSx3itLQRIqZOKAPB
eYHDJBdqnkmt6EdCGUE=
This is a Cloud Access image
/root/valid/src
ip-10-98-31-219
Red Hat Enterprise Linux Server release 6.2 Beta (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.2
######################################################################################
ami is a BETA
######################################################################################
# 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-202.el6
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed  's/\(.*\)......./\1/'
RESULT: 2.6.32-202.el6 
EXPECTED RESULT: 2.6.32-202.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-202.el6
RESULT: title RHEL6.2-20110923.3-Server-x86_64-starter-ec2 (2.6.32-202.el6.x86_64)
        kernel /boot/vmlinuz-2.6.32-202.el6.x86_64 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-202.el6.x86_64.img 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify operating system ... 
######################################################################################
COMMAND:  /bin/uname -o
RESULT: GNU/Linux 
EXPECTED RESULT: GNU/Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel ... 
######################################################################################
COMMAND:  ls /etc/sysconfig/kernel
RESULT: /etc/sysconfig/kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains UPDATEDEFAULT ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep UPDATEDEFAULT=yes
RESULT: UPDATEDEFAULT=yes 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains DEFAULTKERNEL ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep DEFAULTKERNEL=kernel
RESULT: DEFAULTKERNEL=kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## 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 ... 
######################################################################################
######################################################################################
# NEW TEST: ## Verify swap size ... 
######################################################################################
no swap for x86_64 is expected
######################################################################################
# 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
COUNT = 0
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: 3
RETURN CODE: 0
FAIL2
2
SKIPPING TEST, BETA DETECTED
######################################################################################
# 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-us-east-client-config-server-6             Red Hat Update Infrastruc     1
rhui-us-east-client-config-server-6-beta        Red Hat Update Infrastruc     0
rhui-us-east-rhel-server-releases               Red Hat Enterprise Linux  5,424
rhui-us-east-rhel-server-releases-beta          Red Hat Enterprise Linux  3,470
rhui-us-east-rhel-server-releases-optional      Red Hat Enterprise Linux  3,616
rhui-us-east-rhel-server-releases-optional-beta Red Hat Enterprise Linux  2,629
repolist: 15,140 
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.x86_64 : Tab completion for Zsh and Twisted Core
zsh-html.x86_64 : Zsh shell manual in html format
zsh.x86_64 : A powerful interactive shell

  Name and summary matches only, use "search all" for everything. 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## install zsh ... 
######################################################################################
COMMAND: /usr/bin/yum -y install zsh
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
   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
   Messaging Client Support
   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]
   Xhosa Support [xh]
   Zulu Support [zu]
Done 
EXPECTED RESULT: 
RETURN CODE: 0

Comment 23 Sachin Ghai 2011-10-13 11:24:14 UTC
PASS
######################################################################################
# NEW TEST: ## Install Development tools group...
######################################################################################
COMMAND:  /usr/bin/yum -y groupinstall 'Development tools'
Error: Package: glibc-2.12-1.25.el6_1.3.i686 (rhui-us-east-rhel-server-releases)
           Requires: glibc-common = 2.12-1.25.el6_1.3
           Installed: glibc-common-2.12-1.43.el6.x86_64 (@koji-override-0/$releasever)
               glibc-common = 2.12-1.43.el6
           Available: glibc-common-2.12-1.7.el6.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6
           Available: glibc-common-2.12-1.7.el6_0.3.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.3
           Available: glibc-common-2.12-1.7.el6_0.4.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.4
           Available: glibc-common-2.12-1.7.el6_0.5.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.5
           Available: glibc-common-2.12-1.19.el6.x86_64 (rhui-us-east-rhel-server-releases-beta)
               glibc-common = 2.12-1.19.el6
           Available: glibc-common-2.12-1.25.el6.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.25.el6
           Available: glibc-common-2.12-1.25.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.25.el6_1.3
Error: Package: rpm-build-4.8.0-16.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: rpm = 4.8.0-16.el6_1.1
           Installed: rpm-4.8.0-17.el6.x86_64 (@koji-override-0/$releasever)
               rpm = 4.8.0-17.el6
           Available: rpm-4.8.0-12.el6.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-12.el6
           Available: rpm-4.8.0-16.el6.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-16.el6
           Available: rpm-4.8.0-16.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-16.el6_1.1
Error: Package: libstdc++-devel-4.4.5-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: libstdc++(x86-64) = 4.4.5-6.el6
           Installed: libstdc++-4.4.6-3.el6.x86_64 (@koji-override-0/$releasever)
               libstdc++(x86-64) = 4.4.6-3.el6
           Available: libstdc++-4.4.4-13.el6.x86_64 (rhui-us-east-rhel-server-releases)
               libstdc++(x86-64) = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
               libstdc++(x86-64) = 4.4.5-6.el6
Error: Package: systemtap-1.4-6.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: systemtap-runtime = 1.4-6.el6_1.3
           Installed: systemtap-runtime-1.6-2.el6.x86_64 (@koji-override-0/$releasever)
               systemtap-runtime = 1.6-2.el6
           Available: systemtap-runtime-1.2-9.el6.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.2-9.el6
           Available: systemtap-runtime-1.2-11.el6_0.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.2-11.el6_0
           Available: systemtap-runtime-1.4-3.el6.x86_64 (rhui-us-east-rhel-server-releases-beta)
               systemtap-runtime = 1.4-3.el6
           Available: systemtap-runtime-1.4-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6
           Available: systemtap-runtime-1.4-6.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.1
           Available: systemtap-runtime-1.4-6.el6_1.2.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.2
           Available: systemtap-runtime-1.4-6.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.3
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.x86_64 already installed and latest version
Package patch-2.6-6.el6.x86_64 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version
Package gettext-0.17-16.el6.x86_64 already installed and latest version
Package matching binutils-2.20.51.0.2-5.20.el6_1.1.x86_64 already installed. Checking for update.
Package elfutils-0.152-1.el6.x86_64 already installed and latest version
Package cvs-1.11.23-11.el6_0.1.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed
---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed
---> Package bison.x86_64 0:2.4.1-5.el6 will be installed
---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed
---> Package cscope.x86_64 0:15.6-6.el6 will be installed
---> Package ctags.x86_64 0:5.8-2.el6 will be installed
---> Package diffstat.x86_64 0:1.51-2.el6 will be installed
---> Package doxygen.x86_64 1:1.6.1-4.el6 will be installed
---> Package flex.x86_64 0:2.5.35-8.el6 will be installed
---> Package gcc.x86_64 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.x86_64
--> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.x86_64
---> Package gcc-c++.x86_64 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.x86_64
--> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.x86_64
--> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.5-6.el6.x86_64
---> Package gcc-gfortran.x86_64 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.x86_64
---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed
--> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64
---> Package indent.x86_64 0:2.2.10-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.x86_64 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed
---> Package rcs.x86_64 0:5.7-37.el6 will be installed
---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package subversion.x86_64 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.x86_64
--> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
---> Package swig.x86_64 0:1.3.40-5.el6 will be installed
---> Package systemtap.x86_64 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.x86_64
--> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.5-6.el6 will be installed
---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
---> Package glibc-devel.x86_64 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.x86_64
--> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.x86_64
---> Package kernel-devel.x86_64 0:2.6.32-131.17.1.el6 will be installed
---> Package libgfortran.i686 0:4.4.5-6.el6 will be installed
---> Package libgomp.i686 0:4.4.5-6.el6 will be installed
---> Package libstdc++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.5-6.el6.i686
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed
--> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64
--> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64
---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed
---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> Running transaction check
---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed
---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.25.el6_1.3.i686
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.25.el6_1.3.i686
---> Package glibc-headers.x86_64 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.x86_64
---> Package libgcc.i686 0:4.4.5-6.el6 will be installed
---> Package libgcj.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.x86_64
---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed
--> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64
--> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> Running transaction check
---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686
---> Package kernel-headers.x86_64 0:2.6.32-131.17.1.el6 will be installed
---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed
---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package nss-softokn-freebl.i686 0:3.12.9-3.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> 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.x86_64 already installed and latest version Package patch-2.6-6.el6.x86_64 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version Package gettext-0.17-16.el6.x86_64 already installed and latest version Package matching binutils-2.20.51.0.2-5.20.el6_1.1.x86_64 already installed. Checking for update. Package elfutils-0.152-1.el6.x86_64 already installed and latest version Package cvs-1.11.23-11.el6_0.1.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.x86_64 0:2.4.1-5.el6 will be installed ---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.x86_64 0:15.6-6.el6 will be installed ---> Package ctags.x86_64 0:5.8-2.el6 will be installed ---> Package diffstat.x86_64 0:1.51-2.el6 will be installed ---> Package doxygen.x86_64 1:1.6.1-4.el6 will be installed ---> Package flex.x86_64 0:2.5.35-8.el6 will be installed ---> Package gcc.x86_64 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.x86_64 --> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.x86_64 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.x86_64 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.x86_64 ---> Package gcc-c++.x86_64 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.x86_64 --> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.x86_64 --> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.5-6.el6.x86_64 ---> Package gcc-gfortran.x86_64 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.x86_64 ---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64 ---> Package indent.x86_64 0:2.2.10-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.x86_64 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed ---> Package rcs.x86_64 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package subversion.x86_64 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.x86_64 --> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 ---> Package swig.x86_64 0:1.3.40-5.el6 will be installed ---> Package systemtap.x86_64 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.x86_64 --> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.x86_64 --> Running transaction check ---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 --> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 ---> Package cpp.x86_64 0:4.4.5-6.el6 will be installed ---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 ---> Package glibc-devel.x86_64 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.x86_64 --> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.x86_64 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.x86_64 ---> Package kernel-devel.x86_64 0:2.6.32-131.17.1.el6 will be installed ---> Package libgfortran.i686 0:4.4.5-6.el6 will be installed ---> Package libgomp.i686 0:4.4.5-6.el6 will be installed ---> Package libstdc++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.5-6.el6.i686 ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed ---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 --> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> Running transaction check ---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed ---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686 --> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.25.el6_1.3.i686 --> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.25.el6_1.3.i686 ---> Package glibc-headers.x86_64 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.x86_64 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.x86_64 ---> Package libgcc.i686 0:4.4.5-6.el6 will be installed ---> Package libgcj.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.x86_64 ---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed ---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> Running transaction check ---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686 ---> Package kernel-headers.x86_64 0:2.6.32-131.17.1.el6 will be installed ---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package nss-softokn-freebl.i686 0:3.12.9-3.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> 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
No Packages marked for Update 
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
######################################################################################
# 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: 612ddf28c3916530d47ef56a1b1ed1ed
RETURN CODE: 0
FAIL2
e1886162554c18906df2ecd258aa4794
######################################################################################
# NEW TEST: ## Verify auditd sysconfig ... 
######################################################################################
COMMAND:  md5sum /etc/sysconfig/auditd | cut -f 1 -d  " "
RESULT: d4d43637708e30418c30003e212f76fc 
EXPECTED RESULT: 123beb3a97a32d96eba4f11509e39da2
RETURN CODE: 0
FAIL2
d4d43637708e30418c30003e212f76fc
######################################################################################
# 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

Comment 24 Sachin Ghai 2011-10-13 11:24:18 UTC
Verifying the IMAGE ID
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the Architecture
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
This Host => ec2-174-129-137-36.compute-1.amazonaws.com with Image Id : ami-f11fd398, is launched with Instance Id : i-901424f0 , Instance Type : c1.xlarge and Arch : x86_64 in the Region : us-east-1a
The Validate Signature is : RWdPTiH4RlywaJc5aCLtUzkM9qWjjJ86YFtF3X3CBYEDgu3KFvMjnt9afwsAKmsEpw9c+NBh24hF
1/9P+XW+C8bNd+xe18SMWI3duL8akfCU9FxQDqn5xNtIaWVAk49Aljw6h5IrSx3itLQRIqZOKAPB
eYHDJBdqnkmt6EdCGUE=
This is a Cloud Access image

## Summary ##
FAILURES = 6
FAILED TESTS = ## Verify no missing packages ... ## Verify RPMs ... ## Verify GPG Keys ... ## Install Development tools group... ## Verify auditd.conf ... ## Verify auditd sysconfig ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 25 Sachin Ghai 2011-10-13 11:25:55 UTC
IMAGE ID= ami-f11fd398_us-east-1_m1.large
###### TEST KERNEL AFTER REBOOT ####  
######################################################################################
# NEW TEST: ## Verify disabled yum plugin ... 
######################################################################################
COMMAND:  grep ^enabled /etc/yum/pluginconf.d/rhnplugin.conf | grep -v '^#' | cut -d\= -f2 | awk '{print }' | sort -f | uniq
RESULT:  0 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify kernel name ... 
######################################################################################
COMMAND:  /bin/uname -s
RESULT: Linux 
EXPECTED RESULT: Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest installed kernel is running ... 
######################################################################################
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-202.el6
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed  's/\(.*\)......./\1/'
RESULT: 2.6.32-202.el6 
EXPECTED RESULT: 2.6.32-202.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-202.el6
RESULT: title RHEL6.2-20110923.3-Server-x86_64-starter-ec2 (2.6.32-202.el6.x86_64)
        kernel /boot/vmlinuz-2.6.32-202.el6.x86_64 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-202.el6.x86_64.img 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify operating system ... 
######################################################################################
COMMAND:  /bin/uname -o
RESULT: GNU/Linux 
EXPECTED RESULT: GNU/Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel ... 
######################################################################################
COMMAND:  ls /etc/sysconfig/kernel
RESULT: /etc/sysconfig/kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains UPDATEDEFAULT ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep UPDATEDEFAULT=yes
RESULT: UPDATEDEFAULT=yes 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains DEFAULTKERNEL ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep DEFAULTKERNEL=kernel
RESULT: DEFAULTKERNEL=kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ##Verify memory match hwp ... 
######################################################################################
cat /proc/meminfo | grep MemTotal: | awk '{print }'
FOUND MEMORY OF 7644456 > hwp MEMORY of 7500000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
hostname
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.2
######################################################################################

## Summary ##
FAILURES = 6
FAILED TESTS = ## Verify no missing packages ... ## Verify RPMs ... ## Verify GPG Keys ... ## Install Development tools group... ## Verify auditd.conf ... ## Verify auditd sysconfig ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 26 Sachin Ghai 2011-10-13 11:25:59 UTC
PASS
######################################################################################
# NEW TEST: ## Install Development tools group...
######################################################################################
COMMAND:  /usr/bin/yum -y groupinstall 'Development tools'
Error: Package: glibc-2.12-1.25.el6_1.3.i686 (rhui-us-east-rhel-server-releases)
           Requires: glibc-common = 2.12-1.25.el6_1.3
           Installed: glibc-common-2.12-1.43.el6.x86_64 (@koji-override-0/$releasever)
               glibc-common = 2.12-1.43.el6
           Available: glibc-common-2.12-1.7.el6.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6
           Available: glibc-common-2.12-1.7.el6_0.3.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.3
           Available: glibc-common-2.12-1.7.el6_0.4.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.4
           Available: glibc-common-2.12-1.7.el6_0.5.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.5
           Available: glibc-common-2.12-1.19.el6.x86_64 (rhui-us-east-rhel-server-releases-beta)
               glibc-common = 2.12-1.19.el6
           Available: glibc-common-2.12-1.25.el6.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.25.el6
           Available: glibc-common-2.12-1.25.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.25.el6_1.3
Error: Package: rpm-build-4.8.0-16.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: rpm = 4.8.0-16.el6_1.1
           Installed: rpm-4.8.0-17.el6.x86_64 (@koji-override-0/$releasever)
               rpm = 4.8.0-17.el6
           Available: rpm-4.8.0-12.el6.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-12.el6
           Available: rpm-4.8.0-16.el6.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-16.el6
           Available: rpm-4.8.0-16.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-16.el6_1.1
Error: Package: libstdc++-devel-4.4.5-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: libstdc++(x86-64) = 4.4.5-6.el6
           Installed: libstdc++-4.4.6-3.el6.x86_64 (@koji-override-0/$releasever)
               libstdc++(x86-64) = 4.4.6-3.el6
           Available: libstdc++-4.4.4-13.el6.x86_64 (rhui-us-east-rhel-server-releases)
               libstdc++(x86-64) = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
               libstdc++(x86-64) = 4.4.5-6.el6
Error: Package: systemtap-1.4-6.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: systemtap-runtime = 1.4-6.el6_1.3
           Installed: systemtap-runtime-1.6-2.el6.x86_64 (@koji-override-0/$releasever)
               systemtap-runtime = 1.6-2.el6
           Available: systemtap-runtime-1.2-9.el6.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.2-9.el6
           Available: systemtap-runtime-1.2-11.el6_0.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.2-11.el6_0
           Available: systemtap-runtime-1.4-3.el6.x86_64 (rhui-us-east-rhel-server-releases-beta)
               systemtap-runtime = 1.4-3.el6
           Available: systemtap-runtime-1.4-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6
           Available: systemtap-runtime-1.4-6.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.1
           Available: systemtap-runtime-1.4-6.el6_1.2.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.2
           Available: systemtap-runtime-1.4-6.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.3
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.x86_64 already installed and latest version
Package patch-2.6-6.el6.x86_64 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version
Package gettext-0.17-16.el6.x86_64 already installed and latest version
Package matching binutils-2.20.51.0.2-5.20.el6_1.1.x86_64 already installed. Checking for update.
Package elfutils-0.152-1.el6.x86_64 already installed and latest version
Package cvs-1.11.23-11.el6_0.1.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed
---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed
---> Package bison.x86_64 0:2.4.1-5.el6 will be installed
---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed
---> Package cscope.x86_64 0:15.6-6.el6 will be installed
---> Package ctags.x86_64 0:5.8-2.el6 will be installed
---> Package diffstat.x86_64 0:1.51-2.el6 will be installed
---> Package doxygen.x86_64 1:1.6.1-4.el6 will be installed
---> Package flex.x86_64 0:2.5.35-8.el6 will be installed
---> Package gcc.x86_64 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.x86_64
--> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.x86_64
---> Package gcc-c++.x86_64 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.x86_64
--> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.x86_64
--> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.5-6.el6.x86_64
---> Package gcc-gfortran.x86_64 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.x86_64
---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed
--> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64
---> Package indent.x86_64 0:2.2.10-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.x86_64 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed
---> Package rcs.x86_64 0:5.7-37.el6 will be installed
---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package subversion.x86_64 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.x86_64
--> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
---> Package swig.x86_64 0:1.3.40-5.el6 will be installed
---> Package systemtap.x86_64 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.x86_64
--> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.5-6.el6 will be installed
---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
---> Package glibc-devel.x86_64 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.x86_64
--> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.x86_64
---> Package kernel-devel.x86_64 0:2.6.32-131.17.1.el6 will be installed
---> Package libgfortran.i686 0:4.4.5-6.el6 will be installed
---> Package libgomp.i686 0:4.4.5-6.el6 will be installed
---> Package libstdc++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.5-6.el6.i686
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed
--> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64
--> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64
---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed
---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> Running transaction check
---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed
---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.25.el6_1.3.i686
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.25.el6_1.3.i686
---> Package glibc-headers.x86_64 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.x86_64
---> Package libgcc.i686 0:4.4.5-6.el6 will be installed
---> Package libgcj.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.x86_64
---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed
--> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64
--> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> Running transaction check
---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686
---> Package kernel-headers.x86_64 0:2.6.32-131.17.1.el6 will be installed
---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed
---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package nss-softokn-freebl.i686 0:3.12.9-3.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> 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.x86_64 already installed and latest version Package patch-2.6-6.el6.x86_64 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version Package gettext-0.17-16.el6.x86_64 already installed and latest version Package matching binutils-2.20.51.0.2-5.20.el6_1.1.x86_64 already installed. Checking for update. Package elfutils-0.152-1.el6.x86_64 already installed and latest version Package cvs-1.11.23-11.el6_0.1.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.x86_64 0:2.4.1-5.el6 will be installed ---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.x86_64 0:15.6-6.el6 will be installed ---> Package ctags.x86_64 0:5.8-2.el6 will be installed ---> Package diffstat.x86_64 0:1.51-2.el6 will be installed ---> Package doxygen.x86_64 1:1.6.1-4.el6 will be installed ---> Package flex.x86_64 0:2.5.35-8.el6 will be installed ---> Package gcc.x86_64 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.x86_64 --> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.x86_64 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.x86_64 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.x86_64 ---> Package gcc-c++.x86_64 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.x86_64 --> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.x86_64 --> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.5-6.el6.x86_64 ---> Package gcc-gfortran.x86_64 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.x86_64 ---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64 ---> Package indent.x86_64 0:2.2.10-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.x86_64 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed ---> Package rcs.x86_64 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package subversion.x86_64 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.x86_64 --> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 ---> Package swig.x86_64 0:1.3.40-5.el6 will be installed ---> Package systemtap.x86_64 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.x86_64 --> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.x86_64 --> Running transaction check ---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 --> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 ---> Package cpp.x86_64 0:4.4.5-6.el6 will be installed ---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 ---> Package glibc-devel.x86_64 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.x86_64 --> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.x86_64 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.x86_64 ---> Package kernel-devel.x86_64 0:2.6.32-131.17.1.el6 will be installed ---> Package libgfortran.i686 0:4.4.5-6.el6 will be installed ---> Package libgomp.i686 0:4.4.5-6.el6 will be installed ---> Package libstdc++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.5-6.el6.i686 ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed ---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 --> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> Running transaction check ---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed ---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686 --> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.25.el6_1.3.i686 --> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.25.el6_1.3.i686 ---> Package glibc-headers.x86_64 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.x86_64 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.x86_64 ---> Package libgcc.i686 0:4.4.5-6.el6 will be installed ---> Package libgcj.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.x86_64 ---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed ---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> Running transaction check ---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686 ---> Package kernel-headers.x86_64 0:2.6.32-131.17.1.el6 will be installed ---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package nss-softokn-freebl.i686 0:3.12.9-3.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> 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
No Packages marked for Update 
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
######################################################################################
# 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: 612ddf28c3916530d47ef56a1b1ed1ed
RETURN CODE: 0
FAIL2
e1886162554c18906df2ecd258aa4794
######################################################################################
# NEW TEST: ## Verify auditd sysconfig ... 
######################################################################################
COMMAND:  md5sum /etc/sysconfig/auditd | cut -f 1 -d  " "
RESULT: d4d43637708e30418c30003e212f76fc 
EXPECTED RESULT: 123beb3a97a32d96eba4f11509e39da2
RETURN CODE: 0
FAIL2
d4d43637708e30418c30003e212f76fc
######################################################################################
# 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

Comment 27 Sachin Ghai 2011-10-13 11:26:03 UTC
Verifying the IMAGE ID
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the Architecture
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
This Host => ec2-50-19-50-7.compute-1.amazonaws.com with Image Id : ami-f11fd398, is launched with Instance Id : i-62142402 , Instance Type : m1.large and Arch : x86_64 in the Region : us-east-1a
The Validate Signature is : ZyNwtE+kkDqn+UmkHkAe24wp2xEey88NL9Qa1m/AN3NXeISDu1nqtaHTE4g7dmcXK1ocYosxJEjk
0AVziTZRLhJ35Rn+w6wgGiHQc0opbjVS9l0oynwFEQN2gd1OrljJL6G5g41AQt4FQlSuwT1oYNf9
JqhTw5a3Fr6beLv5oeg=
This is a Cloud Access image

## Summary ##
FAILURES = 6
FAILED TESTS = ## Verify no missing packages ... ## Verify RPMs ... ## Verify GPG Keys ... ## Install Development tools group... ## Verify auditd.conf ... ## Verify auditd sysconfig ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 28 Sachin Ghai 2011-10-13 11:26:35 UTC
IMAGE ID= ami-f11fd398_us-east-1_m2.xlarge
###### TEST KERNEL AFTER REBOOT ####  
######################################################################################
# NEW TEST: ## Verify disabled yum plugin ... 
######################################################################################
COMMAND:  grep ^enabled /etc/yum/pluginconf.d/rhnplugin.conf | grep -v '^#' | cut -d\= -f2 | awk '{print }' | sort -f | uniq
RESULT:  0 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify kernel name ... 
######################################################################################
COMMAND:  /bin/uname -s
RESULT: Linux 
EXPECTED RESULT: Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest installed kernel is running ... 
######################################################################################
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-202.el6
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed  's/\(.*\)......./\1/'
RESULT: 2.6.32-202.el6 
EXPECTED RESULT: 2.6.32-202.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-202.el6
RESULT: title RHEL6.2-20110923.3-Server-x86_64-starter-ec2 (2.6.32-202.el6.x86_64)
        kernel /boot/vmlinuz-2.6.32-202.el6.x86_64 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-202.el6.x86_64.img 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify operating system ... 
######################################################################################
COMMAND:  /bin/uname -o
RESULT: GNU/Linux 
EXPECTED RESULT: GNU/Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel ... 
######################################################################################
COMMAND:  ls /etc/sysconfig/kernel
RESULT: /etc/sysconfig/kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains UPDATEDEFAULT ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep UPDATEDEFAULT=yes
RESULT: UPDATEDEFAULT=yes 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains DEFAULTKERNEL ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep DEFAULTKERNEL=kernel
RESULT: DEFAULTKERNEL=kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ##Verify memory match hwp ... 
######################################################################################
cat /proc/meminfo | grep MemTotal: | awk '{print }'
FOUND MEMORY OF 17524348 > hwp MEMORY of 17100000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
hostname
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.2
######################################################################################

## Summary ##
FAILURES = 6
FAILED TESTS = ## Verify no missing packages ... ## Verify RPMs ... ## Verify GPG Keys ... ## Install Development tools group... ## Verify auditd.conf ... ## Verify auditd sysconfig ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 29 Sachin Ghai 2011-10-13 11:26:38 UTC
PASS
######################################################################################
# NEW TEST: ## Install Development tools group...
######################################################################################
COMMAND:  /usr/bin/yum -y groupinstall 'Development tools'
Error: Package: glibc-2.12-1.25.el6_1.3.i686 (rhui-us-east-rhel-server-releases)
           Requires: glibc-common = 2.12-1.25.el6_1.3
           Installed: glibc-common-2.12-1.43.el6.x86_64 (@koji-override-0/$releasever)
               glibc-common = 2.12-1.43.el6
           Available: glibc-common-2.12-1.7.el6.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6
           Available: glibc-common-2.12-1.7.el6_0.3.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.3
           Available: glibc-common-2.12-1.7.el6_0.4.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.4
           Available: glibc-common-2.12-1.7.el6_0.5.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.5
           Available: glibc-common-2.12-1.19.el6.x86_64 (rhui-us-east-rhel-server-releases-beta)
               glibc-common = 2.12-1.19.el6
           Available: glibc-common-2.12-1.25.el6.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.25.el6
           Available: glibc-common-2.12-1.25.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.25.el6_1.3
Error: Package: rpm-build-4.8.0-16.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: rpm = 4.8.0-16.el6_1.1
           Installed: rpm-4.8.0-17.el6.x86_64 (@koji-override-0/$releasever)
               rpm = 4.8.0-17.el6
           Available: rpm-4.8.0-12.el6.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-12.el6
           Available: rpm-4.8.0-16.el6.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-16.el6
           Available: rpm-4.8.0-16.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-16.el6_1.1
Error: Package: libstdc++-devel-4.4.5-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: libstdc++(x86-64) = 4.4.5-6.el6
           Installed: libstdc++-4.4.6-3.el6.x86_64 (@koji-override-0/$releasever)
               libstdc++(x86-64) = 4.4.6-3.el6
           Available: libstdc++-4.4.4-13.el6.x86_64 (rhui-us-east-rhel-server-releases)
               libstdc++(x86-64) = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
               libstdc++(x86-64) = 4.4.5-6.el6
Error: Package: systemtap-1.4-6.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: systemtap-runtime = 1.4-6.el6_1.3
           Installed: systemtap-runtime-1.6-2.el6.x86_64 (@koji-override-0/$releasever)
               systemtap-runtime = 1.6-2.el6
           Available: systemtap-runtime-1.2-9.el6.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.2-9.el6
           Available: systemtap-runtime-1.2-11.el6_0.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.2-11.el6_0
           Available: systemtap-runtime-1.4-3.el6.x86_64 (rhui-us-east-rhel-server-releases-beta)
               systemtap-runtime = 1.4-3.el6
           Available: systemtap-runtime-1.4-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6
           Available: systemtap-runtime-1.4-6.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.1
           Available: systemtap-runtime-1.4-6.el6_1.2.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.2
           Available: systemtap-runtime-1.4-6.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.3
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.x86_64 already installed and latest version
Package patch-2.6-6.el6.x86_64 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version
Package gettext-0.17-16.el6.x86_64 already installed and latest version
Package matching binutils-2.20.51.0.2-5.20.el6_1.1.x86_64 already installed. Checking for update.
Package elfutils-0.152-1.el6.x86_64 already installed and latest version
Package cvs-1.11.23-11.el6_0.1.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed
---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed
---> Package bison.x86_64 0:2.4.1-5.el6 will be installed
---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed
---> Package cscope.x86_64 0:15.6-6.el6 will be installed
---> Package ctags.x86_64 0:5.8-2.el6 will be installed
---> Package diffstat.x86_64 0:1.51-2.el6 will be installed
---> Package doxygen.x86_64 1:1.6.1-4.el6 will be installed
---> Package flex.x86_64 0:2.5.35-8.el6 will be installed
---> Package gcc.x86_64 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.x86_64
--> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.x86_64
---> Package gcc-c++.x86_64 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.x86_64
--> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.x86_64
--> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.5-6.el6.x86_64
---> Package gcc-gfortran.x86_64 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.x86_64
---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed
--> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64
---> Package indent.x86_64 0:2.2.10-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.x86_64 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed
---> Package rcs.x86_64 0:5.7-37.el6 will be installed
---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package subversion.x86_64 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.x86_64
--> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
---> Package swig.x86_64 0:1.3.40-5.el6 will be installed
---> Package systemtap.x86_64 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.x86_64
--> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.5-6.el6 will be installed
---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
---> Package glibc-devel.x86_64 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.x86_64
--> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.x86_64
---> Package kernel-devel.x86_64 0:2.6.32-131.17.1.el6 will be installed
---> Package libgfortran.i686 0:4.4.5-6.el6 will be installed
---> Package libgomp.i686 0:4.4.5-6.el6 will be installed
---> Package libstdc++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.5-6.el6.i686
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed
--> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64
--> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64
---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed
---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> Running transaction check
---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed
---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.25.el6_1.3.i686
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.25.el6_1.3.i686
---> Package glibc-headers.x86_64 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.x86_64
---> Package libgcc.i686 0:4.4.5-6.el6 will be installed
---> Package libgcj.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.x86_64
---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed
--> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64
--> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> Running transaction check
---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686
---> Package kernel-headers.x86_64 0:2.6.32-131.17.1.el6 will be installed
---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed
---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package nss-softokn-freebl.i686 0:3.12.9-3.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> 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.x86_64 already installed and latest version Package patch-2.6-6.el6.x86_64 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version Package gettext-0.17-16.el6.x86_64 already installed and latest version Package matching binutils-2.20.51.0.2-5.20.el6_1.1.x86_64 already installed. Checking for update. Package elfutils-0.152-1.el6.x86_64 already installed and latest version Package cvs-1.11.23-11.el6_0.1.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.x86_64 0:2.4.1-5.el6 will be installed ---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.x86_64 0:15.6-6.el6 will be installed ---> Package ctags.x86_64 0:5.8-2.el6 will be installed ---> Package diffstat.x86_64 0:1.51-2.el6 will be installed ---> Package doxygen.x86_64 1:1.6.1-4.el6 will be installed ---> Package flex.x86_64 0:2.5.35-8.el6 will be installed ---> Package gcc.x86_64 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.x86_64 --> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.x86_64 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.x86_64 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.x86_64 ---> Package gcc-c++.x86_64 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.x86_64 --> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.x86_64 --> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.5-6.el6.x86_64 ---> Package gcc-gfortran.x86_64 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.x86_64 ---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64 ---> Package indent.x86_64 0:2.2.10-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.x86_64 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed ---> Package rcs.x86_64 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package subversion.x86_64 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.x86_64 --> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 ---> Package swig.x86_64 0:1.3.40-5.el6 will be installed ---> Package systemtap.x86_64 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.x86_64 --> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.x86_64 --> Running transaction check ---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 --> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 ---> Package cpp.x86_64 0:4.4.5-6.el6 will be installed ---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 ---> Package glibc-devel.x86_64 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.x86_64 --> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.x86_64 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.x86_64 ---> Package kernel-devel.x86_64 0:2.6.32-131.17.1.el6 will be installed ---> Package libgfortran.i686 0:4.4.5-6.el6 will be installed ---> Package libgomp.i686 0:4.4.5-6.el6 will be installed ---> Package libstdc++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.5-6.el6.i686 ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed ---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 --> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> Running transaction check ---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed ---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686 --> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.25.el6_1.3.i686 --> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.25.el6_1.3.i686 ---> Package glibc-headers.x86_64 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.x86_64 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.x86_64 ---> Package libgcc.i686 0:4.4.5-6.el6 will be installed ---> Package libgcj.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.x86_64 ---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed ---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> Running transaction check ---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686 ---> Package kernel-headers.x86_64 0:2.6.32-131.17.1.el6 will be installed ---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package nss-softokn-freebl.i686 0:3.12.9-3.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> 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
No Packages marked for Update 
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
######################################################################################
# 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: 612ddf28c3916530d47ef56a1b1ed1ed
RETURN CODE: 0
FAIL2
e1886162554c18906df2ecd258aa4794
######################################################################################
# NEW TEST: ## Verify auditd sysconfig ... 
######################################################################################
COMMAND:  md5sum /etc/sysconfig/auditd | cut -f 1 -d  " "
RESULT: d4d43637708e30418c30003e212f76fc 
EXPECTED RESULT: 123beb3a97a32d96eba4f11509e39da2
RETURN CODE: 0
FAIL2
d4d43637708e30418c30003e212f76fc
######################################################################################
# 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

Comment 30 Sachin Ghai 2011-10-13 11:26:41 UTC
Verifying the IMAGE ID
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the Architecture
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
This Host => ec2-50-16-26-181.compute-1.amazonaws.com with Image Id : ami-f11fd398, is launched with Instance Id : i-5c14243c , Instance Type : m2.xlarge and Arch : x86_64 in the Region : us-east-1a
The Validate Signature is : MlTaPGPelb7jRaQMvgPmjZHUjZZUjoq1w1sENa//RtTEm7BjjRcXJS67uJC/MwCTgiWkeMUTXYGZ
JV7FoYlnVWS3UA0RWb6zPTfvKDWgmSY8ZO3GmgwrtuT8ngA023IvVU4BzDiU6rBtJoGIa+U/KTD/
Rg5eN0lVh9vOGhhsaJQ=
This is a Cloud Access image

## Summary ##
FAILURES = 6
FAILED TESTS = ## Verify no missing packages ... ## Verify RPMs ... ## Verify GPG Keys ... ## Install Development tools group... ## Verify auditd.conf ... ## Verify auditd sysconfig ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 31 Sachin Ghai 2011-10-13 11:28:12 UTC
IMAGE ID= ami-f11fd398_us-east-1_m2.2xlarge
###### TEST KERNEL AFTER REBOOT ####  
######################################################################################
# NEW TEST: ## Verify disabled yum plugin ... 
######################################################################################
COMMAND:  grep ^enabled /etc/yum/pluginconf.d/rhnplugin.conf | grep -v '^#' | cut -d\= -f2 | awk '{print }' | sort -f | uniq
RESULT:  0 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify kernel name ... 
######################################################################################
COMMAND:  /bin/uname -s
RESULT: Linux 
EXPECTED RESULT: Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest installed kernel is running ... 
######################################################################################
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-202.el6
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed  's/\(.*\)......./\1/'
RESULT: 2.6.32-202.el6 
EXPECTED RESULT: 2.6.32-202.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-202.el6
RESULT: title RHEL6.2-20110923.3-Server-x86_64-starter-ec2 (2.6.32-202.el6.x86_64)
        kernel /boot/vmlinuz-2.6.32-202.el6.x86_64 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-202.el6.x86_64.img 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify operating system ... 
######################################################################################
COMMAND:  /bin/uname -o
RESULT: GNU/Linux 
EXPECTED RESULT: GNU/Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel ... 
######################################################################################
COMMAND:  ls /etc/sysconfig/kernel
RESULT: /etc/sysconfig/kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains UPDATEDEFAULT ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep UPDATEDEFAULT=yes
RESULT: UPDATEDEFAULT=yes 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains DEFAULTKERNEL ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep DEFAULTKERNEL=kernel
RESULT: DEFAULTKERNEL=kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ##Verify memory match hwp ... 
######################################################################################
cat /proc/meminfo | grep MemTotal: | awk '{print }'
FOUND MEMORY OF 35128044 > hwp MEMORY of 34200000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
hostname
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.2
######################################################################################

## Summary ##
FAILURES = 6
FAILED TESTS = ## Verify no missing packages ... ## Verify RPMs ... ## Verify GPG Keys ... ## Install Development tools group... ## Verify auditd.conf ... ## Verify auditd sysconfig ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 32 Sachin Ghai 2011-10-13 11:28:13 UTC
IMAGE ID= ami-f11fd398_us-east-1_t1.micro
###### TEST KERNEL AFTER REBOOT ####  
######################################################################################
# NEW TEST: ## Verify disabled yum plugin ... 
######################################################################################
COMMAND:  grep ^enabled /etc/yum/pluginconf.d/rhnplugin.conf | grep -v '^#' | cut -d\= -f2 | awk '{print }' | sort -f | uniq
RESULT:  0 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify kernel name ... 
######################################################################################
COMMAND:  /bin/uname -s
RESULT: Linux 
EXPECTED RESULT: Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest installed kernel is running ... 
######################################################################################
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-202.el6
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed  's/\(.*\)......./\1/'
RESULT: 2.6.32-202.el6 
EXPECTED RESULT: 2.6.32-202.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-202.el6
RESULT: title RHEL6.2-20110923.3-Server-x86_64-starter-ec2 (2.6.32-202.el6.x86_64)
        kernel /boot/vmlinuz-2.6.32-202.el6.x86_64 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-202.el6.x86_64.img 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify operating system ... 
######################################################################################
COMMAND:  /bin/uname -o
RESULT: GNU/Linux 
EXPECTED RESULT: GNU/Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel ... 
######################################################################################
COMMAND:  ls /etc/sysconfig/kernel
RESULT: /etc/sysconfig/kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains UPDATEDEFAULT ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep UPDATEDEFAULT=yes
RESULT: UPDATEDEFAULT=yes 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains DEFAULTKERNEL ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep DEFAULTKERNEL=kernel
RESULT: DEFAULTKERNEL=kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ##Verify memory match hwp ... 
######################################################################################
cat /proc/meminfo | grep MemTotal: | awk '{print }'
FOUND MEMORY OF 604932 > 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 = 6
FAILED TESTS = ## Verify no missing packages ... ## Verify RPMs ... ## Verify GPG Keys ... ## Install Development tools group... ## Verify auditd.conf ... ## Verify auditd sysconfig ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 33 Sachin Ghai 2011-10-13 11:28:15 UTC
PASS
######################################################################################
# NEW TEST: ## Install Development tools group...
######################################################################################
COMMAND:  /usr/bin/yum -y groupinstall 'Development tools'
Error: Package: glibc-2.12-1.25.el6_1.3.i686 (rhui-us-east-rhel-server-releases)
           Requires: glibc-common = 2.12-1.25.el6_1.3
           Installed: glibc-common-2.12-1.43.el6.x86_64 (@koji-override-0/$releasever)
               glibc-common = 2.12-1.43.el6
           Available: glibc-common-2.12-1.7.el6.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6
           Available: glibc-common-2.12-1.7.el6_0.3.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.3
           Available: glibc-common-2.12-1.7.el6_0.4.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.4
           Available: glibc-common-2.12-1.7.el6_0.5.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.5
           Available: glibc-common-2.12-1.19.el6.x86_64 (rhui-us-east-rhel-server-releases-beta)
               glibc-common = 2.12-1.19.el6
           Available: glibc-common-2.12-1.25.el6.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.25.el6
           Available: glibc-common-2.12-1.25.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.25.el6_1.3
Error: Package: rpm-build-4.8.0-16.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: rpm = 4.8.0-16.el6_1.1
           Installed: rpm-4.8.0-17.el6.x86_64 (@koji-override-0/$releasever)
               rpm = 4.8.0-17.el6
           Available: rpm-4.8.0-12.el6.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-12.el6
           Available: rpm-4.8.0-16.el6.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-16.el6
           Available: rpm-4.8.0-16.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-16.el6_1.1
Error: Package: libstdc++-devel-4.4.5-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: libstdc++(x86-64) = 4.4.5-6.el6
           Installed: libstdc++-4.4.6-3.el6.x86_64 (@koji-override-0/$releasever)
               libstdc++(x86-64) = 4.4.6-3.el6
           Available: libstdc++-4.4.4-13.el6.x86_64 (rhui-us-east-rhel-server-releases)
               libstdc++(x86-64) = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
               libstdc++(x86-64) = 4.4.5-6.el6
Error: Package: systemtap-1.4-6.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: systemtap-runtime = 1.4-6.el6_1.3
           Installed: systemtap-runtime-1.6-2.el6.x86_64 (@koji-override-0/$releasever)
               systemtap-runtime = 1.6-2.el6
           Available: systemtap-runtime-1.2-9.el6.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.2-9.el6
           Available: systemtap-runtime-1.2-11.el6_0.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.2-11.el6_0
           Available: systemtap-runtime-1.4-3.el6.x86_64 (rhui-us-east-rhel-server-releases-beta)
               systemtap-runtime = 1.4-3.el6
           Available: systemtap-runtime-1.4-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6
           Available: systemtap-runtime-1.4-6.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.1
           Available: systemtap-runtime-1.4-6.el6_1.2.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.2
           Available: systemtap-runtime-1.4-6.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.3
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.x86_64 already installed and latest version
Package patch-2.6-6.el6.x86_64 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version
Package gettext-0.17-16.el6.x86_64 already installed and latest version
Package matching binutils-2.20.51.0.2-5.20.el6_1.1.x86_64 already installed. Checking for update.
Package elfutils-0.152-1.el6.x86_64 already installed and latest version
Package cvs-1.11.23-11.el6_0.1.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed
---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed
---> Package bison.x86_64 0:2.4.1-5.el6 will be installed
---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed
---> Package cscope.x86_64 0:15.6-6.el6 will be installed
---> Package ctags.x86_64 0:5.8-2.el6 will be installed
---> Package diffstat.x86_64 0:1.51-2.el6 will be installed
---> Package doxygen.x86_64 1:1.6.1-4.el6 will be installed
---> Package flex.x86_64 0:2.5.35-8.el6 will be installed
---> Package gcc.x86_64 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.x86_64
--> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.x86_64
---> Package gcc-c++.x86_64 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.x86_64
--> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.x86_64
--> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.5-6.el6.x86_64
---> Package gcc-gfortran.x86_64 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.x86_64
---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed
--> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64
---> Package indent.x86_64 0:2.2.10-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.x86_64 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed
---> Package rcs.x86_64 0:5.7-37.el6 will be installed
---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package subversion.x86_64 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.x86_64
--> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
---> Package swig.x86_64 0:1.3.40-5.el6 will be installed
---> Package systemtap.x86_64 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.x86_64
--> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.5-6.el6 will be installed
---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
---> Package glibc-devel.x86_64 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.x86_64
--> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.x86_64
---> Package kernel-devel.x86_64 0:2.6.32-131.17.1.el6 will be installed
---> Package libgfortran.i686 0:4.4.5-6.el6 will be installed
---> Package libgomp.i686 0:4.4.5-6.el6 will be installed
---> Package libstdc++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.5-6.el6.i686
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed
--> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64
--> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64
---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed
---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> Running transaction check
---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed
---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.25.el6_1.3.i686
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.25.el6_1.3.i686
---> Package glibc-headers.x86_64 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.x86_64
---> Package libgcc.i686 0:4.4.5-6.el6 will be installed
---> Package libgcj.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.x86_64
---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed
--> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64
--> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> Running transaction check
---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686
---> Package kernel-headers.x86_64 0:2.6.32-131.17.1.el6 will be installed
---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed
---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package nss-softokn-freebl.i686 0:3.12.9-3.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> 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.x86_64 already installed and latest version Package patch-2.6-6.el6.x86_64 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version Package gettext-0.17-16.el6.x86_64 already installed and latest version Package matching binutils-2.20.51.0.2-5.20.el6_1.1.x86_64 already installed. Checking for update. Package elfutils-0.152-1.el6.x86_64 already installed and latest version Package cvs-1.11.23-11.el6_0.1.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.x86_64 0:2.4.1-5.el6 will be installed ---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.x86_64 0:15.6-6.el6 will be installed ---> Package ctags.x86_64 0:5.8-2.el6 will be installed ---> Package diffstat.x86_64 0:1.51-2.el6 will be installed ---> Package doxygen.x86_64 1:1.6.1-4.el6 will be installed ---> Package flex.x86_64 0:2.5.35-8.el6 will be installed ---> Package gcc.x86_64 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.x86_64 --> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.x86_64 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.x86_64 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.x86_64 ---> Package gcc-c++.x86_64 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.x86_64 --> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.x86_64 --> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.5-6.el6.x86_64 ---> Package gcc-gfortran.x86_64 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.x86_64 ---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64 ---> Package indent.x86_64 0:2.2.10-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.x86_64 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed ---> Package rcs.x86_64 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package subversion.x86_64 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.x86_64 --> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 ---> Package swig.x86_64 0:1.3.40-5.el6 will be installed ---> Package systemtap.x86_64 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.x86_64 --> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.x86_64 --> Running transaction check ---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 --> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 ---> Package cpp.x86_64 0:4.4.5-6.el6 will be installed ---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 ---> Package glibc-devel.x86_64 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.x86_64 --> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.x86_64 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.x86_64 ---> Package kernel-devel.x86_64 0:2.6.32-131.17.1.el6 will be installed ---> Package libgfortran.i686 0:4.4.5-6.el6 will be installed ---> Package libgomp.i686 0:4.4.5-6.el6 will be installed ---> Package libstdc++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.5-6.el6.i686 ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed ---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 --> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> Running transaction check ---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed ---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686 --> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.25.el6_1.3.i686 --> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.25.el6_1.3.i686 ---> Package glibc-headers.x86_64 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.x86_64 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.x86_64 ---> Package libgcc.i686 0:4.4.5-6.el6 will be installed ---> Package libgcj.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.x86_64 ---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed ---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> Running transaction check ---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686 ---> Package kernel-headers.x86_64 0:2.6.32-131.17.1.el6 will be installed ---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package nss-softokn-freebl.i686 0:3.12.9-3.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> 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
No Packages marked for Update 
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
######################################################################################
# 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: 612ddf28c3916530d47ef56a1b1ed1ed
RETURN CODE: 0
FAIL2
e1886162554c18906df2ecd258aa4794
######################################################################################
# NEW TEST: ## Verify auditd sysconfig ... 
######################################################################################
COMMAND:  md5sum /etc/sysconfig/auditd | cut -f 1 -d  " "
RESULT: d4d43637708e30418c30003e212f76fc 
EXPECTED RESULT: 123beb3a97a32d96eba4f11509e39da2
RETURN CODE: 0
FAIL2
d4d43637708e30418c30003e212f76fc
######################################################################################
# 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

Comment 34 Sachin Ghai 2011-10-13 11:28:16 UTC
           Installed: glibc-common-2.12-1.43.el6.x86_64 (@koji-override-0/$releasever)
               glibc-common = 2.12-1.43.el6
           Available: glibc-common-2.12-1.7.el6.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6
           Available: glibc-common-2.12-1.7.el6_0.3.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.3
           Available: glibc-common-2.12-1.7.el6_0.4.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.4
           Available: glibc-common-2.12-1.7.el6_0.5.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.5
           Available: glibc-common-2.12-1.19.el6.x86_64 (rhui-us-east-rhel-server-releases-beta)
               glibc-common = 2.12-1.19.el6
           Available: glibc-common-2.12-1.25.el6.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.25.el6
           Available: glibc-common-2.12-1.25.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.25.el6_1.3
Error: Package: rpm-build-4.8.0-16.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: rpm = 4.8.0-16.el6_1.1
           Installed: rpm-4.8.0-17.el6.x86_64 (@koji-override-0/$releasever)
               rpm = 4.8.0-17.el6
           Available: rpm-4.8.0-12.el6.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-12.el6
           Available: rpm-4.8.0-16.el6.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-16.el6
           Available: rpm-4.8.0-16.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-16.el6_1.1
Error: Package: libstdc++-devel-4.4.5-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: libstdc++(x86-64) = 4.4.5-6.el6
           Installed: libstdc++-4.4.6-3.el6.x86_64 (@koji-override-0/$releasever)
               libstdc++(x86-64) = 4.4.6-3.el6
           Available: libstdc++-4.4.4-13.el6.x86_64 (rhui-us-east-rhel-server-releases)
               libstdc++(x86-64) = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
               libstdc++(x86-64) = 4.4.5-6.el6
Error: Package: systemtap-1.4-6.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: systemtap-runtime = 1.4-6.el6_1.3
           Installed: systemtap-runtime-1.6-2.el6.x86_64 (@koji-override-0/$releasever)
               systemtap-runtime = 1.6-2.el6
           Available: systemtap-runtime-1.2-9.el6.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.2-9.el6
           Available: systemtap-runtime-1.2-11.el6_0.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.2-11.el6_0
           Available: systemtap-runtime-1.4-3.el6.x86_64 (rhui-us-east-rhel-server-releases-beta)
               systemtap-runtime = 1.4-3.el6
           Available: systemtap-runtime-1.4-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6
           Available: systemtap-runtime-1.4-6.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.1
           Available: systemtap-runtime-1.4-6.el6_1.2.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.2
           Available: systemtap-runtime-1.4-6.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.3
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.x86_64 already installed and latest version
Package patch-2.6-6.el6.x86_64 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version
Package gettext-0.17-16.el6.x86_64 already installed and latest version
Package matching binutils-2.20.51.0.2-5.20.el6_1.1.x86_64 already installed. Checking for update.
Package elfutils-0.152-1.el6.x86_64 already installed and latest version
Package cvs-1.11.23-11.el6_0.1.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed
---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed
---> Package bison.x86_64 0:2.4.1-5.el6 will be installed
---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed
---> Package cscope.x86_64 0:15.6-6.el6 will be installed
---> Package ctags.x86_64 0:5.8-2.el6 will be installed
---> Package diffstat.x86_64 0:1.51-2.el6 will be installed
---> Package doxygen.x86_64 1:1.6.1-4.el6 will be installed
---> Package flex.x86_64 0:2.5.35-8.el6 will be installed
---> Package gcc.x86_64 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.x86_64
--> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.x86_64
---> Package gcc-c++.x86_64 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.x86_64
--> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.x86_64
--> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.5-6.el6.x86_64
---> Package gcc-gfortran.x86_64 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.x86_64
---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed
--> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64
---> Package indent.x86_64 0:2.2.10-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.x86_64 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed
---> Package rcs.x86_64 0:5.7-37.el6 will be installed
---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package subversion.x86_64 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.x86_64
--> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
---> Package swig.x86_64 0:1.3.40-5.el6 will be installed
---> Package systemtap.x86_64 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.x86_64
--> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.5-6.el6 will be installed
---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
---> Package glibc-devel.x86_64 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.x86_64
--> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.x86_64
---> Package kernel-devel.x86_64 0:2.6.32-131.17.1.el6 will be installed
---> Package libgfortran.i686 0:4.4.5-6.el6 will be installed
---> Package libgomp.i686 0:4.4.5-6.el6 will be installed
---> Package libstdc++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.5-6.el6.i686
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed
--> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64
--> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64
---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed
---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> Running transaction check
---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed
---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.25.el6_1.3.i686
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.25.el6_1.3.i686
---> Package glibc-headers.x86_64 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.x86_64
---> Package libgcc.i686 0:4.4.5-6.el6 will be installed
---> Package libgcj.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.x86_64
---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed
--> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64
--> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> Running transaction check
---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686
---> Package kernel-headers.x86_64 0:2.6.32-131.17.1.el6 will be installed
---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed
---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package nss-softokn-freebl.i686 0:3.12.9-3.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> 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.x86_64 already installed and latest version Package patch-2.6-6.el6.x86_64 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version Package gettext-0.17-16.el6.x86_64 already installed and latest version Package matching binutils-2.20.51.0.2-5.20.el6_1.1.x86_64 already installed. Checking for update. Package elfutils-0.152-1.el6.x86_64 already installed and latest version Package cvs-1.11.23-11.el6_0.1.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.x86_64 0:2.4.1-5.el6 will be installed ---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.x86_64 0:15.6-6.el6 will be installed ---> Package ctags.x86_64 0:5.8-2.el6 will be installed ---> Package diffstat.x86_64 0:1.51-2.el6 will be installed ---> Package doxygen.x86_64 1:1.6.1-4.el6 will be installed ---> Package flex.x86_64 0:2.5.35-8.el6 will be installed ---> Package gcc.x86_64 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.x86_64 --> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.x86_64 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.x86_64 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.x86_64 ---> Package gcc-c++.x86_64 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.x86_64 --> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.x86_64 --> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.5-6.el6.x86_64 ---> Package gcc-gfortran.x86_64 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.x86_64 ---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64 ---> Package indent.x86_64 0:2.2.10-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.x86_64 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed ---> Package rcs.x86_64 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package subversion.x86_64 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.x86_64 --> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 ---> Package swig.x86_64 0:1.3.40-5.el6 will be installed ---> Package systemtap.x86_64 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.x86_64 --> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.x86_64 --> Running transaction check ---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 --> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 ---> Package cpp.x86_64 0:4.4.5-6.el6 will be installed ---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 ---> Package glibc-devel.x86_64 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.x86_64 --> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.x86_64 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.x86_64 ---> Package kernel-devel.x86_64 0:2.6.32-131.17.1.el6 will be installed ---> Package libgfortran.i686 0:4.4.5-6.el6 will be installed ---> Package libgomp.i686 0:4.4.5-6.el6 will be installed ---> Package libstdc++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.5-6.el6.i686 ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed ---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 --> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> Running transaction check ---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed ---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686 --> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.25.el6_1.3.i686 --> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.25.el6_1.3.i686 ---> Package glibc-headers.x86_64 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.x86_64 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.x86_64 ---> Package libgcc.i686 0:4.4.5-6.el6 will be installed ---> Package libgcj.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.x86_64 ---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed ---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> Running transaction check ---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686 ---> Package kernel-headers.x86_64 0:2.6.32-131.17.1.el6 will be installed ---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package nss-softokn-freebl.i686 0:3.12.9-3.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> 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
No Packages marked for Update 
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
######################################################################################
# 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: 612ddf28c3916530d47ef56a1b1ed1ed
RETURN CODE: 0
FAIL2
e1886162554c18906df2ecd258aa4794
######################################################################################
# NEW TEST: ## Verify auditd sysconfig ... 
######################################################################################
COMMAND:  md5sum /etc/sysconfig/auditd | cut -f 1 -d  " "
RESULT: d4d43637708e30418c30003e212f76fc 
EXPECTED RESULT: 123beb3a97a32d96eba4f11509e39da2
RETURN CODE: 0
FAIL2
d4d43637708e30418c30003e212f76fc
######################################################################################
# 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

Comment 35 Sachin Ghai 2011-10-13 11:28:19 UTC
Verifying the IMAGE ID
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the Architecture
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
This Host => ec2-50-16-148-15.compute-1.amazonaws.com with Image Id : ami-f11fd398, is launched with Instance Id : i-0c14246c , Instance Type : m2.2xlarge and Arch : x86_64 in the Region : us-east-1d
The Validate Signature is : b31O++ODXt8I4Giht0WQOR3PQjEI+x4fdlfTSfjFKdaEGym9DVAeCHK4hudbYzEquZ/aH5lU75+s
WON6CN0BEtbnryqCCAKBacBFzn83PUR8R43JbyTfY+MndBowNN4x3PNxnaGs1fkJao+a0jdu6jJz
8SXV1rgD50MhjyZU/Z8=
This is a Cloud Access image

## Summary ##
FAILURES = 6
FAILED TESTS = ## Verify no missing packages ... ## Verify RPMs ... ## Verify GPG Keys ... ## Install Development tools group... ## Verify auditd.conf ... ## Verify auditd sysconfig ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 36 Sachin Ghai 2011-10-13 11:28:19 UTC
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
This Host => ec2-107-22-24-48.compute-1.amazonaws.com with Image Id : ami-f11fd398, is launched with Instance Id : i-aa1323ca , Instance Type : t1.micro and Arch : x86_64 in the Region : us-east-1a
The Validate Signature is : RxALlH2fjpDeDnNi6ivDkh3puJXL/x8/yUCelrP5GytTcVe4756z0IbRNTAKbAVzsioGg7/RVpFv
oG95hasKL/VIXxvhZdGqM41hI3HdURG1TJSZrNOcLE7wpqFaYftvFrwO7HLyvv4DcKsXPZS7NCdC
WFFOLWauZ0q+xRga/jc=
This is a Cloud Access image

## Summary ##
FAILURES = 6
FAILED TESTS = ## Verify no missing packages ... ## Verify RPMs ... ## Verify GPG Keys ... ## Install Development tools group... ## Verify auditd.conf ... ## Verify auditd sysconfig ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 37 Sachin Ghai 2011-10-13 11:29:52 UTC
IMAGE ID= ami-f11fd398_us-east-1_m2.4xlarge
###### TEST KERNEL AFTER REBOOT ####  
######################################################################################
# NEW TEST: ## Verify disabled yum plugin ... 
######################################################################################
COMMAND:  grep ^enabled /etc/yum/pluginconf.d/rhnplugin.conf | grep -v '^#' | cut -d\= -f2 | awk '{print }' | sort -f | uniq
RESULT:  0 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify kernel name ... 
######################################################################################
COMMAND:  /bin/uname -s
RESULT: Linux 
EXPECTED RESULT: Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest installed kernel is running ... 
######################################################################################
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-202.el6
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed  's/\(.*\)......./\1/'
RESULT: 2.6.32-202.el6 
EXPECTED RESULT: 2.6.32-202.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-202.el6
RESULT: title RHEL6.2-20110923.3-Server-x86_64-starter-ec2 (2.6.32-202.el6.x86_64)
        kernel /boot/vmlinuz-2.6.32-202.el6.x86_64 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-202.el6.x86_64.img 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify operating system ... 
######################################################################################
COMMAND:  /bin/uname -o
RESULT: GNU/Linux 
EXPECTED RESULT: GNU/Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel ... 
######################################################################################
COMMAND:  ls /etc/sysconfig/kernel
RESULT: /etc/sysconfig/kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains UPDATEDEFAULT ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep UPDATEDEFAULT=yes
RESULT: UPDATEDEFAULT=yes 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains DEFAULTKERNEL ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep DEFAULTKERNEL=kernel
RESULT: DEFAULTKERNEL=kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ##Verify memory match hwp ... 
######################################################################################
cat /proc/meminfo | grep MemTotal: | awk '{print }'
FOUND MEMORY OF 70337232 > hwp MEMORY of 68400000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
hostname
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.2
######################################################################################

## Summary ##
FAILURES = 6
FAILED TESTS = ## Verify no missing packages ... ## Verify RPMs ... ## Verify GPG Keys ... ## Install Development tools group... ## Verify auditd.conf ... ## Verify auditd sysconfig ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 38 Sachin Ghai 2011-10-13 11:29:55 UTC
PASS
######################################################################################
# NEW TEST: ## Install Development tools group...
######################################################################################
COMMAND:  /usr/bin/yum -y groupinstall 'Development tools'
Error: Package: glibc-2.12-1.25.el6_1.3.i686 (rhui-us-east-rhel-server-releases)
           Requires: glibc-common = 2.12-1.25.el6_1.3
           Installed: glibc-common-2.12-1.43.el6.x86_64 (@koji-override-0/$releasever)
               glibc-common = 2.12-1.43.el6
           Available: glibc-common-2.12-1.7.el6.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6
           Available: glibc-common-2.12-1.7.el6_0.3.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.3
           Available: glibc-common-2.12-1.7.el6_0.4.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.4
           Available: glibc-common-2.12-1.7.el6_0.5.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.5
           Available: glibc-common-2.12-1.19.el6.x86_64 (rhui-us-east-rhel-server-releases-beta)
               glibc-common = 2.12-1.19.el6
           Available: glibc-common-2.12-1.25.el6.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.25.el6
           Available: glibc-common-2.12-1.25.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.25.el6_1.3
Error: Package: rpm-build-4.8.0-16.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: rpm = 4.8.0-16.el6_1.1
           Installed: rpm-4.8.0-17.el6.x86_64 (@koji-override-0/$releasever)
               rpm = 4.8.0-17.el6
           Available: rpm-4.8.0-12.el6.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-12.el6
           Available: rpm-4.8.0-16.el6.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-16.el6
           Available: rpm-4.8.0-16.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-16.el6_1.1
Error: Package: libstdc++-devel-4.4.5-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: libstdc++(x86-64) = 4.4.5-6.el6
           Installed: libstdc++-4.4.6-3.el6.x86_64 (@koji-override-0/$releasever)
               libstdc++(x86-64) = 4.4.6-3.el6
           Available: libstdc++-4.4.4-13.el6.x86_64 (rhui-us-east-rhel-server-releases)
               libstdc++(x86-64) = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
               libstdc++(x86-64) = 4.4.5-6.el6
Error: Package: systemtap-1.4-6.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: systemtap-runtime = 1.4-6.el6_1.3
           Installed: systemtap-runtime-1.6-2.el6.x86_64 (@koji-override-0/$releasever)
               systemtap-runtime = 1.6-2.el6
           Available: systemtap-runtime-1.2-9.el6.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.2-9.el6
           Available: systemtap-runtime-1.2-11.el6_0.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.2-11.el6_0
           Available: systemtap-runtime-1.4-3.el6.x86_64 (rhui-us-east-rhel-server-releases-beta)
               systemtap-runtime = 1.4-3.el6
           Available: systemtap-runtime-1.4-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6
           Available: systemtap-runtime-1.4-6.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.1
           Available: systemtap-runtime-1.4-6.el6_1.2.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.2
           Available: systemtap-runtime-1.4-6.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.3
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.x86_64 already installed and latest version
Package patch-2.6-6.el6.x86_64 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version
Package gettext-0.17-16.el6.x86_64 already installed and latest version
Package matching binutils-2.20.51.0.2-5.20.el6_1.1.x86_64 already installed. Checking for update.
Package elfutils-0.152-1.el6.x86_64 already installed and latest version
Package cvs-1.11.23-11.el6_0.1.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed
---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed
---> Package bison.x86_64 0:2.4.1-5.el6 will be installed
---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed
---> Package cscope.x86_64 0:15.6-6.el6 will be installed
---> Package ctags.x86_64 0:5.8-2.el6 will be installed
---> Package diffstat.x86_64 0:1.51-2.el6 will be installed
---> Package doxygen.x86_64 1:1.6.1-4.el6 will be installed
---> Package flex.x86_64 0:2.5.35-8.el6 will be installed
---> Package gcc.x86_64 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.x86_64
--> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.x86_64
---> Package gcc-c++.x86_64 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.x86_64
--> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.x86_64
--> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.5-6.el6.x86_64
---> Package gcc-gfortran.x86_64 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.x86_64
---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed
--> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64
---> Package indent.x86_64 0:2.2.10-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.x86_64 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed
---> Package rcs.x86_64 0:5.7-37.el6 will be installed
---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package subversion.x86_64 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.x86_64
--> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
---> Package swig.x86_64 0:1.3.40-5.el6 will be installed
---> Package systemtap.x86_64 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.x86_64
--> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.5-6.el6 will be installed
---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
---> Package glibc-devel.x86_64 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.x86_64
--> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.x86_64
---> Package kernel-devel.x86_64 0:2.6.32-131.17.1.el6 will be installed
---> Package libgfortran.i686 0:4.4.5-6.el6 will be installed
---> Package libgomp.i686 0:4.4.5-6.el6 will be installed
---> Package libstdc++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.5-6.el6.i686
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed
--> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64
--> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64
---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed
---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> Running transaction check
---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed
---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.25.el6_1.3.i686
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.25.el6_1.3.i686
---> Package glibc-headers.x86_64 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.x86_64
---> Package libgcc.i686 0:4.4.5-6.el6 will be installed
---> Package libgcj.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.x86_64
---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed
--> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64
--> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> Running transaction check
---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686
---> Package kernel-headers.x86_64 0:2.6.32-131.17.1.el6 will be installed
---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed
---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package nss-softokn-freebl.i686 0:3.12.9-3.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> 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.x86_64 already installed and latest version Package patch-2.6-6.el6.x86_64 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version Package gettext-0.17-16.el6.x86_64 already installed and latest version Package matching binutils-2.20.51.0.2-5.20.el6_1.1.x86_64 already installed. Checking for update. Package elfutils-0.152-1.el6.x86_64 already installed and latest version Package cvs-1.11.23-11.el6_0.1.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.x86_64 0:2.4.1-5.el6 will be installed ---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.x86_64 0:15.6-6.el6 will be installed ---> Package ctags.x86_64 0:5.8-2.el6 will be installed ---> Package diffstat.x86_64 0:1.51-2.el6 will be installed ---> Package doxygen.x86_64 1:1.6.1-4.el6 will be installed ---> Package flex.x86_64 0:2.5.35-8.el6 will be installed ---> Package gcc.x86_64 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.x86_64 --> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.x86_64 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.x86_64 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.x86_64 ---> Package gcc-c++.x86_64 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.x86_64 --> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.x86_64 --> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.5-6.el6.x86_64 ---> Package gcc-gfortran.x86_64 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.x86_64 ---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64 ---> Package indent.x86_64 0:2.2.10-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.x86_64 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed ---> Package rcs.x86_64 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package subversion.x86_64 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.x86_64 --> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 ---> Package swig.x86_64 0:1.3.40-5.el6 will be installed ---> Package systemtap.x86_64 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.x86_64 --> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.x86_64 --> Running transaction check ---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 --> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 ---> Package cpp.x86_64 0:4.4.5-6.el6 will be installed ---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 ---> Package glibc-devel.x86_64 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.x86_64 --> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.x86_64 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.x86_64 ---> Package kernel-devel.x86_64 0:2.6.32-131.17.1.el6 will be installed ---> Package libgfortran.i686 0:4.4.5-6.el6 will be installed ---> Package libgomp.i686 0:4.4.5-6.el6 will be installed ---> Package libstdc++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.5-6.el6.i686 ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed ---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 --> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> Running transaction check ---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed ---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686 --> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.25.el6_1.3.i686 --> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.25.el6_1.3.i686 ---> Package glibc-headers.x86_64 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.x86_64 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.x86_64 ---> Package libgcc.i686 0:4.4.5-6.el6 will be installed ---> Package libgcj.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.x86_64 ---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed ---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> Running transaction check ---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686 ---> Package kernel-headers.x86_64 0:2.6.32-131.17.1.el6 will be installed ---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package nss-softokn-freebl.i686 0:3.12.9-3.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> 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
No Packages marked for Update 
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
######################################################################################
# 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: 612ddf28c3916530d47ef56a1b1ed1ed
RETURN CODE: 0
FAIL2
e1886162554c18906df2ecd258aa4794
######################################################################################
# NEW TEST: ## Verify auditd sysconfig ... 
######################################################################################
COMMAND:  md5sum /etc/sysconfig/auditd | cut -f 1 -d  " "
RESULT: d4d43637708e30418c30003e212f76fc 
EXPECTED RESULT: 123beb3a97a32d96eba4f11509e39da2
RETURN CODE: 0
FAIL2
d4d43637708e30418c30003e212f76fc
######################################################################################
# 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

Comment 39 Sachin Ghai 2011-10-13 11:29:59 UTC
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-75-101-200-210.compute-1.amazonaws.com with Image Id : ami-f11fd398, is launched with Instance Id : i-c81424a8 , Instance Type : m2.4xlarge and Arch : x86_64 in the Region : us-east-1d
The Validate Signature is : GQc5GigPa/F/Z8wg7WZWMgQIeLS7dx4OYlZfZuEVO8cbcq4ENhQ2ILfjhq3ME11mnr533DQ9O/YI
bYV/22hUwwwAnT0pAuwgJPE4GwhVNnf0XnrA4pFpLvl4+wvw6nw1yx7AAbngh8kMlZkyS8+y4P8h
metP417vxuGC+J8FzGw=
This is a Cloud Access image

## Summary ##
FAILURES = 6
FAILED TESTS = ## Verify no missing packages ... ## Verify RPMs ... ## Verify GPG Keys ... ## Install Development tools group... ## Verify auditd.conf ... ## Verify auditd sysconfig ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 40 Sachin Ghai 2011-10-13 11:31:20 UTC
IMAGE ID= ami-f11fd398_us-east-1_c1.xlarge
###### TEST KERNEL AFTER REBOOT ####  
######################################################################################
# NEW TEST: ## Verify disabled yum plugin ... 
######################################################################################
COMMAND:  grep ^enabled /etc/yum/pluginconf.d/rhnplugin.conf | grep -v '^#' | cut -d\= -f2 | awk '{print }' | sort -f | uniq
RESULT:  0 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify kernel name ... 
######################################################################################
COMMAND:  /bin/uname -s
RESULT: Linux 
EXPECTED RESULT: Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest installed kernel is running ... 
######################################################################################
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-202.el6
assert latest rpm kernel = uname -r
COMMAND:  uname -r | sed  's/\(.*\)......./\1/'
RESULT: 2.6.32-202.el6 
EXPECTED RESULT: 2.6.32-202.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-202.el6
RESULT: title RHEL6.2-20110923.3-Server-x86_64-starter-ec2 (2.6.32-202.el6.x86_64)
        kernel /boot/vmlinuz-2.6.32-202.el6.x86_64 ro root=LABEL=_/ 
        initrd /boot/initramfs-2.6.32-202.el6.x86_64.img 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify operating system ... 
######################################################################################
COMMAND:  /bin/uname -o
RESULT: GNU/Linux 
EXPECTED RESULT: GNU/Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel ... 
######################################################################################
COMMAND:  ls /etc/sysconfig/kernel
RESULT: /etc/sysconfig/kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains UPDATEDEFAULT ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep UPDATEDEFAULT=yes
RESULT: UPDATEDEFAULT=yes 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains DEFAULTKERNEL ... 
######################################################################################
COMMAND:  cat /etc/sysconfig/kernel | grep DEFAULTKERNEL=kernel
RESULT: DEFAULTKERNEL=kernel 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ##Verify memory match hwp ... 
######################################################################################
cat /proc/meminfo | grep MemTotal: | awk '{print }'
FOUND MEMORY OF 7128680 > hwp MEMORY of 7000000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
hostname
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.2
######################################################################################

## Summary ##
FAILURES = 6
FAILED TESTS = ## Verify no missing packages ... ## Verify RPMs ... ## Verify GPG Keys ... ## Install Development tools group... ## Verify auditd.conf ... ## Verify auditd sysconfig ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 41 Sachin Ghai 2011-10-13 11:31:23 UTC
PASS
######################################################################################
# NEW TEST: ## Install Development tools group...
######################################################################################
COMMAND:  /usr/bin/yum -y groupinstall 'Development tools'
Error: Package: glibc-2.12-1.25.el6_1.3.i686 (rhui-us-east-rhel-server-releases)
           Requires: glibc-common = 2.12-1.25.el6_1.3
           Installed: glibc-common-2.12-1.43.el6.x86_64 (@koji-override-0/$releasever)
               glibc-common = 2.12-1.43.el6
           Available: glibc-common-2.12-1.7.el6.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6
           Available: glibc-common-2.12-1.7.el6_0.3.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.3
           Available: glibc-common-2.12-1.7.el6_0.4.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.4
           Available: glibc-common-2.12-1.7.el6_0.5.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.7.el6_0.5
           Available: glibc-common-2.12-1.19.el6.x86_64 (rhui-us-east-rhel-server-releases-beta)
               glibc-common = 2.12-1.19.el6
           Available: glibc-common-2.12-1.25.el6.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.25.el6
           Available: glibc-common-2.12-1.25.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
               glibc-common = 2.12-1.25.el6_1.3
Error: Package: rpm-build-4.8.0-16.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: rpm = 4.8.0-16.el6_1.1
           Installed: rpm-4.8.0-17.el6.x86_64 (@koji-override-0/$releasever)
               rpm = 4.8.0-17.el6
           Available: rpm-4.8.0-12.el6.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-12.el6
           Available: rpm-4.8.0-16.el6.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-16.el6
           Available: rpm-4.8.0-16.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
               rpm = 4.8.0-16.el6_1.1
Error: Package: libstdc++-devel-4.4.5-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: libstdc++(x86-64) = 4.4.5-6.el6
           Installed: libstdc++-4.4.6-3.el6.x86_64 (@koji-override-0/$releasever)
               libstdc++(x86-64) = 4.4.6-3.el6
           Available: libstdc++-4.4.4-13.el6.x86_64 (rhui-us-east-rhel-server-releases)
               libstdc++(x86-64) = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
               libstdc++(x86-64) = 4.4.5-6.el6
Error: Package: systemtap-1.4-6.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
           Requires: systemtap-runtime = 1.4-6.el6_1.3
           Installed: systemtap-runtime-1.6-2.el6.x86_64 (@koji-override-0/$releasever)
               systemtap-runtime = 1.6-2.el6
           Available: systemtap-runtime-1.2-9.el6.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.2-9.el6
           Available: systemtap-runtime-1.2-11.el6_0.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.2-11.el6_0
           Available: systemtap-runtime-1.4-3.el6.x86_64 (rhui-us-east-rhel-server-releases-beta)
               systemtap-runtime = 1.4-3.el6
           Available: systemtap-runtime-1.4-6.el6.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6
           Available: systemtap-runtime-1.4-6.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.1
           Available: systemtap-runtime-1.4-6.el6_1.2.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.2
           Available: systemtap-runtime-1.4-6.el6_1.3.x86_64 (rhui-us-east-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.3
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.x86_64 already installed and latest version
Package patch-2.6-6.el6.x86_64 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version
Package gettext-0.17-16.el6.x86_64 already installed and latest version
Package matching binutils-2.20.51.0.2-5.20.el6_1.1.x86_64 already installed. Checking for update.
Package elfutils-0.152-1.el6.x86_64 already installed and latest version
Package cvs-1.11.23-11.el6_0.1.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed
---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed
---> Package bison.x86_64 0:2.4.1-5.el6 will be installed
---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed
---> Package cscope.x86_64 0:15.6-6.el6 will be installed
---> Package ctags.x86_64 0:5.8-2.el6 will be installed
---> Package diffstat.x86_64 0:1.51-2.el6 will be installed
---> Package doxygen.x86_64 1:1.6.1-4.el6 will be installed
---> Package flex.x86_64 0:2.5.35-8.el6 will be installed
---> Package gcc.x86_64 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.x86_64
--> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.x86_64
---> Package gcc-c++.x86_64 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.x86_64
--> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.x86_64
--> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.5-6.el6.x86_64
---> Package gcc-gfortran.x86_64 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.x86_64
---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed
--> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64
---> Package indent.x86_64 0:2.2.10-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.x86_64 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed
---> Package rcs.x86_64 0:5.7-37.el6 will be installed
---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package subversion.x86_64 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.x86_64
--> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64
---> Package swig.x86_64 0:1.3.40-5.el6 will be installed
---> Package systemtap.x86_64 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.x86_64
--> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.5-6.el6 will be installed
---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
--> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64
---> Package glibc-devel.x86_64 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.x86_64
--> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.x86_64
---> Package kernel-devel.x86_64 0:2.6.32-131.17.1.el6 will be installed
---> Package libgfortran.i686 0:4.4.5-6.el6 will be installed
---> Package libgomp.i686 0:4.4.5-6.el6 will be installed
---> Package libstdc++.i686 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.5-6.el6.i686
--> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.5-6.el6.i686
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed
--> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64
--> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64
---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed
---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> Running transaction check
---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed
---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.25.el6_1.3.i686
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.25.el6_1.3.i686
---> Package glibc-headers.x86_64 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.x86_64
---> Package libgcc.i686 0:4.4.5-6.el6 will be installed
---> Package libgcj.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.x86_64
---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed
--> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64
--> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> Running transaction check
---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed
--> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686
---> Package kernel-headers.x86_64 0:2.6.32-131.17.1.el6 will be installed
---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed
---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64
---> Package nss-softokn-freebl.i686 0:3.12.9-3.el6 will be installed
---> Package rpm-build.x86_64 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.x86_64
---> Package systemtap.x86_64 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.x86_64
--> 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.x86_64 already installed and latest version Package patch-2.6-6.el6.x86_64 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version Package gettext-0.17-16.el6.x86_64 already installed and latest version Package matching binutils-2.20.51.0.2-5.20.el6_1.1.x86_64 already installed. Checking for update. Package elfutils-0.152-1.el6.x86_64 already installed and latest version Package cvs-1.11.23-11.el6_0.1.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.x86_64 0:2.4.1-5.el6 will be installed ---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.x86_64 0:15.6-6.el6 will be installed ---> Package ctags.x86_64 0:5.8-2.el6 will be installed ---> Package diffstat.x86_64 0:1.51-2.el6 will be installed ---> Package doxygen.x86_64 1:1.6.1-4.el6 will be installed ---> Package flex.x86_64 0:2.5.35-8.el6 will be installed ---> Package gcc.x86_64 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.x86_64 --> Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.x86_64 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.5-6.el6.x86_64 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.5-6.el6.x86_64 ---> Package gcc-c++.x86_64 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.x86_64 --> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.x86_64 --> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.5-6.el6.x86_64 ---> Package gcc-gfortran.x86_64 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.x86_64 ---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64 ---> Package indent.x86_64 0:2.2.10-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.x86_64 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed ---> Package rcs.x86_64 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-33.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package subversion.x86_64 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.x86_64 --> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 ---> Package swig.x86_64 0:1.3.40-5.el6 will be installed ---> Package systemtap.x86_64 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.x86_64 --> Processing Dependency: kernel-devel for package: systemtap-1.4-6.el6_1.3.x86_64 --> Running transaction check ---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 --> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 ---> Package cpp.x86_64 0:4.4.5-6.el6 will be installed ---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 ---> Package glibc-devel.x86_64 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.x86_64 --> Processing Dependency: glibc-headers = 2.12-1.25.el6_1.3 for package: glibc-devel-2.12-1.25.el6_1.3.x86_64 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.25.el6_1.3.x86_64 ---> Package kernel-devel.x86_64 0:2.6.32-131.17.1.el6 will be installed ---> Package libgfortran.i686 0:4.4.5-6.el6 will be installed ---> Package libgomp.i686 0:4.4.5-6.el6 will be installed ---> Package libstdc++.i686 0:4.4.5-6.el6 will be installed --> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.5-6.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.5-6.el6.i686 ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed ---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 --> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> Running transaction check ---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed ---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686 --> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.25.el6_1.3.i686 --> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.25.el6_1.3.i686 ---> Package glibc-headers.x86_64 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.25.el6_1.3.x86_64 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.25.el6_1.3.x86_64 ---> Package libgcc.i686 0:4.4.5-6.el6 will be installed ---> Package libgcj.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.x86_64 ---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed ---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> Running transaction check ---> Package glibc.i686 0:2.12-1.25.el6_1.3 will be installed --> Processing Dependency: glibc-common = 2.12-1.25.el6_1.3 for package: glibc-2.12-1.25.el6_1.3.i686 ---> Package kernel-headers.x86_64 0:2.6.32-131.17.1.el6 will be installed ---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.5-6.el6 for package: libstdc++-devel-4.4.5-6.el6.x86_64 ---> Package nss-softokn-freebl.i686 0:3.12.9-3.el6 will be installed ---> Package rpm-build.x86_64 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.x86_64 ---> Package systemtap.x86_64 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.x86_64 --> 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
No Packages marked for Update 
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
######################################################################################
# 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: 612ddf28c3916530d47ef56a1b1ed1ed
RETURN CODE: 0
FAIL2
e1886162554c18906df2ecd258aa4794
######################################################################################
# NEW TEST: ## Verify auditd sysconfig ... 
######################################################################################
COMMAND:  md5sum /etc/sysconfig/auditd | cut -f 1 -d  " "
RESULT: d4d43637708e30418c30003e212f76fc 
EXPECTED RESULT: 123beb3a97a32d96eba4f11509e39da2
RETURN CODE: 0
FAIL2
d4d43637708e30418c30003e212f76fc
######################################################################################
# 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

Comment 42 Sachin Ghai 2011-10-13 11:31:27 UTC
Verifying the IMAGE ID
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
Verifying the Architecture
COMMAND:  echo 1
RESULT: 1 
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
This Host => ec2-174-129-137-36.compute-1.amazonaws.com with Image Id : ami-f11fd398, is launched with Instance Id : i-901424f0 , Instance Type : c1.xlarge and Arch : x86_64 in the Region : us-east-1a
The Validate Signature is : RWdPTiH4RlywaJc5aCLtUzkM9qWjjJ86YFtF3X3CBYEDgu3KFvMjnt9afwsAKmsEpw9c+NBh24hF
1/9P+XW+C8bNd+xe18SMWI3duL8akfCU9FxQDqn5xNtIaWVAk49Aljw6h5IrSx3itLQRIqZOKAPB
eYHDJBdqnkmt6EdCGUE=
This is a Cloud Access image

## Summary ##
FAILURES = 6
FAILED TESTS = ## Verify no missing packages ... ## Verify RPMs ... ## Verify GPG Keys ... ## Install Development tools group... ## Verify auditd.conf ... ## Verify auditd sysconfig ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

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

Comment 43 wes hayutin 2011-12-16 15:27:55 UTC
closing old bugs