Created attachment 909989 [details] ami-0cb14f64.yaml
Validation failure for ami-0cb14f64 in us-east-1 product: RHEL, version: 5.10, arch: i386 m1.small test stage1:testcase_01_bash_history succeeded test stage1:testcase_02_selinux_context failed ---> command: restorecon -R -v -n -e /proc -e /sys -e /mnt / | sed -e 's, context , ,' -e 's,^restorecon reset ,,' | cat > /tmp/restorecon_output.txt && echo SUCCESS expectation: SUCCESS result: passed <--- ---> comment: Fail.New entries detected:[['/etc/modprobe.d/anaconda.conf', ['file_t', 'etc_t']], ['/lost+found', ['file_t', 'lost_found_t']], ['/etc/sysconfig/mkinitrd/multipath', ['file_t', 'etc_t']], ['/etc/sysconfig/network-scripts/ifcfg-eth0', ['etc_runtime_t', 'etc_t']], ['/etc/sysconfig/firstboot', ['etc_t', 'etc_runtime_t']]] Lost entries:[['/etc/sysconfig/rh-cloud-firstboot', ['etc_runtime_t', 'etc_t']], ['/etc/yum.repos.d/.*', ['etc_runtime_t', 'etc_t']], ['/etc/yum/pluginconf.d/rhui-lb.conf', ['etc_runtime_t', 'etc_t']]] result: failed <--- test stage1:testcase_03_running_services succeeded test stage1:testcase_04_cloud_firstboot failed ---> actual: chkconfig --list rh-cloud-firstboot error reading information on service rh-cloud-firstboot: No such file or directory [root@ip-10-239-166-254 ~]# command: chkconfig --list rh-cloud-firstboot expectation: 3:off result: failed <--- ---> actual: 1 command: test -f /etc/sysconfig/rh-cloud-firstboot result: failed <--- ---> actual: cat /etc/sysconfig/rh-cloud-firstboot cat: /etc/sysconfig/rh-cloud-firstboot: No such file or directory [root@ip-10-239-166-254 ~]# command: cat /etc/sysconfig/rh-cloud-firstboot expectation: RUN_FIRSTBOOT=NO result: failed <--- 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: ['basesystem,glibc-common,dump,specspo,gnu-efi,man-pages-ru,glibc,popt,audit-libs,atk,ncurses,sed,sqlite,perl,libSM,libcap,diffutils,elfutils-libelf,tcl,libsysfs,libtiff,libgomp,libfontenc,hesiod,virt-what,libxslt,hmaccalc,ed,cpp,procmail,ORBit2,libnl,bluez-libs,libvolume_id,libart_lgpl,sysfsutils,rsync,numactl,mtr,mgetty,scl-utils,beecrypt,vconfig,traceroute,finger,pam_smb,rdate,redhat-menus,glibc-devel,aspell-cs,aspell-pt,aspell-pl,xorg-x11-font-utils,libXpm,libXi,startup-notification,anacron,e2fsprogs-libs,openssl,postgresql-libs,kpartx,libXft,curl,gd,ruby,libpcap,alsa-lib,syslinux,MAKEDEV,OpenIPMI,tmpwatch,autofs,cyrus-sasl-md5,tux,mlocate,hicolor-icon-theme,ruby-rdoc,gtk2,libwnck,newt,python-libs,dbus-python,python-dmidecode,gettext,NetworkManager-glib,libnotify,PyXML,pycairo,yum-metadata-parser,cracklib,SysVinit,pcsc-lite,libuser,authconfig,mcstrans,dnsmasq,samba-common,fipscheck,antlr,pinfo,coolkey,openssh-server,webalizer,mod_authz_ldap,irqbalance,postgresql,prelink,pam_krb5,openswan,subversion,selinux-policy,yum-updatesd,selinux-policy-targeted,Deployment_Guide-pt-BR,Deployment_Guide-zh-TW,Deployment_Guide-it-IT,man-pages-overrides,subscription-manager,xorg-x11-xfs,fonts-KOI8-R,fonts-KOI8-R-100dpi,usbutils,NetworkManager,nfs-utils-lib,system-config-network-tui,setup,mailcap,rmt,tzdata,nash,kernel-headers,redhat-release-notes,man-pages-it,man-pages-fr,man-pages-pl,man-pages-cs,man-pages-ja,man-pages,libgcc,chkconfig,glib2,mktemp,nspr,expat,db4,libtermcap,info,readline,gawk,libxml2,tcp_wrappers,nss,gdbm,aspell,libICE,libpng,libacl,ttmkfdir,binutils,keyutils-libs,libjpeg,libgcrypt,iptables,iproute,grep,dmidecode,gnutls,bzip2,gzip,cpio,file,libXfont,zip,pcsc-lite-libs,slang,lm_sensors,iptables-ipv6,perl-String-CRC32,perl-DBI,svrcore,vim-common,time,gpm,groff,gamin,desktop-file-utils,libIDL,libevent,checkpolicy,wireless-tools,libFS,libXdmcp,sgpio,pkgconfig,libdaemon,libtool-ltdl,lftp,iptstate,crash,acl,fbset,udftools,telnet,nano,talk,cpuspeed,nc,cyrus-sasl-plain,libicu,setarch,rsh,symlinks,lslk,tree,pam_passwdqc,libaio,eject,compat-libstdc++-33,rdist,crontabs,xorg-x11-filesystem,perl-URI,glibc-headers,redhat-logos,man-pages-ko,aspell-en,aspell-it,aspell-es,aspell-fr,libX11,libXrender,libXt,libXrandr,libXfixes,libXaw,libXres,libXtst,libXp,gcc,libselinux,device-mapper,findutils,krb5-libs,openldap,cairo,apr,apr-util,libutempter,psmisc,pango,mysql,libgssapi,libselinux-utils,net-tools,device-mapper-multipath,libsmbclient,ruby-libs,distcache,wget,OpenIPMI-libs,nscd,audit,mtools,cryptsetup-luks,lvm2,vim-minimal,amtu,bind-utils,xterm,conman,openldap-clients,stunnel,nmap,cyrus-sasl-gssapi,psacct,ksh,parted,vim-enhanced,lsof,ruby-irb,psgml,liberation-fonts,kernel-xen-devel,libgcj,libglade2,python,dbus-glib,rpm,fipscheck-lib,dbus,m2crypto,pygobject2,rpm-python,libsemanage,system-config-securitylevel-tui,python-lxml,dmraid,gamin-python,notification-daemon,bluez-gnome,iscsi-initiator-utils,python-elementtree,mx,pygtk2,audit-libs-python,libselinux-python,python-sqlite,pam,util-linux,initscripts,policycoreutils,ccid,openssh,passwd,ppp,kbd,ifd-egate,dhclient,vixie-cron,cyrus-sasl,which,at,dmraid-events,htmlview,java-1.4.2-gcj-compat,gjdoc,postgresql-jdbc,samba-client,mdadm,yp-tools,setuptool,openssh-clients,sudo,mod_ssl,mod_perl,bluez-utils,ipsec-tools,acpid,vsftpd,quota,krb5-workstation,pam_pkcs11,nss_ldap,screen,net-snmp,MySQL-python,readahead,python-dateutil,rhnlib,python-urlgrabber,yum-security,yum-utils,yum-fastestmirror,redhat-support-tool,Deployment_Guide-ja-JP,Deployment_Guide-de-DE,Deployment_Guide-ko-KR,Deployment_Guide-es-ES,Deployment_Guide-zh-CN,redhat-lsb,xinetd,sos,python-setuptools,chkfontpath,module-init-tools,hwdata,mkbootdisk,fonts-korean,fonts-chinese,fonts-KOI8-R-75dpi,pcmciautils,irda-utils,pm-utils,kudzu,nfs-utils,rhn-client-tools,rhn-setup,firstboot-tui,apmd,filesystem,cracklib-dicts,termcap,man-pages-de,man-pages-es,rootfiles,words,zlib,libstdc++,cyrus-sasl-lib,bash,libsepol,freetype,libusb,bzip2-libs,libattr,procps,libgpg-error,libidn,pcre,libXau,less,make,unixODBC-libs,mailx,bc,perl-BSD-Resource,nss-tools,m4,iputils,gmp,pax,ethtool,mingetty,dosfstools,mozldap,jwhois,attr,ftp,dialog,unzip,compat-db,dos2unix,setserial,unix2dos,hdparm,ncompress,jpackage-utils,redhat-release,bitstream-vera-fonts,aspell-ru,aspell-de,libXext,libXmu,libXcursor,libXinerama,grub,shadow-utils,coreutils,fontconfig,logrotate,tar,net-snmp-libs,e2fsprogs,gnupg,neon,bind-libs,cups-libs,tcsh,device-mapper-event,patch,mysql-connector-odbc,postgresql-odbc,tcpdump,pkinit-nss,microcode_ctl,nss_db,sgml-common,logwatch,GConf2,dbus-libs,rhpl,libxml2-python,rpm-libs,man,python-simplejson,ntsysv,wpa_supplicant,python-numeric,pygtk2-libglade,python-ethtool,udev,httpd,portmap,usermode,ypbind,sysklogd,sendmail,pyOpenSSL,python-iniparse,python-rhsm,mutt,rp-pppoe,setools,mod_python,dhcpv6-client,smartmontools,rng-utils,pam_ccreds,postgresql-python,libhugetlbfs,redhat-support-lib-python,yum,yum-updateonboot,Deployment_Guide-fr-FR,Deployment_Guide-ru-RU,Deployment_Guide-en-US,system-config-securitylevel,rhel-instnum,mkinitrd,kernel-xen,fonts-japanese,pciutils,hal,rhnsd,yum-rhn-plugin,rhn-check'] <--- ---> comment: Newly introduced packages: ['GConf2', 'NetworkManager', 'NetworkManager-glib', 'ORBit2', 'OpenIPMI', 'OpenIPMI-libs', 'amtu', 'apmd', 'bluez-gnome', 'bluez-libs', 'bluez-utils', 'ccid', 'coolkey', 'cyrus-sasl', 'dnsmasq', 'dump', 'eject', 'gnu-efi', 'ifd-egate', 'ipsec-tools', 'irda-utils', 'libIDL', 'libXres', 'libdaemon', 'libevent', 'libgssapi', 'libnotify', 'libpcap', 'libwnck', 'libxslt', 'man-pages-overrides', 'mdadm', 'microcode_ctl', 'mkbootdisk', 'nfs-utils', 'nfs-utils-lib', 'notification-daemon', 'numactl', 'pcmciautils', 'pcsc-lite', 'pcsc-lite-libs', 'portmap', 'ppp', 'procmail', 'psacct', 'python-dateutil', 'python-lxml', 'rdate', 'rdist', 'redhat-support-lib-python', 'redhat-support-tool', 'rmt', 'rp-pppoe', 'rsh', 'scl-utils', 'sendmail', 'smartmontools', 'specspo', 'startup-notification', 'sysklogd', 'syslinux', 'talk', 'vconfig', 'wget', 'wpa_supplicant', 'yp-tools', 'ypbind'] result: passed <--- ---> comment: some packages are missing: ['exim', 'gpg-pubkey', 'rh-amazon-rhui-client', 'rsyslog', 'w3m'] 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 succeeded test stage1:testcase_19_rhn_system_id succeeded test stage1:testcase_20_auditd succeeded 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-239-166-254 ~]# 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-239-166-254 ~]# 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-37017186-45761324 result: failed <--- test stage1:testcase_23_syslog failed ---> command: md5sum /etc/rsyslog.conf | cut -f 1 -d ' ' result: passed value: md5sum: /etc/rsyslog.conf: No such file or directory <--- ---> comment: /etc/rsyslog.conf md5 differs (md5sum: /etc/rsyslog.conf: No such file or directory, should be ['bd4e328df4b59d41979ef7202a05e074', '15936b6fe4e8fadcea87b54de495f975']) result: failed <--- test stage1:testcase_24_yum_plugin succeeded test stage1:testcase_25_uname succeeded test stage1:testcase_26_verify_rpms succeeded test stage1:testcase_27_yum_repos failed ---> actual repos: {'rhel-debuginfo': False} expected repos: {'rhel-debuginfo': False, 'rhui-REGION-rhel-server-supplementary': False, 'rhui-REGION-rhel-server-source-supplementary': False, 'rhui-REGION-rhel-server': True, 'rhui-REGION-rhel-server-debug-supplementary': False, 'rhui-REGION-client-config-server-5': True, 'rhui-REGION-rhel-server-source': False} result: failed <--- test stage1:testcase_28_iptables succeeded test stage1:testcase_29_swap_file succeeded stage1:testcase_30_rhn_certificates: test failure test stage1:testcase_31_subscription_management failed ---> command: yum --disablerepo='*' -v repolist expectation: Not loading "subscription-manager" plugin result: passed <--- ---> command: yum --enableplugin=subscription-manager --disablerepo='*' -v repolist expectation: Loading "subscription-manager" plugin result: passed <--- ---> actual: subscription-manager list +-------------------------------------------+ Installed Product Status +-------------------------------------------+ Product Name: Red Hat Enterprise Linux Server Product ID: 69 Version: 5.10 Arch: i386 Status: Unknown Status Details: Starts: Ends: [root@ip-10-239-166-254 ~]# command: subscription-manager list expectation: No installed products to list result: failed <--- test stage1:testcase_32_ephemeral failed ---> command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l result: passed value: 1 <--- ---> command: fdisk -l /dev/sdf | grep '^Disk' result: passed <--- ---> command: grep '/dev/sdf ' /proc/mounts | wc -l result: passed value: 0 <--- ---> actual: 1 command: mkfs.vfat /dev/sdf result: failed <--- ---> actual: echo '###START###'; mkdir -p /tmp/mnt-sdf; echo '###END###' ###START### ###END### [root@ip-10-239-166-254 ~]# command: mkdir -p /tmp/mnt-sdf result: failed <--- test stage1:testcase_34_cpu succeeded test stage1:testcase_360_ebs succeeded test stage1:testcase_39_root_is_locked failed ---> actual: 1 command: egrep "^root:(\!\!|\*|x|locked):" /etc/shadow result: failed <--- test stage1:testcase_41_rh_amazon_rhui_client failed ---> actual: 1 command: rpm -q rh-amazon-rhui-client result: failed <--- test stage1:testcase_42_ipv6 failed ---> actual: 1 command: grep NETWORKING_IPV6=no /etc/sysconfig/network result: failed <--- test stage1:testcase_50_yum_package_install failed ---> command: yum clean all result: passed <--- ---> command: yum repolist result: passed <--- ---> command: yum search zsh result: passed <--- ---> command: yum -y install zsh result: passed <--- ---> 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 skipped ---> comment: No proxy set result: skip <--- test stage1:testcase_80_no_avc_denials succeeded test stage1:testcase_99_reboot succeeded test stage2:testcase_08_memory succeeded test stage2:testcase_25_uname succeeded test stage2:testcase_37_sshd_bug923996 succeeded test stage2:testcase_80_no_avc_denials succeeded c1.medium test stage1:testcase_01_bash_history succeeded test stage1:testcase_02_selinux_context failed ---> command: restorecon -R -v -n -e /proc -e /sys -e /mnt / | sed -e 's, context , ,' -e 's,^restorecon reset ,,' | cat > /tmp/restorecon_output.txt && echo SUCCESS expectation: SUCCESS result: passed <--- ---> comment: Fail.New entries detected:[['/etc/modprobe.d/anaconda.conf', ['file_t', 'etc_t']], ['/lost+found', ['file_t', 'lost_found_t']], ['/etc/sysconfig/mkinitrd/multipath', ['file_t', 'etc_t']], ['/etc/sysconfig/network-scripts/ifcfg-eth0', ['etc_runtime_t', 'etc_t']], ['/etc/sysconfig/firstboot', ['etc_t', 'etc_runtime_t']]] Lost entries:[['/etc/sysconfig/rh-cloud-firstboot', ['etc_runtime_t', 'etc_t']], ['/etc/yum.repos.d/.*', ['etc_runtime_t', 'etc_t']], ['/etc/yum/pluginconf.d/rhui-lb.conf', ['etc_runtime_t', 'etc_t']]] result: failed <--- test stage1:testcase_03_running_services succeeded test stage1:testcase_04_cloud_firstboot failed ---> actual: chkconfig --list rh-cloud-firstboot error reading information on service rh-cloud-firstboot: No such file or directory [root@domU-12-31-39-07-4C-44 ~]# command: chkconfig --list rh-cloud-firstboot expectation: 3:off result: failed <--- ---> actual: 1 command: test -f /etc/sysconfig/rh-cloud-firstboot result: failed <--- ---> actual: cat /etc/sysconfig/rh-cloud-firstboot cat: /etc/sysconfig/rh-cloud-firstboot: No such file or directory [root@domU-12-31-39-07-4C-44 ~]# command: cat /etc/sysconfig/rh-cloud-firstboot expectation: RUN_FIRSTBOOT=NO result: failed <--- 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: ['basesystem,glibc-common,dump,specspo,gnu-efi,man-pages-ru,glibc,popt,audit-libs,atk,ncurses,sed,sqlite,perl,libSM,libcap,diffutils,elfutils-libelf,tcl,libsysfs,libtiff,libgomp,libfontenc,hesiod,virt-what,libxslt,hmaccalc,ed,cpp,procmail,ORBit2,libnl,bluez-libs,libvolume_id,libart_lgpl,sysfsutils,rsync,numactl,mtr,mgetty,scl-utils,beecrypt,vconfig,traceroute,finger,pam_smb,rdate,redhat-menus,glibc-devel,aspell-cs,aspell-pt,aspell-pl,xorg-x11-font-utils,libXpm,libXi,startup-notification,anacron,e2fsprogs-libs,openssl,postgresql-libs,kpartx,libXft,curl,gd,ruby,libpcap,alsa-lib,syslinux,MAKEDEV,OpenIPMI,tmpwatch,autofs,cyrus-sasl-md5,tux,mlocate,hicolor-icon-theme,ruby-rdoc,gtk2,libwnck,newt,python-libs,dbus-python,python-dmidecode,gettext,NetworkManager-glib,libnotify,PyXML,pycairo,yum-metadata-parser,cracklib,SysVinit,pcsc-lite,libuser,authconfig,mcstrans,dnsmasq,samba-common,fipscheck,antlr,pinfo,coolkey,openssh-server,webalizer,mod_authz_ldap,irqbalance,postgresql,prelink,pam_krb5,openswan,subversion,selinux-policy,yum-updatesd,selinux-policy-targeted,Deployment_Guide-pt-BR,Deployment_Guide-zh-TW,Deployment_Guide-it-IT,man-pages-overrides,subscription-manager,xorg-x11-xfs,fonts-KOI8-R,fonts-KOI8-R-100dpi,usbutils,NetworkManager,nfs-utils-lib,system-config-network-tui,setup,mailcap,rmt,tzdata,nash,kernel-headers,redhat-release-notes,man-pages-it,man-pages-fr,man-pages-pl,man-pages-cs,man-pages-ja,man-pages,libgcc,chkconfig,glib2,mktemp,nspr,expat,db4,libtermcap,info,readline,gawk,libxml2,tcp_wrappers,nss,gdbm,aspell,libICE,libpng,libacl,ttmkfdir,binutils,keyutils-libs,libjpeg,libgcrypt,iptables,iproute,grep,dmidecode,gnutls,bzip2,gzip,cpio,file,libXfont,zip,pcsc-lite-libs,slang,lm_sensors,iptables-ipv6,perl-String-CRC32,perl-DBI,svrcore,vim-common,time,gpm,groff,gamin,desktop-file-utils,libIDL,libevent,checkpolicy,wireless-tools,libFS,libXdmcp,sgpio,pkgconfig,libdaemon,libtool-ltdl,lftp,iptstate,crash,acl,fbset,udftools,telnet,nano,talk,cpuspeed,nc,cyrus-sasl-plain,libicu,setarch,rsh,symlinks,lslk,tree,pam_passwdqc,libaio,eject,compat-libstdc++-33,rdist,crontabs,xorg-x11-filesystem,perl-URI,glibc-headers,redhat-logos,man-pages-ko,aspell-en,aspell-it,aspell-es,aspell-fr,libX11,libXrender,libXt,libXrandr,libXfixes,libXaw,libXres,libXtst,libXp,gcc,libselinux,device-mapper,findutils,krb5-libs,openldap,cairo,apr,apr-util,libutempter,psmisc,pango,mysql,libgssapi,libselinux-utils,net-tools,device-mapper-multipath,libsmbclient,ruby-libs,distcache,wget,OpenIPMI-libs,nscd,audit,mtools,cryptsetup-luks,lvm2,vim-minimal,amtu,bind-utils,xterm,conman,openldap-clients,stunnel,nmap,cyrus-sasl-gssapi,psacct,ksh,parted,vim-enhanced,lsof,ruby-irb,psgml,liberation-fonts,kernel-xen-devel,libgcj,libglade2,python,dbus-glib,rpm,fipscheck-lib,dbus,m2crypto,pygobject2,rpm-python,libsemanage,system-config-securitylevel-tui,python-lxml,dmraid,gamin-python,notification-daemon,bluez-gnome,iscsi-initiator-utils,python-elementtree,mx,pygtk2,audit-libs-python,libselinux-python,python-sqlite,pam,util-linux,initscripts,policycoreutils,ccid,openssh,passwd,ppp,kbd,ifd-egate,dhclient,vixie-cron,cyrus-sasl,which,at,dmraid-events,htmlview,java-1.4.2-gcj-compat,gjdoc,postgresql-jdbc,samba-client,mdadm,yp-tools,setuptool,openssh-clients,sudo,mod_ssl,mod_perl,bluez-utils,ipsec-tools,acpid,vsftpd,quota,krb5-workstation,pam_pkcs11,nss_ldap,screen,net-snmp,MySQL-python,readahead,python-dateutil,rhnlib,python-urlgrabber,yum-security,yum-utils,yum-fastestmirror,redhat-support-tool,Deployment_Guide-ja-JP,Deployment_Guide-de-DE,Deployment_Guide-ko-KR,Deployment_Guide-es-ES,Deployment_Guide-zh-CN,redhat-lsb,xinetd,sos,python-setuptools,chkfontpath,module-init-tools,hwdata,mkbootdisk,fonts-korean,fonts-chinese,fonts-KOI8-R-75dpi,pcmciautils,irda-utils,pm-utils,kudzu,nfs-utils,rhn-client-tools,rhn-setup,firstboot-tui,apmd,filesystem,cracklib-dicts,termcap,man-pages-de,man-pages-es,rootfiles,words,zlib,libstdc++,cyrus-sasl-lib,bash,libsepol,freetype,libusb,bzip2-libs,libattr,procps,libgpg-error,libidn,pcre,libXau,less,make,unixODBC-libs,mailx,bc,perl-BSD-Resource,nss-tools,m4,iputils,gmp,pax,ethtool,mingetty,dosfstools,mozldap,jwhois,attr,ftp,dialog,unzip,compat-db,dos2unix,setserial,unix2dos,hdparm,ncompress,jpackage-utils,redhat-release,bitstream-vera-fonts,aspell-ru,aspell-de,libXext,libXmu,libXcursor,libXinerama,grub,shadow-utils,coreutils,fontconfig,logrotate,tar,net-snmp-libs,e2fsprogs,gnupg,neon,bind-libs,cups-libs,tcsh,device-mapper-event,patch,mysql-connector-odbc,postgresql-odbc,tcpdump,pkinit-nss,microcode_ctl,nss_db,sgml-common,logwatch,GConf2,dbus-libs,rhpl,libxml2-python,rpm-libs,man,python-simplejson,ntsysv,wpa_supplicant,python-numeric,pygtk2-libglade,python-ethtool,udev,httpd,portmap,usermode,ypbind,sysklogd,sendmail,pyOpenSSL,python-iniparse,python-rhsm,mutt,rp-pppoe,setools,mod_python,dhcpv6-client,smartmontools,rng-utils,pam_ccreds,postgresql-python,libhugetlbfs,redhat-support-lib-python,yum,yum-updateonboot,Deployment_Guide-fr-FR,Deployment_Guide-ru-RU,Deployment_Guide-en-US,system-config-securitylevel,rhel-instnum,mkinitrd,kernel-xen,fonts-japanese,pciutils,hal,rhnsd,yum-rhn-plugin,rhn-check'] <--- ---> comment: Newly introduced packages: ['GConf2', 'NetworkManager', 'NetworkManager-glib', 'ORBit2', 'OpenIPMI', 'OpenIPMI-libs', 'amtu', 'apmd', 'bluez-gnome', 'bluez-libs', 'bluez-utils', 'ccid', 'coolkey', 'cyrus-sasl', 'dnsmasq', 'dump', 'eject', 'gnu-efi', 'ifd-egate', 'ipsec-tools', 'irda-utils', 'libIDL', 'libXres', 'libdaemon', 'libevent', 'libgssapi', 'libnotify', 'libpcap', 'libwnck', 'libxslt', 'man-pages-overrides', 'mdadm', 'microcode_ctl', 'mkbootdisk', 'nfs-utils', 'nfs-utils-lib', 'notification-daemon', 'numactl', 'pcmciautils', 'pcsc-lite', 'pcsc-lite-libs', 'portmap', 'ppp', 'procmail', 'psacct', 'python-dateutil', 'python-lxml', 'rdate', 'rdist', 'redhat-support-lib-python', 'redhat-support-tool', 'rmt', 'rp-pppoe', 'rsh', 'scl-utils', 'sendmail', 'smartmontools', 'specspo', 'startup-notification', 'sysklogd', 'syslinux', 'talk', 'vconfig', 'wget', 'wpa_supplicant', 'yp-tools', 'ypbind'] result: passed <--- ---> comment: some packages are missing: ['exim', 'gpg-pubkey', 'rh-amazon-rhui-client', 'rsyslog', 'w3m'] 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 succeeded test stage1:testcase_19_rhn_system_id succeeded test stage1:testcase_20_auditd succeeded 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-07-4C-44 ~]# 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-07-4C-44 ~]# 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-37017186-45761324 result: failed <--- test stage1:testcase_23_syslog failed ---> command: md5sum /etc/rsyslog.conf | cut -f 1 -d ' ' result: passed value: md5sum: /etc/rsyslog.conf: No such file or directory <--- ---> comment: /etc/rsyslog.conf md5 differs (md5sum: /etc/rsyslog.conf: No such file or directory, should be ['bd4e328df4b59d41979ef7202a05e074', '15936b6fe4e8fadcea87b54de495f975']) result: failed <--- test stage1:testcase_24_yum_plugin succeeded test stage1:testcase_25_uname succeeded test stage1:testcase_26_verify_rpms succeeded test stage1:testcase_27_yum_repos failed ---> actual repos: {'rhel-debuginfo': False} expected repos: {'rhel-debuginfo': False, 'rhui-REGION-rhel-server-supplementary': False, 'rhui-REGION-rhel-server-source-supplementary': False, 'rhui-REGION-rhel-server': True, 'rhui-REGION-rhel-server-debug-supplementary': False, 'rhui-REGION-client-config-server-5': True, 'rhui-REGION-rhel-server-source': False} result: failed <--- test stage1:testcase_28_iptables succeeded test stage1:testcase_29_swap_file succeeded stage1:testcase_30_rhn_certificates: test failure test stage1:testcase_31_subscription_management failed ---> command: yum --disablerepo='*' -v repolist expectation: Not loading "subscription-manager" plugin result: passed <--- ---> command: yum --enableplugin=subscription-manager --disablerepo='*' -v repolist expectation: Loading "subscription-manager" plugin result: passed <--- ---> actual: subscription-manager list +-------------------------------------------+ Installed Product Status +-------------------------------------------+ Product Name: Red Hat Enterprise Linux Server Product ID: 69 Version: 5.10 Arch: i386 Status: Unknown Status Details: Starts: Ends: [root@domU-12-31-39-07-4C-44 ~]# command: subscription-manager list expectation: No installed products to list result: failed <--- test stage1:testcase_32_ephemeral failed ---> command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l result: passed value: 1 <--- ---> command: fdisk -l /dev/sdf | grep '^Disk' result: passed <--- ---> command: grep '/dev/sdf ' /proc/mounts | wc -l result: passed value: 0 <--- ---> actual: 1 command: mkfs.vfat /dev/sdf result: failed <--- ---> actual: echo '###START###'; mkdir -p /tmp/mnt-sdf; echo '###END###' ###START### ###END### [root@domU-12-31-39-07-4C-44 ~]# command: mkdir -p /tmp/mnt-sdf result: failed <--- test stage1:testcase_34_cpu succeeded test stage1:testcase_360_ebs succeeded test stage1:testcase_39_root_is_locked failed ---> actual: 1 command: egrep "^root:(\!\!|\*|x|locked):" /etc/shadow result: failed <--- test stage1:testcase_41_rh_amazon_rhui_client failed ---> actual: 1 command: rpm -q rh-amazon-rhui-client result: failed <--- test stage1:testcase_42_ipv6 failed ---> actual: 1 command: grep NETWORKING_IPV6=no /etc/sysconfig/network result: failed <--- test stage1:testcase_50_yum_package_install failed ---> command: yum clean all result: passed <--- ---> command: yum repolist result: passed <--- ---> command: yum search zsh result: passed <--- ---> command: yum -y install zsh result: passed <--- ---> 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 skipped ---> comment: No proxy set result: skip <--- test stage1:testcase_80_no_avc_denials succeeded test stage1:testcase_99_reboot succeeded test stage2:testcase_08_memory succeeded test stage2:testcase_25_uname succeeded test stage2:testcase_37_sshd_bug923996 succeeded test stage2:testcase_80_no_avc_denials succeeded t1.micro test stage1:testcase_01_bash_history succeeded test stage1:testcase_02_selinux_context failed ---> command: restorecon -R -v -n -e /proc -e /sys -e /mnt / | sed -e 's, context , ,' -e 's,^restorecon reset ,,' | cat > /tmp/restorecon_output.txt && echo SUCCESS expectation: SUCCESS result: passed <--- ---> comment: Fail.New entries detected:[['/etc/modprobe.d/anaconda.conf', ['file_t', 'etc_t']], ['/lost+found', ['file_t', 'lost_found_t']], ['/etc/sysconfig/mkinitrd/multipath', ['file_t', 'etc_t']], ['/etc/sysconfig/network-scripts/ifcfg-eth0', ['etc_runtime_t', 'etc_t']], ['/etc/sysconfig/firstboot', ['etc_t', 'etc_runtime_t']]] Lost entries:[['/etc/sysconfig/rh-cloud-firstboot', ['etc_runtime_t', 'etc_t']], ['/etc/yum.repos.d/.*', ['etc_runtime_t', 'etc_t']], ['/etc/yum/pluginconf.d/rhui-lb.conf', ['etc_runtime_t', 'etc_t']]] result: failed <--- test stage1:testcase_03_running_services succeeded test stage1:testcase_04_cloud_firstboot failed ---> actual: chkconfig --list rh-cloud-firstboot error reading information on service rh-cloud-firstboot: No such file or directory [root@ip-10-47-136-62 ~]# command: chkconfig --list rh-cloud-firstboot expectation: 3:off result: failed <--- ---> actual: 1 command: test -f /etc/sysconfig/rh-cloud-firstboot result: failed <--- ---> actual: cat /etc/sysconfig/rh-cloud-firstboot cat: /etc/sysconfig/rh-cloud-firstboot: No such file or directory [root@ip-10-47-136-62 ~]# command: cat /etc/sysconfig/rh-cloud-firstboot expectation: RUN_FIRSTBOOT=NO result: failed <--- 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: ['basesystem,glibc-common,dump,specspo,gnu-efi,man-pages-ru,glibc,popt,audit-libs,atk,ncurses,sed,sqlite,perl,libSM,libcap,diffutils,elfutils-libelf,tcl,libsysfs,libtiff,libgomp,libfontenc,hesiod,virt-what,libxslt,hmaccalc,ed,cpp,procmail,ORBit2,libnl,bluez-libs,libvolume_id,libart_lgpl,sysfsutils,rsync,numactl,mtr,mgetty,scl-utils,beecrypt,vconfig,traceroute,finger,pam_smb,rdate,redhat-menus,glibc-devel,aspell-cs,aspell-pt,aspell-pl,xorg-x11-font-utils,libXpm,libXi,startup-notification,anacron,e2fsprogs-libs,openssl,postgresql-libs,kpartx,libXft,curl,gd,ruby,libpcap,alsa-lib,syslinux,MAKEDEV,OpenIPMI,tmpwatch,autofs,cyrus-sasl-md5,tux,mlocate,hicolor-icon-theme,ruby-rdoc,gtk2,libwnck,newt,python-libs,dbus-python,python-dmidecode,gettext,NetworkManager-glib,libnotify,PyXML,pycairo,yum-metadata-parser,cracklib,SysVinit,pcsc-lite,libuser,authconfig,mcstrans,dnsmasq,samba-common,fipscheck,antlr,pinfo,coolkey,openssh-server,webalizer,mod_authz_ldap,irqbalance,postgresql,prelink,pam_krb5,openswan,subversion,selinux-policy,yum-updatesd,selinux-policy-targeted,Deployment_Guide-pt-BR,Deployment_Guide-zh-TW,Deployment_Guide-it-IT,man-pages-overrides,subscription-manager,xorg-x11-xfs,fonts-KOI8-R,fonts-KOI8-R-100dpi,usbutils,NetworkManager,nfs-utils-lib,system-config-network-tui,setup,mailcap,rmt,tzdata,nash,kernel-headers,redhat-release-notes,man-pages-it,man-pages-fr,man-pages-pl,man-pages-cs,man-pages-ja,man-pages,libgcc,chkconfig,glib2,mktemp,nspr,expat,db4,libtermcap,info,readline,gawk,libxml2,tcp_wrappers,nss,gdbm,aspell,libICE,libpng,libacl,ttmkfdir,binutils,keyutils-libs,libjpeg,libgcrypt,iptables,iproute,grep,dmidecode,gnutls,bzip2,gzip,cpio,file,libXfont,zip,pcsc-lite-libs,slang,lm_sensors,iptables-ipv6,perl-String-CRC32,perl-DBI,svrcore,vim-common,time,gpm,groff,gamin,desktop-file-utils,libIDL,libevent,checkpolicy,wireless-tools,libFS,libXdmcp,sgpio,pkgconfig,libdaemon,libtool-ltdl,lftp,iptstate,crash,acl,fbset,udftools,telnet,nano,talk,cpuspeed,nc,cyrus-sasl-plain,libicu,setarch,rsh,symlinks,lslk,tree,pam_passwdqc,libaio,eject,compat-libstdc++-33,rdist,crontabs,xorg-x11-filesystem,perl-URI,glibc-headers,redhat-logos,man-pages-ko,aspell-en,aspell-it,aspell-es,aspell-fr,libX11,libXrender,libXt,libXrandr,libXfixes,libXaw,libXres,libXtst,libXp,gcc,libselinux,device-mapper,findutils,krb5-libs,openldap,cairo,apr,apr-util,libutempter,psmisc,pango,mysql,libgssapi,libselinux-utils,net-tools,device-mapper-multipath,libsmbclient,ruby-libs,distcache,wget,OpenIPMI-libs,nscd,audit,mtools,cryptsetup-luks,lvm2,vim-minimal,amtu,bind-utils,xterm,conman,openldap-clients,stunnel,nmap,cyrus-sasl-gssapi,psacct,ksh,parted,vim-enhanced,lsof,ruby-irb,psgml,liberation-fonts,kernel-xen-devel,libgcj,libglade2,python,dbus-glib,rpm,fipscheck-lib,dbus,m2crypto,pygobject2,rpm-python,libsemanage,system-config-securitylevel-tui,python-lxml,dmraid,gamin-python,notification-daemon,bluez-gnome,iscsi-initiator-utils,python-elementtree,mx,pygtk2,audit-libs-python,libselinux-python,python-sqlite,pam,util-linux,initscripts,policycoreutils,ccid,openssh,passwd,ppp,kbd,ifd-egate,dhclient,vixie-cron,cyrus-sasl,which,at,dmraid-events,htmlview,java-1.4.2-gcj-compat,gjdoc,postgresql-jdbc,samba-client,mdadm,yp-tools,setuptool,openssh-clients,sudo,mod_ssl,mod_perl,bluez-utils,ipsec-tools,acpid,vsftpd,quota,krb5-workstation,pam_pkcs11,nss_ldap,screen,net-snmp,MySQL-python,readahead,python-dateutil,rhnlib,python-urlgrabber,yum-security,yum-utils,yum-fastestmirror,redhat-support-tool,Deployment_Guide-ja-JP,Deployment_Guide-de-DE,Deployment_Guide-ko-KR,Deployment_Guide-es-ES,Deployment_Guide-zh-CN,redhat-lsb,xinetd,sos,python-setuptools,chkfontpath,module-init-tools,hwdata,mkbootdisk,fonts-korean,fonts-chinese,fonts-KOI8-R-75dpi,pcmciautils,irda-utils,pm-utils,kudzu,nfs-utils,rhn-client-tools,rhn-setup,firstboot-tui,apmd,filesystem,cracklib-dicts,termcap,man-pages-de,man-pages-es,rootfiles,words,zlib,libstdc++,cyrus-sasl-lib,bash,libsepol,freetype,libusb,bzip2-libs,libattr,procps,libgpg-error,libidn,pcre,libXau,less,make,unixODBC-libs,mailx,bc,perl-BSD-Resource,nss-tools,m4,iputils,gmp,pax,ethtool,mingetty,dosfstools,mozldap,jwhois,attr,ftp,dialog,unzip,compat-db,dos2unix,setserial,unix2dos,hdparm,ncompress,jpackage-utils,redhat-release,bitstream-vera-fonts,aspell-ru,aspell-de,libXext,libXmu,libXcursor,libXinerama,grub,shadow-utils,coreutils,fontconfig,logrotate,tar,net-snmp-libs,e2fsprogs,gnupg,neon,bind-libs,cups-libs,tcsh,device-mapper-event,patch,mysql-connector-odbc,postgresql-odbc,tcpdump,pkinit-nss,microcode_ctl,nss_db,sgml-common,logwatch,GConf2,dbus-libs,rhpl,libxml2-python,rpm-libs,man,python-simplejson,ntsysv,wpa_supplicant,python-numeric,pygtk2-libglade,python-ethtool,udev,httpd,portmap,usermode,ypbind,sysklogd,sendmail,pyOpenSSL,python-iniparse,python-rhsm,mutt,rp-pppoe,setools,mod_python,dhcpv6-client,smartmontools,rng-utils,pam_ccreds,postgresql-python,libhugetlbfs,redhat-support-lib-python,yum,yum-updateonboot,Deployment_Guide-fr-FR,Deployment_Guide-ru-RU,Deployment_Guide-en-US,system-config-securitylevel,rhel-instnum,mkinitrd,kernel-xen,fonts-japanese,pciutils,hal,rhnsd,yum-rhn-plugin,rhn-check'] <--- ---> comment: Newly introduced packages: ['GConf2', 'NetworkManager', 'NetworkManager-glib', 'ORBit2', 'OpenIPMI', 'OpenIPMI-libs', 'amtu', 'apmd', 'bluez-gnome', 'bluez-libs', 'bluez-utils', 'ccid', 'coolkey', 'cyrus-sasl', 'dnsmasq', 'dump', 'eject', 'gnu-efi', 'ifd-egate', 'ipsec-tools', 'irda-utils', 'libIDL', 'libXres', 'libdaemon', 'libevent', 'libgssapi', 'libnotify', 'libpcap', 'libwnck', 'libxslt', 'man-pages-overrides', 'mdadm', 'microcode_ctl', 'mkbootdisk', 'nfs-utils', 'nfs-utils-lib', 'notification-daemon', 'numactl', 'pcmciautils', 'pcsc-lite', 'pcsc-lite-libs', 'portmap', 'ppp', 'procmail', 'psacct', 'python-dateutil', 'python-lxml', 'rdate', 'rdist', 'redhat-support-lib-python', 'redhat-support-tool', 'rmt', 'rp-pppoe', 'rsh', 'scl-utils', 'sendmail', 'smartmontools', 'specspo', 'startup-notification', 'sysklogd', 'syslinux', 'talk', 'vconfig', 'wget', 'wpa_supplicant', 'yp-tools', 'ypbind'] result: passed <--- ---> comment: some packages are missing: ['exim', 'gpg-pubkey', 'rh-amazon-rhui-client', 'rsyslog', 'w3m'] 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 succeeded test stage1:testcase_19_rhn_system_id succeeded test stage1:testcase_20_auditd succeeded 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-47-136-62 ~]# 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-47-136-62 ~]# 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-37017186-45761324 result: failed <--- test stage1:testcase_23_syslog failed ---> command: md5sum /etc/rsyslog.conf | cut -f 1 -d ' ' result: passed value: md5sum: /etc/rsyslog.conf: No such file or directory <--- ---> comment: /etc/rsyslog.conf md5 differs (md5sum: /etc/rsyslog.conf: No such file or directory, should be ['bd4e328df4b59d41979ef7202a05e074', '15936b6fe4e8fadcea87b54de495f975']) result: failed <--- test stage1:testcase_24_yum_plugin succeeded test stage1:testcase_25_uname succeeded test stage1:testcase_26_verify_rpms succeeded test stage1:testcase_27_yum_repos failed ---> actual repos: {'rhel-debuginfo': False} expected repos: {'rhel-debuginfo': False, 'rhui-REGION-rhel-server-supplementary': False, 'rhui-REGION-rhel-server-source-supplementary': False, 'rhui-REGION-rhel-server': True, 'rhui-REGION-rhel-server-debug-supplementary': False, 'rhui-REGION-client-config-server-5': True, 'rhui-REGION-rhel-server-source': False} result: failed <--- test stage1:testcase_28_iptables succeeded stage1:testcase_30_rhn_certificates: test failure test stage1:testcase_31_subscription_management failed ---> command: yum --disablerepo='*' -v repolist expectation: Not loading "subscription-manager" plugin result: passed <--- ---> command: yum --enableplugin=subscription-manager --disablerepo='*' -v repolist expectation: Loading "subscription-manager" plugin result: passed <--- ---> actual: subscription-manager list +-------------------------------------------+ Installed Product Status +-------------------------------------------+ Product Name: Red Hat Enterprise Linux Server Product ID: 69 Version: 5.10 Arch: i386 Status: Unknown Status Details: Starts: Ends: [root@ip-10-47-136-62 ~]# command: subscription-manager list expectation: No installed products to list result: failed <--- test stage1:testcase_32_ephemeral skipped ---> comment: no ephemeral devices in block map result: skip <--- test stage1:testcase_34_cpu succeeded test stage1:testcase_360_ebs succeeded test stage1:testcase_39_root_is_locked failed ---> actual: 1 command: egrep "^root:(\!\!|\*|x|locked):" /etc/shadow result: failed <--- test stage1:testcase_41_rh_amazon_rhui_client failed ---> actual: 1 command: rpm -q rh-amazon-rhui-client result: failed <--- test stage1:testcase_42_ipv6 failed ---> actual: 1 command: grep NETWORKING_IPV6=no /etc/sysconfig/network result: failed <--- test stage1:testcase_50_yum_package_install failed ---> command: yum clean all result: passed <--- ---> command: yum repolist result: passed <--- ---> command: yum search zsh result: passed <--- ---> command: yum -y install zsh result: passed <--- ---> 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 skipped ---> comment: No proxy set result: skip <--- test stage1:testcase_80_no_avc_denials succeeded test stage1:testcase_99_reboot succeeded test stage2:testcase_08_memory succeeded test stage2:testcase_25_uname succeeded test stage2:testcase_37_sshd_bug923996 succeeded test stage2:testcase_80_no_avc_denials succeeded
Aparently, this is not an EC2 ami