Created attachment 1134738 [details] ami-67fe1107-log.yaml
# m3.xlarge: waived stage1:testcase_380_bug1103344_ttySOconf: passed stage1:testcase_03_running_services: passed stage1:testcase_04_cloud_firstboot: passed stage1:testcase_16_selinux: passed stage1:testcase_20_auditd: passed stage1:testcase_141_hostname: passed stage1:testcase_30_rhn_certificates: passed stage1:testcase_18_sshd: passed stage1:testcase_07_libc6_xen_conf: passed stage1:testcase_08_memory: passed stage1:testcase_06_inittab: passed stage1:testcase_05_grub: passed stage1:testcase_01_bash_history: passed stage1:testcase_15_rhel_version: passed stage1:testcase_09_nameserver: waived - command: dig clock.redhat.com | grep 66.187.233.4 result: failed actual: 1 stage1:testcase_02_selinux_context: passed stage1:testcase_33_userdata: passed stage1:testcase_10_networking: passed stage1:testcase_41_rh_amazon_rhui_client: passed stage1:testcase_11_package_set: skip stage1:testcase_35_console: passed stage1:testcase_39_root_is_locked: passed stage1:testcase_410_rh_cloud_firstboot: passed stage1:testcase_420_ip6tables: passed stage1:testcase_42_ipv6: passed stage1:testcase_60_yum_update: passed stage1:testcase_63_sriov: skip stage1:testcase_66_bug1122300_proc_cmdline: passed stage1:testcase_80_no_avc_denials: waived - command: echo START; grep 'avc:[[:space:]]*denied' /var/log/messages /var/log/audit/audit.log | grep -v userdata; echo END result: failed actual: echo START; grep 'avc:[[:space:]]*denied' /var/log/messages /var/log/audit/audit.log | grep -v userdata; echo END START /var/log/messages:Mar 8 09:41:13 ip-10-28-5-189 kernel: type=1400 audit(1457448059.869:4): avc: denied { read } for pid=539 comm="hwclock" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:hwclock_t:s0-s0:c0.c1023 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/messages:Mar 8 09:41:13 ip-10-28-5-189 kernel: type=1400 audit(1457448067.569:5): avc: denied { read } for pid=869 comm="date" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:sysstat_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/messages:Mar 8 09:41:13 ip-10-28-5-189 kernel: type=1400 audit(1457448067.582:6): avc: denied { read } for pid=870 comm="date" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:sysstat_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/messages:Mar 8 09:41:13 ip-10-28-5-189 kernel: type=1400 audit(1457448067.702:7): avc: denied { read } for pid=868 comm="sadc" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:sysstat_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/messages:Mar 8 09:41:13 ip-10-28-5-189 kernel: type=1400 audit(1457448067.717:8): avc: denied { read } for pid=868 comm="sadc" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:sysstat_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/messages:Mar 8 09:41:13 ip-10-28-5-189 kernel: type=1400 audit(1457448067.740:9): avc: denied { read } for pid=868 comm="sadc" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:sysstat_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/messages:Mar 8 09:41:13 ip-10-28-5-189 kernel: type=1400 audit(1457448072.277:11): avc: denied { read } for pid=1086 comm="audispd" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:audisp_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/audit/audit.log:type=AVC msg=audit(1457448236.302:114): avc: denied { read } for pid=1608 comm="newaliases" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:sendmail_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/audit/audit.log:type=AVC msg=audit(1457448236.305:115): avc: denied { read } for pid=1608 comm="newaliases" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:sendmail_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/audit/audit.log:type=AVC msg=audit(1457448237.287:116): avc: denied { read } for pid=1684 comm="pickup" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:postfix_pickup_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/audit/audit.log:type=AVC msg=audit(1457448237.291:117): avc: denied { read } for pid=1684 comm="pickup" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:postfix_pickup_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/audit/audit.log:type=AVC msg=audit(1457448237.382:118): avc: denied { read } for pid=1685 comm="qmgr" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:postfix_qmgr_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/audit/audit.log:type=AVC msg=audit(1457448237.384:119): avc: denied { read } for pid=1685 comm="qmgr" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:postfix_qmgr_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/audit/audit.log:type=AVC msg=audit(1457448265.154:243): avc: denied { read } for pid=1216 comm="dbus-daemon" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/audit/audit.log:type=AVC msg=audit(1457448265.154:243): avc: denied { open } for pid=1216 comm="dbus-daemon" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/audit/audit.log:type=AVC msg=audit(1457448265.154:244): avc: denied { getattr } for pid=1216 comm="dbus-daemon" path="/etc/localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/audit/audit.log:type=AVC msg=audit(1457448353.894:811): avc: denied { read } for pid=2619 comm="passwd" name="localtime" dev=xvda1 ino=1266 scontext=unconfined_u:unconfined_r:passwd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:root_t:s0 tclass=file END [root@ip-10-28-5-189 ~]# expectation: START END stage1:testcase_23_syslog: passed stage1:testcase_21_disk_size_format: passed stage1:testcase_34_cpu: passed stage1:testcase_19_rhn_system_id: passed stage1:testcase_22_gpg_keys: passed stage1:testcase_17_shells: passed stage1:testcase_62_cpuflags: passed stage1:testcase_25_uname: failed - command: uname -r | sed -e 's,\.i686$,,' -e 's,\.x86_64$,,' result: passed value: 2.6.32-621.el6 - command: rpm -q --last kernel | sed -e 's,^kernel-,,' -e 's,[[:space:]].*$,,' | head -1 | sed -e 's,\.i686$,,' -e 's,\.x86_64$,,' result: passed value: 2.6.32-573.18.1.el6 - command: uname -o result: passed value: GNU/Linux - command: [ 2.6.32-573.18.1.el6 = 2.6.32-621.el6 ] result: failed actual: 1 - command: [ GNU/Linux = 'GNU/Linux' ] result: passed - command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel result: passed - command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel result: passed stage1:testcase_99_ssh_key: waived - command: echo "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAtIc6X/1qXsEPjvnPd K2nXS3v6wpBTgU6nLFagsaEJ27LtB0b+UpOpagCHxK3LxSYX8JB3g2ns5/WTFXGmltpy XnVX2BRLvpX2Yqq5Bh2ykWNu/mwQUa+BuuHOjFZMoG8N6jK3fkUXLjHDfi76xFU7SA9V iC7BVTzvBTQuZLyGHjhwLctaPlfD4yBO06npAVGlCyWm3VzX0ivZkxdtVCLd2IjFvwbb V3QuUwfWD0W93l0ULvVLst6g2O2AJNkVFS9WKzgjQvsJh1r18rVGrM+vqTB7KrGJLSsg UOtC3mC4apigYkP6rxaakpSy95zYrEXxDiSodW7aJAQoqTw5r+waw== root.rhts.eng.bos.redhat.com" >> /home/cloud-user/.ssh/authorized_keys result: failed actual: 1 stage1:testcase_360_ebs: passed stage1:testcase_14_host_details: passed stage1:testcase_26_verify_rpms: passed stage1:testcase_12_passwd_group: passed stage1:testcase_24_yum_plugin: passed stage1:testcase_61_yum_proxy: passed stage1:testcase_32_ephemeral: passed stage1:testcase_27_yum_repos: passed stage1:testcase_31_subscription_management: passed stage1:testcase_50_yum_package_install: passed stage2:testcase_66_bug1122300_proc_cmdline: passed stage2:testcase_141_hostname: waived - command: test -f /root/hostname_text.txt || hostname > /root/hostname_text.txt; sync result: passed - command: grep -x `hostname` /root/hostname_text.txt result: failed actual: 1 stage2:testcase_25_uname: passed stage2:testcase_08_memory: passed stage2:testcase_37_sshd_bug923996: passed stage2:testcase_80_no_avc_denials: waived - command: echo START; grep 'avc:[[:space:]]*denied' /var/log/messages /var/log/audit/audit.log | grep -v userdata; echo END result: failed actual: echo START; grep 'avc:[[:space:]]*denied' /var/log/messages /var/log/audit/audit.log | grep -v userdata; echo END START /var/log/messages:Mar 8 09:41:13 ip-10-28-5-189 kernel: type=1400 audit(1457448059.869:4): avc: denied { read } for pid=539 comm="hwclock" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:hwclock_t:s0-s0:c0.c1023 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/messages:Mar 8 09:41:13 ip-10-28-5-189 kernel: type=1400 audit(1457448067.569:5): avc: denied { read } for pid=869 comm="date" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:sysstat_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/messages:Mar 8 09:41:13 ip-10-28-5-189 kernel: type=1400 audit(1457448067.582:6): avc: denied { read } for pid=870 comm="date" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:sysstat_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/messages:Mar 8 09:41:13 ip-10-28-5-189 kernel: type=1400 audit(1457448067.702:7): avc: denied { read } for pid=868 comm="sadc" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:sysstat_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/messages:Mar 8 09:41:13 ip-10-28-5-189 kernel: type=1400 audit(1457448067.717:8): avc: denied { read } for pid=868 comm="sadc" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:sysstat_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/messages:Mar 8 09:41:13 ip-10-28-5-189 kernel: type=1400 audit(1457448067.740:9): avc: denied { read } for pid=868 comm="sadc" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:sysstat_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/messages:Mar 8 09:41:13 ip-10-28-5-189 kernel: type=1400 audit(1457448072.277:11): avc: denied { read } for pid=1086 comm="audispd" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:audisp_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/messages:Mar 8 10:03:11 ip-10-28-5-189 kernel: type=1400 audit(1457449381.097:4): avc: denied { read } for pid=514 comm="hwclock" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:hwclock_t:s0-s0:c0.c1023 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/messages:Mar 8 10:03:11 ip-10-28-5-189 kernel: type=1400 audit(1457449385.940:5): avc: denied { read } for pid=845 comm="date" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:sysstat_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/messages:Mar 8 10:03:11 ip-10-28-5-189 kernel: type=1400 audit(1457449385.954:6): avc: denied { read } for pid=846 comm="date" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:sysstat_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/messages:Mar 8 10:03:11 ip-10-28-5-189 kernel: type=1400 audit(1457449385.995:7): avc: denied { read } for pid=843 comm="sadc" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:sysstat_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/messages:Mar 8 10:03:11 ip-10-28-5-189 kernel: type=1400 audit(1457449386.011:8): avc: denied { read } for pid=843 comm="sadc" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:sysstat_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/messages:Mar 8 10:03:11 ip-10-28-5-189 kernel: type=1400 audit(1457449386.023:9): avc: denied { read } for pid=843 comm="sadc" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:sysstat_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/messages:Mar 8 10:03:11 ip-10-28-5-189 kernel: type=1400 audit(1457449391.620:11): avc: denied { read } for pid=1061 comm="audispd" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:audisp_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/audit/audit.log:type=AVC msg=audit(1457448236.302:114): avc: denied { read } for pid=1608 comm="newaliases" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:sendmail_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/audit/audit.log:type=AVC msg=audit(1457448236.305:115): avc: denied { read } for pid=1608 comm="newaliases" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:sendmail_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/audit/audit.log:type=AVC msg=audit(1457448237.287:116): avc: denied { read } for pid=1684 comm="pickup" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:postfix_pickup_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/audit/audit.log:type=AVC msg=audit(1457448237.291:117): avc: denied { read } for pid=1684 comm="pickup" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:postfix_pickup_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/audit/audit.log:type=AVC msg=audit(1457448237.382:118): avc: denied { read } for pid=1685 comm="qmgr" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:postfix_qmgr_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/audit/audit.log:type=AVC msg=audit(1457448237.384:119): avc: denied { read } for pid=1685 comm="qmgr" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:postfix_qmgr_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/audit/audit.log:type=AVC msg=audit(1457448265.154:243): avc: denied { read } for pid=1216 comm="dbus-daemon" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/audit/audit.log:type=AVC msg=audit(1457448265.154:243): avc: denied { open } for pid=1216 comm="dbus-daemon" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/audit/audit.log:type=AVC msg=audit(1457448265.154:244): avc: denied { getattr } for pid=1216 comm="dbus-daemon" path="/etc/localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/audit/audit.log:type=AVC msg=audit(1457448353.894:811): avc: denied { read } for pid=2619 comm="passwd" name="localtime" dev=xvda1 ino=1266 scontext=unconfined_u:unconfined_r:passwd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/audit/audit.log:type=AVC msg=audit(1457448601.747:1515): avc: denied { read } for pid=14190 comm="date" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:sysstat_t:s0-s0:c0.c1023 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/audit/audit.log:type=AVC msg=audit(1457448601.748:1516): avc: denied { read } for pid=14191 comm="date" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:sysstat_t:s0-s0:c0.c1023 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/audit/audit.log:type=AVC msg=audit(1457448601.749:1517): avc: denied { read } for pid=14189 comm="sadc" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:sysstat_t:s0-s0:c0.c1023 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/audit/audit.log:type=AVC msg=audit(1457448601.751:1518): avc: denied { read } for pid=14189 comm="sadc" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:sysstat_t:s0-s0:c0.c1023 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/audit/audit.log:type=AVC msg=audit(1457448601.751:1519): avc: denied { read } for pid=14189 comm="sadc" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:sysstat_t:s0-s0:c0.c1023 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/audit/audit.log:type=AVC msg=audit(1457448601.761:1520): avc: denied { read } for pid=14189 comm="sadc" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:sysstat_t:s0-s0:c0.c1023 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/audit/audit.log:type=AVC msg=audit(1457449201.827:1725): avc: denied { read } for pid=14420 comm="date" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:sysstat_t:s0-s0:c0.c1023 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/audit/audit.log:type=AVC msg=audit(1457449201.828:1726): avc: denied { read } for pid=14421 comm="date" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:sysstat_t:s0-s0:c0.c1023 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/audit/audit.log:type=AVC msg=audit(1457449201.830:1727): avc: denied { read } for pid=14419 comm="sadc" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:sysstat_t:s0-s0:c0.c1023 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/audit/audit.log:type=AVC msg=audit(1457449201.831:1728): avc: denied { read } for pid=14419 comm="sadc" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:sysstat_t:s0-s0:c0.c1023 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/audit/audit.log:type=AVC msg=audit(1457449201.831:1729): avc: denied { read } for pid=14419 comm="sadc" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:sysstat_t:s0-s0:c0.c1023 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/audit/audit.log:type=AVC msg=audit(1457449201.856:1730): avc: denied { read } for pid=14419 comm="sadc" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:sysstat_t:s0-s0:c0.c1023 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/audit/audit.log:type=AVC msg=audit(1457449301.265:1828): avc: denied { read } for pid=14582 comm="shutdown" name="localtime" dev=xvda1 ino=1266 scontext=unconfined_u:unconfined_r:shutdown_t:s0-s0:c0.c1023 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/audit/audit.log:type=AVC msg=audit(1457449401.531:13): avc: denied { read } for pid=1532 comm="pickup" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:postfix_pickup_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/audit/audit.log:type=AVC msg=audit(1457449401.534:14): avc: denied { read } for pid=1532 comm="pickup" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:postfix_pickup_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/audit/audit.log:type=AVC msg=audit(1457449401.535:15): avc: denied { read } for pid=1533 comm="qmgr" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:postfix_qmgr_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=file /var/log/audit/audit.log:type=AVC msg=audit(1457449401.537:16): avc: denied { read } for pid=1533 comm="qmgr" name="localtime" dev=xvda1 ino=1266 scontext=system_u:system_r:postfix_qmgr_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=file END [root@ip-10-28-5-189 ~]# expectation: START END stage2:testcase_380_bug1103344_ttySOconf: passed