| Summary: | IGNOREami-5e837b37_us-east-1_m2.2xlarge 6.1 x86_64 | ||
|---|---|---|---|
| Product: | Cloud Image Validation | Reporter: | wes hayutin <whayutin> |
| Component: | images | Assignee: | Jay Greguske <jgreguske> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | wes hayutin <whayutin> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | RHEL6.1 | CC: | kbidarka, sghai |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-10-11 20:58:13 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
wes hayutin
2011-07-22 02:04:19 UTC
IMAGE ID= IGNOREami-5e837b37_us-east-1_m2.2xlarge
/root/valid/src
ip-10-119-70-146
Red Hat Enterprise Linux Server release 6.1 (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.1
######################################################################################
######################################################################################
# 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-131.4.1.el6
assert latest rpm kernel = uname -r
COMMAND: uname -r | sed 's/\(.*\)......./\1/'
RESULT: 2.6.32-131.4.1.el6
EXPECTED RESULT: 2.6.32-131.4.1.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-131.4.1.el6
RESULT: title RHEL-6.1-Starter-EBS-x86_64-4 (2.6.32-131.4.1.el6.x86_64)
kernel /boot/vmlinuz-2.6.32-131.4.1.el6.x86_64 ro root=LABEL=_/
initrd /boot/initramfs-2.6.32-131.4.1.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=5904752
COMMAND: echo true
RESULT: true
EXPECTED RESULT: true
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## /sbin/getenforce ...
######################################################################################
COMMAND: /usr/sbin/getenforce
RESULT: Enforcing
EXPECTED RESULT: Enforcing
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify SELINUX enforcing ...
######################################################################################
COMMAND: grep ^SELINUX= /etc/sysconfig/selinux | cut -d\= -f2
RESULT: enforcing
EXPECTED RESULT: enforcing
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify SELINUXTYPE targeted ...
######################################################################################
COMMAND: grep ^SELINUXTYPE= /etc/sysconfig/selinux | cut -d\= -f2
RESULT: targeted
EXPECTED RESULT: targeted
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Flip Selinux Permissive ...
######################################################################################
COMMAND: /usr/sbin/setenforce Permissive && /usr/sbin/getenforce
RESULT: Permissive
EXPECTED RESULT: Permissive
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Flip Selinux Enforcing ...
######################################################################################
COMMAND: /usr/sbin/setenforce Enforcing && /usr/sbin/getenforce
RESULT: Enforcing
EXPECTED RESULT: Enforcing
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no missing packages ...
######################################################################################
COMMAND: /bin/rpm -qa --queryformat='%{NAME}\n' > /tmp/rpmqa.tmp
RETURN CODE: 0
COMMAND: comm -23 packages_61 /tmp/rpmqa
RETURN CODE: 0
COUNT = 0
COMMAND: echo test passed
RESULT: test passed
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify RPMs ...
######################################################################################
....L.... c /etc/pam.d/fingerprint-auth
....L.... c /etc/pam.d/password-auth
....L.... c /etc/pam.d/smartcard-auth
....L.... c /etc/pam.d/system-auth
.M....... /var/cache/yum
S file Size differs
M Mode differs (includes permissions and file type)
5 MD5 sum differs
D Device major/minor number mismatch
L readLink(2) path mismatch
U User ownership differs
G Group ownership differs
T mTime differs
COMMAND: cat /tmp/rpmqaV.txt | wc -l
RESULT: 5
EXPECTED RESULT: 5
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify Version 2 ...
######################################################################################
COMMAND: /bin/rpm -q --queryformat '%{RELEASE}\n' redhat-release-server | cut -d. -f1,2
RESULT: 6.1
EXPECTED RESULT: 6.1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify packager ...
######################################################################################
COMMAND: cat /tmp/Packager | grep -v 'Red Hat, Inc.' | grep -v crash-trace-commandPackager| wc -l
RESULT: 0
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
crash-trace-commandPackager : Lai Jiangshan <laijs.com>
######################################################################################
# NEW TEST: ## Verify GPG checking ...
######################################################################################
COMMAND: grep '^gpgcheck=1' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | sort -f | uniq
RESULT: 1
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify GPG Keys ...
######################################################################################
COMMAND: rpm -qa gpg-pubkey* | wc -l
RESULT: 2
EXPECTED RESULT: 2
RETURN CODE: 0
PASS
COMMAND: rpm -qa gpg-pubkey* | sort -f | tail -n 1
RESULT: gpg-pubkey-fd431d51-4ae0493b
EXPECTED RESULT: gpg-pubkey-fd431d51-4ae0493b
RETURN CODE: 0
PASS
COMMAND: rpm -qa gpg-pubkey* | sort -f | head -n 1
RESULT: gpg-pubkey-2fa658e0-45700c69
EXPECTED RESULT: gpg-pubkey-2fa658e0-45700c69
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify disabled yum plugin ...
######################################################################################
COMMAND: grep ^enabled /etc/yum/pluginconf.d/rhnplugin.conf | grep -v '^#' | cut -d\= -f2 | awk '{print }' | sort -f | uniq
RESULT: 0
EXPECTED RESULT:
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## List the configured repositories...
######################################################################################
COMMAND: /usr/bin/yum repolist
RESULT: Loaded plugins: amazon-id, security
repo id repo name status
rhui-us-east-rhel-server-releases Red Hat Enterprise Linux Server 6 Relea 3,391
rhui-us-east-rhel-server-updates Red Hat Enterprise Linux Server 6 Updat 5,157
repolist: 8,548
EXPECTED RESULT:
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Search zsh...
######################################################################################
COMMAND: /usr/bin/yum search zsh
RESULT: Loaded plugins: amazon-id, security
=============================== N/S Matched: zsh ===============================
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
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, security
Setting up Group Process
Installed Groups:
Additional Development
Base
Compatibility libraries
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
Legacy X Window System compatibility
Network file system client
Networking Tools
Performance Tools
Perl Support
PostgreSQL Database client
PostgreSQL Database server
SNMP Support
Scientific support
Server Platform
Smart card support
System administration tools
Web Server
Installed Language Groups:
Arabic Support [ar]
Armenian Support [hy]
French Support [fr]
Georgian Support [ka]
Hebrew Support [he]
Inuktitut Support [iu]
Italian Support [it]
Japanese Support [ja]
Korean Support [ko]
Lao Support [lo]
Polish Support [pl]
Russian Support [ru]
Spanish Support [es]
Tajik Support [tg]
Available Groups:
Backup Client
Backup Server
CIFS file server
Client management tools
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 Browser
KDE Desktop
Mainframe Access
Messaging Client Support
Messaging Server Support
MySQL Database client
MySQL Database server
NFS file server
Network Infrastructure Server
Network Storage Server
PHP Support
Print Server
Printing client
Remote Desktop Clients
Security Tools
Server Platform Development
Somali Support
Storage Availability Tools
System Management
TeX support
Technical Writing
TurboGears application framework
Virtualization
Virtualization Client
Virtualization Platform
Virtualization Tools
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]
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]
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]
Portuguese Support [pt]
Punjabi Support [pa]
Romanian Support [ro]
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]
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'
RESULT: Loaded plugins: amazon-id, security
Setting up Group Process
Package gcc-4.4.5-6.el6.x86_64 already installed and latest version
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 binutils-2.20.51.0.2-5.20.el6.x86_64 already installed and latest version
Package elfutils-0.152-1.el6.x86_64 already installed and latest version
Package cvs-1.11.23-11.el6_0.1.x86_64 already installed and latest version
Package git-1.7.1-2.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-c++.x86_64 0:4.4.5-6.el6 will be installed
--> Processing Dependency: libstdc++-devel = 4.4.5-6.el6 for package: gcc-c++-4.4.5-6.el6.x86_64
---> Package gcc-gfortran.x86_64 0:4.4.5-6.el6 will be installed
---> 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 will be installed
---> Package subversion.x86_64 0:1.6.11-2.el6_0.3 will be updated
---> Package subversion.x86_64 0:1.6.11-2.el6_1.4 will be an update
---> Package swig.x86_64 0:1.3.40-5.el6 will be installed
---> Package systemtap.x86_64 0:1.4-6.el6_1.1 will be installed
--> Processing Dependency: systemtap-runtime = 1.4-6.el6_1.1 for package: systemtap-1.4-6.el6_1.1.x86_64
--> Running transaction check
---> 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: libasprintf.so.0()(64bit) 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
---> Package libstdc++-devel.x86_64 0:4.4.5-6.el6 will be installed
---> Package systemtap-runtime.x86_64 0:1.4-6.el6 will be updated
---> Package systemtap-runtime.x86_64 0:1.4-6.el6_1.1 will be an update
--> Running transaction check
---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
autoconf noarch 2.63-5.1.el6 rhui-us-east-rhel-server-releases 781 k
automake noarch 1.11.1-1.2.el6 rhui-us-east-rhel-server-releases 550 k
bison x86_64 2.4.1-5.el6 rhui-us-east-rhel-server-releases 637 k
byacc x86_64 1.9.20070509-6.1.el6
rhui-us-east-rhel-server-releases 48 k
cscope x86_64 15.6-6.el6 rhui-us-east-rhel-server-releases 136 k
ctags x86_64 5.8-2.el6 rhui-us-east-rhel-server-releases 147 k
diffstat x86_64 1.51-2.el6 rhui-us-east-rhel-server-releases 29 k
doxygen x86_64 1:1.6.1-4.el6 rhui-us-east-rhel-server-releases 2.4 M
flex x86_64 2.5.35-8.el6 rhui-us-east-rhel-server-releases 286 k
gcc-c++ x86_64 4.4.5-6.el6 rhui-us-east-rhel-server-updates 4.7 M
gcc-gfortran x86_64 4.4.5-6.el6 rhui-us-east-rhel-server-updates 4.7 M
indent x86_64 2.2.10-5.1.el6 rhui-us-east-rhel-server-releases 115 k
intltool noarch 0.41.0-1.1.el6 rhui-us-east-rhel-server-releases 58 k
libtool x86_64 2.2.6-15.5.el6 rhui-us-east-rhel-server-releases 564 k
patchutils x86_64 0.3.1-3.1.el6 rhui-us-east-rhel-server-releases 95 k
rcs x86_64 5.7-37.el6 rhui-us-east-rhel-server-releases 173 k
redhat-rpm-config
noarch 9.0.3-33.el6 rhui-us-east-rhel-server-updates 57 k
rpm-build x86_64 4.8.0-16.el6 rhui-us-east-rhel-server-updates 123 k
swig x86_64 1.3.40-5.el6 rhui-us-east-rhel-server-releases 1.1 M
systemtap x86_64 1.4-6.el6_1.1 rhui-us-east-rhel-server-updates 2.8 M
Updating:
subversion x86_64 1.6.11-2.el6_1.4 rhui-us-east-rhel-server-updates 2.3 M
Installing for dependencies:
gettext-devel x86_64 0.17-16.el6 rhui-us-east-rhel-server-releases 155 k
gettext-libs x86_64 0.17-16.el6 rhui-us-east-rhel-server-releases 112 k
libstdc++-devel
x86_64 4.4.5-6.el6 rhui-us-east-rhel-server-updates 1.5 M
Updating for dependencies:
systemtap-runtime
x86_64 1.4-6.el6_1.1 rhui-us-east-rhel-server-updates 89 k
Transaction Summary
================================================================================
Install 23 Package(s)
Upgrade 2 Package(s)
Total download size: 24 M
Downloading Packages:
--------------------------------------------------------------------------------
Total 5.5 MB/s | 24 MB 00:04
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : autoconf-2.63-5.1.el6.noarch 1/27
Installing : automake-1.11.1-1.2.el6.noarch 2/27
Installing : gettext-libs-0.17-16.el6.x86_64 3/27
Installing : gettext-devel-0.17-16.el6.x86_64 4/27
Installing : libstdc++-devel-4.4.5-6.el6.x86_64 5/27
Updating : systemtap-runtime-1.4-6.el6_1.1.x86_64 6/27
Installing : systemtap-1.4-6.el6_1.1.x86_64 7/27
Installing : gcc-c++-4.4.5-6.el6.x86_64 8/27
Installing : intltool-0.41.0-1.1.el6.noarch 9/27
Installing : libtool-2.2.6-15.5.el6.x86_64 10/27
Installing : gcc-gfortran-4.4.5-6.el6.x86_64 11/27
Installing : rcs-5.7-37.el6.x86_64 12/27
Installing : flex-2.5.35-8.el6.x86_64 13/27
Installing : indent-2.2.10-5.1.el6.x86_64 14/27
Installing : patchutils-0.3.1-3.1.el6.x86_64 15/27
Installing : 1:doxygen-1.6.1-4.el6.x86_64 16/27
Installing : swig-1.3.40-5.el6.x86_64 17/27
Installing : byacc-1.9.20070509-6.1.el6.x86_64 18/27
Installing : rpm-build-4.8.0-16.el6.x86_64 19/27
Installing : bison-2.4.1-5.el6.x86_64 20/27
Installing : ctags-5.8-2.el6.x86_64 21/27
Updating : subversion-1.6.11-2.el6_1.4.x86_64 23/27
Installing : redhat-rpm-config-9.0.3-33.el6.noarch 24/27
Installing : cscope-15.6-6.el6.x86_64 25/27
Cleanup : subversion-1.6.11-2.el6_0.3.x86_64 26/27
Cleanup : systemtap-runtime-1.4-6.el6.x86_64 27/27
Installed:
autoconf.noarch 0:2.63-5.1.el6 automake.noarch 0:1.11.1-1.2.el6
bison.x86_64 0:2.4.1-5.el6 byacc.x86_64 0:1.9.20070509-6.1.el6
cscope.x86_64 0:15.6-6.el6 ctags.x86_64 0:5.8-2.el6
diffstat.x86_64 0:1.51-2.el6 doxygen.x86_64 1:1.6.1-4.el6
flex.x86_64 0:2.5.35-8.el6 gcc-c++.x86_64 0:4.4.5-6.el6
gcc-gfortran.x86_64 0:4.4.5-6.el6 indent.x86_64 0:2.2.10-5.1.el6
intltool.noarch 0:0.41.0-1.1.el6 libtool.x86_64 0:2.2.6-15.5.el6
patchutils.x86_64 0:0.3.1-3.1.el6 rcs.x86_64 0:5.7-37.el6
redhat-rpm-config.noarch 0:9.0.3-33.el6 rpm-build.x86_64 0:4.8.0-16.el6
swig.x86_64 0:1.3.40-5.el6 systemtap.x86_64 0:1.4-6.el6_1.1
Dependency Installed:
gettext-devel.x86_64 0:0.17-16.el6 gettext-libs.x86_64 0:0.17-16.el6
libstdc++-devel.x86_64 0:4.4.5-6.el6
Updated:
subversion.x86_64 0:1.6.11-2.el6_1.4
Dependency Updated:
systemtap-runtime.x86_64 0:1.4-6.el6_1.1
Complete!
EXPECTED RESULT:
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify yum update ...
######################################################################################
COMMAND: /usr/bin/yum -y update
RESULT: Loaded plugins: amazon-id, security
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package apr.x86_64 0:1.3.9-3.el6 will be updated
---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be an update
---> Package bind-libs.x86_64 32:9.7.3-2.el6 will be updated
---> Package bind-libs.x86_64 32:9.7.3-2.el6_1.P3.2 will be an update
---> Package bind-utils.x86_64 32:9.7.3-2.el6 will be updated
---> Package bind-utils.x86_64 32:9.7.3-2.el6_1.P3.2 will be an update
---> Package curl.x86_64 0:7.19.7-26.el6 will be updated
---> Package curl.x86_64 0:7.19.7-26.el6_1.1 will be an update
---> Package ghostscript.x86_64 0:8.70-11.el6 will be updated
---> Package ghostscript.x86_64 0:8.70-11.el6_1.2 will be an update
---> Package ipa-client.x86_64 0:2.0.0-23.el6 will be updated
---> Package ipa-client.x86_64 0:2.0.0-23.el6_1.1 will be an update
---> Package ipa-python.x86_64 0:2.0.0-23.el6 will be updated
---> Package ipa-python.x86_64 0:2.0.0-23.el6_1.1 will be an update
---> Package iwl5000-firmware.noarch 0:8.24.2.12-3.el6 will be updated
---> Package iwl5000-firmware.noarch 0:8.83.5.1_1-1.el6_1.1 will be an update
---> Package java-1.6.0-openjdk.x86_64 1:1.6.0.0-1.39.1.9.7.el6 will be updated
---> Package java-1.6.0-openjdk.x86_64 1:1.6.0.0-1.39.1.9.8.el6_1 will be an update
---> Package kernel.x86_64 0:2.6.32-131.6.1.el6 will be installed
---> Package kernel-devel.x86_64 0:2.6.32-131.6.1.el6 will be installed
---> Package kernel-firmware.noarch 0:2.6.32-131.4.1.el6 will be updated
---> Package kernel-firmware.noarch 0:2.6.32-131.6.1.el6 will be an update
---> Package kernel-headers.x86_64 0:2.6.32-131.4.1.el6 will be updated
---> Package kernel-headers.x86_64 0:2.6.32-131.6.1.el6 will be an update
---> Package krb5-libs.x86_64 0:1.9-9.el6 will be updated
---> Package krb5-libs.x86_64 0:1.9-9.el6_1.1 will be an update
---> Package krb5-pkinit-openssl.x86_64 0:1.9-9.el6 will be updated
---> Package krb5-pkinit-openssl.x86_64 0:1.9-9.el6_1.1 will be an update
---> Package krb5-workstation.x86_64 0:1.9-9.el6 will be updated
---> Package krb5-workstation.x86_64 0:1.9-9.el6_1.1 will be an update
---> Package libcurl.x86_64 0:7.19.7-26.el6 will be updated
---> Package libcurl.x86_64 0:7.19.7-26.el6_1.1 will be an update
---> Package libgcrypt.x86_64 0:1.4.5-5.el6 will be updated
---> Package libgcrypt.x86_64 0:1.4.5-5.el6_1.2 will be an update
---> Package libsndfile.x86_64 0:1.0.20-3.el6 will be updated
---> Package libsndfile.x86_64 0:1.0.20-3.el6_1.1 will be an update
---> Package mutt.x86_64 5:1.5.20-2.20091214hg736b6a.el6 will be updated
---> Package mutt.x86_64 5:1.5.20-2.20091214hg736b6a.el6_1.1 will be an update
---> Package nss_db.x86_64 0:2.2.3-0.3.pre1.el6 will be updated
---> Package nss_db.x86_64 0:2.2.3-0.3.pre1.el6_1.1 will be an update
---> Package openssh.x86_64 0:5.3p1-52.el6 will be updated
---> Package openssh.x86_64 0:5.3p1-52.el6_1.2 will be an update
---> Package openssh-clients.x86_64 0:5.3p1-52.el6 will be updated
---> Package openssh-clients.x86_64 0:5.3p1-52.el6_1.2 will be an update
---> Package openssh-server.x86_64 0:5.3p1-52.el6 will be updated
---> Package openssh-server.x86_64 0:5.3p1-52.el6_1.2 will be an update
---> Package openssl.x86_64 0:1.0.0-10.el6 will be updated
---> Package openssl.x86_64 0:1.0.0-10.el6_1.4 will be an update
---> Package openswan.x86_64 0:2.6.32-4.el6 will be updated
---> Package openswan.x86_64 0:2.6.32-4.el6_1.1 will be an update
---> Package perf.x86_64 0:2.6.32-131.4.1.el6 will be updated
---> Package perf.x86_64 0:2.6.32-131.6.1.el6 will be an update
---> Package rsyslog.x86_64 0:4.6.2-3.el6 will be updated
---> Package rsyslog.x86_64 0:4.6.2-3.el6_1.1 will be an update
---> Package selinux-policy.noarch 0:3.7.19-93.el6 will be updated
---> Package selinux-policy.noarch 0:3.7.19-93.el6_1.2 will be an update
---> Package selinux-policy-targeted.noarch 0:3.7.19-93.el6 will be updated
---> Package selinux-policy-targeted.noarch 0:3.7.19-93.el6_1.2 will be an update
---> Package sssd.x86_64 0:1.5.1-34.el6 will be updated
---> Package sssd.x86_64 0:1.5.1-34.el6_1.2 will be an update
---> Package sssd-client.x86_64 0:1.5.1-34.el6 will be updated
---> Package sssd-client.x86_64 0:1.5.1-34.el6_1.2 will be an update
---> Package system-config-firewall-base.noarch 0:1.2.27-3.el6_0.2 will be updated
---> Package system-config-firewall-base.noarch 0:1.2.27-3.el6_1.3 will be an update
---> Package system-config-firewall-tui.noarch 0:1.2.27-3.el6_0.2 will be updated
---> Package system-config-firewall-tui.noarch 0:1.2.27-3.el6_1.3 will be an update
---> Package yum-rhn-plugin.noarch 0:0.9.1-26.el6 will be updated
---> Package yum-rhn-plugin.noarch 0:0.9.1-26.el6_1.1 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
kernel x86_64 2.6.32-131.6.1.el6 rhui-us-east-rhel-server-updates 23 M
kernel-devel
x86_64 2.6.32-131.6.1.el6 rhui-us-east-rhel-server-updates 6.9 M
Updating:
apr x86_64 1.3.9-3.el6_1.2 rhui-us-east-rhel-server-updates 123 k
bind-libs x86_64 32:9.7.3-2.el6_1.P3.2 rhui-us-east-rhel-server-updates 838 k
bind-utils x86_64 32:9.7.3-2.el6_1.P3.2 rhui-us-east-rhel-server-updates 177 k
curl x86_64 7.19.7-26.el6_1.1 rhui-us-east-rhel-server-updates 191 k
ghostscript
x86_64 8.70-11.el6_1.2 rhui-us-east-rhel-server-updates 4.4 M
ipa-client x86_64 2.0.0-23.el6_1.1 rhui-us-east-rhel-server-updates 88 k
ipa-python x86_64 2.0.0-23.el6_1.1 rhui-us-east-rhel-server-updates 492 k
iwl5000-firmware
noarch 8.83.5.1_1-1.el6_1.1 rhui-us-east-rhel-server-updates 270 k
java-1.6.0-openjdk
x86_64 1:1.6.0.0-1.39.1.9.8.el6_1
rhui-us-east-rhel-server-updates 25 M
kernel-firmware
noarch 2.6.32-131.6.1.el6 rhui-us-east-rhel-server-updates 2.5 M
kernel-headers
x86_64 2.6.32-131.6.1.el6 rhui-us-east-rhel-server-updates 1.3 M
krb5-libs x86_64 1.9-9.el6_1.1 rhui-us-east-rhel-server-updates 705 k
krb5-pkinit-openssl
x86_64 1.9-9.el6_1.1 rhui-us-east-rhel-server-updates 102 k
krb5-workstation
x86_64 1.9-9.el6_1.1 rhui-us-east-rhel-server-updates 451 k
libcurl x86_64 7.19.7-26.el6_1.1 rhui-us-east-rhel-server-updates 162 k
libgcrypt x86_64 1.4.5-5.el6_1.2 rhui-us-east-rhel-server-updates 228 k
libsndfile x86_64 1.0.20-3.el6_1.1 rhui-us-east-rhel-server-updates 223 k
mutt x86_64 5:1.5.20-2.20091214hg736b6a.el6_1.1
rhui-us-east-rhel-server-updates 1.2 M
nss_db x86_64 2.2.3-0.3.pre1.el6_1.1
rhui-us-east-rhel-server-updates 662 k
openssh x86_64 5.3p1-52.el6_1.2 rhui-us-east-rhel-server-updates 233 k
openssh-clients
x86_64 5.3p1-52.el6_1.2 rhui-us-east-rhel-server-updates 355 k
openssh-server
x86_64 5.3p1-52.el6_1.2 rhui-us-east-rhel-server-updates 295 k
openssl x86_64 1.0.0-10.el6_1.4 rhui-us-east-rhel-server-updates 1.4 M
openswan x86_64 2.6.32-4.el6_1.1 rhui-us-east-rhel-server-updates 882 k
perf x86_64 2.6.32-131.6.1.el6 rhui-us-east-rhel-server-updates 993 k
rsyslog x86_64 4.6.2-3.el6_1.1 rhui-us-east-rhel-server-updates 449 k
selinux-policy
noarch 3.7.19-93.el6_1.2 rhui-us-east-rhel-server-updates 740 k
selinux-policy-targeted
noarch 3.7.19-93.el6_1.2 rhui-us-east-rhel-server-updates 2.4 M
sssd x86_64 1.5.1-34.el6_1.2 rhui-us-east-rhel-server-updates 902 k
sssd-client
x86_64 1.5.1-34.el6_1.2 rhui-us-east-rhel-server-updates 60 k
system-config-firewall-base
noarch 1.2.27-3.el6_1.3 rhui-us-east-rhel-server-updates 419 k
system-config-firewall-tui
noarch 1.2.27-3.el6_1.3 rhui-us-east-rhel-server-updates 37 k
yum-rhn-plugin
noarch 0.9.1-26.el6_1.1 rhui-us-east-rhel-server-updates 76 k
Transaction Summary
================================================================================
Install 2 Package(s)
Upgrade 33 Package(s)
Total download size: 78 M
Downloading Packages:
--------------------------------------------------------------------------------
Total 8.6 MB/s | 78 MB 00:09
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : krb5-libs-1.9-9.el6_1.1.x86_64 1/68
Updating : openssl-1.0.0-10.el6_1.4.x86_64 2/68
Updating : openssh-5.3p1-52.el6_1.2.x86_64 3/68
Updating : libcurl-7.19.7-26.el6_1.1.x86_64 4/68
Updating : 32:bind-libs-9.7.3-2.el6_1.P3.2.x86_64 5/68
Updating : 32:bind-utils-9.7.3-2.el6_1.P3.2.x86_64 6/68
Updating : krb5-workstation-1.9-9.el6_1.1.x86_64 7/68
Updating : ipa-python-2.0.0-23.el6_1.1.x86_64 8/68
Updating : kernel-firmware-2.6.32-131.6.1.el6.noarch 9/68
Updating : sssd-client-1.5.1-34.el6_1.2.x86_64 10/68
Updating : sssd-1.5.1-34.el6_1.2.x86_64 11/68
Updating : selinux-policy-3.7.19-93.el6_1.2.noarch 12/68
Updating : system-config-firewall-base-1.2.27-3.el6_1.3.noarch 13/68
Updating : system-config-firewall-tui-1.2.27-3.el6_1.3.noarch 14/68
Updating : selinux-policy-targeted-3.7.19-93.el6_1.2.noarch 15/68
Updating : ipa-client-2.0.0-23.el6_1.1.x86_64 16/68
Installing : kernel-2.6.32-131.6.1.el6.x86_64 17/68
Updating : curl-7.19.7-26.el6_1.1.x86_64 18/68
Updating : openssh-clients-5.3p1-52.el6_1.2.x86_64 19/68
Updating : openssh-server-5.3p1-52.el6_1.2.x86_64 20/68
Updating : krb5-pkinit-openssl-1.9-9.el6_1.1.x86_64 21/68
Updating : ghostscript-8.70-11.el6_1.2.x86_64 22/68
Updating : 5:mutt-1.5.20-2.20091214hg736b6a.el6_1.1.x86_64 23/68
Updating : perf-2.6.32-131.6.1.el6.x86_64 24/68
Updating : iwl5000-firmware-8.83.5.1_1-1.el6_1.1.noarch 25/68
Updating : yum-rhn-plugin-0.9.1-26.el6_1.1.noarch 26/68
Updating : libgcrypt-1.4.5-5.el6_1.2.x86_64 27/68
Updating : apr-1.3.9-3.el6_1.2.x86_64 28/68
Updating : openswan-2.6.32-4.el6_1.1.x86_64 29/68
Updating : kernel-headers-2.6.32-131.6.1.el6.x86_64 30/68
Updating : libsndfile-1.0.20-3.el6_1.1.x86_64 31/68
Updating : rsyslog-4.6.2-3.el6_1.1.x86_64 32/68
Updating : 1:java-1.6.0-openjdk-1.6.0.0-1.39.1.9.8.el6_1.x86_64 33/68
Installing : kernel-devel-2.6.32-131.6.1.el6.x86_64 34/68
Updating : nss_db-2.2.3-0.3.pre1.el6_1.1.x86_64 35/68
Cleanup : ipa-client-2.0.0-23.el6.x86_64 36/68
Cleanup : 32:bind-utils-9.7.3-2.el6.x86_64 37/68
Cleanup : krb5-pkinit-openssl-1.9-9.el6.x86_64 38/68
Cleanup : openssh-server-5.3p1-52.el6.x86_64 39/68
Cleanup : openssh-clients-5.3p1-52.el6.x86_64 40/68
Cleanup : openssh-5.3p1-52.el6.x86_64 41/68
Cleanup : 32:bind-libs-9.7.3-2.el6.x86_64 42/68
Cleanup : sssd-1.5.1-34.el6.x86_64 43/68
Cleanup : curl-7.19.7-26.el6.x86_64 44/68
Cleanup : system-config-firewall-tui-1.2.27-3.el6_0.2.noarch 45/68
Cleanup : selinux-policy-targeted-3.7.19-93.el6.noarch 46/68
Cleanup : libcurl-7.19.7-26.el6.x86_64 47/68
Cleanup : openssl-1.0.0-10.el6.x86_64 48/68
Cleanup : krb5-workstation-1.9-9.el6.x86_64 49/68
Cleanup : 5:mutt-1.5.20-2.20091214hg736b6a.el6.x86_64 50/68
Cleanup : ghostscript-8.70-11.el6.x86_64 51/68
Cleanup : selinux-policy-3.7.19-93.el6.noarch 52/68
Cleanup : system-config-firewall-base-1.2.27-3.el6_0.2.noarch 53/68
Cleanup : perf-2.6.32-131.4.1.el6.x86_64 54/68
Cleanup : iwl5000-firmware-8.24.2.12-3.el6.noarch 55/68
Cleanup : yum-rhn-plugin-0.9.1-26.el6.noarch 56/68
Cleanup : kernel-firmware-2.6.32-131.4.1.el6.noarch 57/68
Cleanup : kernel-headers-2.6.32-131.4.1.el6.x86_64 58/68
Cleanup : krb5-libs-1.9-9.el6.x86_64 59/68
Cleanup : sssd-client-1.5.1-34.el6.x86_64 60/68
Cleanup : ipa-python-2.0.0-23.el6.x86_64 61/68
Cleanup : libgcrypt-1.4.5-5.el6.x86_64 62/68
Cleanup : apr-1.3.9-3.el6.x86_64 63/68
Cleanup : openswan-2.6.32-4.el6.x86_64 64/68
Cleanup : libsndfile-1.0.20-3.el6.x86_64 65/68
Cleanup : rsyslog-4.6.2-3.el6.x86_64 66/68
Cleanup : 1:java-1.6.0-openjdk-1.6.0.0-1.39.1.9.7.el6.x86_64 67/68
Cleanup : nss_db-2.2.3-0.3.pre1.el6.x86_64 68/68
Installed:
kernel.x86_64 0:2.6.32-131.6.1.el6 kernel-devel.x86_64 0:2.6.32-131.6.1.el6
Updated:
apr.x86_64 0:1.3.9-3.el6_1.2
bind-libs.x86_64 32:9.7.3-2.el6_1.P3.2
bind-utils.x86_64 32:9.7.3-2.el6_1.P3.2
curl.x86_64 0:7.19.7-26.el6_1.1
ghostscript.x86_64 0:8.70-11.el6_1.2
ipa-client.x86_64 0:2.0.0-23.el6_1.1
ipa-python.x86_64 0:2.0.0-23.el6_1.1
iwl5000-firmware.noarch 0:8.83.5.1_1-1.el6_1.1
java-1.6.0-openjdk.x86_64 1:1.6.0.0-1.39.1.9.8.el6_1
kernel-firmware.noarch 0:2.6.32-131.6.1.el6
kernel-headers.x86_64 0:2.6.32-131.6.1.el6
krb5-libs.x86_64 0:1.9-9.el6_1.1
krb5-pkinit-openssl.x86_64 0:1.9-9.el6_1.1
krb5-workstation.x86_64 0:1.9-9.el6_1.1
libcurl.x86_64 0:7.19.7-26.el6_1.1
libgcrypt.x86_64 0:1.4.5-5.el6_1.2
libsndfile.x86_64 0:1.0.20-3.el6_1.1
mutt.x86_64 5:1.5.20-2.20091214hg736b6a.el6_1.1
nss_db.x86_64 0:2.2.3-0.3.pre1.el6_1.1
openssh.x86_64 0:5.3p1-52.el6_1.2
openssh-clients.x86_64 0:5.3p1-52.el6_1.2
openssh-server.x86_64 0:5.3p1-52.el6_1.2
openssl.x86_64 0:1.0.0-10.el6_1.4
openswan.x86_64 0:2.6.32-4.el6_1.1
perf.x86_64 0:2.6.32-131.6.1.el6
rsyslog.x86_64 0:4.6.2-3.el6_1.1
selinux-policy.noarch 0:3.7.19-93.el6_1.2
selinux-policy-targeted.noarch 0:3.7.19-93.el6_1.2
sssd.x86_64 0:1.5.1-34.el6_1.2
sssd-client.x86_64 0:1.5.1-34.el6_1.2
system-config-firewall-base.noarch 0:1.2.27-3.el6_1.3
system-config-firewall-tui.noarch 0:1.2.27-3.el6_1.3
yum-rhn-plugin.noarch 0:0.9.1-26.el6_1.1
Complete!
EXPECTED RESULT:
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no fa1lures in rpm package ...
######################################################################################
COMMAND: cat /root/valid/src/validate.log | grep 'failure in rpm package' | wc -l
RESULT: 1
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no rpm scriplet fa1lures ...
######################################################################################
COMMAND: cat /root/valid/src/validate.log | grep 'scriptlet failed, exit status 1' | wc -l
RESULT: 1
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify package removal...
######################################################################################
COMMAND: /bin/rpm -e zsh
RETURN CODE: 0
COMMAND: /bin/rpm -q zsh
RESULT: package zsh is not installed
EXPECTED RESULT: package zsh is not installed
RETURN CODE: 1
PASS
######################################################################################
# NEW TEST: ## Verify bash_history ...
######################################################################################
COMMAND: cat ~/.bash_history | wc -l
cat: /root/.bash_history: No such file or directory
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 on ...
######################################################################################
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: 612ddf28c3916530d47ef56a1b1ed1ed
EXPECTED RESULT: 612ddf28c3916530d47ef56a1b1ed1ed
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify auditd sysconfig ...
######################################################################################
COMMAND: md5sum /etc/sysconfig/auditd | cut -f 1 -d " "
RESULT: 123beb3a97a32d96eba4f11509e39da2
EXPECTED RESULT: 123beb3a97a32d96eba4f11509e39da2
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify 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: ## install custom kernel
######################################################################################
yumlocalinstall -y /root/kernel/*
COMMAND: yum localinstall -y /root/kernel/* --nogpgcheck
RETURN CODE: 0
## Summary ##
FAILURES = 0
FAILED TESTS =
LOG FILE = /root/valid/src/validate.log
## Summary ##
######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
IMAGE ID= asdf
###### 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-131.6.1.el6
assert latest rpm kernel = uname -r
COMMAND: uname -r | sed 's/\(.*\)......./\1/'
RESULT: 2.6.32-131.6.1.el6
EXPECTED RESULT: 2.6.32-131.6.1.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-131.6.1.el6
RESULT: title Red Hat Enterprise Linux Server (2.6.32-131.6.1.el6.x86_64)
kernel /boot/vmlinuz-2.6.32-131.6.1.el6.x86_64 ro root=LABEL=_/ crashkernel=auto LANG=en_US.UTF-8 KEYTABLE=us
initrd /boot/initramfs-2.6.32-131.6.1.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 }'
FAILED!! FOUND MEMORY OF 32880176 > hwp MEMORY of 34200000
COMMAND: echo false
RESULT: false
EXPECTED RESULT: 1
RETURN CODE: 0
FAIL
false
hostname
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.1
######################################################################################
## Summary ##
FAILURES = 1
FAILED TESTS =
##Verify memory match hwp ...
LOG FILE = /root/valid/src/validate.log
## Summary ##
######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
Closing out old AMI validation reports. |