Bug 963851

Summary: ami-53c9a73a RHEL 6.0 i386 us-east-1
Product: Cloud Image Validation Reporter: mkovacik
Component: imagesAssignee: mkovacik
Status: CLOSED NOTABUG QA Contact: mkovacik
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: RHEL6.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-29 08:29:28 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:
Attachments:
Description Flags
ami-53c9a73a.yaml none

Description mkovacik 2013-05-16 16:51:54 UTC

Comment 1 mkovacik 2013-05-16 16:51:57 UTC
Created attachment 748944 [details]
ami-53c9a73a.yaml

Comment 2 mkovacik 2013-05-16 16:52:04 UTC
Validation failure for ami-53c9a73a in us-east-1 product: RHEL, version: 6.0, arch: i386

m1.small
test stage1:testcase_01_bash_history succeeded
test stage1:testcase_02_ipv6 succeeded
test stage1:testcase_03_chkconfig succeeded
test stage1:testcase_05_grub succeeded
test stage1:testcase_06_inittab succeeded
test stage1:testcase_07_libc6_xen_conf succeeded
test stage1:testcase_08_memory succeeded
test stage1:testcase_09_nameserver succeeded
test stage1:testcase_10_networking succeeded
test stage1:testcase_11_package_set failed
--->
	command: rpm -qa --queryformat '%{NAME},' && echo
	match: .*
(.*),
.*
	result: passed
	value: ['rhn-setup,libusb1,ca-certificates,perl-XML-Grove,libXext,ncurses-base,perl-XML-Twig,libXtst,kernel-firmware,bfa-firmware,libXft,atmel-firmware,systemtap-runtime,ustr,xorg-x11-drv-ati-firmware,pango,ql2500-firmware,libffi,iwl1000-firmware,libxml2-python,words,authconfig,ivtv-firmware,python-ldap,glibc-common,abrt-addon-python,zlib,m2crypto,libstdc++,vim-enhanced,audit-libs,elinks,nss-util,perl-Crypt-SSLeay,gamin,psacct,bzip2-libs,efibootmgr,libtalloc,irqbalance,libuuid,ltrace,sqlite,hunspell,xz-libs,trace-cmd,libidn,zip,libtdb,dosfstools,grep,strace,procps,perl-Params-Check,libgssglue,perl-devel,lua,perl-IPC-Cmd,cpio,perl-IO-Compress-Zlib,sysvinit-tools,perl-Log-Message-Simple,libtiff,perl-ExtUtils-CBuilder,cyrus-sasl-gssapi,xdg-utils,checkpolicy,perl-Module-CoreList,libss,perl-ExtUtils-Embed,pth,python-paramiko,perl-version,sos,perl,report-config-localsave,libcollection,report-config-ftp,perl-Time-Piece,pytz,elfutils,perl-DBIx-Simple,iproute,perl-HTML-Parser,libgudev1,dejavu-sans-fonts,pinentry,grub,eggdbus,man-pages-overrides,patch,util-linux-ng,avahi-libs,device-mapper,libgomp,gtk2,ncurses,kbd,coreutils-libs,lvm2-libs,openldap,cryptsetup-luks,samba-winbind-clients,crda,rpcbind,rsyslog,bind-libs,crontabs,wget,ntp,ConsoleKit,oddjob,groff,nfs-utils,xmlrpc-c-client,abrt-addon-ccpp,rpm-libs,ipa-client,mailx,lvm2,gpgme,setuptool,krb5-workstation,quota,libtasn1,microcode_ctl,libpcap,java-1.6.0-openjdk,newt,plymouth,c-ares,perl-libxml-perl,pax,setup,theora-tools,filesystem,libXau,basesystem,libX11,tzdata-java,libXrender,libX11-common,libXi,busybox,libXcursor,fontpackages-filesystem,libXdamage,kbd-misc,libXrandr,rt73usb-firmware,giflib,rt61pci-firmware,libsemanage,zd1211-firmware,cairo,rootfiles,libasyncns,man-pages,libevent,iwl5000-firmware,python-libs,redhat-indexhtml,rpm-python,ql2400-firmware,python-ethtool,iwl3945-firmware,newt-python,ql2100-firmware,python-dmidecode,ipw2200-firmware,python-crypto,nss-softokn-freebl,pyOpenSSL,glibc,pycairo,bash,pygobject2,info,pygpgme,libcom_err,gettext,popt,libhugetlbfs-utils,nspr,gdb,libxml2,tcpdump,db4,bind-utils,readline,sudo,libselinux,pam_passwdqc,glib2,audit,sed,cifs-utils,expat,valgrind,cyrus-sasl-lib,tmpwatch,elfutils-libelf,mlocate,freetype,rsync,libblkid,nfs4-acl-tools,findutils,cyrus-sasl-plain,libpng,lsof,krb5-libs,nano,libattr,mtr,libacl,crash-trace-command,libjpeg,bridge-utils,dbus,rfkill,libudev,libtopology,pcre,eject,which,latrace,file-libs,setserial,libgpg-error,perl-Locale-Maketext-Simple,tar,hwdata,libtirpc,perl-Test-Harness,psmisc,perl-ExtUtils-MakeMaker,iptables,perl-Module-Load-Conditional,e2fsprogs-libs,perl-Log-Message,libnl,perl-IO-Compress-Base,libICE,perl-Compress-Zlib,libogg,perl-Archive-Tar,less,perl-Term-UI,vim-minimal,perl-Archive-Extract,xz,perl-Object-Accessor,nss-softokn,jpackage-utils,libselinux-utils,plymouth-scripts,net-tools,perl-URI,gmp,perl-Module-Loaded,diffutils,libedit,pkgconfig,perl-Pod-Escapes,perl-libs,perl-Module-Pluggable,perl-Compress-Raw-Zlib,libgfortran,libini_config,perl-Digest-SHA,perl-Time-HiRes,xz-lzma-compat,libtheora,iw,iptables-ipv6,crash,hal-libs,acl,keyutils,grubby,MAKEDEV,desktop-file-utils,db4-utils,upstart,ed,make,libtar,libhugetlbfs,gzip,cracklib-dicts,coreutils,openssl,module-init-tools,alsa-lib,libuser,libssh2,libsndfile,pam_ldap,mysql-libs,fipscheck,pam_krb5,ConsoleKit-libs,polkit,cvs,nss,libcurl,abrt-libs,curl,rpm,man,abrt-plugin-logger,abrt-addon-kerneloops,nss_compat_ossl,logrotate,libaio,dash,gnutls,plymouth-core-libs,ethtool,slang,libthai,gpm-libs,hdparm,sgpio,rhnsd,yum-rhn-plugin,selinux-policy-targeted,system-config-network-tui,redhat-lsb,aic94xx-firmware,iwl5150-firmware,b43-openfwwf,autofs,pcmciautils,perl-CPAN,perl-Test-Simple,rhn-client-tools,python-urlgrabber,yum-utils,python-setuptools,system-config-firewall-base,report-plugin-localsave,report-plugin-scp,report,python-dateutil,jline,hicolor-icon-theme,perl-DBD-SQLite,perl-HTML-Tagset,perl-libwww-perl,perl-CPANPLUS,perl-core,cas,Red_Hat_Enterprise_Linux-Release_Notes-6-en-US,dstat,perl-XML-Dumper,iputils,initscripts,device-mapper-libs,device-mapper-event-libs,usermode,device-mapper-event,openssh,perl-XML-Parser,dmraid,libfprint,cryptsetup-luks-libs,hal-info,pm-utils,wireless-tools,mdadm,certmonger,postfix,cronie-anacron,ntpdate,nss-pam-ldapd,sssd,yp-tools,nfs-utils-lib,numpy,abrt-plugin-sosreport,pciutils,oddjob-mkhomedir,samba-client,fprintd-pam,openssh-clients,latencytop,parted,acpid,rng-tools,cpuspeed,libcgroup,prelink,pinfo,libdrm,dracut,kernel,rhn-check,SDL,tzdata,selinux-policy,libxcb,redhat-release-server,seekwatcher,libXfixes,mailcap,iwl6000-firmware,libXcomposite,dejavu-fonts-common,iwl6050-firmware,libXinerama,ql23xx-firmware,kexec-tools,pixman,libertas-usb8388-firmware,pulseaudio-libs,ql2200-firmware,python,ipw2100-firmware,dbus-python,iwl4965-firmware,python-pycurl,libgcc,blktrace,ncurses-libs,python-gudev,dbus-libs,yum-metadata-parser,chkconfig,ntsysv,gawk,alsa-utils,libsepol,tcsh,shadow-utils,numactl,dbus-glib,oprofile,xmlrpc-c,attr,tcp_wrappers-libs,unzip,keyutils-libs,powertop,libcap,traceroute,libcap-ng,rdate,bzip2,b43-fwcutter,binutils,vconfig,libgcrypt,perl-ExtUtils-ParseXS,libtevent,perl-Module-Load,libusb,perl-Package-Constants,pciutils-libs,perl-IO-Zlib,libSM,perl-File-Fetch,elfutils-libs,python-iniparse,atk,redhat-logos,bc,perl-Module-Build,m4,rhnlib,gdbm,yum,perl-Pod-Simple,python-nose,perl-DBI,report-config-scp,atlas,report-plugin-ftp,e2fsprogs,rhino,libvorbis,perl-parent,file,perl-Parse-CPAN-Meta,jasper-libs,system-config-firewall-tui,tcp_wrappers,iotop,libutempter,perf,libnih,udev,time,policycoreutils,vim-common,kpartx,cracklib,dmraid-events,pam,fprintd,fontconfig,hal,passwd,python-iwlib,libldb,cyrus-sasl,fipscheck-lib,cronie,at,samba-common,sssd-client,ypbind,nss-sysinit,python-matplotlib,gnupg2,abrt-cli,abrt,sysstat,abrt-plugin-rhtsupport,openssh-server,nscd,readahead,libdhash,smartmontools,cups-libs,dhclient,dmidecode,usbutils,hesiod,dracut-kernel,mingetty']
<---
--->
	comment: Newly introduced packages: ['acl', 'cryptsetup-luks', 'cryptsetup-luks-libs', 'dmidecode', 'dmraid', 'dmraid-events', 'hal', 'hal-info', 'hal-libs', 'hdparm', 'hunspell', 'libcgroup', 'libevent', 'nfs-utils', 'nfs-utils-lib', 'pm-utils', 'report', 'report-config-ftp', 'report-config-localsave', 'report-config-scp', 'report-plugin-ftp', 'report-plugin-localsave', 'report-plugin-scp', 'rpcbind', 'setuptool', 'sgpio', 'yp-tools', 'ypbind']
	result: passed
<---
--->
	comment: some packages are missing: ['MySQL-python', 'apr', 'apr-util', 'apr-util-ldap', 'aspell', 'cloog-ppl', 'compat-db', 'compat-db42', 'compat-db43', 'compat-libstdc++-33', 'conman', 'cpp', 'cyrus-sasl-md5', 'dialog', 'dos2unix', 'expect', 'finger', 'ftp', 'gcc', 'gd', 'glibc-devel', 'glibc-headers', 'gpg-pubkey', 'httpd', 'httpd-tools', 'iptstate', 'java-1.5.0-gcj', 'java_cup', 'jwhois', 'kernel-devel', 'kernel-headers', 'krb5-pkinit-openssl', 'ksh', 'libXaw', 'libXmu', 'libXp', 'libXpm', 'libXt', 'libart_lgpl', 'libgcj', 'libicu', 'libnetfilter_conntrack', 'libnfnetlink', 'libproxy', 'libproxy-bin', 'libproxy-python', 'libsysfs', 'libtool-ltdl', 'lm_sensors-libs', 'logwatch', 'lslk', 'man-pages-cs', 'man-pages-es', 'man-pages-fr', 'man-pages-it', 'man-pages-ja', 'man-pages-ko', 'man-pages-pl', 'man-pages-ru', 'mgetty', 'mod_authz_ldap', 'mod_perl', 'mod_ssl', 'mpfr', 'mtools', 'mutt', 'mysql-connector-odbc', 'nc', 'ncompress', 'neon', 'net-snmp', 'net-snmp-libs', 'nmap', 'nss-tools', 'nss_db', 'openldap-clients', 'openswan', 'pakchois', 'pam_pkcs11', 'pcsc-lite-libs', 'perl-BSD-Resource', 'perl-Date-Manip', 'postgresql', 'postgresql-jdbc', 'postgresql-libs', 'postgresql-odbc', 'postgresql-plpython', 'postgresql-server', 'ppl', 'rh-amazon-rhui-client', 'screen', 'sinjdoc', 'stunnel', 'subversion', 'symlinks', 'sysfsutils', 'tcl', 'telnet', 'tokyocabinet', 'tree', 'udftools', 'unix2dos', 'unixODBC', 'urlview', 'webalizer', 'xinetd', 'xterm', 'yum-plugin-security']
	result: failed
<---
test stage1:testcase_12_passwd_group succeeded
test stage1:testcase_13_resize2fs succeeded
test stage1:testcase_14_host_details succeeded
test stage1:testcase_15_rhel_version succeeded
test stage1:testcase_16_selinux succeeded
test stage1:testcase_17_shells succeeded
test stage1:testcase_18_sshd failed
--->
	command: rpm -q systemd > /dev/null && echo True || echo False
	result: passed
	value: False
<---
--->
	command: chkconfig --list sshd | grep '0:off[[:space:]]*1:off[[:space:]]*2:on[[:space:]]*3:on[[:space:]]*4:on[[:space:]]*5:on[[:space:]]*6:off'
	result: passed
<---
--->
	command: service sshd status | grep running
	result: passed
<---
--->
	actual: 1
	command: grep 'PasswordAuthentication no' /etc/ssh/sshd_config
	result: failed
<---
test stage1:testcase_19_rhn_system_id succeeded
test stage1:testcase_20_auditd failed
--->
	actual: md5sum /etc/audit/auditd.conf | cut -f 1 -d ' '
612ddf28c3916530d47ef56a1b1ed1ed
[root@domU-12-31-39-0B-F5-F5 ~]# 
	command: md5sum /etc/audit/auditd.conf | cut -f 1 -d ' '
	expectation: e1886162554c18906df2ecd258aa4794
	result: failed
<---
--->
	actual: md5sum /etc/sysconfig/auditd  | cut -f 1 -d ' '
123beb3a97a32d96eba4f11509e39da2
[root@domU-12-31-39-0B-F5-F5 ~]# 
	command: md5sum /etc/sysconfig/auditd  | cut -f 1 -d ' '
	expectation: d4d43637708e30418c30003e212f76fc
	result: failed
<---
--->
	command: chkconfig --list auditd
	expectation: 3:on.*5:on
	result: passed
<---
--->
	command: md5sum /etc/audit/audit.rules | cut -f 1 -d ' '
	expectation: f9869e1191838c461f5b9051c78a638d
	result: passed
<---
--->
	command: chkconfig --list auditd
	expectation: 3:on.*5:on
	result: passed
<---
test stage1:testcase_21_disk_size_format succeeded
test stage1:testcase_22_gpg_keys failed
--->
	actual: grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | sort -uf | tr -d ' '
grep: /etc/yum.repos.d/redhat-*.repo: No such file or directory
[root@domU-12-31-39-0B-F5-F5 ~]# 
	command: grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | sort -uf | tr -d ' '
	expectation: 
1

	result: failed
<---
--->
	actual: rpm -qa gpg-pubkey* | wc -l
0
[root@domU-12-31-39-0B-F5-F5 ~]# 
	command: rpm -qa gpg-pubkey* | wc -l
	expectation: 
2

	result: failed
<---
--->
	actual: 1
	command: rpm -q gpg-pubkey-2fa658e0-45700c69
	result: failed
<---
--->
	actual: 1
	command: rpm -q gpg-pubkey-fd431d51-4ae0493b
	result: failed
<---
test stage1:testcase_23_syslog succeeded
test stage1:testcase_24_yum_plugin failed
--->
	actual: 0
	command: grep '^enabled[[:space:]]*=[[:space:]]*[^0 ]' /etc/yum/pluginconf.d/rhnplugin.conf
	result: failed
<---
test stage1:testcase_26_verify_rpms succeeded
test stage1:testcase_27_yum_repos failed
--->
	actual: 1
	command: yum repolist -v all | csplit --prefix=repolist_xx - '%Repo-id\s*:%'
	result: failed
<---
--->
	comment: failed to get actual repo list [Errno 2] No such file
	result: failure
<---
test stage1:testcase_28_iptables succeeded
test stage1:testcase_29_swap_file succeeded
stage testing failed!
test stage1:testcase_31_subscription_management failed
--->
	actual: yum --disablerepo='*' -v repolist
Loading "rhnplugin" plugin
Config time: 0.186
This system is not registered with RHN.
RHN support will be disabled.
repo time: 0.000
Yum Version: 3.2.27
Setting up Package Sacks
repolist: 0
[root@domU-12-31-39-0B-F5-F5 ~]# 
	command: yum --disablerepo='*' -v repolist
	expectation: Not loading 'subscription-manager' plugin
	result: failed
<---
--->
	actual: yum --enableplugin=subscription-manager --disablerepo='*' -v repolist
Loading "rhnplugin" plugin
No plugin match for: subscription-manager
Config time: 0.140
This system is not registered with RHN.
RHN support will be disabled.
repo time: 0.000
Yum Version: 3.2.27
Setting up Package Sacks
repolist: 0
[root@domU-12-31-39-0B-F5-F5 ~]# 
	command: yum --enableplugin=subscription-manager --disablerepo='*' -v repolist
	expectation: Loading 'subscription-manager' plugin
	result: failed
<---
--->
	actual: subscription-manager list
-bash: subscription-manager: command not found
[root@domU-12-31-39-0B-F5-F5 ~]# 
	command: subscription-manager list
	expectation: No installed products to list
	result: failed
<---
test stage1:testcase_32_ephemeral failed
--->
	actual: 1
	command: fdisk -l /dev/xvdj | grep '^Disk'
	result: failed
<---
--->
	command: grep '/dev/xvdj ' /proc/mounts  | wc -l
	result: passed
	value: 0
<---
--->
	command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l
	result: passed
	value: 1
<---
--->
	actual: 1
	command: mkfs.vfat -I /dev/xvdj
	result: failed
<---
test stage1:testcase_33_userdata succeeded
test stage1:testcase_34_cpu succeeded
test stage1:testcase_360_ebs failed
--->
	actual: 2
	command: ls -l /dev/xvdo
	result: failed
<---
--->
	command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l
	result: passed
	value: 1
<---
--->
	actual: 1
	command: mkfs.vfat -I /dev/xvdo
	result: failed
<---
test stage1:testcase_39_root_is_locked succeeded
test stage1:testcase_50_yum_package_install failed
--->
	actual: 1
	command: yum clean all
	result: failed
<---
--->
	command: yum repolist
	result: passed
<---
--->
	command: yum search zsh
	result: passed
<---
--->
	actual: 1
	command: yum -y install zsh
	result: failed
<---
--->
	actual: 1
	command: rpm -q --queryformat '%{NAME}' zsh
	result: failed
<---
--->
	actual: 1
	command: rpm -e zsh
	result: failed
<---
test stage1:testcase_55_yum_group_install succeeded
test stage1:testcase_60_yum_update succeeded
test stage1:testcase_61_yum_proxy succeeded
test stage1:testcase_99_reboot succeeded
test stage2:testcase_08_memory succeeded
test stage2:testcase_37_sshd_bug923996 succeeded
c1.medium
test stage1:testcase_01_bash_history succeeded
test stage1:testcase_02_ipv6 succeeded
test stage1:testcase_03_chkconfig succeeded
test stage1:testcase_05_grub succeeded
test stage1:testcase_06_inittab succeeded
test stage1:testcase_07_libc6_xen_conf succeeded
test stage1:testcase_08_memory succeeded
test stage1:testcase_09_nameserver succeeded
test stage1:testcase_10_networking succeeded
test stage1:testcase_11_package_set failed
--->
	command: rpm -qa --queryformat '%{NAME},' && echo
	match: .*
(.*),
.*
	result: passed
	value: ['rhn-setup,libusb1,ca-certificates,perl-XML-Grove,libXext,ncurses-base,perl-XML-Twig,libXtst,kernel-firmware,bfa-firmware,libXft,atmel-firmware,systemtap-runtime,ustr,xorg-x11-drv-ati-firmware,pango,ql2500-firmware,libffi,iwl1000-firmware,libxml2-python,words,authconfig,ivtv-firmware,python-ldap,glibc-common,abrt-addon-python,zlib,m2crypto,libstdc++,vim-enhanced,audit-libs,elinks,nss-util,perl-Crypt-SSLeay,gamin,psacct,bzip2-libs,efibootmgr,libtalloc,irqbalance,libuuid,ltrace,sqlite,hunspell,xz-libs,trace-cmd,libidn,zip,libtdb,dosfstools,grep,strace,procps,perl-Params-Check,libgssglue,perl-devel,lua,perl-IPC-Cmd,cpio,perl-IO-Compress-Zlib,sysvinit-tools,perl-Log-Message-Simple,libtiff,perl-ExtUtils-CBuilder,cyrus-sasl-gssapi,xdg-utils,checkpolicy,perl-Module-CoreList,libss,perl-ExtUtils-Embed,pth,python-paramiko,perl-version,sos,perl,report-config-localsave,libcollection,report-config-ftp,perl-Time-Piece,pytz,elfutils,perl-DBIx-Simple,iproute,perl-HTML-Parser,libgudev1,dejavu-sans-fonts,pinentry,grub,eggdbus,man-pages-overrides,patch,util-linux-ng,avahi-libs,device-mapper,libgomp,gtk2,ncurses,kbd,coreutils-libs,lvm2-libs,openldap,cryptsetup-luks,samba-winbind-clients,crda,rpcbind,rsyslog,bind-libs,crontabs,wget,ntp,ConsoleKit,oddjob,groff,nfs-utils,xmlrpc-c-client,abrt-addon-ccpp,rpm-libs,ipa-client,mailx,lvm2,gpgme,setuptool,krb5-workstation,quota,libtasn1,microcode_ctl,libpcap,java-1.6.0-openjdk,newt,plymouth,c-ares,perl-libxml-perl,pax,setup,theora-tools,filesystem,libXau,basesystem,libX11,tzdata-java,libXrender,libX11-common,libXi,busybox,libXcursor,fontpackages-filesystem,libXdamage,kbd-misc,libXrandr,rt73usb-firmware,giflib,rt61pci-firmware,libsemanage,zd1211-firmware,cairo,rootfiles,libasyncns,man-pages,libevent,iwl5000-firmware,python-libs,redhat-indexhtml,rpm-python,ql2400-firmware,python-ethtool,iwl3945-firmware,newt-python,ql2100-firmware,python-dmidecode,ipw2200-firmware,python-crypto,nss-softokn-freebl,pyOpenSSL,glibc,pycairo,bash,pygobject2,info,pygpgme,libcom_err,gettext,popt,libhugetlbfs-utils,nspr,gdb,libxml2,tcpdump,db4,bind-utils,readline,sudo,libselinux,pam_passwdqc,glib2,audit,sed,cifs-utils,expat,valgrind,cyrus-sasl-lib,tmpwatch,elfutils-libelf,mlocate,freetype,rsync,libblkid,nfs4-acl-tools,findutils,cyrus-sasl-plain,libpng,lsof,krb5-libs,nano,libattr,mtr,libacl,crash-trace-command,libjpeg,bridge-utils,dbus,rfkill,libudev,libtopology,pcre,eject,which,latrace,file-libs,setserial,libgpg-error,perl-Locale-Maketext-Simple,tar,hwdata,libtirpc,perl-Test-Harness,psmisc,perl-ExtUtils-MakeMaker,iptables,perl-Module-Load-Conditional,e2fsprogs-libs,perl-Log-Message,libnl,perl-IO-Compress-Base,libICE,perl-Compress-Zlib,libogg,perl-Archive-Tar,less,perl-Term-UI,vim-minimal,perl-Archive-Extract,xz,perl-Object-Accessor,nss-softokn,jpackage-utils,libselinux-utils,plymouth-scripts,net-tools,perl-URI,gmp,perl-Module-Loaded,diffutils,libedit,pkgconfig,perl-Pod-Escapes,perl-libs,perl-Module-Pluggable,perl-Compress-Raw-Zlib,libgfortran,libini_config,perl-Digest-SHA,perl-Time-HiRes,xz-lzma-compat,libtheora,iw,iptables-ipv6,crash,hal-libs,acl,keyutils,grubby,MAKEDEV,desktop-file-utils,db4-utils,upstart,ed,make,libtar,libhugetlbfs,gzip,cracklib-dicts,coreutils,openssl,module-init-tools,alsa-lib,libuser,libssh2,libsndfile,pam_ldap,mysql-libs,fipscheck,pam_krb5,ConsoleKit-libs,polkit,cvs,nss,libcurl,abrt-libs,curl,rpm,man,abrt-plugin-logger,abrt-addon-kerneloops,nss_compat_ossl,logrotate,libaio,dash,gnutls,plymouth-core-libs,ethtool,slang,libthai,gpm-libs,hdparm,sgpio,rhnsd,yum-rhn-plugin,selinux-policy-targeted,system-config-network-tui,redhat-lsb,aic94xx-firmware,iwl5150-firmware,b43-openfwwf,autofs,pcmciautils,perl-CPAN,perl-Test-Simple,rhn-client-tools,python-urlgrabber,yum-utils,python-setuptools,system-config-firewall-base,report-plugin-localsave,report-plugin-scp,report,python-dateutil,jline,hicolor-icon-theme,perl-DBD-SQLite,perl-HTML-Tagset,perl-libwww-perl,perl-CPANPLUS,perl-core,cas,Red_Hat_Enterprise_Linux-Release_Notes-6-en-US,dstat,perl-XML-Dumper,iputils,initscripts,device-mapper-libs,device-mapper-event-libs,usermode,device-mapper-event,openssh,perl-XML-Parser,dmraid,libfprint,cryptsetup-luks-libs,hal-info,pm-utils,wireless-tools,mdadm,certmonger,postfix,cronie-anacron,ntpdate,nss-pam-ldapd,sssd,yp-tools,nfs-utils-lib,numpy,abrt-plugin-sosreport,pciutils,oddjob-mkhomedir,samba-client,fprintd-pam,openssh-clients,latencytop,parted,acpid,rng-tools,cpuspeed,libcgroup,prelink,pinfo,libdrm,dracut,kernel,rhn-check,SDL,tzdata,selinux-policy,libxcb,redhat-release-server,seekwatcher,libXfixes,mailcap,iwl6000-firmware,libXcomposite,dejavu-fonts-common,iwl6050-firmware,libXinerama,ql23xx-firmware,kexec-tools,pixman,libertas-usb8388-firmware,pulseaudio-libs,ql2200-firmware,python,ipw2100-firmware,dbus-python,iwl4965-firmware,python-pycurl,libgcc,blktrace,ncurses-libs,python-gudev,dbus-libs,yum-metadata-parser,chkconfig,ntsysv,gawk,alsa-utils,libsepol,tcsh,shadow-utils,numactl,dbus-glib,oprofile,xmlrpc-c,attr,tcp_wrappers-libs,unzip,keyutils-libs,powertop,libcap,traceroute,libcap-ng,rdate,bzip2,b43-fwcutter,binutils,vconfig,libgcrypt,perl-ExtUtils-ParseXS,libtevent,perl-Module-Load,libusb,perl-Package-Constants,pciutils-libs,perl-IO-Zlib,libSM,perl-File-Fetch,elfutils-libs,python-iniparse,atk,redhat-logos,bc,perl-Module-Build,m4,rhnlib,gdbm,yum,perl-Pod-Simple,python-nose,perl-DBI,report-config-scp,atlas,report-plugin-ftp,e2fsprogs,rhino,libvorbis,perl-parent,file,perl-Parse-CPAN-Meta,jasper-libs,system-config-firewall-tui,tcp_wrappers,iotop,libutempter,perf,libnih,udev,time,policycoreutils,vim-common,kpartx,cracklib,dmraid-events,pam,fprintd,fontconfig,hal,passwd,python-iwlib,libldb,cyrus-sasl,fipscheck-lib,cronie,at,samba-common,sssd-client,ypbind,nss-sysinit,python-matplotlib,gnupg2,abrt-cli,abrt,sysstat,abrt-plugin-rhtsupport,openssh-server,nscd,readahead,libdhash,smartmontools,cups-libs,dhclient,dmidecode,usbutils,hesiod,dracut-kernel,mingetty']
<---
--->
	comment: Newly introduced packages: ['acl', 'cryptsetup-luks', 'cryptsetup-luks-libs', 'dmidecode', 'dmraid', 'dmraid-events', 'hal', 'hal-info', 'hal-libs', 'hdparm', 'hunspell', 'libcgroup', 'libevent', 'nfs-utils', 'nfs-utils-lib', 'pm-utils', 'report', 'report-config-ftp', 'report-config-localsave', 'report-config-scp', 'report-plugin-ftp', 'report-plugin-localsave', 'report-plugin-scp', 'rpcbind', 'setuptool', 'sgpio', 'yp-tools', 'ypbind']
	result: passed
<---
--->
	comment: some packages are missing: ['MySQL-python', 'apr', 'apr-util', 'apr-util-ldap', 'aspell', 'cloog-ppl', 'compat-db', 'compat-db42', 'compat-db43', 'compat-libstdc++-33', 'conman', 'cpp', 'cyrus-sasl-md5', 'dialog', 'dos2unix', 'expect', 'finger', 'ftp', 'gcc', 'gd', 'glibc-devel', 'glibc-headers', 'gpg-pubkey', 'httpd', 'httpd-tools', 'iptstate', 'java-1.5.0-gcj', 'java_cup', 'jwhois', 'kernel-devel', 'kernel-headers', 'krb5-pkinit-openssl', 'ksh', 'libXaw', 'libXmu', 'libXp', 'libXpm', 'libXt', 'libart_lgpl', 'libgcj', 'libicu', 'libnetfilter_conntrack', 'libnfnetlink', 'libproxy', 'libproxy-bin', 'libproxy-python', 'libsysfs', 'libtool-ltdl', 'lm_sensors-libs', 'logwatch', 'lslk', 'man-pages-cs', 'man-pages-es', 'man-pages-fr', 'man-pages-it', 'man-pages-ja', 'man-pages-ko', 'man-pages-pl', 'man-pages-ru', 'mgetty', 'mod_authz_ldap', 'mod_perl', 'mod_ssl', 'mpfr', 'mtools', 'mutt', 'mysql-connector-odbc', 'nc', 'ncompress', 'neon', 'net-snmp', 'net-snmp-libs', 'nmap', 'nss-tools', 'nss_db', 'openldap-clients', 'openswan', 'pakchois', 'pam_pkcs11', 'pcsc-lite-libs', 'perl-BSD-Resource', 'perl-Date-Manip', 'postgresql', 'postgresql-jdbc', 'postgresql-libs', 'postgresql-odbc', 'postgresql-plpython', 'postgresql-server', 'ppl', 'rh-amazon-rhui-client', 'screen', 'sinjdoc', 'stunnel', 'subversion', 'symlinks', 'sysfsutils', 'tcl', 'telnet', 'tokyocabinet', 'tree', 'udftools', 'unix2dos', 'unixODBC', 'urlview', 'webalizer', 'xinetd', 'xterm', 'yum-plugin-security']
	result: failed
<---
test stage1:testcase_12_passwd_group succeeded
test stage1:testcase_13_resize2fs succeeded
test stage1:testcase_14_host_details succeeded
test stage1:testcase_15_rhel_version succeeded
test stage1:testcase_16_selinux succeeded
test stage1:testcase_17_shells succeeded
test stage1:testcase_18_sshd failed
--->
	command: rpm -q systemd > /dev/null && echo True || echo False
	result: passed
	value: False
<---
--->
	command: chkconfig --list sshd | grep '0:off[[:space:]]*1:off[[:space:]]*2:on[[:space:]]*3:on[[:space:]]*4:on[[:space:]]*5:on[[:space:]]*6:off'
	result: passed
<---
--->
	command: service sshd status | grep running
	result: passed
<---
--->
	actual: 1
	command: grep 'PasswordAuthentication no' /etc/ssh/sshd_config
	result: failed
<---
test stage1:testcase_19_rhn_system_id succeeded
test stage1:testcase_20_auditd failed
--->
	actual: md5sum /etc/audit/auditd.conf | cut -f 1 -d ' '
612ddf28c3916530d47ef56a1b1ed1ed
[root@ip-10-245-154-55 ~]# 
	command: md5sum /etc/audit/auditd.conf | cut -f 1 -d ' '
	expectation: e1886162554c18906df2ecd258aa4794
	result: failed
<---
--->
	actual: md5sum /etc/sysconfig/auditd  | cut -f 1 -d ' '
123beb3a97a32d96eba4f11509e39da2
[root@ip-10-245-154-55 ~]# 
	command: md5sum /etc/sysconfig/auditd  | cut -f 1 -d ' '
	expectation: d4d43637708e30418c30003e212f76fc
	result: failed
<---
--->
	command: chkconfig --list auditd
	expectation: 3:on.*5:on
	result: passed
<---
--->
	command: md5sum /etc/audit/audit.rules | cut -f 1 -d ' '
	expectation: f9869e1191838c461f5b9051c78a638d
	result: passed
<---
--->
	command: chkconfig --list auditd
	expectation: 3:on.*5:on
	result: passed
<---
test stage1:testcase_21_disk_size_format succeeded
test stage1:testcase_22_gpg_keys failed
--->
	actual: grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | sort -uf | tr -d ' '
grep: /etc/yum.repos.d/redhat-*.repo: No such file or directory
[root@ip-10-245-154-55 ~]# 
	command: grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | sort -uf | tr -d ' '
	expectation: 
1

	result: failed
<---
--->
	actual: rpm -qa gpg-pubkey* | wc -l
0
[root@ip-10-245-154-55 ~]# 
	command: rpm -qa gpg-pubkey* | wc -l
	expectation: 
2

	result: failed
<---
--->
	actual: 1
	command: rpm -q gpg-pubkey-2fa658e0-45700c69
	result: failed
<---
--->
	actual: 1
	command: rpm -q gpg-pubkey-fd431d51-4ae0493b
	result: failed
<---
test stage1:testcase_23_syslog succeeded
test stage1:testcase_24_yum_plugin failed
--->
	actual: 0
	command: grep '^enabled[[:space:]]*=[[:space:]]*[^0 ]' /etc/yum/pluginconf.d/rhnplugin.conf
	result: failed
<---
test stage1:testcase_26_verify_rpms succeeded
test stage1:testcase_27_yum_repos failed
--->
	actual: 1
	command: yum repolist -v all | csplit --prefix=repolist_xx - '%Repo-id\s*:%'
	result: failed
<---
--->
	comment: failed to get actual repo list [Errno 2] No such file
	result: failure
<---
test stage1:testcase_28_iptables succeeded
test stage1:testcase_29_swap_file succeeded
stage testing failed!
test stage1:testcase_31_subscription_management failed
--->
	actual: yum --disablerepo='*' -v repolist
Loading "rhnplugin" plugin
Config time: 0.062
This system is not registered with RHN.
RHN support will be disabled.
repo time: 0.000
Yum Version: 3.2.27
Setting up Package Sacks
repolist: 0
[root@ip-10-245-154-55 ~]# 
	command: yum --disablerepo='*' -v repolist
	expectation: Not loading 'subscription-manager' plugin
	result: failed
<---
--->
	actual: yum --enableplugin=subscription-manager --disablerepo='*' -v repolist
Loading "rhnplugin" plugin
No plugin match for: subscription-manager
Config time: 0.052
This system is not registered with RHN.
RHN support will be disabled.
repo time: 0.000
Yum Version: 3.2.27
Setting up Package Sacks
repolist: 0
[root@ip-10-245-154-55 ~]# 
	command: yum --enableplugin=subscription-manager --disablerepo='*' -v repolist
	expectation: Loading 'subscription-manager' plugin
	result: failed
<---
--->
	actual: subscription-manager list
-bash: subscription-manager: command not found
[root@ip-10-245-154-55 ~]# 
	command: subscription-manager list
	expectation: No installed products to list
	result: failed
<---
test stage1:testcase_32_ephemeral failed
--->
	actual: 1
	command: fdisk -l /dev/xvdj | grep '^Disk'
	result: failed
<---
--->
	command: grep '/dev/xvdj ' /proc/mounts  | wc -l
	result: passed
	value: 0
<---
--->
	command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l
	result: passed
	value: 1
<---
--->
	actual: 1
	command: mkfs.vfat -I /dev/xvdj
	result: failed
<---
test stage1:testcase_33_userdata succeeded
test stage1:testcase_34_cpu succeeded
test stage1:testcase_360_ebs failed
--->
	actual: 2
	command: ls -l /dev/xvdo
	result: failed
<---
--->
	command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l
	result: passed
	value: 1
<---
--->
	actual: 1
	command: mkfs.vfat -I /dev/xvdo
	result: failed
<---
test stage1:testcase_39_root_is_locked succeeded
test stage1:testcase_50_yum_package_install failed
--->
	actual: 1
	command: yum clean all
	result: failed
<---
--->
	command: yum repolist
	result: passed
<---
--->
	command: yum search zsh
	result: passed
<---
--->
	actual: 1
	command: yum -y install zsh
	result: failed
<---
--->
	actual: 1
	command: rpm -q --queryformat '%{NAME}' zsh
	result: failed
<---
--->
	actual: 1
	command: rpm -e zsh
	result: failed
<---
test stage1:testcase_55_yum_group_install succeeded
test stage1:testcase_60_yum_update succeeded
test stage1:testcase_61_yum_proxy succeeded
test stage1:testcase_99_reboot succeeded
test stage2:testcase_08_memory succeeded
test stage2:testcase_37_sshd_bug923996 succeeded
t1.micro
test stage1:testcase_01_bash_history succeeded
test stage1:testcase_02_ipv6 succeeded
test stage1:testcase_03_chkconfig succeeded
test stage1:testcase_05_grub succeeded
test stage1:testcase_06_inittab succeeded
test stage1:testcase_07_libc6_xen_conf succeeded
test stage1:testcase_08_memory succeeded
test stage1:testcase_09_nameserver succeeded
test stage1:testcase_10_networking succeeded
test stage1:testcase_11_package_set failed
--->
	command: rpm -qa --queryformat '%{NAME},' && echo
	match: .*
(.*),
.*
	result: passed
	value: ['rhn-setup,libusb1,ca-certificates,perl-XML-Grove,libXext,ncurses-base,perl-XML-Twig,libXtst,kernel-firmware,bfa-firmware,libXft,atmel-firmware,systemtap-runtime,ustr,xorg-x11-drv-ati-firmware,pango,ql2500-firmware,libffi,iwl1000-firmware,libxml2-python,words,authconfig,ivtv-firmware,python-ldap,glibc-common,abrt-addon-python,zlib,m2crypto,libstdc++,vim-enhanced,audit-libs,elinks,nss-util,perl-Crypt-SSLeay,gamin,psacct,bzip2-libs,efibootmgr,libtalloc,irqbalance,libuuid,ltrace,sqlite,hunspell,xz-libs,trace-cmd,libidn,zip,libtdb,dosfstools,grep,strace,procps,perl-Params-Check,libgssglue,perl-devel,lua,perl-IPC-Cmd,cpio,perl-IO-Compress-Zlib,sysvinit-tools,perl-Log-Message-Simple,libtiff,perl-ExtUtils-CBuilder,cyrus-sasl-gssapi,xdg-utils,checkpolicy,perl-Module-CoreList,libss,perl-ExtUtils-Embed,pth,python-paramiko,perl-version,sos,perl,report-config-localsave,libcollection,report-config-ftp,perl-Time-Piece,pytz,elfutils,perl-DBIx-Simple,iproute,perl-HTML-Parser,libgudev1,dejavu-sans-fonts,pinentry,grub,eggdbus,man-pages-overrides,patch,util-linux-ng,avahi-libs,device-mapper,libgomp,gtk2,ncurses,kbd,coreutils-libs,lvm2-libs,openldap,cryptsetup-luks,samba-winbind-clients,crda,rpcbind,rsyslog,bind-libs,crontabs,wget,ntp,ConsoleKit,oddjob,groff,nfs-utils,xmlrpc-c-client,abrt-addon-ccpp,rpm-libs,ipa-client,mailx,lvm2,gpgme,setuptool,krb5-workstation,quota,libtasn1,microcode_ctl,libpcap,java-1.6.0-openjdk,newt,plymouth,c-ares,perl-libxml-perl,pax,setup,theora-tools,filesystem,libXau,basesystem,libX11,tzdata-java,libXrender,libX11-common,libXi,busybox,libXcursor,fontpackages-filesystem,libXdamage,kbd-misc,libXrandr,rt73usb-firmware,giflib,rt61pci-firmware,libsemanage,zd1211-firmware,cairo,rootfiles,libasyncns,man-pages,libevent,iwl5000-firmware,python-libs,redhat-indexhtml,rpm-python,ql2400-firmware,python-ethtool,iwl3945-firmware,newt-python,ql2100-firmware,python-dmidecode,ipw2200-firmware,python-crypto,nss-softokn-freebl,pyOpenSSL,glibc,pycairo,bash,pygobject2,info,pygpgme,libcom_err,gettext,popt,libhugetlbfs-utils,nspr,gdb,libxml2,tcpdump,db4,bind-utils,readline,sudo,libselinux,pam_passwdqc,glib2,audit,sed,cifs-utils,expat,valgrind,cyrus-sasl-lib,tmpwatch,elfutils-libelf,mlocate,freetype,rsync,libblkid,nfs4-acl-tools,findutils,cyrus-sasl-plain,libpng,lsof,krb5-libs,nano,libattr,mtr,libacl,crash-trace-command,libjpeg,bridge-utils,dbus,rfkill,libudev,libtopology,pcre,eject,which,latrace,file-libs,setserial,libgpg-error,perl-Locale-Maketext-Simple,tar,hwdata,libtirpc,perl-Test-Harness,psmisc,perl-ExtUtils-MakeMaker,iptables,perl-Module-Load-Conditional,e2fsprogs-libs,perl-Log-Message,libnl,perl-IO-Compress-Base,libICE,perl-Compress-Zlib,libogg,perl-Archive-Tar,less,perl-Term-UI,vim-minimal,perl-Archive-Extract,xz,perl-Object-Accessor,nss-softokn,jpackage-utils,libselinux-utils,plymouth-scripts,net-tools,perl-URI,gmp,perl-Module-Loaded,diffutils,libedit,pkgconfig,perl-Pod-Escapes,perl-libs,perl-Module-Pluggable,perl-Compress-Raw-Zlib,libgfortran,libini_config,perl-Digest-SHA,perl-Time-HiRes,xz-lzma-compat,libtheora,iw,iptables-ipv6,crash,hal-libs,acl,keyutils,grubby,MAKEDEV,desktop-file-utils,db4-utils,upstart,ed,make,libtar,libhugetlbfs,gzip,cracklib-dicts,coreutils,openssl,module-init-tools,alsa-lib,libuser,libssh2,libsndfile,pam_ldap,mysql-libs,fipscheck,pam_krb5,ConsoleKit-libs,polkit,cvs,nss,libcurl,abrt-libs,curl,rpm,man,abrt-plugin-logger,abrt-addon-kerneloops,nss_compat_ossl,logrotate,libaio,dash,gnutls,plymouth-core-libs,ethtool,slang,libthai,gpm-libs,hdparm,sgpio,rhnsd,yum-rhn-plugin,selinux-policy-targeted,system-config-network-tui,redhat-lsb,aic94xx-firmware,iwl5150-firmware,b43-openfwwf,autofs,pcmciautils,perl-CPAN,perl-Test-Simple,rhn-client-tools,python-urlgrabber,yum-utils,python-setuptools,system-config-firewall-base,report-plugin-localsave,report-plugin-scp,report,python-dateutil,jline,hicolor-icon-theme,perl-DBD-SQLite,perl-HTML-Tagset,perl-libwww-perl,perl-CPANPLUS,perl-core,cas,Red_Hat_Enterprise_Linux-Release_Notes-6-en-US,dstat,perl-XML-Dumper,iputils,initscripts,device-mapper-libs,device-mapper-event-libs,usermode,device-mapper-event,openssh,perl-XML-Parser,dmraid,libfprint,cryptsetup-luks-libs,hal-info,pm-utils,wireless-tools,mdadm,certmonger,postfix,cronie-anacron,ntpdate,nss-pam-ldapd,sssd,yp-tools,nfs-utils-lib,numpy,abrt-plugin-sosreport,pciutils,oddjob-mkhomedir,samba-client,fprintd-pam,openssh-clients,latencytop,parted,acpid,rng-tools,cpuspeed,libcgroup,prelink,pinfo,libdrm,dracut,kernel,rhn-check,SDL,tzdata,selinux-policy,libxcb,redhat-release-server,seekwatcher,libXfixes,mailcap,iwl6000-firmware,libXcomposite,dejavu-fonts-common,iwl6050-firmware,libXinerama,ql23xx-firmware,kexec-tools,pixman,libertas-usb8388-firmware,pulseaudio-libs,ql2200-firmware,python,ipw2100-firmware,dbus-python,iwl4965-firmware,python-pycurl,libgcc,blktrace,ncurses-libs,python-gudev,dbus-libs,yum-metadata-parser,chkconfig,ntsysv,gawk,alsa-utils,libsepol,tcsh,shadow-utils,numactl,dbus-glib,oprofile,xmlrpc-c,attr,tcp_wrappers-libs,unzip,keyutils-libs,powertop,libcap,traceroute,libcap-ng,rdate,bzip2,b43-fwcutter,binutils,vconfig,libgcrypt,perl-ExtUtils-ParseXS,libtevent,perl-Module-Load,libusb,perl-Package-Constants,pciutils-libs,perl-IO-Zlib,libSM,perl-File-Fetch,elfutils-libs,python-iniparse,atk,redhat-logos,bc,perl-Module-Build,m4,rhnlib,gdbm,yum,perl-Pod-Simple,python-nose,perl-DBI,report-config-scp,atlas,report-plugin-ftp,e2fsprogs,rhino,libvorbis,perl-parent,file,perl-Parse-CPAN-Meta,jasper-libs,system-config-firewall-tui,tcp_wrappers,iotop,libutempter,perf,libnih,udev,time,policycoreutils,vim-common,kpartx,cracklib,dmraid-events,pam,fprintd,fontconfig,hal,passwd,python-iwlib,libldb,cyrus-sasl,fipscheck-lib,cronie,at,samba-common,sssd-client,ypbind,nss-sysinit,python-matplotlib,gnupg2,abrt-cli,abrt,sysstat,abrt-plugin-rhtsupport,openssh-server,nscd,readahead,libdhash,smartmontools,cups-libs,dhclient,dmidecode,usbutils,hesiod,dracut-kernel,mingetty']
<---
--->
	comment: Newly introduced packages: ['acl', 'cryptsetup-luks', 'cryptsetup-luks-libs', 'dmidecode', 'dmraid', 'dmraid-events', 'hal', 'hal-info', 'hal-libs', 'hdparm', 'hunspell', 'libcgroup', 'libevent', 'nfs-utils', 'nfs-utils-lib', 'pm-utils', 'report', 'report-config-ftp', 'report-config-localsave', 'report-config-scp', 'report-plugin-ftp', 'report-plugin-localsave', 'report-plugin-scp', 'rpcbind', 'setuptool', 'sgpio', 'yp-tools', 'ypbind']
	result: passed
<---
--->
	comment: some packages are missing: ['MySQL-python', 'apr', 'apr-util', 'apr-util-ldap', 'aspell', 'cloog-ppl', 'compat-db', 'compat-db42', 'compat-db43', 'compat-libstdc++-33', 'conman', 'cpp', 'cyrus-sasl-md5', 'dialog', 'dos2unix', 'expect', 'finger', 'ftp', 'gcc', 'gd', 'glibc-devel', 'glibc-headers', 'gpg-pubkey', 'httpd', 'httpd-tools', 'iptstate', 'java-1.5.0-gcj', 'java_cup', 'jwhois', 'kernel-devel', 'kernel-headers', 'krb5-pkinit-openssl', 'ksh', 'libXaw', 'libXmu', 'libXp', 'libXpm', 'libXt', 'libart_lgpl', 'libgcj', 'libicu', 'libnetfilter_conntrack', 'libnfnetlink', 'libproxy', 'libproxy-bin', 'libproxy-python', 'libsysfs', 'libtool-ltdl', 'lm_sensors-libs', 'logwatch', 'lslk', 'man-pages-cs', 'man-pages-es', 'man-pages-fr', 'man-pages-it', 'man-pages-ja', 'man-pages-ko', 'man-pages-pl', 'man-pages-ru', 'mgetty', 'mod_authz_ldap', 'mod_perl', 'mod_ssl', 'mpfr', 'mtools', 'mutt', 'mysql-connector-odbc', 'nc', 'ncompress', 'neon', 'net-snmp', 'net-snmp-libs', 'nmap', 'nss-tools', 'nss_db', 'openldap-clients', 'openswan', 'pakchois', 'pam_pkcs11', 'pcsc-lite-libs', 'perl-BSD-Resource', 'perl-Date-Manip', 'postgresql', 'postgresql-jdbc', 'postgresql-libs', 'postgresql-odbc', 'postgresql-plpython', 'postgresql-server', 'ppl', 'rh-amazon-rhui-client', 'screen', 'sinjdoc', 'stunnel', 'subversion', 'symlinks', 'sysfsutils', 'tcl', 'telnet', 'tokyocabinet', 'tree', 'udftools', 'unix2dos', 'unixODBC', 'urlview', 'webalizer', 'xinetd', 'xterm', 'yum-plugin-security']
	result: failed
<---
test stage1:testcase_12_passwd_group succeeded
test stage1:testcase_13_resize2fs succeeded
test stage1:testcase_14_host_details succeeded
test stage1:testcase_15_rhel_version succeeded
test stage1:testcase_16_selinux succeeded
test stage1:testcase_17_shells succeeded
test stage1:testcase_18_sshd failed
--->
	command: rpm -q systemd > /dev/null && echo True || echo False
	result: passed
	value: False
<---
--->
	command: chkconfig --list sshd | grep '0:off[[:space:]]*1:off[[:space:]]*2:on[[:space:]]*3:on[[:space:]]*4:on[[:space:]]*5:on[[:space:]]*6:off'
	result: passed
<---
--->
	command: service sshd status | grep running
	result: passed
<---
--->
	actual: 1
	command: grep 'PasswordAuthentication no' /etc/ssh/sshd_config
	result: failed
<---
test stage1:testcase_19_rhn_system_id succeeded
test stage1:testcase_20_auditd failed
--->
	actual: md5sum /etc/audit/auditd.conf | cut -f 1 -d ' '
612ddf28c3916530d47ef56a1b1ed1ed
[root@ip-10-98-134-182 ~]# 
	command: md5sum /etc/audit/auditd.conf | cut -f 1 -d ' '
	expectation: e1886162554c18906df2ecd258aa4794
	result: failed
<---
--->
	actual: md5sum /etc/sysconfig/auditd  | cut -f 1 -d ' '
123beb3a97a32d96eba4f11509e39da2
[root@ip-10-98-134-182 ~]# 
	command: md5sum /etc/sysconfig/auditd  | cut -f 1 -d ' '
	expectation: d4d43637708e30418c30003e212f76fc
	result: failed
<---
--->
	command: chkconfig --list auditd
	expectation: 3:on.*5:on
	result: passed
<---
--->
	command: md5sum /etc/audit/audit.rules | cut -f 1 -d ' '
	expectation: f9869e1191838c461f5b9051c78a638d
	result: passed
<---
--->
	command: chkconfig --list auditd
	expectation: 3:on.*5:on
	result: passed
<---
test stage1:testcase_21_disk_size_format succeeded
test stage1:testcase_22_gpg_keys failed
--->
	actual: grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | sort -uf | tr -d ' '
grep: /etc/yum.repos.d/redhat-*.repo: No such file or directory
[root@ip-10-98-134-182 ~]# 
	command: grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | sort -uf | tr -d ' '
	expectation: 
1

	result: failed
<---
--->
	actual: rpm -qa gpg-pubkey* | wc -l
0
[root@ip-10-98-134-182 ~]# 
	command: rpm -qa gpg-pubkey* | wc -l
	expectation: 
2

	result: failed
<---
--->
	actual: 1
	command: rpm -q gpg-pubkey-2fa658e0-45700c69
	result: failed
<---
--->
	actual: 1
	command: rpm -q gpg-pubkey-fd431d51-4ae0493b
	result: failed
<---
test stage1:testcase_23_syslog succeeded
test stage1:testcase_24_yum_plugin failed
--->
	actual: 0
	command: grep '^enabled[[:space:]]*=[[:space:]]*[^0 ]' /etc/yum/pluginconf.d/rhnplugin.conf
	result: failed
<---
test stage1:testcase_26_verify_rpms succeeded
test stage1:testcase_27_yum_repos failed
--->
	actual: 1
	command: yum repolist -v all | csplit --prefix=repolist_xx - '%Repo-id\s*:%'
	result: failed
<---
--->
	comment: failed to get actual repo list [Errno 2] No such file
	result: failure
<---
test stage1:testcase_28_iptables succeeded
stage testing failed!
test stage1:testcase_31_subscription_management failed
--->
	actual: yum --disablerepo='*' -v repolist
Loading "rhnplugin" plugin
Config time: 0.064
This system is not registered with RHN.
RHN support will be disabled.
repo time: 0.000
Yum Version: 3.2.27
Setting up Package Sacks
repolist: 0
[root@ip-10-98-134-182 ~]# 
	command: yum --disablerepo='*' -v repolist
	expectation: Not loading 'subscription-manager' plugin
	result: failed
<---
--->
	actual: yum --enableplugin=subscription-manager --disablerepo='*' -v repolist
Loading "rhnplugin" plugin
No plugin match for: subscription-manager
Config time: 0.043
This system is not registered with RHN.
RHN support will be disabled.
repo time: 0.000
Yum Version: 3.2.27
Setting up Package Sacks
repolist: 0
[root@ip-10-98-134-182 ~]# 
	command: yum --enableplugin=subscription-manager --disablerepo='*' -v repolist
	expectation: Loading 'subscription-manager' plugin
	result: failed
<---
--->
	actual: subscription-manager list
-bash: subscription-manager: command not found
[root@ip-10-98-134-182 ~]# 
	command: subscription-manager list
	expectation: No installed products to list
	result: failed
<---
test stage1:testcase_32_ephemeral succeeded
test stage1:testcase_33_userdata succeeded
test stage1:testcase_34_cpu succeeded
test stage1:testcase_360_ebs failed
--->
	actual: 2
	command: ls -l /dev/xvdo
	result: failed
<---
--->
	command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l
	result: passed
	value: 1
<---
--->
	actual: 1
	command: mkfs.vfat -I /dev/xvdo
	result: failed
<---
test stage1:testcase_39_root_is_locked succeeded
test stage1:testcase_50_yum_package_install failed
--->
	actual: 1
	command: yum clean all
	result: failed
<---
--->
	command: yum repolist
	result: passed
<---
--->
	command: yum search zsh
	result: passed
<---
--->
	actual: 1
	command: yum -y install zsh
	result: failed
<---
--->
	actual: 1
	command: rpm -q --queryformat '%{NAME}' zsh
	result: failed
<---
--->
	actual: 1
	command: rpm -e zsh
	result: failed
<---
test stage1:testcase_55_yum_group_install succeeded
test stage1:testcase_60_yum_update succeeded
test stage1:testcase_61_yum_proxy succeeded
test stage1:testcase_99_reboot succeeded
test stage2:testcase_08_memory succeeded
test stage2:testcase_37_sshd_bug923996 succeeded

Comment 3 mkovacik 2014-01-29 08:29:28 UTC
Closing obsolete validation status bugs