Bug 734421
Summary: | ami-5e837b37 6.1 x86_64 us-east-1 | ||
---|---|---|---|
Product: | Cloud Image Validation | Reporter: | Kedar Bidarkar <kbidarka> |
Component: | images | Assignee: | Jay Greguske <jgreguske> |
Status: | CLOSED NOTABUG | QA Contact: | wes hayutin <whayutin> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | RHEL6.1 | CC: | kbidarka, sghai |
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-08-31 16:10:52 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Kedar Bidarkar
2011-08-30 10:55:25 UTC
IMAGE ID= IGNOREami-5e837b37_us-east-1_m1.xlarge ###################################################################################### # NEW TEST: ## Open a bugzilla ###################################################################################### ###################################################################################### # NEW TEST: Fetching Host Details ###################################################################################### This Host => domU-12-31-39-05-60-21 with Image Id : ami-5e837b37, is launched with Instance Id : i-3b978e5a , Instance Type : m1.xlarge and Arch : x86_64 in the Region : us-east-1a This is a Hourly image /root/valid/src domU-12-31-39-05-60-21 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: ## Verify turning on/off swap file ... ###################################################################################### COMMAND: /sbin/swapoff && /sbin/swapon Usage: swapoff -a [-v] disable all swaps swapoff [-v] <special> disable given swap swapoff -h display help swapoff -V display version The <special> parameter: {-L label | LABEL=label} LABEL of device to be used {-U uuid | UUID=uuid} UUID of device to be used <device> name of device to be used <file> name of file to be used RESULT: EXPECTED RESULT: RETURN CODE: 2 FAIL ###################################################################################### # 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 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,288 repolist: 8,679 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.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-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.3 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.3 rhui-us-east-rhel-server-updates 2.4 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.3 rhui-us-east-rhel-server-updates 89 k Transaction Summary ================================================================================ Install 23 Package(s) Upgrade 2 Package(s) Total download size: 23 M Downloading Packages: -------------------------------------------------------------------------------- Total 4.9 MB/s | 23 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.3.x86_64 6/27 Installing : systemtap-1.4-6.el6_1.3.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 Installing : diffstat-1.51-2.el6.x86_64 22/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 : systemtap-runtime-1.4-6.el6.x86_64 26/27 Cleanup : subversion-1.6.11-2.el6_0.3.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.3 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.3 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.2 will be an update ---> Package dbus.x86_64 1:1.2.24-4.el6_0 will be updated ---> Package dbus.x86_64 1:1.2.24-5.el6_1 will be an update ---> Package dbus-libs.x86_64 1:1.2.24-4.el6_0 will be updated ---> Package dbus-libs.x86_64 1:1.2.24-5.el6_1 will be an update ---> Package dhclient.x86_64 12:4.1.1-19.P1.el6 will be updated ---> Package dhclient.x86_64 12:4.1.1-19.P1.el6_1.1 will be an update ---> Package foomatic.x86_64 0:4.0.4-1.el6 will be updated ---> Package foomatic.x86_64 0:4.0.4-1.el6_1.1 will be an update ---> Package freetype.x86_64 0:2.3.11-6.el6_0.2 will be updated ---> Package freetype.x86_64 0:2.3.11-6.el6_1.6 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 glibc.x86_64 0:2.12-1.25.el6 will be updated ---> Package glibc.x86_64 0:2.12-1.25.el6_1.3 will be an update ---> Package glibc-common.x86_64 0:2.12-1.25.el6 will be updated ---> Package glibc-common.x86_64 0:2.12-1.25.el6_1.3 will be an update ---> Package glibc-devel.x86_64 0:2.12-1.25.el6 will be updated ---> Package glibc-devel.x86_64 0:2.12-1.25.el6_1.3 will be an update ---> Package glibc-headers.x86_64 0:2.12-1.25.el6 will be updated ---> Package glibc-headers.x86_64 0:2.12-1.25.el6_1.3 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.12.1.el6 will be installed ---> Package kernel-devel.x86_64 0:2.6.32-131.12.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.12.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.12.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 libXfont.x86_64 0:1.4.1-1.el6 will be updated ---> Package libXfont.x86_64 0:1.4.1-2.el6_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.2 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 libpng.x86_64 2:1.2.44-1.el6 will be updated ---> Package libpng.x86_64 2:1.2.46-1.el6_1 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 mdadm.x86_64 0:3.2.1-1.el6 will be updated ---> Package mdadm.x86_64 0:3.2.2-1.el6_1.2 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 openldap.x86_64 0:2.4.23-15.el6 will be updated ---> Package openldap.x86_64 0:2.4.23-15.el6_1.1 will be an update ---> Package openldap-clients.x86_64 0:2.4.23-15.el6 will be updated ---> Package openldap-clients.x86_64 0:2.4.23-15.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.12.1.el6 will be an update ---> Package python-dmidecode.x86_64 0:3.10.12-1.el6 will be updated ---> Package python-dmidecode.x86_64 0:3.10.12-1.el6_1.1 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.7 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.7 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.3 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.3 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 tzdata.noarch 0:2011g-1.el6 will be updated ---> Package tzdata.noarch 0:2011h-2.el6 will be an update ---> Package tzdata-java.noarch 0:2011g-1.el6 will be updated ---> Package tzdata-java.noarch 0:2011h-2.el6 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.12.1.el6 rhui-us-east-rhel-server-updates 23 M kernel-devel x86_64 2.6.32-131.12.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.2 rhui-us-east-rhel-server-updates 191 k dbus x86_64 1:1.2.24-5.el6_1 rhui-us-east-rhel-server-updates 207 k dbus-libs x86_64 1:1.2.24-5.el6_1 rhui-us-east-rhel-server-updates 126 k dhclient x86_64 12:4.1.1-19.P1.el6_1.1 rhui-us-east-rhel-server-updates 377 k foomatic x86_64 4.0.4-1.el6_1.1 rhui-us-east-rhel-server-updates 251 k freetype x86_64 2.3.11-6.el6_1.6 rhui-us-east-rhel-server-updates 358 k ghostscript x86_64 8.70-11.el6_1.2 rhui-us-east-rhel-server-updates 4.4 M glibc x86_64 2.12-1.25.el6_1.3 rhui-us-east-rhel-server-updates 3.8 M glibc-common x86_64 2.12-1.25.el6_1.3 rhui-us-east-rhel-server-updates 14 M glibc-devel x86_64 2.12-1.25.el6_1.3 rhui-us-east-rhel-server-updates 963 k glibc-headers x86_64 2.12-1.25.el6_1.3 rhui-us-east-rhel-server-updates 594 k 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.12.1.el6 rhui-us-east-rhel-server-updates 2.5 M kernel-headers x86_64 2.6.32-131.12.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 libXfont x86_64 1.4.1-2.el6_1 rhui-us-east-rhel-server-updates 128 k libcurl x86_64 7.19.7-26.el6_1.2 rhui-us-east-rhel-server-updates 163 k libgcrypt x86_64 1.4.5-5.el6_1.2 rhui-us-east-rhel-server-updates 228 k libpng x86_64 2:1.2.46-1.el6_1 rhui-us-east-rhel-server-updates 180 k libsndfile x86_64 1.0.20-3.el6_1.1 rhui-us-east-rhel-server-updates 223 k mdadm x86_64 3.2.2-1.el6_1.2 rhui-us-east-rhel-server-updates 314 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 openldap x86_64 2.4.23-15.el6_1.1 rhui-us-east-rhel-server-updates 254 k openldap-clients x86_64 2.4.23-15.el6_1.1 rhui-us-east-rhel-server-updates 158 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.12.1.el6 rhui-us-east-rhel-server-updates 998 k python-dmidecode x86_64 3.10.12-1.el6_1.1 rhui-us-east-rhel-server-updates 79 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.7 rhui-us-east-rhel-server-updates 742 k selinux-policy-targeted noarch 3.7.19-93.el6_1.7 rhui-us-east-rhel-server-updates 2.4 M sssd x86_64 1.5.1-34.el6_1.3 rhui-us-east-rhel-server-updates 902 k sssd-client x86_64 1.5.1-34.el6_1.3 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 tzdata noarch 2011h-2.el6 rhui-us-east-rhel-server-updates 439 k tzdata-java noarch 2011h-2.el6 rhui-us-east-rhel-server-updates 150 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 50 Package(s) Total download size: 101 M Downloading Packages: -------------------------------------------------------------------------------- Total 7.4 MB/s | 101 MB 00:13 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Updating : tzdata-2011h-2.el6.noarch 1/102 Updating : glibc-common-2.12-1.25.el6_1.3.x86_64 2/102 Updating : glibc-2.12-1.25.el6_1.3.x86_64 3/102 Updating : krb5-libs-1.9-9.el6_1.1.x86_64 4/102 Updating : openssl-1.0.0-10.el6_1.4.x86_64 5/102 Updating : openldap-2.4.23-15.el6_1.1.x86_64 6/102 Updating : libcurl-7.19.7-26.el6_1.2.x86_64 7/102 Updating : openssh-5.3p1-52.el6_1.2.x86_64 8/102 Updating : 2:libpng-1.2.46-1.el6_1.x86_64 9/102 Updating : 1:dbus-libs-1.2.24-5.el6_1.x86_64 10/102 Updating : freetype-2.3.11-6.el6_1.6.x86_64 11/102 Updating : ghostscript-8.70-11.el6_1.2.x86_64 12/102 Updating : 32:bind-libs-9.7.3-2.el6_1.P3.2.x86_64 13/102 Updating : 32:bind-utils-9.7.3-2.el6_1.P3.2.x86_64 14/102 Updating : krb5-workstation-1.9-9.el6_1.1.x86_64 15/102 Updating : ipa-python-2.0.0-23.el6_1.1.x86_64 16/102 Updating : sssd-client-1.5.1-34.el6_1.3.x86_64 17/102 Updating : sssd-1.5.1-34.el6_1.3.x86_64 18/102 Updating : kernel-firmware-2.6.32-131.12.1.el6.noarch 19/102 Updating : system-config-firewall-base-1.2.27-3.el6_1.3.noarch 20/102 Updating : selinux-policy-3.7.19-93.el6_1.7.noarch 21/102 Updating : kernel-headers-2.6.32-131.12.1.el6.x86_64 22/102 Updating : glibc-headers-2.12-1.25.el6_1.3.x86_64 23/102 Updating : tzdata-java-2011h-2.el6.noarch 24/102 Updating : 1:java-1.6.0-openjdk-1.6.0.0-1.39.1.9.8.el6_1.x86_64 25/102 Updating : glibc-devel-2.12-1.25.el6_1.3.x86_64 26/102 Updating : selinux-policy-targeted-3.7.19-93.el6_1.7.noarch 27/102 Updating : system-config-firewall-tui-1.2.27-3.el6_1.3.noarch 28/102 Installing : kernel-2.6.32-131.12.1.el6.x86_64 29/102 Updating : ipa-client-2.0.0-23.el6_1.1.x86_64 30/102 Updating : foomatic-4.0.4-1.el6_1.1.x86_64 31/102 Updating : libXfont-1.4.1-2.el6_1.x86_64 32/102 Updating : 1:dbus-1.2.24-5.el6_1.x86_64 33/102 Updating : openssh-clients-5.3p1-52.el6_1.2.x86_64 34/102 Updating : openssh-server-5.3p1-52.el6_1.2.x86_64 35/102 Updating : curl-7.19.7-26.el6_1.2.x86_64 36/102 Updating : openldap-clients-2.4.23-15.el6_1.1.x86_64 37/102 Updating : krb5-pkinit-openssl-1.9-9.el6_1.1.x86_64 38/102 Updating : 5:mutt-1.5.20-2.20091214hg736b6a.el6_1.1.x86_64 39/102 Updating : libgcrypt-1.4.5-5.el6_1.2.x86_64 40/102 Updating : nss_db-2.2.3-0.3.pre1.el6_1.1.x86_64 41/102 Updating : python-dmidecode-3.10.12-1.el6_1.1.x86_64 42/102 Updating : openswan-2.6.32-4.el6_1.1.x86_64 43/102 Updating : mdadm-3.2.2-1.el6_1.2.x86_64 44/102 Updating : apr-1.3.9-3.el6_1.2.x86_64 45/102 Updating : 12:dhclient-4.1.1-19.P1.el6_1.1.x86_64 46/102 Updating : rsyslog-4.6.2-3.el6_1.1.x86_64 47/102 Updating : libsndfile-1.0.20-3.el6_1.1.x86_64 48/102 Updating : perf-2.6.32-131.12.1.el6.x86_64 49/102 Updating : iwl5000-firmware-8.83.5.1_1-1.el6_1.1.noarch 50/102 Updating : yum-rhn-plugin-0.9.1-26.el6_1.1.noarch 51/102 Installing : kernel-devel-2.6.32-131.12.1.el6.x86_64 52/102 Cleanup : ipa-client-2.0.0-23.el6.x86_64 53/102 Cleanup : sssd-1.5.1-34.el6.x86_64 54/102 Cleanup : 32:bind-utils-9.7.3-2.el6.x86_64 55/102 Cleanup : openssh-server-5.3p1-52.el6.x86_64 56/102 Cleanup : krb5-pkinit-openssl-1.9-9.el6.x86_64 57/102 Cleanup : 1:java-1.6.0-openjdk-1.6.0.0-1.39.1.9.7.el6.x86_64 58/102 Cleanup : curl-7.19.7-26.el6.x86_64 59/102 Cleanup : openssh-clients-5.3p1-52.el6.x86_64 60/102 Cleanup : glibc-devel-2.12-1.25.el6.x86_64 61/102 Cleanup : openldap-clients-2.4.23-15.el6.x86_64 62/102 Cleanup : openssh-5.3p1-52.el6.x86_64 63/102 Cleanup : libcurl-7.19.7-26.el6.x86_64 64/102 Cleanup : 32:bind-libs-9.7.3-2.el6.x86_64 65/102 Cleanup : krb5-workstation-1.9-9.el6.x86_64 66/102 Cleanup : 1:dbus-1.2.24-4.el6_0.x86_64 67/102 Cleanup : openssl-1.0.0-10.el6.x86_64 68/102 Cleanup : libXfont-1.4.1-1.el6.x86_64 69/102 Cleanup : 5:mutt-1.5.20-2.20091214hg736b6a.el6.x86_64 70/102 Cleanup : glibc-headers-2.12-1.25.el6.x86_64 71/102 Cleanup : foomatic-4.0.4-1.el6.x86_64 72/102 Cleanup : perf-2.6.32-131.4.1.el6.x86_64 73/102 Cleanup : selinux-policy-targeted-3.7.19-93.el6.noarch 74/102 Cleanup : system-config-firewall-tui-1.2.27-3.el6_0.2.noarch 75/102 Cleanup : ghostscript-8.70-11.el6.x86_64 76/102 Cleanup : krb5-libs-1.9-9.el6.x86_64 77/102 Cleanup : 2:libpng-1.2.44-1.el6.x86_64 78/102 Cleanup : freetype-2.3.11-6.el6_0.2.x86_64 79/102 Cleanup : 1:dbus-libs-1.2.24-4.el6_0.x86_64 80/102 Cleanup : openldap-2.4.23-15.el6.x86_64 81/102 Cleanup : sssd-client-1.5.1-34.el6.x86_64 82/102 Cleanup : ipa-python-2.0.0-23.el6.x86_64 83/102 Cleanup : libsndfile-1.0.20-3.el6.x86_64 84/102 Cleanup : rsyslog-4.6.2-3.el6.x86_64 85/102 Cleanup : 12:dhclient-4.1.1-19.P1.el6.x86_64 86/102 Cleanup : apr-1.3.9-3.el6.x86_64 87/102 Cleanup : mdadm-3.2.1-1.el6.x86_64 88/102 Cleanup : openswan-2.6.32-4.el6.x86_64 89/102 Cleanup : python-dmidecode-3.10.12-1.el6.x86_64 90/102 Cleanup : nss_db-2.2.3-0.3.pre1.el6.x86_64 91/102 Cleanup : libgcrypt-1.4.5-5.el6.x86_64 92/102 Cleanup : system-config-firewall-base-1.2.27-3.el6_0.2.noarch 93/102 Cleanup : selinux-policy-3.7.19-93.el6.noarch 94/102 Cleanup : kernel-headers-2.6.32-131.4.1.el6.x86_64 95/102 Cleanup : tzdata-java-2011g-1.el6.noarch 96/102 Cleanup : iwl5000-firmware-8.24.2.12-3.el6.noarch 97/102 Cleanup : kernel-firmware-2.6.32-131.4.1.el6.noarch 98/102 Cleanup : yum-rhn-plugin-0.9.1-26.el6.noarch 99/102 Cleanup : glibc-common-2.12-1.25.el6.x86_64 100/102 Cleanup : glibc-2.12-1.25.el6.x86_64 101/102 Cleanup : tzdata-2011g-1.el6.noarch 102/102 Installed: kernel.x86_64 0:2.6.32-131.12.1.el6 kernel-devel.x86_64 0:2.6.32-131.12.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.2 dbus.x86_64 1:1.2.24-5.el6_1 dbus-libs.x86_64 1:1.2.24-5.el6_1 dhclient.x86_64 12:4.1.1-19.P1.el6_1.1 foomatic.x86_64 0:4.0.4-1.el6_1.1 freetype.x86_64 0:2.3.11-6.el6_1.6 ghostscript.x86_64 0:8.70-11.el6_1.2 glibc.x86_64 0:2.12-1.25.el6_1.3 glibc-common.x86_64 0:2.12-1.25.el6_1.3 glibc-devel.x86_64 0:2.12-1.25.el6_1.3 glibc-headers.x86_64 0:2.12-1.25.el6_1.3 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.12.1.el6 kernel-headers.x86_64 0:2.6.32-131.12.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 libXfont.x86_64 0:1.4.1-2.el6_1 libcurl.x86_64 0:7.19.7-26.el6_1.2 libgcrypt.x86_64 0:1.4.5-5.el6_1.2 libpng.x86_64 2:1.2.46-1.el6_1 libsndfile.x86_64 0:1.0.20-3.el6_1.1 mdadm.x86_64 0:3.2.2-1.el6_1.2 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 openldap.x86_64 0:2.4.23-15.el6_1.1 openldap-clients.x86_64 0:2.4.23-15.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.12.1.el6 python-dmidecode.x86_64 0:3.10.12-1.el6_1.1 rsyslog.x86_64 0:4.6.2-3.el6_1.1 selinux-policy.noarch 0:3.7.19-93.el6_1.7 selinux-policy-targeted.noarch 0:3.7.19-93.el6_1.7 sssd.x86_64 0:1.5.1-34.el6_1.3 sssd-client.x86_64 0:1.5.1-34.el6_1.3 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 tzdata.noarch 0:2011h-2.el6 tzdata-java.noarch 0:2011h-2.el6 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 ## Summary ## FAILURES = 1 FAILED TESTS = ## Verify turning on/off swap file ... LOG FILE = /root/valid/src/validate.log ## Summary ## ###################################################################################### # NEW TEST: ## Open a bugzilla ###################################################################################### IMAGE ID= IGNOREami-5e837b37_us-east-1_m2.2xlarge ###################################################################################### # NEW TEST: ## Open a bugzilla ###################################################################################### ###################################################################################### # NEW TEST: Fetching Host Details ###################################################################################### This Host => ip-10-117-13-83 with Image Id : ami-5e837b37, is launched with Instance Id : i-55968f34 , Instance Type : m2.2xlarge and Arch : x86_64 in the Region : us-east-1b This is a Hourly image /root/valid/src ip-10-117-13-83 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: ## Verify turning on/off swap file ... ###################################################################################### COMMAND: /sbin/swapoff && /sbin/swapon Usage: swapoff -a [-v] disable all swaps swapoff [-v] <special> disable given swap swapoff -h display help swapoff -V display version The <special> parameter: {-L label | LABEL=label} LABEL of device to be used {-U uuid | UUID=uuid} UUID of device to be used <device> name of device to be used <file> name of file to be used RESULT: EXPECTED RESULT: RETURN CODE: 2 FAIL ###################################################################################### # 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 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,288 repolist: 8,679 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.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-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.3 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.3 rhui-us-east-rhel-server-updates 2.4 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.3 rhui-us-east-rhel-server-updates 89 k Transaction Summary ================================================================================ Install 23 Package(s) Upgrade 2 Package(s) Total download size: 23 M Downloading Packages: -------------------------------------------------------------------------------- Total 2.9 MB/s | 23 MB 00:08 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.3.x86_64 6/27 Installing : systemtap-1.4-6.el6_1.3.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 Installing : diffstat-1.51-2.el6.x86_64 22/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 : systemtap-runtime-1.4-6.el6.x86_64 26/27 Cleanup : subversion-1.6.11-2.el6_0.3.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.3 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.3 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.2 will be an update ---> Package dbus.x86_64 1:1.2.24-4.el6_0 will be updated ---> Package dbus.x86_64 1:1.2.24-5.el6_1 will be an update ---> Package dbus-libs.x86_64 1:1.2.24-4.el6_0 will be updated ---> Package dbus-libs.x86_64 1:1.2.24-5.el6_1 will be an update ---> Package dhclient.x86_64 12:4.1.1-19.P1.el6 will be updated ---> Package dhclient.x86_64 12:4.1.1-19.P1.el6_1.1 will be an update ---> Package foomatic.x86_64 0:4.0.4-1.el6 will be updated ---> Package foomatic.x86_64 0:4.0.4-1.el6_1.1 will be an update ---> Package freetype.x86_64 0:2.3.11-6.el6_0.2 will be updated ---> Package freetype.x86_64 0:2.3.11-6.el6_1.6 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 glibc.x86_64 0:2.12-1.25.el6 will be updated ---> Package glibc.x86_64 0:2.12-1.25.el6_1.3 will be an update ---> Package glibc-common.x86_64 0:2.12-1.25.el6 will be updated ---> Package glibc-common.x86_64 0:2.12-1.25.el6_1.3 will be an update ---> Package glibc-devel.x86_64 0:2.12-1.25.el6 will be updated ---> Package glibc-devel.x86_64 0:2.12-1.25.el6_1.3 will be an update ---> Package glibc-headers.x86_64 0:2.12-1.25.el6 will be updated ---> Package glibc-headers.x86_64 0:2.12-1.25.el6_1.3 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.12.1.el6 will be installed ---> Package kernel-devel.x86_64 0:2.6.32-131.12.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.12.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.12.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 libXfont.x86_64 0:1.4.1-1.el6 will be updated ---> Package libXfont.x86_64 0:1.4.1-2.el6_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.2 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 libpng.x86_64 2:1.2.44-1.el6 will be updated ---> Package libpng.x86_64 2:1.2.46-1.el6_1 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 mdadm.x86_64 0:3.2.1-1.el6 will be updated ---> Package mdadm.x86_64 0:3.2.2-1.el6_1.2 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 openldap.x86_64 0:2.4.23-15.el6 will be updated ---> Package openldap.x86_64 0:2.4.23-15.el6_1.1 will be an update ---> Package openldap-clients.x86_64 0:2.4.23-15.el6 will be updated ---> Package openldap-clients.x86_64 0:2.4.23-15.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.12.1.el6 will be an update ---> Package python-dmidecode.x86_64 0:3.10.12-1.el6 will be updated ---> Package python-dmidecode.x86_64 0:3.10.12-1.el6_1.1 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.7 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.7 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.3 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.3 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 tzdata.noarch 0:2011g-1.el6 will be updated ---> Package tzdata.noarch 0:2011h-2.el6 will be an update ---> Package tzdata-java.noarch 0:2011g-1.el6 will be updated ---> Package tzdata-java.noarch 0:2011h-2.el6 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.12.1.el6 rhui-us-east-rhel-server-updates 23 M kernel-devel x86_64 2.6.32-131.12.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.2 rhui-us-east-rhel-server-updates 191 k dbus x86_64 1:1.2.24-5.el6_1 rhui-us-east-rhel-server-updates 207 k dbus-libs x86_64 1:1.2.24-5.el6_1 rhui-us-east-rhel-server-updates 126 k dhclient x86_64 12:4.1.1-19.P1.el6_1.1 rhui-us-east-rhel-server-updates 377 k foomatic x86_64 4.0.4-1.el6_1.1 rhui-us-east-rhel-server-updates 251 k freetype x86_64 2.3.11-6.el6_1.6 rhui-us-east-rhel-server-updates 358 k ghostscript x86_64 8.70-11.el6_1.2 rhui-us-east-rhel-server-updates 4.4 M glibc x86_64 2.12-1.25.el6_1.3 rhui-us-east-rhel-server-updates 3.8 M glibc-common x86_64 2.12-1.25.el6_1.3 rhui-us-east-rhel-server-updates 14 M glibc-devel x86_64 2.12-1.25.el6_1.3 rhui-us-east-rhel-server-updates 963 k glibc-headers x86_64 2.12-1.25.el6_1.3 rhui-us-east-rhel-server-updates 594 k 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.12.1.el6 rhui-us-east-rhel-server-updates 2.5 M kernel-headers x86_64 2.6.32-131.12.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 libXfont x86_64 1.4.1-2.el6_1 rhui-us-east-rhel-server-updates 128 k libcurl x86_64 7.19.7-26.el6_1.2 rhui-us-east-rhel-server-updates 163 k libgcrypt x86_64 1.4.5-5.el6_1.2 rhui-us-east-rhel-server-updates 228 k libpng x86_64 2:1.2.46-1.el6_1 rhui-us-east-rhel-server-updates 180 k libsndfile x86_64 1.0.20-3.el6_1.1 rhui-us-east-rhel-server-updates 223 k mdadm x86_64 3.2.2-1.el6_1.2 rhui-us-east-rhel-server-updates 314 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 openldap x86_64 2.4.23-15.el6_1.1 rhui-us-east-rhel-server-updates 254 k openldap-clients x86_64 2.4.23-15.el6_1.1 rhui-us-east-rhel-server-updates 158 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.12.1.el6 rhui-us-east-rhel-server-updates 998 k python-dmidecode x86_64 3.10.12-1.el6_1.1 rhui-us-east-rhel-server-updates 79 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.7 rhui-us-east-rhel-server-updates 742 k selinux-policy-targeted noarch 3.7.19-93.el6_1.7 rhui-us-east-rhel-server-updates 2.4 M sssd x86_64 1.5.1-34.el6_1.3 rhui-us-east-rhel-server-updates 902 k sssd-client x86_64 1.5.1-34.el6_1.3 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 tzdata noarch 2011h-2.el6 rhui-us-east-rhel-server-updates 439 k tzdata-java noarch 2011h-2.el6 rhui-us-east-rhel-server-updates 150 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 50 Package(s) Total download size: 101 M Downloading Packages: -------------------------------------------------------------------------------- Total 3.9 MB/s | 101 MB 00:25 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Updating : tzdata-2011h-2.el6.noarch 1/102 Updating : glibc-common-2.12-1.25.el6_1.3.x86_64 2/102 Updating : glibc-2.12-1.25.el6_1.3.x86_64 3/102 Updating : krb5-libs-1.9-9.el6_1.1.x86_64 4/102 Updating : openssl-1.0.0-10.el6_1.4.x86_64 5/102 Updating : openldap-2.4.23-15.el6_1.1.x86_64 6/102 Updating : libcurl-7.19.7-26.el6_1.2.x86_64 7/102 Updating : openssh-5.3p1-52.el6_1.2.x86_64 8/102 Updating : 2:libpng-1.2.46-1.el6_1.x86_64 9/102 Updating : 1:dbus-libs-1.2.24-5.el6_1.x86_64 10/102 Updating : freetype-2.3.11-6.el6_1.6.x86_64 11/102 Updating : ghostscript-8.70-11.el6_1.2.x86_64 12/102 Updating : 32:bind-libs-9.7.3-2.el6_1.P3.2.x86_64 13/102 Updating : 32:bind-utils-9.7.3-2.el6_1.P3.2.x86_64 14/102 Updating : krb5-workstation-1.9-9.el6_1.1.x86_64 15/102 Updating : ipa-python-2.0.0-23.el6_1.1.x86_64 16/102 Updating : sssd-client-1.5.1-34.el6_1.3.x86_64 17/102 Updating : sssd-1.5.1-34.el6_1.3.x86_64 18/102 Updating : kernel-firmware-2.6.32-131.12.1.el6.noarch 19/102 Updating : system-config-firewall-base-1.2.27-3.el6_1.3.noarch 20/102 Updating : selinux-policy-3.7.19-93.el6_1.7.noarch 21/102 Updating : kernel-headers-2.6.32-131.12.1.el6.x86_64 22/102 Updating : glibc-headers-2.12-1.25.el6_1.3.x86_64 23/102 Updating : tzdata-java-2011h-2.el6.noarch 24/102 Updating : 1:java-1.6.0-openjdk-1.6.0.0-1.39.1.9.8.el6_1.x86_64 25/102 Updating : glibc-devel-2.12-1.25.el6_1.3.x86_64 26/102 Updating : selinux-policy-targeted-3.7.19-93.el6_1.7.noarch 27/102 Updating : system-config-firewall-tui-1.2.27-3.el6_1.3.noarch 28/102 Installing : kernel-2.6.32-131.12.1.el6.x86_64 29/102 Updating : ipa-client-2.0.0-23.el6_1.1.x86_64 30/102 Updating : foomatic-4.0.4-1.el6_1.1.x86_64 31/102 Updating : libXfont-1.4.1-2.el6_1.x86_64 32/102 Updating : 1:dbus-1.2.24-5.el6_1.x86_64 33/102 Updating : openssh-clients-5.3p1-52.el6_1.2.x86_64 34/102 Updating : openssh-server-5.3p1-52.el6_1.2.x86_64 35/102 Updating : curl-7.19.7-26.el6_1.2.x86_64 36/102 Updating : openldap-clients-2.4.23-15.el6_1.1.x86_64 37/102 Updating : krb5-pkinit-openssl-1.9-9.el6_1.1.x86_64 38/102 Updating : 5:mutt-1.5.20-2.20091214hg736b6a.el6_1.1.x86_64 39/102 Updating : libgcrypt-1.4.5-5.el6_1.2.x86_64 40/102 Updating : nss_db-2.2.3-0.3.pre1.el6_1.1.x86_64 41/102 Updating : python-dmidecode-3.10.12-1.el6_1.1.x86_64 42/102 Updating : openswan-2.6.32-4.el6_1.1.x86_64 43/102 Updating : mdadm-3.2.2-1.el6_1.2.x86_64 44/102 Updating : apr-1.3.9-3.el6_1.2.x86_64 45/102 Updating : 12:dhclient-4.1.1-19.P1.el6_1.1.x86_64 46/102 Updating : rsyslog-4.6.2-3.el6_1.1.x86_64 47/102 Updating : libsndfile-1.0.20-3.el6_1.1.x86_64 48/102 Updating : perf-2.6.32-131.12.1.el6.x86_64 49/102 Updating : iwl5000-firmware-8.83.5.1_1-1.el6_1.1.noarch 50/102 Updating : yum-rhn-plugin-0.9.1-26.el6_1.1.noarch 51/102 Installing : kernel-devel-2.6.32-131.12.1.el6.x86_64 52/102 Cleanup : ipa-client-2.0.0-23.el6.x86_64 53/102 Cleanup : sssd-1.5.1-34.el6.x86_64 54/102 Cleanup : 32:bind-utils-9.7.3-2.el6.x86_64 55/102 Cleanup : openssh-server-5.3p1-52.el6.x86_64 56/102 Cleanup : krb5-pkinit-openssl-1.9-9.el6.x86_64 57/102 Cleanup : 1:java-1.6.0-openjdk-1.6.0.0-1.39.1.9.7.el6.x86_64 58/102 Cleanup : curl-7.19.7-26.el6.x86_64 59/102 Cleanup : openssh-clients-5.3p1-52.el6.x86_64 60/102 Cleanup : glibc-devel-2.12-1.25.el6.x86_64 61/102 Cleanup : openldap-clients-2.4.23-15.el6.x86_64 62/102 Cleanup : openssh-5.3p1-52.el6.x86_64 63/102 Cleanup : libcurl-7.19.7-26.el6.x86_64 64/102 Cleanup : 32:bind-libs-9.7.3-2.el6.x86_64 65/102 Cleanup : krb5-workstation-1.9-9.el6.x86_64 66/102 Cleanup : 1:dbus-1.2.24-4.el6_0.x86_64 67/102 Cleanup : openssl-1.0.0-10.el6.x86_64 68/102 Cleanup : libXfont-1.4.1-1.el6.x86_64 69/102 Cleanup : 5:mutt-1.5.20-2.20091214hg736b6a.el6.x86_64 70/102 Cleanup : glibc-headers-2.12-1.25.el6.x86_64 71/102 Cleanup : foomatic-4.0.4-1.el6.x86_64 72/102 Cleanup : perf-2.6.32-131.4.1.el6.x86_64 73/102 Cleanup : selinux-policy-targeted-3.7.19-93.el6.noarch 74/102 Cleanup : system-config-firewall-tui-1.2.27-3.el6_0.2.noarch 75/102 Cleanup : ghostscript-8.70-11.el6.x86_64 76/102 Cleanup : krb5-libs-1.9-9.el6.x86_64 77/102 Cleanup : 2:libpng-1.2.44-1.el6.x86_64 78/102 Cleanup : freetype-2.3.11-6.el6_0.2.x86_64 79/102 Cleanup : 1:dbus-libs-1.2.24-4.el6_0.x86_64 80/102 Cleanup : openldap-2.4.23-15.el6.x86_64 81/102 Cleanup : sssd-client-1.5.1-34.el6.x86_64 82/102 Cleanup : ipa-python-2.0.0-23.el6.x86_64 83/102 Cleanup : libsndfile-1.0.20-3.el6.x86_64 84/102 Cleanup : rsyslog-4.6.2-3.el6.x86_64 85/102 Cleanup : 12:dhclient-4.1.1-19.P1.el6.x86_64 86/102 Cleanup : apr-1.3.9-3.el6.x86_64 87/102 Cleanup : mdadm-3.2.1-1.el6.x86_64 88/102 Cleanup : openswan-2.6.32-4.el6.x86_64 89/102 Cleanup : python-dmidecode-3.10.12-1.el6.x86_64 90/102 Cleanup : nss_db-2.2.3-0.3.pre1.el6.x86_64 91/102 Cleanup : libgcrypt-1.4.5-5.el6.x86_64 92/102 Cleanup : system-config-firewall-base-1.2.27-3.el6_0.2.noarch 93/102 Cleanup : selinux-policy-3.7.19-93.el6.noarch 94/102 Cleanup : kernel-headers-2.6.32-131.4.1.el6.x86_64 95/102 Cleanup : tzdata-java-2011g-1.el6.noarch 96/102 Cleanup : iwl5000-firmware-8.24.2.12-3.el6.noarch 97/102 Cleanup : kernel-firmware-2.6.32-131.4.1.el6.noarch 98/102 Cleanup : yum-rhn-plugin-0.9.1-26.el6.noarch 99/102 Cleanup : glibc-common-2.12-1.25.el6.x86_64 100/102 Cleanup : glibc-2.12-1.25.el6.x86_64 101/102 Cleanup : tzdata-2011g-1.el6.noarch 102/102 Installed: kernel.x86_64 0:2.6.32-131.12.1.el6 kernel-devel.x86_64 0:2.6.32-131.12.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.2 dbus.x86_64 1:1.2.24-5.el6_1 dbus-libs.x86_64 1:1.2.24-5.el6_1 dhclient.x86_64 12:4.1.1-19.P1.el6_1.1 foomatic.x86_64 0:4.0.4-1.el6_1.1 freetype.x86_64 0:2.3.11-6.el6_1.6 ghostscript.x86_64 0:8.70-11.el6_1.2 glibc.x86_64 0:2.12-1.25.el6_1.3 glibc-common.x86_64 0:2.12-1.25.el6_1.3 glibc-devel.x86_64 0:2.12-1.25.el6_1.3 glibc-headers.x86_64 0:2.12-1.25.el6_1.3 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.12.1.el6 kernel-headers.x86_64 0:2.6.32-131.12.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 libXfont.x86_64 0:1.4.1-2.el6_1 libcurl.x86_64 0:7.19.7-26.el6_1.2 libgcrypt.x86_64 0:1.4.5-5.el6_1.2 libpng.x86_64 2:1.2.46-1.el6_1 libsndfile.x86_64 0:1.0.20-3.el6_1.1 mdadm.x86_64 0:3.2.2-1.el6_1.2 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 openldap.x86_64 0:2.4.23-15.el6_1.1 openldap-clients.x86_64 0:2.4.23-15.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.12.1.el6 python-dmidecode.x86_64 0:3.10.12-1.el6_1.1 rsyslog.x86_64 0:4.6.2-3.el6_1.1 selinux-policy.noarch 0:3.7.19-93.el6_1.7 selinux-policy-targeted.noarch 0:3.7.19-93.el6_1.7 sssd.x86_64 0:1.5.1-34.el6_1.3 sssd-client.x86_64 0:1.5.1-34.el6_1.3 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 tzdata.noarch 0:2011h-2.el6 tzdata-java.noarch 0:2011h-2.el6 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 ## Summary ## FAILURES = 1 FAILED TESTS = ## Verify turning on/off swap file ... LOG FILE = /root/valid/src/validate.log ## Summary ## ###################################################################################### # NEW TEST: ## Open a bugzilla ###################################################################################### IMAGE ID= IGNOREami-5e837b37_us-east-1_m2.2xlarge ###################################################################################### # NEW TEST: ## Open a bugzilla ###################################################################################### ###################################################################################### # NEW TEST: Fetching Host Details ###################################################################################### This Host => ip-10-218-31-224 with Image Id : ami-5e837b37, is launched with Instance Id : i-13968f72 , Instance Type : m2.2xlarge and Arch : x86_64 in the Region : us-east-1b This is a Hourly image /root/valid/src ip-10-218-31-224 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: ## Verify turning on/off swap file ... ###################################################################################### COMMAND: /sbin/swapoff && /sbin/swapon Usage: swapoff -a [-v] disable all swaps swapoff [-v] <special> disable given swap swapoff -h display help swapoff -V display version The <special> parameter: {-L label | LABEL=label} LABEL of device to be used {-U uuid | UUID=uuid} UUID of device to be used <device> name of device to be used <file> name of file to be used RESULT: EXPECTED RESULT: RETURN CODE: 2 FAIL ###################################################################################### # 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 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,288 repolist: 8,679 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.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-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.3 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.3 rhui-us-east-rhel-server-updates 2.4 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.3 rhui-us-east-rhel-server-updates 89 k Transaction Summary ================================================================================ Install 23 Package(s) Upgrade 2 Package(s) Total download size: 23 M Downloading Packages: -------------------------------------------------------------------------------- Total 3.8 MB/s | 23 MB 00:06 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.3.x86_64 6/27 Installing : systemtap-1.4-6.el6_1.3.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 Installing : diffstat-1.51-2.el6.x86_64 22/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 : systemtap-runtime-1.4-6.el6.x86_64 26/27 Cleanup : subversion-1.6.11-2.el6_0.3.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.3 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.3 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.2 will be an update ---> Package dbus.x86_64 1:1.2.24-4.el6_0 will be updated ---> Package dbus.x86_64 1:1.2.24-5.el6_1 will be an update ---> Package dbus-libs.x86_64 1:1.2.24-4.el6_0 will be updated ---> Package dbus-libs.x86_64 1:1.2.24-5.el6_1 will be an update ---> Package dhclient.x86_64 12:4.1.1-19.P1.el6 will be updated ---> Package dhclient.x86_64 12:4.1.1-19.P1.el6_1.1 will be an update ---> Package foomatic.x86_64 0:4.0.4-1.el6 will be updated ---> Package foomatic.x86_64 0:4.0.4-1.el6_1.1 will be an update ---> Package freetype.x86_64 0:2.3.11-6.el6_0.2 will be updated ---> Package freetype.x86_64 0:2.3.11-6.el6_1.6 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 glibc.x86_64 0:2.12-1.25.el6 will be updated ---> Package glibc.x86_64 0:2.12-1.25.el6_1.3 will be an update ---> Package glibc-common.x86_64 0:2.12-1.25.el6 will be updated ---> Package glibc-common.x86_64 0:2.12-1.25.el6_1.3 will be an update ---> Package glibc-devel.x86_64 0:2.12-1.25.el6 will be updated ---> Package glibc-devel.x86_64 0:2.12-1.25.el6_1.3 will be an update ---> Package glibc-headers.x86_64 0:2.12-1.25.el6 will be updated ---> Package glibc-headers.x86_64 0:2.12-1.25.el6_1.3 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.12.1.el6 will be installed ---> Package kernel-devel.x86_64 0:2.6.32-131.12.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.12.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.12.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 libXfont.x86_64 0:1.4.1-1.el6 will be updated ---> Package libXfont.x86_64 0:1.4.1-2.el6_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.2 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 libpng.x86_64 2:1.2.44-1.el6 will be updated ---> Package libpng.x86_64 2:1.2.46-1.el6_1 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 mdadm.x86_64 0:3.2.1-1.el6 will be updated ---> Package mdadm.x86_64 0:3.2.2-1.el6_1.2 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 openldap.x86_64 0:2.4.23-15.el6 will be updated ---> Package openldap.x86_64 0:2.4.23-15.el6_1.1 will be an update ---> Package openldap-clients.x86_64 0:2.4.23-15.el6 will be updated ---> Package openldap-clients.x86_64 0:2.4.23-15.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.12.1.el6 will be an update ---> Package python-dmidecode.x86_64 0:3.10.12-1.el6 will be updated ---> Package python-dmidecode.x86_64 0:3.10.12-1.el6_1.1 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.7 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.7 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.3 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.3 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 tzdata.noarch 0:2011g-1.el6 will be updated ---> Package tzdata.noarch 0:2011h-2.el6 will be an update ---> Package tzdata-java.noarch 0:2011g-1.el6 will be updated ---> Package tzdata-java.noarch 0:2011h-2.el6 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.12.1.el6 rhui-us-east-rhel-server-updates 23 M kernel-devel x86_64 2.6.32-131.12.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.2 rhui-us-east-rhel-server-updates 191 k dbus x86_64 1:1.2.24-5.el6_1 rhui-us-east-rhel-server-updates 207 k dbus-libs x86_64 1:1.2.24-5.el6_1 rhui-us-east-rhel-server-updates 126 k dhclient x86_64 12:4.1.1-19.P1.el6_1.1 rhui-us-east-rhel-server-updates 377 k foomatic x86_64 4.0.4-1.el6_1.1 rhui-us-east-rhel-server-updates 251 k freetype x86_64 2.3.11-6.el6_1.6 rhui-us-east-rhel-server-updates 358 k ghostscript x86_64 8.70-11.el6_1.2 rhui-us-east-rhel-server-updates 4.4 M glibc x86_64 2.12-1.25.el6_1.3 rhui-us-east-rhel-server-updates 3.8 M glibc-common x86_64 2.12-1.25.el6_1.3 rhui-us-east-rhel-server-updates 14 M glibc-devel x86_64 2.12-1.25.el6_1.3 rhui-us-east-rhel-server-updates 963 k glibc-headers x86_64 2.12-1.25.el6_1.3 rhui-us-east-rhel-server-updates 594 k 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.12.1.el6 rhui-us-east-rhel-server-updates 2.5 M kernel-headers x86_64 2.6.32-131.12.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 libXfont x86_64 1.4.1-2.el6_1 rhui-us-east-rhel-server-updates 128 k libcurl x86_64 7.19.7-26.el6_1.2 rhui-us-east-rhel-server-updates 163 k libgcrypt x86_64 1.4.5-5.el6_1.2 rhui-us-east-rhel-server-updates 228 k libpng x86_64 2:1.2.46-1.el6_1 rhui-us-east-rhel-server-updates 180 k libsndfile x86_64 1.0.20-3.el6_1.1 rhui-us-east-rhel-server-updates 223 k mdadm x86_64 3.2.2-1.el6_1.2 rhui-us-east-rhel-server-updates 314 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 openldap x86_64 2.4.23-15.el6_1.1 rhui-us-east-rhel-server-updates 254 k openldap-clients x86_64 2.4.23-15.el6_1.1 rhui-us-east-rhel-server-updates 158 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.12.1.el6 rhui-us-east-rhel-server-updates 998 k python-dmidecode x86_64 3.10.12-1.el6_1.1 rhui-us-east-rhel-server-updates 79 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.7 rhui-us-east-rhel-server-updates 742 k selinux-policy-targeted noarch 3.7.19-93.el6_1.7 rhui-us-east-rhel-server-updates 2.4 M sssd x86_64 1.5.1-34.el6_1.3 rhui-us-east-rhel-server-updates 902 k sssd-client x86_64 1.5.1-34.el6_1.3 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 tzdata noarch 2011h-2.el6 rhui-us-east-rhel-server-updates 439 k tzdata-java noarch 2011h-2.el6 rhui-us-east-rhel-server-updates 150 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 50 Package(s) Total download size: 101 M Downloading Packages: -------------------------------------------------------------------------------- Total 8.0 MB/s | 101 MB 00:12 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Updating : tzdata-2011h-2.el6.noarch 1/102 Updating : glibc-common-2.12-1.25.el6_1.3.x86_64 2/102 Updating : glibc-2.12-1.25.el6_1.3.x86_64 3/102 Updating : krb5-libs-1.9-9.el6_1.1.x86_64 4/102 Updating : openssl-1.0.0-10.el6_1.4.x86_64 5/102 Updating : openldap-2.4.23-15.el6_1.1.x86_64 6/102 Updating : libcurl-7.19.7-26.el6_1.2.x86_64 7/102 Updating : openssh-5.3p1-52.el6_1.2.x86_64 8/102 Updating : 2:libpng-1.2.46-1.el6_1.x86_64 9/102 Updating : 1:dbus-libs-1.2.24-5.el6_1.x86_64 10/102 Updating : freetype-2.3.11-6.el6_1.6.x86_64 11/102 Updating : ghostscript-8.70-11.el6_1.2.x86_64 12/102 Updating : 32:bind-libs-9.7.3-2.el6_1.P3.2.x86_64 13/102 Updating : 32:bind-utils-9.7.3-2.el6_1.P3.2.x86_64 14/102 Updating : krb5-workstation-1.9-9.el6_1.1.x86_64 15/102 Updating : ipa-python-2.0.0-23.el6_1.1.x86_64 16/102 Updating : sssd-client-1.5.1-34.el6_1.3.x86_64 17/102 Updating : sssd-1.5.1-34.el6_1.3.x86_64 18/102 Updating : kernel-firmware-2.6.32-131.12.1.el6.noarch 19/102 Updating : system-config-firewall-base-1.2.27-3.el6_1.3.noarch 20/102 Updating : selinux-policy-3.7.19-93.el6_1.7.noarch 21/102 Updating : kernel-headers-2.6.32-131.12.1.el6.x86_64 22/102 Updating : glibc-headers-2.12-1.25.el6_1.3.x86_64 23/102 Updating : tzdata-java-2011h-2.el6.noarch 24/102 Updating : 1:java-1.6.0-openjdk-1.6.0.0-1.39.1.9.8.el6_1.x86_64 25/102 Updating : glibc-devel-2.12-1.25.el6_1.3.x86_64 26/102 Updating : selinux-policy-targeted-3.7.19-93.el6_1.7.noarch 27/102 Updating : system-config-firewall-tui-1.2.27-3.el6_1.3.noarch 28/102 Installing : kernel-2.6.32-131.12.1.el6.x86_64 29/102 Updating : ipa-client-2.0.0-23.el6_1.1.x86_64 30/102 Updating : foomatic-4.0.4-1.el6_1.1.x86_64 31/102 Updating : libXfont-1.4.1-2.el6_1.x86_64 32/102 Updating : 1:dbus-1.2.24-5.el6_1.x86_64 33/102 Updating : openssh-clients-5.3p1-52.el6_1.2.x86_64 34/102 Updating : openssh-server-5.3p1-52.el6_1.2.x86_64 35/102 Updating : curl-7.19.7-26.el6_1.2.x86_64 36/102 Updating : openldap-clients-2.4.23-15.el6_1.1.x86_64 37/102 Updating : krb5-pkinit-openssl-1.9-9.el6_1.1.x86_64 38/102 Updating : 5:mutt-1.5.20-2.20091214hg736b6a.el6_1.1.x86_64 39/102 Updating : libgcrypt-1.4.5-5.el6_1.2.x86_64 40/102 Updating : nss_db-2.2.3-0.3.pre1.el6_1.1.x86_64 41/102 Updating : python-dmidecode-3.10.12-1.el6_1.1.x86_64 42/102 Updating : openswan-2.6.32-4.el6_1.1.x86_64 43/102 Updating : mdadm-3.2.2-1.el6_1.2.x86_64 44/102 Updating : apr-1.3.9-3.el6_1.2.x86_64 45/102 Updating : 12:dhclient-4.1.1-19.P1.el6_1.1.x86_64 46/102 Updating : rsyslog-4.6.2-3.el6_1.1.x86_64 47/102 Updating : libsndfile-1.0.20-3.el6_1.1.x86_64 48/102 Updating : perf-2.6.32-131.12.1.el6.x86_64 49/102 Updating : iwl5000-firmware-8.83.5.1_1-1.el6_1.1.noarch 50/102 Updating : yum-rhn-plugin-0.9.1-26.el6_1.1.noarch 51/102 Installing : kernel-devel-2.6.32-131.12.1.el6.x86_64 52/102 Cleanup : ipa-client-2.0.0-23.el6.x86_64 53/102 Cleanup : sssd-1.5.1-34.el6.x86_64 54/102 Cleanup : 32:bind-utils-9.7.3-2.el6.x86_64 55/102 Cleanup : openssh-server-5.3p1-52.el6.x86_64 56/102 Cleanup : krb5-pkinit-openssl-1.9-9.el6.x86_64 57/102 Cleanup : 1:java-1.6.0-openjdk-1.6.0.0-1.39.1.9.7.el6.x86_64 58/102 Cleanup : curl-7.19.7-26.el6.x86_64 59/102 Cleanup : openssh-clients-5.3p1-52.el6.x86_64 60/102 Cleanup : glibc-devel-2.12-1.25.el6.x86_64 61/102 Cleanup : openldap-clients-2.4.23-15.el6.x86_64 62/102 Cleanup : openssh-5.3p1-52.el6.x86_64 63/102 Cleanup : libcurl-7.19.7-26.el6.x86_64 64/102 Cleanup : 32:bind-libs-9.7.3-2.el6.x86_64 65/102 Cleanup : krb5-workstation-1.9-9.el6.x86_64 66/102 Cleanup : 1:dbus-1.2.24-4.el6_0.x86_64 67/102 Cleanup : openssl-1.0.0-10.el6.x86_64 68/102 Cleanup : libXfont-1.4.1-1.el6.x86_64 69/102 Cleanup : 5:mutt-1.5.20-2.20091214hg736b6a.el6.x86_64 70/102 Cleanup : glibc-headers-2.12-1.25.el6.x86_64 71/102 Cleanup : foomatic-4.0.4-1.el6.x86_64 72/102 Cleanup : perf-2.6.32-131.4.1.el6.x86_64 73/102 Cleanup : selinux-policy-targeted-3.7.19-93.el6.noarch 74/102 Cleanup : system-config-firewall-tui-1.2.27-3.el6_0.2.noarch 75/102 Cleanup : ghostscript-8.70-11.el6.x86_64 76/102 Cleanup : krb5-libs-1.9-9.el6.x86_64 77/102 Cleanup : 2:libpng-1.2.44-1.el6.x86_64 78/102 Cleanup : freetype-2.3.11-6.el6_0.2.x86_64 79/102 Cleanup : 1:dbus-libs-1.2.24-4.el6_0.x86_64 80/102 Cleanup : openldap-2.4.23-15.el6.x86_64 81/102 Cleanup : sssd-client-1.5.1-34.el6.x86_64 82/102 Cleanup : ipa-python-2.0.0-23.el6.x86_64 83/102 Cleanup : libsndfile-1.0.20-3.el6.x86_64 84/102 Cleanup : rsyslog-4.6.2-3.el6.x86_64 85/102 Cleanup : 12:dhclient-4.1.1-19.P1.el6.x86_64 86/102 Cleanup : apr-1.3.9-3.el6.x86_64 87/102 Cleanup : mdadm-3.2.1-1.el6.x86_64 88/102 Cleanup : openswan-2.6.32-4.el6.x86_64 89/102 Cleanup : python-dmidecode-3.10.12-1.el6.x86_64 90/102 Cleanup : nss_db-2.2.3-0.3.pre1.el6.x86_64 91/102 Cleanup : libgcrypt-1.4.5-5.el6.x86_64 92/102 Cleanup : system-config-firewall-base-1.2.27-3.el6_0.2.noarch 93/102 Cleanup : selinux-policy-3.7.19-93.el6.noarch 94/102 Cleanup : kernel-headers-2.6.32-131.4.1.el6.x86_64 95/102 Cleanup : tzdata-java-2011g-1.el6.noarch 96/102 Cleanup : iwl5000-firmware-8.24.2.12-3.el6.noarch 97/102 Cleanup : kernel-firmware-2.6.32-131.4.1.el6.noarch 98/102 Cleanup : yum-rhn-plugin-0.9.1-26.el6.noarch 99/102 Cleanup : glibc-common-2.12-1.25.el6.x86_64 100/102 Cleanup : glibc-2.12-1.25.el6.x86_64 101/102 Cleanup : tzdata-2011g-1.el6.noarch 102/102 Installed: kernel.x86_64 0:2.6.32-131.12.1.el6 kernel-devel.x86_64 0:2.6.32-131.12.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.2 dbus.x86_64 1:1.2.24-5.el6_1 dbus-libs.x86_64 1:1.2.24-5.el6_1 dhclient.x86_64 12:4.1.1-19.P1.el6_1.1 foomatic.x86_64 0:4.0.4-1.el6_1.1 freetype.x86_64 0:2.3.11-6.el6_1.6 ghostscript.x86_64 0:8.70-11.el6_1.2 glibc.x86_64 0:2.12-1.25.el6_1.3 glibc-common.x86_64 0:2.12-1.25.el6_1.3 glibc-devel.x86_64 0:2.12-1.25.el6_1.3 glibc-headers.x86_64 0:2.12-1.25.el6_1.3 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.12.1.el6 kernel-headers.x86_64 0:2.6.32-131.12.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 libXfont.x86_64 0:1.4.1-2.el6_1 libcurl.x86_64 0:7.19.7-26.el6_1.2 libgcrypt.x86_64 0:1.4.5-5.el6_1.2 libpng.x86_64 2:1.2.46-1.el6_1 libsndfile.x86_64 0:1.0.20-3.el6_1.1 mdadm.x86_64 0:3.2.2-1.el6_1.2 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 openldap.x86_64 0:2.4.23-15.el6_1.1 openldap-clients.x86_64 0:2.4.23-15.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.12.1.el6 python-dmidecode.x86_64 0:3.10.12-1.el6_1.1 rsyslog.x86_64 0:4.6.2-3.el6_1.1 selinux-policy.noarch 0:3.7.19-93.el6_1.7 selinux-policy-targeted.noarch 0:3.7.19-93.el6_1.7 sssd.x86_64 0:1.5.1-34.el6_1.3 sssd-client.x86_64 0:1.5.1-34.el6_1.3 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 tzdata.noarch 0:2011h-2.el6 tzdata-java.noarch 0:2011h-2.el6 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 ## Summary ## FAILURES = 1 FAILED TESTS = ## Verify turning on/off swap file ... LOG FILE = /root/valid/src/validate.log ## Summary ## ###################################################################################### # NEW TEST: ## Open a bugzilla ###################################################################################### IMAGE ID= IGNOREami-5e837b37_us-east-1_m1.large ###################################################################################### # NEW TEST: ## Open a bugzilla ###################################################################################### ###################################################################################### # NEW TEST: Fetching Host Details ###################################################################################### This Host => ip-10-64-69-127 with Image Id : ami-5e837b37, is launched with Instance Id : i-9d978efc , Instance Type : m1.large and Arch : x86_64 in the Region : us-east-1a This is a Hourly image /root/valid/src ip-10-64-69-127 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: ## Verify turning on/off swap file ... ###################################################################################### COMMAND: /sbin/swapoff && /sbin/swapon Usage: swapoff -a [-v] disable all swaps swapoff [-v] <special> disable given swap swapoff -h display help swapoff -V display version The <special> parameter: {-L label | LABEL=label} LABEL of device to be used {-U uuid | UUID=uuid} UUID of device to be used <device> name of device to be used <file> name of file to be used RESULT: EXPECTED RESULT: RETURN CODE: 2 FAIL ###################################################################################### # 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 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,288 repolist: 8,679 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.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-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.3 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.3 rhui-us-east-rhel-server-updates 2.4 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.3 rhui-us-east-rhel-server-updates 89 k Transaction Summary ================================================================================ Install 23 Package(s) Upgrade 2 Package(s) Total download size: 23 M Downloading Packages: -------------------------------------------------------------------------------- Total 4.8 MB/s | 23 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.3.x86_64 6/27 Installing : systemtap-1.4-6.el6_1.3.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 Installing : diffstat-1.51-2.el6.x86_64 22/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 : systemtap-runtime-1.4-6.el6.x86_64 26/27 Cleanup : subversion-1.6.11-2.el6_0.3.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.3 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.3 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.2 will be an update ---> Package dbus.x86_64 1:1.2.24-4.el6_0 will be updated ---> Package dbus.x86_64 1:1.2.24-5.el6_1 will be an update ---> Package dbus-libs.x86_64 1:1.2.24-4.el6_0 will be updated ---> Package dbus-libs.x86_64 1:1.2.24-5.el6_1 will be an update ---> Package dhclient.x86_64 12:4.1.1-19.P1.el6 will be updated ---> Package dhclient.x86_64 12:4.1.1-19.P1.el6_1.1 will be an update ---> Package foomatic.x86_64 0:4.0.4-1.el6 will be updated ---> Package foomatic.x86_64 0:4.0.4-1.el6_1.1 will be an update ---> Package freetype.x86_64 0:2.3.11-6.el6_0.2 will be updated ---> Package freetype.x86_64 0:2.3.11-6.el6_1.6 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 glibc.x86_64 0:2.12-1.25.el6 will be updated ---> Package glibc.x86_64 0:2.12-1.25.el6_1.3 will be an update ---> Package glibc-common.x86_64 0:2.12-1.25.el6 will be updated ---> Package glibc-common.x86_64 0:2.12-1.25.el6_1.3 will be an update ---> Package glibc-devel.x86_64 0:2.12-1.25.el6 will be updated ---> Package glibc-devel.x86_64 0:2.12-1.25.el6_1.3 will be an update ---> Package glibc-headers.x86_64 0:2.12-1.25.el6 will be updated ---> Package glibc-headers.x86_64 0:2.12-1.25.el6_1.3 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.12.1.el6 will be installed ---> Package kernel-devel.x86_64 0:2.6.32-131.12.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.12.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.12.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 libXfont.x86_64 0:1.4.1-1.el6 will be updated ---> Package libXfont.x86_64 0:1.4.1-2.el6_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.2 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 libpng.x86_64 2:1.2.44-1.el6 will be updated ---> Package libpng.x86_64 2:1.2.46-1.el6_1 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 mdadm.x86_64 0:3.2.1-1.el6 will be updated ---> Package mdadm.x86_64 0:3.2.2-1.el6_1.2 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 openldap.x86_64 0:2.4.23-15.el6 will be updated ---> Package openldap.x86_64 0:2.4.23-15.el6_1.1 will be an update ---> Package openldap-clients.x86_64 0:2.4.23-15.el6 will be updated ---> Package openldap-clients.x86_64 0:2.4.23-15.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.12.1.el6 will be an update ---> Package python-dmidecode.x86_64 0:3.10.12-1.el6 will be updated ---> Package python-dmidecode.x86_64 0:3.10.12-1.el6_1.1 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.7 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.7 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.3 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.3 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 tzdata.noarch 0:2011g-1.el6 will be updated ---> Package tzdata.noarch 0:2011h-2.el6 will be an update ---> Package tzdata-java.noarch 0:2011g-1.el6 will be updated ---> Package tzdata-java.noarch 0:2011h-2.el6 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.12.1.el6 rhui-us-east-rhel-server-updates 23 M kernel-devel x86_64 2.6.32-131.12.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.2 rhui-us-east-rhel-server-updates 191 k dbus x86_64 1:1.2.24-5.el6_1 rhui-us-east-rhel-server-updates 207 k dbus-libs x86_64 1:1.2.24-5.el6_1 rhui-us-east-rhel-server-updates 126 k dhclient x86_64 12:4.1.1-19.P1.el6_1.1 rhui-us-east-rhel-server-updates 377 k foomatic x86_64 4.0.4-1.el6_1.1 rhui-us-east-rhel-server-updates 251 k freetype x86_64 2.3.11-6.el6_1.6 rhui-us-east-rhel-server-updates 358 k ghostscript x86_64 8.70-11.el6_1.2 rhui-us-east-rhel-server-updates 4.4 M glibc x86_64 2.12-1.25.el6_1.3 rhui-us-east-rhel-server-updates 3.8 M glibc-common x86_64 2.12-1.25.el6_1.3 rhui-us-east-rhel-server-updates 14 M glibc-devel x86_64 2.12-1.25.el6_1.3 rhui-us-east-rhel-server-updates 963 k glibc-headers x86_64 2.12-1.25.el6_1.3 rhui-us-east-rhel-server-updates 594 k 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.12.1.el6 rhui-us-east-rhel-server-updates 2.5 M kernel-headers x86_64 2.6.32-131.12.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 libXfont x86_64 1.4.1-2.el6_1 rhui-us-east-rhel-server-updates 128 k libcurl x86_64 7.19.7-26.el6_1.2 rhui-us-east-rhel-server-updates 163 k libgcrypt x86_64 1.4.5-5.el6_1.2 rhui-us-east-rhel-server-updates 228 k libpng x86_64 2:1.2.46-1.el6_1 rhui-us-east-rhel-server-updates 180 k libsndfile x86_64 1.0.20-3.el6_1.1 rhui-us-east-rhel-server-updates 223 k mdadm x86_64 3.2.2-1.el6_1.2 rhui-us-east-rhel-server-updates 314 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 openldap x86_64 2.4.23-15.el6_1.1 rhui-us-east-rhel-server-updates 254 k openldap-clients x86_64 2.4.23-15.el6_1.1 rhui-us-east-rhel-server-updates 158 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.12.1.el6 rhui-us-east-rhel-server-updates 998 k python-dmidecode x86_64 3.10.12-1.el6_1.1 rhui-us-east-rhel-server-updates 79 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.7 rhui-us-east-rhel-server-updates 742 k selinux-policy-targeted noarch 3.7.19-93.el6_1.7 rhui-us-east-rhel-server-updates 2.4 M sssd x86_64 1.5.1-34.el6_1.3 rhui-us-east-rhel-server-updates 902 k sssd-client x86_64 1.5.1-34.el6_1.3 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 tzdata noarch 2011h-2.el6 rhui-us-east-rhel-server-updates 439 k tzdata-java noarch 2011h-2.el6 rhui-us-east-rhel-server-updates 150 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 50 Package(s) Total download size: 101 M Downloading Packages: -------------------------------------------------------------------------------- Total 4.4 MB/s | 101 MB 00:22 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Updating : tzdata-2011h-2.el6.noarch 1/102 Updating : glibc-common-2.12-1.25.el6_1.3.x86_64 2/102 Updating : glibc-2.12-1.25.el6_1.3.x86_64 3/102 Updating : krb5-libs-1.9-9.el6_1.1.x86_64 4/102 Updating : openssl-1.0.0-10.el6_1.4.x86_64 5/102 Updating : openldap-2.4.23-15.el6_1.1.x86_64 6/102 Updating : libcurl-7.19.7-26.el6_1.2.x86_64 7/102 Updating : openssh-5.3p1-52.el6_1.2.x86_64 8/102 Updating : 2:libpng-1.2.46-1.el6_1.x86_64 9/102 Updating : 1:dbus-libs-1.2.24-5.el6_1.x86_64 10/102 Updating : freetype-2.3.11-6.el6_1.6.x86_64 11/102 Updating : ghostscript-8.70-11.el6_1.2.x86_64 12/102 Updating : 32:bind-libs-9.7.3-2.el6_1.P3.2.x86_64 13/102 Updating : 32:bind-utils-9.7.3-2.el6_1.P3.2.x86_64 14/102 Updating : krb5-workstation-1.9-9.el6_1.1.x86_64 15/102 Updating : ipa-python-2.0.0-23.el6_1.1.x86_64 16/102 Updating : sssd-client-1.5.1-34.el6_1.3.x86_64 17/102 Updating : sssd-1.5.1-34.el6_1.3.x86_64 18/102 Updating : kernel-firmware-2.6.32-131.12.1.el6.noarch 19/102 Updating : system-config-firewall-base-1.2.27-3.el6_1.3.noarch 20/102 Updating : selinux-policy-3.7.19-93.el6_1.7.noarch 21/102 Updating : kernel-headers-2.6.32-131.12.1.el6.x86_64 22/102 Updating : glibc-headers-2.12-1.25.el6_1.3.x86_64 23/102 Updating : tzdata-java-2011h-2.el6.noarch 24/102 Updating : 1:java-1.6.0-openjdk-1.6.0.0-1.39.1.9.8.el6_1.x86_64 25/102 Updating : glibc-devel-2.12-1.25.el6_1.3.x86_64 26/102 Updating : selinux-policy-targeted-3.7.19-93.el6_1.7.noarch 27/102 Updating : system-config-firewall-tui-1.2.27-3.el6_1.3.noarch 28/102 Installing : kernel-2.6.32-131.12.1.el6.x86_64 29/102 Updating : ipa-client-2.0.0-23.el6_1.1.x86_64 30/102 Updating : foomatic-4.0.4-1.el6_1.1.x86_64 31/102 Updating : libXfont-1.4.1-2.el6_1.x86_64 32/102 Updating : 1:dbus-1.2.24-5.el6_1.x86_64 33/102 Updating : openssh-clients-5.3p1-52.el6_1.2.x86_64 34/102 Updating : openssh-server-5.3p1-52.el6_1.2.x86_64 35/102 Updating : curl-7.19.7-26.el6_1.2.x86_64 36/102 Updating : openldap-clients-2.4.23-15.el6_1.1.x86_64 37/102 Updating : krb5-pkinit-openssl-1.9-9.el6_1.1.x86_64 38/102 Updating : 5:mutt-1.5.20-2.20091214hg736b6a.el6_1.1.x86_64 39/102 Updating : libgcrypt-1.4.5-5.el6_1.2.x86_64 40/102 Updating : nss_db-2.2.3-0.3.pre1.el6_1.1.x86_64 41/102 Updating : python-dmidecode-3.10.12-1.el6_1.1.x86_64 42/102 Updating : openswan-2.6.32-4.el6_1.1.x86_64 43/102 Updating : mdadm-3.2.2-1.el6_1.2.x86_64 44/102 Updating : apr-1.3.9-3.el6_1.2.x86_64 45/102 Updating : 12:dhclient-4.1.1-19.P1.el6_1.1.x86_64 46/102 Updating : rsyslog-4.6.2-3.el6_1.1.x86_64 47/102 Updating : libsndfile-1.0.20-3.el6_1.1.x86_64 48/102 Updating : perf-2.6.32-131.12.1.el6.x86_64 49/102 Updating : iwl5000-firmware-8.83.5.1_1-1.el6_1.1.noarch 50/102 Updating : yum-rhn-plugin-0.9.1-26.el6_1.1.noarch 51/102 Installing : kernel-devel-2.6.32-131.12.1.el6.x86_64 52/102 Cleanup : ipa-client-2.0.0-23.el6.x86_64 53/102 Cleanup : sssd-1.5.1-34.el6.x86_64 54/102 Cleanup : 32:bind-utils-9.7.3-2.el6.x86_64 55/102 Cleanup : openssh-server-5.3p1-52.el6.x86_64 56/102 Cleanup : krb5-pkinit-openssl-1.9-9.el6.x86_64 57/102 Cleanup : 1:java-1.6.0-openjdk-1.6.0.0-1.39.1.9.7.el6.x86_64 58/102 Cleanup : curl-7.19.7-26.el6.x86_64 59/102 Cleanup : openssh-clients-5.3p1-52.el6.x86_64 60/102 Cleanup : glibc-devel-2.12-1.25.el6.x86_64 61/102 Cleanup : openldap-clients-2.4.23-15.el6.x86_64 62/102 Cleanup : openssh-5.3p1-52.el6.x86_64 63/102 Cleanup : libcurl-7.19.7-26.el6.x86_64 64/102 Cleanup : 32:bind-libs-9.7.3-2.el6.x86_64 65/102 Cleanup : krb5-workstation-1.9-9.el6.x86_64 66/102 Cleanup : 1:dbus-1.2.24-4.el6_0.x86_64 67/102 Cleanup : openssl-1.0.0-10.el6.x86_64 68/102 Cleanup : libXfont-1.4.1-1.el6.x86_64 69/102 Cleanup : 5:mutt-1.5.20-2.20091214hg736b6a.el6.x86_64 70/102 Cleanup : glibc-headers-2.12-1.25.el6.x86_64 71/102 Cleanup : foomatic-4.0.4-1.el6.x86_64 72/102 Cleanup : perf-2.6.32-131.4.1.el6.x86_64 73/102 Cleanup : selinux-policy-targeted-3.7.19-93.el6.noarch 74/102 Cleanup : system-config-firewall-tui-1.2.27-3.el6_0.2.noarch 75/102 Cleanup : ghostscript-8.70-11.el6.x86_64 76/102 Cleanup : krb5-libs-1.9-9.el6.x86_64 77/102 Cleanup : 2:libpng-1.2.44-1.el6.x86_64 78/102 Cleanup : freetype-2.3.11-6.el6_0.2.x86_64 79/102 Cleanup : 1:dbus-libs-1.2.24-4.el6_0.x86_64 80/102 Cleanup : openldap-2.4.23-15.el6.x86_64 81/102 Cleanup : sssd-client-1.5.1-34.el6.x86_64 82/102 Cleanup : ipa-python-2.0.0-23.el6.x86_64 83/102 Cleanup : libsndfile-1.0.20-3.el6.x86_64 84/102 Cleanup : rsyslog-4.6.2-3.el6.x86_64 85/102 Cleanup : 12:dhclient-4.1.1-19.P1.el6.x86_64 86/102 Cleanup : apr-1.3.9-3.el6.x86_64 87/102 Cleanup : mdadm-3.2.1-1.el6.x86_64 88/102 Cleanup : openswan-2.6.32-4.el6.x86_64 89/102 Cleanup : python-dmidecode-3.10.12-1.el6.x86_64 90/102 Cleanup : nss_db-2.2.3-0.3.pre1.el6.x86_64 91/102 Cleanup : libgcrypt-1.4.5-5.el6.x86_64 92/102 Cleanup : system-config-firewall-base-1.2.27-3.el6_0.2.noarch 93/102 Cleanup : selinux-policy-3.7.19-93.el6.noarch 94/102 Cleanup : kernel-headers-2.6.32-131.4.1.el6.x86_64 95/102 Cleanup : tzdata-java-2011g-1.el6.noarch 96/102 Cleanup : iwl5000-firmware-8.24.2.12-3.el6.noarch 97/102 Cleanup : kernel-firmware-2.6.32-131.4.1.el6.noarch 98/102 Cleanup : yum-rhn-plugin-0.9.1-26.el6.noarch 99/102 Cleanup : glibc-common-2.12-1.25.el6.x86_64 100/102 Cleanup : glibc-2.12-1.25.el6.x86_64 101/102 Cleanup : tzdata-2011g-1.el6.noarch 102/102 Installed: kernel.x86_64 0:2.6.32-131.12.1.el6 kernel-devel.x86_64 0:2.6.32-131.12.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.2 dbus.x86_64 1:1.2.24-5.el6_1 dbus-libs.x86_64 1:1.2.24-5.el6_1 dhclient.x86_64 12:4.1.1-19.P1.el6_1.1 foomatic.x86_64 0:4.0.4-1.el6_1.1 freetype.x86_64 0:2.3.11-6.el6_1.6 ghostscript.x86_64 0:8.70-11.el6_1.2 glibc.x86_64 0:2.12-1.25.el6_1.3 glibc-common.x86_64 0:2.12-1.25.el6_1.3 glibc-devel.x86_64 0:2.12-1.25.el6_1.3 glibc-headers.x86_64 0:2.12-1.25.el6_1.3 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.12.1.el6 kernel-headers.x86_64 0:2.6.32-131.12.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 libXfont.x86_64 0:1.4.1-2.el6_1 libcurl.x86_64 0:7.19.7-26.el6_1.2 libgcrypt.x86_64 0:1.4.5-5.el6_1.2 libpng.x86_64 2:1.2.46-1.el6_1 libsndfile.x86_64 0:1.0.20-3.el6_1.1 mdadm.x86_64 0:3.2.2-1.el6_1.2 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 openldap.x86_64 0:2.4.23-15.el6_1.1 openldap-clients.x86_64 0:2.4.23-15.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.12.1.el6 python-dmidecode.x86_64 0:3.10.12-1.el6_1.1 rsyslog.x86_64 0:4.6.2-3.el6_1.1 selinux-policy.noarch 0:3.7.19-93.el6_1.7 selinux-policy-targeted.noarch 0:3.7.19-93.el6_1.7 sssd.x86_64 0:1.5.1-34.el6_1.3 sssd-client.x86_64 0:1.5.1-34.el6_1.3 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 tzdata.noarch 0:2011h-2.el6 tzdata-java.noarch 0:2011h-2.el6 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 ## Summary ## FAILURES = 1 FAILED TESTS = ## Verify turning on/off swap file ... LOG FILE = /root/valid/src/validate.log ## Summary ## ###################################################################################### # NEW TEST: ## Open a bugzilla ###################################################################################### IMAGE ID= IGNOREami-5e837b37_us-east-1_m2.4xlarge ###################################################################################### # NEW TEST: ## Open a bugzilla ###################################################################################### ###################################################################################### # NEW TEST: Fetching Host Details ###################################################################################### This Host => domU-12-31-39-18-0A-1D with Image Id : ami-5e837b37, is launched with Instance Id : i-b1968fd0 , Instance Type : m2.4xlarge and Arch : x86_64 in the Region : us-east-1a This is a Hourly image /root/valid/src domU-12-31-39-18-0A-1D 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: ## Verify turning on/off swap file ... ###################################################################################### COMMAND: /sbin/swapoff && /sbin/swapon Usage: swapoff -a [-v] disable all swaps swapoff [-v] <special> disable given swap swapoff -h display help swapoff -V display version The <special> parameter: {-L label | LABEL=label} LABEL of device to be used {-U uuid | UUID=uuid} UUID of device to be used <device> name of device to be used <file> name of file to be used RESULT: EXPECTED RESULT: RETURN CODE: 2 FAIL ###################################################################################### # 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 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,288 repolist: 8,679 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.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-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.3 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.3 rhui-us-east-rhel-server-updates 2.4 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.3 rhui-us-east-rhel-server-updates 89 k Transaction Summary ================================================================================ Install 23 Package(s) Upgrade 2 Package(s) Total download size: 23 M Downloading Packages: -------------------------------------------------------------------------------- Total 4.9 MB/s | 23 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.3.x86_64 6/27 Installing : systemtap-1.4-6.el6_1.3.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 Installing : diffstat-1.51-2.el6.x86_64 22/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 : systemtap-runtime-1.4-6.el6.x86_64 26/27 Cleanup : subversion-1.6.11-2.el6_0.3.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.3 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.3 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.2 will be an update ---> Package dbus.x86_64 1:1.2.24-4.el6_0 will be updated ---> Package dbus.x86_64 1:1.2.24-5.el6_1 will be an update ---> Package dbus-libs.x86_64 1:1.2.24-4.el6_0 will be updated ---> Package dbus-libs.x86_64 1:1.2.24-5.el6_1 will be an update ---> Package dhclient.x86_64 12:4.1.1-19.P1.el6 will be updated ---> Package dhclient.x86_64 12:4.1.1-19.P1.el6_1.1 will be an update ---> Package foomatic.x86_64 0:4.0.4-1.el6 will be updated ---> Package foomatic.x86_64 0:4.0.4-1.el6_1.1 will be an update ---> Package freetype.x86_64 0:2.3.11-6.el6_0.2 will be updated ---> Package freetype.x86_64 0:2.3.11-6.el6_1.6 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 glibc.x86_64 0:2.12-1.25.el6 will be updated ---> Package glibc.x86_64 0:2.12-1.25.el6_1.3 will be an update ---> Package glibc-common.x86_64 0:2.12-1.25.el6 will be updated ---> Package glibc-common.x86_64 0:2.12-1.25.el6_1.3 will be an update ---> Package glibc-devel.x86_64 0:2.12-1.25.el6 will be updated ---> Package glibc-devel.x86_64 0:2.12-1.25.el6_1.3 will be an update ---> Package glibc-headers.x86_64 0:2.12-1.25.el6 will be updated ---> Package glibc-headers.x86_64 0:2.12-1.25.el6_1.3 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.12.1.el6 will be installed ---> Package kernel-devel.x86_64 0:2.6.32-131.12.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.12.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.12.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 libXfont.x86_64 0:1.4.1-1.el6 will be updated ---> Package libXfont.x86_64 0:1.4.1-2.el6_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.2 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 libpng.x86_64 2:1.2.44-1.el6 will be updated ---> Package libpng.x86_64 2:1.2.46-1.el6_1 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 mdadm.x86_64 0:3.2.1-1.el6 will be updated ---> Package mdadm.x86_64 0:3.2.2-1.el6_1.2 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 openldap.x86_64 0:2.4.23-15.el6 will be updated ---> Package openldap.x86_64 0:2.4.23-15.el6_1.1 will be an update ---> Package openldap-clients.x86_64 0:2.4.23-15.el6 will be updated ---> Package openldap-clients.x86_64 0:2.4.23-15.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.12.1.el6 will be an update ---> Package python-dmidecode.x86_64 0:3.10.12-1.el6 will be updated ---> Package python-dmidecode.x86_64 0:3.10.12-1.el6_1.1 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.7 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.7 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.3 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.3 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 tzdata.noarch 0:2011g-1.el6 will be updated ---> Package tzdata.noarch 0:2011h-2.el6 will be an update ---> Package tzdata-java.noarch 0:2011g-1.el6 will be updated ---> Package tzdata-java.noarch 0:2011h-2.el6 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.12.1.el6 rhui-us-east-rhel-server-updates 23 M kernel-devel x86_64 2.6.32-131.12.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.2 rhui-us-east-rhel-server-updates 191 k dbus x86_64 1:1.2.24-5.el6_1 rhui-us-east-rhel-server-updates 207 k dbus-libs x86_64 1:1.2.24-5.el6_1 rhui-us-east-rhel-server-updates 126 k dhclient x86_64 12:4.1.1-19.P1.el6_1.1 rhui-us-east-rhel-server-updates 377 k foomatic x86_64 4.0.4-1.el6_1.1 rhui-us-east-rhel-server-updates 251 k freetype x86_64 2.3.11-6.el6_1.6 rhui-us-east-rhel-server-updates 358 k ghostscript x86_64 8.70-11.el6_1.2 rhui-us-east-rhel-server-updates 4.4 M glibc x86_64 2.12-1.25.el6_1.3 rhui-us-east-rhel-server-updates 3.8 M glibc-common x86_64 2.12-1.25.el6_1.3 rhui-us-east-rhel-server-updates 14 M glibc-devel x86_64 2.12-1.25.el6_1.3 rhui-us-east-rhel-server-updates 963 k glibc-headers x86_64 2.12-1.25.el6_1.3 rhui-us-east-rhel-server-updates 594 k 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.12.1.el6 rhui-us-east-rhel-server-updates 2.5 M kernel-headers x86_64 2.6.32-131.12.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 libXfont x86_64 1.4.1-2.el6_1 rhui-us-east-rhel-server-updates 128 k libcurl x86_64 7.19.7-26.el6_1.2 rhui-us-east-rhel-server-updates 163 k libgcrypt x86_64 1.4.5-5.el6_1.2 rhui-us-east-rhel-server-updates 228 k libpng x86_64 2:1.2.46-1.el6_1 rhui-us-east-rhel-server-updates 180 k libsndfile x86_64 1.0.20-3.el6_1.1 rhui-us-east-rhel-server-updates 223 k mdadm x86_64 3.2.2-1.el6_1.2 rhui-us-east-rhel-server-updates 314 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 openldap x86_64 2.4.23-15.el6_1.1 rhui-us-east-rhel-server-updates 254 k openldap-clients x86_64 2.4.23-15.el6_1.1 rhui-us-east-rhel-server-updates 158 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.12.1.el6 rhui-us-east-rhel-server-updates 998 k python-dmidecode x86_64 3.10.12-1.el6_1.1 rhui-us-east-rhel-server-updates 79 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.7 rhui-us-east-rhel-server-updates 742 k selinux-policy-targeted noarch 3.7.19-93.el6_1.7 rhui-us-east-rhel-server-updates 2.4 M sssd x86_64 1.5.1-34.el6_1.3 rhui-us-east-rhel-server-updates 902 k sssd-client x86_64 1.5.1-34.el6_1.3 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 tzdata noarch 2011h-2.el6 rhui-us-east-rhel-server-updates 439 k tzdata-java noarch 2011h-2.el6 rhui-us-east-rhel-server-updates 150 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 50 Package(s) Total download size: 101 M Downloading Packages: -------------------------------------------------------------------------------- Total 8.0 MB/s | 101 MB 00:12 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Updating : tzdata-2011h-2.el6.noarch 1/102 Updating : glibc-common-2.12-1.25.el6_1.3.x86_64 2/102 Updating : glibc-2.12-1.25.el6_1.3.x86_64 3/102 Updating : krb5-libs-1.9-9.el6_1.1.x86_64 4/102 Updating : openssl-1.0.0-10.el6_1.4.x86_64 5/102 Updating : openldap-2.4.23-15.el6_1.1.x86_64 6/102 Updating : libcurl-7.19.7-26.el6_1.2.x86_64 7/102 Updating : openssh-5.3p1-52.el6_1.2.x86_64 8/102 Updating : 2:libpng-1.2.46-1.el6_1.x86_64 9/102 Updating : 1:dbus-libs-1.2.24-5.el6_1.x86_64 10/102 Updating : freetype-2.3.11-6.el6_1.6.x86_64 11/102 Updating : ghostscript-8.70-11.el6_1.2.x86_64 12/102 Updating : 32:bind-libs-9.7.3-2.el6_1.P3.2.x86_64 13/102 Updating : 32:bind-utils-9.7.3-2.el6_1.P3.2.x86_64 14/102 Updating : krb5-workstation-1.9-9.el6_1.1.x86_64 15/102 Updating : ipa-python-2.0.0-23.el6_1.1.x86_64 16/102 Updating : sssd-client-1.5.1-34.el6_1.3.x86_64 17/102 Updating : sssd-1.5.1-34.el6_1.3.x86_64 18/102 Updating : kernel-firmware-2.6.32-131.12.1.el6.noarch 19/102 Updating : system-config-firewall-base-1.2.27-3.el6_1.3.noarch 20/102 Updating : selinux-policy-3.7.19-93.el6_1.7.noarch 21/102 Updating : kernel-headers-2.6.32-131.12.1.el6.x86_64 22/102 Updating : glibc-headers-2.12-1.25.el6_1.3.x86_64 23/102 Updating : tzdata-java-2011h-2.el6.noarch 24/102 Updating : 1:java-1.6.0-openjdk-1.6.0.0-1.39.1.9.8.el6_1.x86_64 25/102 Updating : glibc-devel-2.12-1.25.el6_1.3.x86_64 26/102 Updating : selinux-policy-targeted-3.7.19-93.el6_1.7.noarch 27/102 Updating : system-config-firewall-tui-1.2.27-3.el6_1.3.noarch 28/102 Installing : kernel-2.6.32-131.12.1.el6.x86_64 29/102 Updating : ipa-client-2.0.0-23.el6_1.1.x86_64 30/102 Updating : foomatic-4.0.4-1.el6_1.1.x86_64 31/102 Updating : libXfont-1.4.1-2.el6_1.x86_64 32/102 Updating : 1:dbus-1.2.24-5.el6_1.x86_64 33/102 Updating : openssh-clients-5.3p1-52.el6_1.2.x86_64 34/102 Updating : openssh-server-5.3p1-52.el6_1.2.x86_64 35/102 Updating : curl-7.19.7-26.el6_1.2.x86_64 36/102 Updating : openldap-clients-2.4.23-15.el6_1.1.x86_64 37/102 Updating : krb5-pkinit-openssl-1.9-9.el6_1.1.x86_64 38/102 Updating : 5:mutt-1.5.20-2.20091214hg736b6a.el6_1.1.x86_64 39/102 Updating : libgcrypt-1.4.5-5.el6_1.2.x86_64 40/102 Updating : nss_db-2.2.3-0.3.pre1.el6_1.1.x86_64 41/102 Updating : python-dmidecode-3.10.12-1.el6_1.1.x86_64 42/102 Updating : openswan-2.6.32-4.el6_1.1.x86_64 43/102 Updating : mdadm-3.2.2-1.el6_1.2.x86_64 44/102 Updating : apr-1.3.9-3.el6_1.2.x86_64 45/102 Updating : 12:dhclient-4.1.1-19.P1.el6_1.1.x86_64 46/102 Updating : rsyslog-4.6.2-3.el6_1.1.x86_64 47/102 Updating : libsndfile-1.0.20-3.el6_1.1.x86_64 48/102 Updating : perf-2.6.32-131.12.1.el6.x86_64 49/102 Updating : iwl5000-firmware-8.83.5.1_1-1.el6_1.1.noarch 50/102 Updating : yum-rhn-plugin-0.9.1-26.el6_1.1.noarch 51/102 Installing : kernel-devel-2.6.32-131.12.1.el6.x86_64 52/102 Cleanup : ipa-client-2.0.0-23.el6.x86_64 53/102 Cleanup : sssd-1.5.1-34.el6.x86_64 54/102 Cleanup : 32:bind-utils-9.7.3-2.el6.x86_64 55/102 Cleanup : openssh-server-5.3p1-52.el6.x86_64 56/102 Cleanup : krb5-pkinit-openssl-1.9-9.el6.x86_64 57/102 Cleanup : 1:java-1.6.0-openjdk-1.6.0.0-1.39.1.9.7.el6.x86_64 58/102 Cleanup : curl-7.19.7-26.el6.x86_64 59/102 Cleanup : openssh-clients-5.3p1-52.el6.x86_64 60/102 Cleanup : glibc-devel-2.12-1.25.el6.x86_64 61/102 Cleanup : openldap-clients-2.4.23-15.el6.x86_64 62/102 Cleanup : openssh-5.3p1-52.el6.x86_64 63/102 Cleanup : libcurl-7.19.7-26.el6.x86_64 64/102 Cleanup : 32:bind-libs-9.7.3-2.el6.x86_64 65/102 Cleanup : krb5-workstation-1.9-9.el6.x86_64 66/102 Cleanup : 1:dbus-1.2.24-4.el6_0.x86_64 67/102 Cleanup : openssl-1.0.0-10.el6.x86_64 68/102 Cleanup : libXfont-1.4.1-1.el6.x86_64 69/102 Cleanup : 5:mutt-1.5.20-2.20091214hg736b6a.el6.x86_64 70/102 Cleanup : glibc-headers-2.12-1.25.el6.x86_64 71/102 Cleanup : foomatic-4.0.4-1.el6.x86_64 72/102 Cleanup : perf-2.6.32-131.4.1.el6.x86_64 73/102 Cleanup : selinux-policy-targeted-3.7.19-93.el6.noarch 74/102 Cleanup : system-config-firewall-tui-1.2.27-3.el6_0.2.noarch 75/102 Cleanup : ghostscript-8.70-11.el6.x86_64 76/102 Cleanup : krb5-libs-1.9-9.el6.x86_64 77/102 Cleanup : 2:libpng-1.2.44-1.el6.x86_64 78/102 Cleanup : freetype-2.3.11-6.el6_0.2.x86_64 79/102 Cleanup : 1:dbus-libs-1.2.24-4.el6_0.x86_64 80/102 Cleanup : openldap-2.4.23-15.el6.x86_64 81/102 Cleanup : sssd-client-1.5.1-34.el6.x86_64 82/102 Cleanup : ipa-python-2.0.0-23.el6.x86_64 83/102 Cleanup : libsndfile-1.0.20-3.el6.x86_64 84/102 Cleanup : rsyslog-4.6.2-3.el6.x86_64 85/102 Cleanup : 12:dhclient-4.1.1-19.P1.el6.x86_64 86/102 Cleanup : apr-1.3.9-3.el6.x86_64 87/102 Cleanup : mdadm-3.2.1-1.el6.x86_64 88/102 Cleanup : openswan-2.6.32-4.el6.x86_64 89/102 Cleanup : python-dmidecode-3.10.12-1.el6.x86_64 90/102 Cleanup : nss_db-2.2.3-0.3.pre1.el6.x86_64 91/102 Cleanup : libgcrypt-1.4.5-5.el6.x86_64 92/102 Cleanup : system-config-firewall-base-1.2.27-3.el6_0.2.noarch 93/102 Cleanup : selinux-policy-3.7.19-93.el6.noarch 94/102 Cleanup : kernel-headers-2.6.32-131.4.1.el6.x86_64 95/102 Cleanup : tzdata-java-2011g-1.el6.noarch 96/102 Cleanup : iwl5000-firmware-8.24.2.12-3.el6.noarch 97/102 Cleanup : kernel-firmware-2.6.32-131.4.1.el6.noarch 98/102 Cleanup : yum-rhn-plugin-0.9.1-26.el6.noarch 99/102 Cleanup : glibc-common-2.12-1.25.el6.x86_64 100/102 Cleanup : glibc-2.12-1.25.el6.x86_64 101/102 Cleanup : tzdata-2011g-1.el6.noarch 102/102 Installed: kernel.x86_64 0:2.6.32-131.12.1.el6 kernel-devel.x86_64 0:2.6.32-131.12.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.2 dbus.x86_64 1:1.2.24-5.el6_1 dbus-libs.x86_64 1:1.2.24-5.el6_1 dhclient.x86_64 12:4.1.1-19.P1.el6_1.1 foomatic.x86_64 0:4.0.4-1.el6_1.1 freetype.x86_64 0:2.3.11-6.el6_1.6 ghostscript.x86_64 0:8.70-11.el6_1.2 glibc.x86_64 0:2.12-1.25.el6_1.3 glibc-common.x86_64 0:2.12-1.25.el6_1.3 glibc-devel.x86_64 0:2.12-1.25.el6_1.3 glibc-headers.x86_64 0:2.12-1.25.el6_1.3 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.12.1.el6 kernel-headers.x86_64 0:2.6.32-131.12.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 libXfont.x86_64 0:1.4.1-2.el6_1 libcurl.x86_64 0:7.19.7-26.el6_1.2 libgcrypt.x86_64 0:1.4.5-5.el6_1.2 libpng.x86_64 2:1.2.46-1.el6_1 libsndfile.x86_64 0:1.0.20-3.el6_1.1 mdadm.x86_64 0:3.2.2-1.el6_1.2 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 openldap.x86_64 0:2.4.23-15.el6_1.1 openldap-clients.x86_64 0:2.4.23-15.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.12.1.el6 python-dmidecode.x86_64 0:3.10.12-1.el6_1.1 rsyslog.x86_64 0:4.6.2-3.el6_1.1 selinux-policy.noarch 0:3.7.19-93.el6_1.7 selinux-policy-targeted.noarch 0:3.7.19-93.el6_1.7 sssd.x86_64 0:1.5.1-34.el6_1.3 sssd-client.x86_64 0:1.5.1-34.el6_1.3 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 tzdata.noarch 0:2011h-2.el6 tzdata-java.noarch 0:2011h-2.el6 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 ## Summary ## FAILURES = 1 FAILED TESTS = ## Verify turning on/off swap file ... LOG FILE = /root/valid/src/validate.log ## Summary ## ###################################################################################### # NEW TEST: ## Open a bugzilla ###################################################################################### IMAGE ID= IGNOREami-5e837b37_us-east-1_c1.xlarge ###################################################################################### # NEW TEST: ## Open a bugzilla ###################################################################################### ###################################################################################### # NEW TEST: Fetching Host Details ###################################################################################### This Host => domU-12-31-39-0A-B1-51 with Image Id : ami-5e837b37, is launched with Instance Id : i-6f89900e , Instance Type : c1.xlarge and Arch : x86_64 in the Region : us-east-1a This is a Hourly image /root/valid/src domU-12-31-39-0A-B1-51 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: ## Verify turning on/off swap file ... ###################################################################################### COMMAND: /sbin/swapoff && /sbin/swapon Usage: swapoff -a [-v] disable all swaps swapoff [-v] <special> disable given swap swapoff -h display help swapoff -V display version The <special> parameter: {-L label | LABEL=label} LABEL of device to be used {-U uuid | UUID=uuid} UUID of device to be used <device> name of device to be used <file> name of file to be used RESULT: EXPECTED RESULT: RETURN CODE: 2 FAIL ###################################################################################### # 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 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,288 repolist: 8,679 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.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-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.3 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.3 rhui-us-east-rhel-server-updates 2.4 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.3 rhui-us-east-rhel-server-updates 89 k Transaction Summary ================================================================================ Install 23 Package(s) Upgrade 2 Package(s) Total download size: 23 M Downloading Packages: -------------------------------------------------------------------------------- Total 5.1 MB/s | 23 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.3.x86_64 6/27 Installing : systemtap-1.4-6.el6_1.3.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 Installing : diffstat-1.51-2.el6.x86_64 22/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 : systemtap-runtime-1.4-6.el6.x86_64 26/27 Cleanup : subversion-1.6.11-2.el6_0.3.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.3 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.3 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.2 will be an update ---> Package dbus.x86_64 1:1.2.24-4.el6_0 will be updated ---> Package dbus.x86_64 1:1.2.24-5.el6_1 will be an update ---> Package dbus-libs.x86_64 1:1.2.24-4.el6_0 will be updated ---> Package dbus-libs.x86_64 1:1.2.24-5.el6_1 will be an update ---> Package dhclient.x86_64 12:4.1.1-19.P1.el6 will be updated ---> Package dhclient.x86_64 12:4.1.1-19.P1.el6_1.1 will be an update ---> Package foomatic.x86_64 0:4.0.4-1.el6 will be updated ---> Package foomatic.x86_64 0:4.0.4-1.el6_1.1 will be an update ---> Package freetype.x86_64 0:2.3.11-6.el6_0.2 will be updated ---> Package freetype.x86_64 0:2.3.11-6.el6_1.6 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 glibc.x86_64 0:2.12-1.25.el6 will be updated ---> Package glibc.x86_64 0:2.12-1.25.el6_1.3 will be an update ---> Package glibc-common.x86_64 0:2.12-1.25.el6 will be updated ---> Package glibc-common.x86_64 0:2.12-1.25.el6_1.3 will be an update ---> Package glibc-devel.x86_64 0:2.12-1.25.el6 will be updated ---> Package glibc-devel.x86_64 0:2.12-1.25.el6_1.3 will be an update ---> Package glibc-headers.x86_64 0:2.12-1.25.el6 will be updated ---> Package glibc-headers.x86_64 0:2.12-1.25.el6_1.3 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.12.1.el6 will be installed ---> Package kernel-devel.x86_64 0:2.6.32-131.12.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.12.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.12.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 libXfont.x86_64 0:1.4.1-1.el6 will be updated ---> Package libXfont.x86_64 0:1.4.1-2.el6_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.2 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 libpng.x86_64 2:1.2.44-1.el6 will be updated ---> Package libpng.x86_64 2:1.2.46-1.el6_1 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 mdadm.x86_64 0:3.2.1-1.el6 will be updated ---> Package mdadm.x86_64 0:3.2.2-1.el6_1.2 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 openldap.x86_64 0:2.4.23-15.el6 will be updated ---> Package openldap.x86_64 0:2.4.23-15.el6_1.1 will be an update ---> Package openldap-clients.x86_64 0:2.4.23-15.el6 will be updated ---> Package openldap-clients.x86_64 0:2.4.23-15.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.12.1.el6 will be an update ---> Package python-dmidecode.x86_64 0:3.10.12-1.el6 will be updated ---> Package python-dmidecode.x86_64 0:3.10.12-1.el6_1.1 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.7 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.7 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.3 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.3 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 tzdata.noarch 0:2011g-1.el6 will be updated ---> Package tzdata.noarch 0:2011h-2.el6 will be an update ---> Package tzdata-java.noarch 0:2011g-1.el6 will be updated ---> Package tzdata-java.noarch 0:2011h-2.el6 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.12.1.el6 rhui-us-east-rhel-server-updates 23 M kernel-devel x86_64 2.6.32-131.12.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.2 rhui-us-east-rhel-server-updates 191 k dbus x86_64 1:1.2.24-5.el6_1 rhui-us-east-rhel-server-updates 207 k dbus-libs x86_64 1:1.2.24-5.el6_1 rhui-us-east-rhel-server-updates 126 k dhclient x86_64 12:4.1.1-19.P1.el6_1.1 rhui-us-east-rhel-server-updates 377 k foomatic x86_64 4.0.4-1.el6_1.1 rhui-us-east-rhel-server-updates 251 k freetype x86_64 2.3.11-6.el6_1.6 rhui-us-east-rhel-server-updates 358 k ghostscript x86_64 8.70-11.el6_1.2 rhui-us-east-rhel-server-updates 4.4 M glibc x86_64 2.12-1.25.el6_1.3 rhui-us-east-rhel-server-updates 3.8 M glibc-common x86_64 2.12-1.25.el6_1.3 rhui-us-east-rhel-server-updates 14 M glibc-devel x86_64 2.12-1.25.el6_1.3 rhui-us-east-rhel-server-updates 963 k glibc-headers x86_64 2.12-1.25.el6_1.3 rhui-us-east-rhel-server-updates 594 k 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.12.1.el6 rhui-us-east-rhel-server-updates 2.5 M kernel-headers x86_64 2.6.32-131.12.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 libXfont x86_64 1.4.1-2.el6_1 rhui-us-east-rhel-server-updates 128 k libcurl x86_64 7.19.7-26.el6_1.2 rhui-us-east-rhel-server-updates 163 k libgcrypt x86_64 1.4.5-5.el6_1.2 rhui-us-east-rhel-server-updates 228 k libpng x86_64 2:1.2.46-1.el6_1 rhui-us-east-rhel-server-updates 180 k libsndfile x86_64 1.0.20-3.el6_1.1 rhui-us-east-rhel-server-updates 223 k mdadm x86_64 3.2.2-1.el6_1.2 rhui-us-east-rhel-server-updates 314 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 openldap x86_64 2.4.23-15.el6_1.1 rhui-us-east-rhel-server-updates 254 k openldap-clients x86_64 2.4.23-15.el6_1.1 rhui-us-east-rhel-server-updates 158 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.12.1.el6 rhui-us-east-rhel-server-updates 998 k python-dmidecode x86_64 3.10.12-1.el6_1.1 rhui-us-east-rhel-server-updates 79 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.7 rhui-us-east-rhel-server-updates 742 k selinux-policy-targeted noarch 3.7.19-93.el6_1.7 rhui-us-east-rhel-server-updates 2.4 M sssd x86_64 1.5.1-34.el6_1.3 rhui-us-east-rhel-server-updates 902 k sssd-client x86_64 1.5.1-34.el6_1.3 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 tzdata noarch 2011h-2.el6 rhui-us-east-rhel-server-updates 439 k tzdata-java noarch 2011h-2.el6 rhui-us-east-rhel-server-updates 150 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 50 Package(s) Total download size: 101 M Downloading Packages: -------------------------------------------------------------------------------- Total 7.7 MB/s | 101 MB 00:13 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Updating : tzdata-2011h-2.el6.noarch 1/102 Updating : glibc-common-2.12-1.25.el6_1.3.x86_64 2/102 Updating : glibc-2.12-1.25.el6_1.3.x86_64 3/102 Updating : krb5-libs-1.9-9.el6_1.1.x86_64 4/102 Updating : openssl-1.0.0-10.el6_1.4.x86_64 5/102 Updating : openldap-2.4.23-15.el6_1.1.x86_64 6/102 Updating : libcurl-7.19.7-26.el6_1.2.x86_64 7/102 Updating : openssh-5.3p1-52.el6_1.2.x86_64 8/102 Updating : 2:libpng-1.2.46-1.el6_1.x86_64 9/102 Updating : 1:dbus-libs-1.2.24-5.el6_1.x86_64 10/102 Updating : freetype-2.3.11-6.el6_1.6.x86_64 11/102 Updating : ghostscript-8.70-11.el6_1.2.x86_64 12/102 Updating : 32:bind-libs-9.7.3-2.el6_1.P3.2.x86_64 13/102 Updating : 32:bind-utils-9.7.3-2.el6_1.P3.2.x86_64 14/102 Updating : krb5-workstation-1.9-9.el6_1.1.x86_64 15/102 Updating : ipa-python-2.0.0-23.el6_1.1.x86_64 16/102 Updating : sssd-client-1.5.1-34.el6_1.3.x86_64 17/102 Updating : sssd-1.5.1-34.el6_1.3.x86_64 18/102 Updating : kernel-firmware-2.6.32-131.12.1.el6.noarch 19/102 Updating : system-config-firewall-base-1.2.27-3.el6_1.3.noarch 20/102 Updating : selinux-policy-3.7.19-93.el6_1.7.noarch 21/102 Updating : kernel-headers-2.6.32-131.12.1.el6.x86_64 22/102 Updating : glibc-headers-2.12-1.25.el6_1.3.x86_64 23/102 Updating : tzdata-java-2011h-2.el6.noarch 24/102 Updating : 1:java-1.6.0-openjdk-1.6.0.0-1.39.1.9.8.el6_1.x86_64 25/102 Updating : glibc-devel-2.12-1.25.el6_1.3.x86_64 26/102 Updating : selinux-policy-targeted-3.7.19-93.el6_1.7.noarch 27/102 Updating : system-config-firewall-tui-1.2.27-3.el6_1.3.noarch 28/102 Installing : kernel-2.6.32-131.12.1.el6.x86_64 29/102 Updating : ipa-client-2.0.0-23.el6_1.1.x86_64 30/102 Updating : foomatic-4.0.4-1.el6_1.1.x86_64 31/102 Updating : libXfont-1.4.1-2.el6_1.x86_64 32/102 Updating : 1:dbus-1.2.24-5.el6_1.x86_64 33/102 Updating : openssh-clients-5.3p1-52.el6_1.2.x86_64 34/102 Updating : openssh-server-5.3p1-52.el6_1.2.x86_64 35/102 Updating : curl-7.19.7-26.el6_1.2.x86_64 36/102 Updating : openldap-clients-2.4.23-15.el6_1.1.x86_64 37/102 Updating : krb5-pkinit-openssl-1.9-9.el6_1.1.x86_64 38/102 Updating : 5:mutt-1.5.20-2.20091214hg736b6a.el6_1.1.x86_64 39/102 Updating : libgcrypt-1.4.5-5.el6_1.2.x86_64 40/102 Updating : nss_db-2.2.3-0.3.pre1.el6_1.1.x86_64 41/102 Updating : python-dmidecode-3.10.12-1.el6_1.1.x86_64 42/102 Updating : openswan-2.6.32-4.el6_1.1.x86_64 43/102 Updating : mdadm-3.2.2-1.el6_1.2.x86_64 44/102 Updating : apr-1.3.9-3.el6_1.2.x86_64 45/102 Updating : 12:dhclient-4.1.1-19.P1.el6_1.1.x86_64 46/102 Updating : rsyslog-4.6.2-3.el6_1.1.x86_64 47/102 Updating : libsndfile-1.0.20-3.el6_1.1.x86_64 48/102 Updating : perf-2.6.32-131.12.1.el6.x86_64 49/102 Updating : iwl5000-firmware-8.83.5.1_1-1.el6_1.1.noarch 50/102 Updating : yum-rhn-plugin-0.9.1-26.el6_1.1.noarch 51/102 Installing : kernel-devel-2.6.32-131.12.1.el6.x86_64 52/102 Cleanup : ipa-client-2.0.0-23.el6.x86_64 53/102 Cleanup : sssd-1.5.1-34.el6.x86_64 54/102 Cleanup : 32:bind-utils-9.7.3-2.el6.x86_64 55/102 Cleanup : openssh-server-5.3p1-52.el6.x86_64 56/102 Cleanup : krb5-pkinit-openssl-1.9-9.el6.x86_64 57/102 Cleanup : 1:java-1.6.0-openjdk-1.6.0.0-1.39.1.9.7.el6.x86_64 58/102 Cleanup : curl-7.19.7-26.el6.x86_64 59/102 Cleanup : openssh-clients-5.3p1-52.el6.x86_64 60/102 Cleanup : glibc-devel-2.12-1.25.el6.x86_64 61/102 Cleanup : openldap-clients-2.4.23-15.el6.x86_64 62/102 Cleanup : openssh-5.3p1-52.el6.x86_64 63/102 Cleanup : libcurl-7.19.7-26.el6.x86_64 64/102 Cleanup : 32:bind-libs-9.7.3-2.el6.x86_64 65/102 Cleanup : krb5-workstation-1.9-9.el6.x86_64 66/102 Cleanup : 1:dbus-1.2.24-4.el6_0.x86_64 67/102 Cleanup : openssl-1.0.0-10.el6.x86_64 68/102 Cleanup : libXfont-1.4.1-1.el6.x86_64 69/102 Cleanup : 5:mutt-1.5.20-2.20091214hg736b6a.el6.x86_64 70/102 Cleanup : glibc-headers-2.12-1.25.el6.x86_64 71/102 Cleanup : foomatic-4.0.4-1.el6.x86_64 72/102 Cleanup : perf-2.6.32-131.4.1.el6.x86_64 73/102 Cleanup : selinux-policy-targeted-3.7.19-93.el6.noarch 74/102 Cleanup : system-config-firewall-tui-1.2.27-3.el6_0.2.noarch 75/102 Cleanup : ghostscript-8.70-11.el6.x86_64 76/102 Cleanup : krb5-libs-1.9-9.el6.x86_64 77/102 Cleanup : 2:libpng-1.2.44-1.el6.x86_64 78/102 Cleanup : freetype-2.3.11-6.el6_0.2.x86_64 79/102 Cleanup : 1:dbus-libs-1.2.24-4.el6_0.x86_64 80/102 Cleanup : openldap-2.4.23-15.el6.x86_64 81/102 Cleanup : sssd-client-1.5.1-34.el6.x86_64 82/102 Cleanup : ipa-python-2.0.0-23.el6.x86_64 83/102 Cleanup : libsndfile-1.0.20-3.el6.x86_64 84/102 Cleanup : rsyslog-4.6.2-3.el6.x86_64 85/102 Cleanup : 12:dhclient-4.1.1-19.P1.el6.x86_64 86/102 Cleanup : apr-1.3.9-3.el6.x86_64 87/102 Cleanup : mdadm-3.2.1-1.el6.x86_64 88/102 Cleanup : openswan-2.6.32-4.el6.x86_64 89/102 Cleanup : python-dmidecode-3.10.12-1.el6.x86_64 90/102 Cleanup : nss_db-2.2.3-0.3.pre1.el6.x86_64 91/102 Cleanup : libgcrypt-1.4.5-5.el6.x86_64 92/102 Cleanup : system-config-firewall-base-1.2.27-3.el6_0.2.noarch 93/102 Cleanup : selinux-policy-3.7.19-93.el6.noarch 94/102 Cleanup : kernel-headers-2.6.32-131.4.1.el6.x86_64 95/102 Cleanup : tzdata-java-2011g-1.el6.noarch 96/102 Cleanup : iwl5000-firmware-8.24.2.12-3.el6.noarch 97/102 Cleanup : kernel-firmware-2.6.32-131.4.1.el6.noarch 98/102 Cleanup : yum-rhn-plugin-0.9.1-26.el6.noarch 99/102 Cleanup : glibc-common-2.12-1.25.el6.x86_64 100/102 Cleanup : glibc-2.12-1.25.el6.x86_64 101/102 Cleanup : tzdata-2011g-1.el6.noarch 102/102 Installed: kernel.x86_64 0:2.6.32-131.12.1.el6 kernel-devel.x86_64 0:2.6.32-131.12.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.2 dbus.x86_64 1:1.2.24-5.el6_1 dbus-libs.x86_64 1:1.2.24-5.el6_1 dhclient.x86_64 12:4.1.1-19.P1.el6_1.1 foomatic.x86_64 0:4.0.4-1.el6_1.1 freetype.x86_64 0:2.3.11-6.el6_1.6 ghostscript.x86_64 0:8.70-11.el6_1.2 glibc.x86_64 0:2.12-1.25.el6_1.3 glibc-common.x86_64 0:2.12-1.25.el6_1.3 glibc-devel.x86_64 0:2.12-1.25.el6_1.3 glibc-headers.x86_64 0:2.12-1.25.el6_1.3 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.12.1.el6 kernel-headers.x86_64 0:2.6.32-131.12.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 libXfont.x86_64 0:1.4.1-2.el6_1 libcurl.x86_64 0:7.19.7-26.el6_1.2 libgcrypt.x86_64 0:1.4.5-5.el6_1.2 libpng.x86_64 2:1.2.46-1.el6_1 libsndfile.x86_64 0:1.0.20-3.el6_1.1 mdadm.x86_64 0:3.2.2-1.el6_1.2 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 openldap.x86_64 0:2.4.23-15.el6_1.1 openldap-clients.x86_64 0:2.4.23-15.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.12.1.el6 python-dmidecode.x86_64 0:3.10.12-1.el6_1.1 rsyslog.x86_64 0:4.6.2-3.el6_1.1 selinux-policy.noarch 0:3.7.19-93.el6_1.7 selinux-policy-targeted.noarch 0:3.7.19-93.el6_1.7 sssd.x86_64 0:1.5.1-34.el6_1.3 sssd-client.x86_64 0:1.5.1-34.el6_1.3 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 tzdata.noarch 0:2011h-2.el6 tzdata-java.noarch 0:2011h-2.el6 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 ## Summary ## FAILURES = 1 FAILED TESTS = ## Verify turning on/off swap file ... LOG FILE = /root/valid/src/validate.log ## Summary ## ###################################################################################### # NEW TEST: ## Open a bugzilla ###################################################################################### |