Bug 818147
Summary: | ami-347ca65d 6.3 x86_64 us-east-1 | ||
---|---|---|---|
Product: | Cloud Image Validation | Reporter: | mkovacik |
Component: | images | Assignee: | wes hayutin <whayutin> |
Status: | CLOSED DUPLICATE | QA Contact: | mkovacik |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | RHEL6.3 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-05-02 11:14:36 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
mkovacik
2012-05-02 10:41:29 UTC
IMAGE ID= =====image_validation.sh Wed May 2 06:45:53 EDT 2012===== ###################################################################################### # NEW TEST: ## Open a bugzilla ###################################################################################### ###################################################################################### # NEW TEST: Fetching the identity doc Details ###################################################################################### Verifying that signature exists COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS Verifying the IMAGE ID COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS Verifying the Architecture COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS This Host => ec2-23-20-236-128.compute-1.amazonaws.com with Image Id : ami-347ca65d, is launched with Instance Id : i-1caab27b , Instance Type : m1.xlarge and Arch : x86_64 in the Region : us-east-1c The Validate Signature is : GelybECF/KIqqQKbvYa6szU3IqJkrGAqN5EbDbKDuxdI37OC07OcTBbQfkaEi0bcovAtkIMDfzYF d6FCqEQEKCXWTavZfeBFsgKY3VXHEagz2x3/fbNbuZblJEx+i0oJ3dLUM4Wd/1dY9yx2FY8kSk5x HjOOOM7lGSUjy0bOvvM= This is a Cloud Access image /root/valid/src domU-12-31-39-05-25-61 Red Hat Enterprise Linux Server release 6.3 Beta (Santiago) ###################################################################################### # NEW TEST: The selected image has the version RHEL 6.3 ###################################################################################### ami is a BETA ###################################################################################### # NEW TEST: ## Verify auditd is on ... ###################################################################################### COMMAND: /sbin/chkconfig --list auditd | grep 3:on RESULT: auditd 0:off 1:off 2:on 3:on 4:on 5:on 6:off EXPECTED RESULT: RETURN CODE: 0 PASS COMMAND: /sbin/chkconfig --list auditd | grep 5:on RESULT: auditd 0:off 1:off 2:on 3:on 4:on 5:on 6:off EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify audit.rules ... ###################################################################################### COMMAND: md5sum /etc/audit/audit.rules | cut -f 1 -d " " RESULT: f9869e1191838c461f5b9051c78a638d EXPECTED RESULT: f9869e1191838c461f5b9051c78a638d RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify auditd.conf ... ###################################################################################### COMMAND: md5sum /etc/audit/auditd.conf | cut -f 1 -d " " RESULT: e1886162554c18906df2ecd258aa4794 EXPECTED RESULT: e1886162554c18906df2ecd258aa4794 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify auditd sysconfig ... ###################################################################################### COMMAND: md5sum /etc/sysconfig/auditd | cut -f 1 -d " " RESULT: d4d43637708e30418c30003e212f76fc EXPECTED RESULT: d4d43637708e30418c30003e212f76fc RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify bash_history ... ###################################################################################### COMMAND: cat ~/.bash_history | wc -l RESULT: 0 EXPECTED RESULT: 0 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify chkconfig ... ###################################################################################### COMMAND: chkconfig --list | grep crond | cut -f 5 RESULT: 3:on EXPECTED RESULT: 3:on RETURN CODE: 0 PASS COMMAND: chkconfig --list | grep iptables | cut -f 5 RESULT: 3:on EXPECTED RESULT: 3:on RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify rh-cloud-firstboot is OFF ... ###################################################################################### COMMAND: chkconfig --list | grep rh-cloud | grep 3:off | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS /etc/sysconfig/rh-cloud-firstboot FOUND COMMAND: echo true RESULT: true EXPECTED RESULT: RETURN CODE: 0 PASS COMMAND: cat /etc/sysconfig/rh-cloud-firstboot RESULT: RUN_FIRSTBOOT=NO EXPECTED RESULT: RUN_FIRSTBOOT=NO RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Partition Format ... ###################################################################################### mount | grep /dev/xvde1 | awk '{ print }' COMMAND: echo ext4 RESULT: ext4 EXPECTED RESULT: ext4 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Partition Size ... ###################################################################################### size=5905712 COMMAND: echo true RESULT: true EXPECTED RESULT: true RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: Fetching the identity doc Details ###################################################################################### Verifying that signature exists COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS Verifying the IMAGE ID COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS Verifying the Architecture COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS This Host => ec2-23-20-236-128.compute-1.amazonaws.com with Image Id : ami-347ca65d, is launched with Instance Id : i-1caab27b , Instance Type : m1.xlarge and Arch : x86_64 in the Region : us-east-1c The Validate Signature is : GelybECF/KIqqQKbvYa6szU3IqJkrGAqN5EbDbKDuxdI37OC07OcTBbQfkaEi0bcovAtkIMDfzYF d6FCqEQEKCXWTavZfeBFsgKY3VXHEagz2x3/fbNbuZblJEx+i0oJ3dLUM4Wd/1dY9yx2FY8kSk5x HjOOOM7lGSUjy0bOvvM= This is a Cloud Access image ###################################################################################### # NEW TEST: ## Verify GPG checking ... ###################################################################################### COMMAND: grep '^gpgcheck=1' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | sort -f | uniq RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify GPG Keys ... ###################################################################################### COMMAND: rpm -qa gpg-pubkey* | wc -l RESULT: 2 EXPECTED RESULT: 2 RETURN CODE: 0 PASS SKIPPING TEST, BETA DETECTED ###################################################################################### # NEW TEST: ## Verify group file ... ###################################################################################### COMMAND: cat /etc/group | grep root:x:0 RESULT: root:x:0: EXPECTED RESULT: root:x:0: RETURN CODE: 0 PASS COMMAND: cat /etc/group | grep daemon:x:2 RESULT: daemon:x:2:bin,daemon EXPECTED RESULT: daemon:x:2:bin,daemon RETURN CODE: 0 PASS COMMAND: cat /etc/group | grep bin:x:1 RESULT: bin:x:1:bin,daemon EXPECTED RESULT: bin:x:1:bin,daemon RETURN CODE: 0 PASS COMMAND: cat /etc/group | grep nobody:x:99 RESULT: nobody:x:99: EXPECTED RESULT: nobody:x:99: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ##test menu.lst ... ###################################################################################### COMMAND: file /boot/grub/menu.lst | grep symbolic | wc -l RESULT: 0 EXPECTED RESULT: 1 RETURN CODE: 0 FAIL2 0 COMMAND: file /boot/grub/menu.lst | grep grub.conf | wc -l RESULT: 0 EXPECTED RESULT: 1 RETURN CODE: 0 FAIL2 0 COMMAND: cat /boot/grub/grub.conf | grep "(hd0,0)" | wc -l RESULT: 2 EXPECTED RESULT: 0 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify runlevel ... ###################################################################################### COMMAND: cat /etc/inittab | grep id: RESULT: id:3:initdefault: EXPECTED RESULT: id:3:initdefault: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify iptables ... ###################################################################################### COMMAND: /etc/init.d/iptables status | grep REJECT 5 REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited 1 REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited RETURN CODE: 0 COMMAND: /etc/init.d/iptables status | grep :22 | grep ACCEPT | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/ld.so.conf.d/libc6-xen.conf is not present ... ###################################################################################### COMMAND: ls /etc/ld.so.conf.d/libc6-xen.conf ls: cannot access /etc/ld.so.conf.d/libc6-xen.conf: No such file or directory RESULT: EXPECTED RESULT: 2 RETURN CODE: 2 PASS ###################################################################################### # NEW TEST: ##Verify memory match hwp ... ###################################################################################### cat /proc/meminfo | grep MemTotal: | awk '{print }' FOUND MEMORY OF 15371764 > hwp MEMORY of 15000000 COMMAND: echo true RESULT: true EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify nameserver ... ###################################################################################### COMMAND: /usr/bin/dig clock.redhat.com 2>> /root/valid/src/validate.log | grep 66.187.233.4 | wc -l RESULT: 1 EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify networking ... ###################################################################################### COMMAND: grep ^NETWORKING= /etc/sysconfig/network | cut -d\= -f2 RESULT: yes EXPECTED RESULT: yes RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify device ... ###################################################################################### COMMAND: grep ^DEVICE= /etc/sysconfig/network-scripts/ifcfg-eth0 | cut -d\= -f2 RESULT: eth0 EXPECTED RESULT: eth0 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify no missing packages ... ###################################################################################### COMMAND: /bin/rpm -qa --queryformat='%{NAME}\n' > /tmp/rpmqa.tmp RETURN CODE: 0 COUNT = 0 COMMAND: echo test failed RESULT: test failed EXPECTED RESULT: 1 RETURN CODE: 0 FAIL2 test failed ###################################################################################### # NEW TEST: ## Verify new passwd file ... ###################################################################################### COMMAND: cat /etc/passwd | grep root:x:0 RESULT: root:x:0:0:root:/root:/bin/bash EXPECTED RESULT: root:x:0:0:root:/root:/bin/bash RETURN CODE: 0 PASS COMMAND: cat /etc/passwd | grep nobody:x:99 RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin EXPECTED RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin RETURN CODE: 0 PASS COMMAND: cat /etc/passwd | grep sshd RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin EXPECTED RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## test repo files ... ###################################################################################### COMMAND: ls /etc/yum.repos.d/ | wc -l RESULT: 6 EXPECTED RESULT: 4 RETURN CODE: 0 FAIL2 6 COMMAND: ls /etc/yum.repos.d/redhat* | wc -l RESULT: 4 EXPECTED RESULT: 2 RETURN CODE: 0 FAIL2 4 COMMAND: ls /etc/yum.repos.d/rhel* | wc -l RESULT: 1 EXPECTED RESULT: 0 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify resize2fs ... ###################################################################################### COMMAND: resize2fs -p /dev/xvde1 15000M resize2fs 1.41.12 (17-May-2010) RETURN CODE: 0 COMMAND: df -h | grep 15G | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS /root/valid/src domU-12-31-39-05-25-61 Red Hat Enterprise Linux Server release 6.3 Beta (Santiago) ###################################################################################### # NEW TEST: The selected image has the version RHEL 6.3 ###################################################################################### ami is a BETA ###################################################################################### # NEW TEST: ## /sbin/getenforce ... ###################################################################################### COMMAND: /usr/sbin/getenforce RESULT: Enforcing EXPECTED RESULT: Enforcing RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify SELINUX enforcing ... ###################################################################################### COMMAND: grep ^SELINUX= /etc/sysconfig/selinux | cut -d\= -f2 RESULT: enforcing EXPECTED RESULT: enforcing RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify SELINUXTYPE targeted ... ###################################################################################### COMMAND: grep ^SELINUXTYPE= /etc/sysconfig/selinux | cut -d\= -f2 RESULT: targeted EXPECTED RESULT: targeted RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Flip Selinux Permissive ... ###################################################################################### COMMAND: /usr/sbin/setenforce Permissive && /usr/sbin/getenforce RESULT: Permissive EXPECTED RESULT: Permissive RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Flip Selinux Enforcing ... ###################################################################################### COMMAND: /usr/sbin/setenforce Enforcing && /usr/sbin/getenforce RESULT: Enforcing EXPECTED RESULT: Enforcing RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify new shells file ... ###################################################################################### COMMAND: cat /etc/shells | grep bash RESULT: /bin/bash EXPECTED RESULT: /bin/bash RETURN CODE: 0 PASS COMMAND: cat /etc/shells | grep nologin RESULT: /sbin/nologin EXPECTED RESULT: /sbin/nologin RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify sshd_config settings ... ###################################################################################### COMMAND: cat /etc/ssh/sshd_config | grep PasswordAuthentication | grep no | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify sshd ... ###################################################################################### COMMAND: chkconfig --list | grep sshd RESULT: sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off EXPECTED RESULT: sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off RETURN CODE: 0 PASS COMMAND: /etc/init.d/sshd status | grep running | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS this machine doesn't require swap ###################################################################################### # NEW TEST: ## Verify rsyslog is on ... ###################################################################################### COMMAND: chkconfig --list | grep rsyslog | cut -f 5 RESULT: 3:on EXPECTED RESULT: 3:on RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify rsyslog config ... ###################################################################################### COMMAND: md5sum /etc/rsyslog.conf | cut -f 1 -d " " RESULT: 8b91b32300134e98ef4aee632ed61e21 EXPECTED RESULT: 8b91b32300134e98ef4aee632ed61e21 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify no systemid file ... ###################################################################################### COMMAND: echo true RESULT: true EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify kernel name ... ###################################################################################### COMMAND: /bin/uname -s RESULT: Linux EXPECTED RESULT: Linux RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify latest installed kernel is running ... ###################################################################################### RHEL VERSION IS 6 LATEST_RPM_KERNEL_VERSION=rpm -q kernel --last | head -n 1 | cut -c 8-60 | cut -d ' ' -f 1 CURRENT_UNAME_KERNAL_VERSION=2.6.32-262.el6 assert latest rpm kernel = uname -r COMMAND: uname -r | sed 's/\(.*\)......./\1/' RESULT: 2.6.32-262.el6 EXPECTED RESULT: 2.6.32-262.el6.x86_64 RETURN CODE: 0 FAIL2 2.6.32-262.el6 ###################################################################################### # NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ... ###################################################################################### COMMAND: cat /boot/grub/menu.lst | grep 2.6.32-262.el6.x86_64 RESULT: title RHEL6.3-20120416.0-Server-x86_64-starter-ec2 (2.6.32-262.el6.x86_64) kernel /boot/vmlinuz-2.6.32-262.el6.x86_64 ro root=LABEL=_/ initrd /boot/initramfs-2.6.32-262.el6.x86_64.img EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify operating system ... ###################################################################################### COMMAND: /bin/uname -o RESULT: GNU/Linux EXPECTED RESULT: GNU/Linux RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel ... ###################################################################################### COMMAND: ls /etc/sysconfig/kernel RESULT: /etc/sysconfig/kernel EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel contains UPDATEDEFAULT ... ###################################################################################### COMMAND: cat /etc/sysconfig/kernel | grep UPDATEDEFAULT=yes RESULT: UPDATEDEFAULT=yes EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel contains DEFAULTKERNEL ... ###################################################################################### COMMAND: cat /etc/sysconfig/kernel | grep DEFAULTKERNEL=kernel RESULT: DEFAULTKERNEL=kernel EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify system up to date ###################################################################################### COMMAND: _check_sys_update_phase1 # no update was required RESULT: # checking sys update done # no update was required EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify RPMs ... ###################################################################################### ....L.... c /etc/pam.d/fingerprint-auth ....L.... c /etc/pam.d/password-auth ....L.... c /etc/pam.d/smartcard-auth ....L.... c /etc/pam.d/system-auth .M....... /var/cache/yum S file Size differs M Mode differs (includes permissions and file type) 5 MD5 sum differs D Device major/minor number mismatch L readLink(2) path mismatch U User ownership differs G Group ownership differs T mTime differs COMMAND: cat /tmp/rpmqaV.txt | wc -l RESULT: 5 EXPECTED RESULT: 4 RETURN CODE: 0 FAIL2 5 ###################################################################################### # NEW TEST: ## Verify Version 2 ... ###################################################################################### COMMAND: /bin/rpm -q --queryformat '%{RELEASE}\n' redhat-release-server | cut -d. -f1,2 RESULT: 6.3 EXPECTED RESULT: 6.3 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify packager ... ###################################################################################### COMMAND: cat /tmp/Packager | grep -v 'Red Hat, Inc.' | grep -v crash-trace-commandPackager| wc -l RESULT: 0 EXPECTED RESULT: 0 RETURN CODE: 0 PASS crash-trace-commandPackager : Lai Jiangshan <laijs.com> ###################################################################################### # NEW TEST: ## List the configured repositories... ###################################################################################### COMMAND: /usr/bin/yum repolist Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate repo id repo name status rhui-us-east-1-client-config-server-6 Red Hat Update Infrastructur 1 rhui-us-east-1-client-config-server-6-beta Red Hat Update Infrastructur 0 rhui-us-east-1-rhel-server-releases Red Hat Enterprise Linux Ser 7,079 rhui-us-east-1-rhel-server-releases-optional Red Hat Enterprise Linux Ser 4,354 repolist: 11,434 EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Search zsh... ###################################################################################### COMMAND: /usr/bin/yum search zsh Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate =============================== N/S Matched: zsh =============================== python-twisted-core-zsh.x86_64 : Tab completion for Zsh and Twisted Core zsh-html.x86_64 : Zsh shell manual in html format zsh.x86_64 : A powerful interactive shell Name and summary matches only, use "search all" for everything. EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## install zsh ... ###################################################################################### COMMAND: /usr/bin/yum -y install zsh Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Warning: RPMDB altered outside of yum. RETURN CODE: 0 COMMAND: /bin/rpm -q --queryformat '%{NAME}\n' zsh RESULT: zsh EXPECTED RESULT: zsh RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## List available groups.. ###################################################################################### COMMAND: /usr/bin/yum grouplist Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhui-us-east-1-rhel-server-releases-beta. Please verify its path and try again RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Setting up Group Process Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate EXPECTED RESULT: RETURN CODE: 1 FAIL1 Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Setting up Group Process Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate ###################################################################################### # NEW TEST: ## Install Development tools group... ###################################################################################### COMMAND: /usr/bin/yum -y groupinstall 'Development tools' Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Error: Package: libstdc++-devel-4.4.6-3.el6.x86_64 (rhui-us-east-1-rhel-server-releases) Requires: libstdc++(x86-64) = 4.4.6-3.el6 Installed: libstdc++-4.4.6-4.el6.x86_64 (@koji-override-0/$releasever) libstdc++(x86-64) = 4.4.6-4.el6 Available: libstdc++-4.4.4-13.el6.x86_64 (rhui-us-east-1-rhel-server-releases) libstdc++(x86-64) = 4.4.4-13.el6 Available: libstdc++-4.4.5-6.el6.x86_64 (rhui-us-east-1-rhel-server-releases) libstdc++(x86-64) = 4.4.5-6.el6 Available: libstdc++-4.4.6-3.el6.x86_64 (rhui-us-east-1-rhel-server-releases) libstdc++(x86-64) = 4.4.6-3.el6 Error: Package: systemtap-1.6-5.el6_2.x86_64 (rhui-us-east-1-rhel-server-releases) Requires: systemtap-runtime = 1.6-5.el6_2 Installed: systemtap-runtime-1.7-3.el6.x86_64 (@koji-override-0/$releasever) systemtap-runtime = 1.7-3.el6 Available: systemtap-runtime-1.2-9.el6.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.2-9.el6 Available: systemtap-runtime-1.2-11.el6_0.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.2-11.el6_0 Available: systemtap-runtime-1.4-6.el6.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.4-6.el6 Available: systemtap-runtime-1.4-6.el6_1.1.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.4-6.el6_1.1 Available: systemtap-runtime-1.4-6.el6_1.2.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.4-6.el6_1.2 Available: systemtap-runtime-1.4-6.el6_1.3.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.4-6.el6_1.3 Available: systemtap-runtime-1.6-4.el6.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.6-4.el6 Available: systemtap-runtime-1.6-5.el6_2.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.6-5.el6_2 Error: Package: rpm-build-4.8.0-19.el6_2.1.x86_64 (rhui-us-east-1-rhel-server-releases) Requires: rpm = 4.8.0-19.el6_2.1 Installed: rpm-4.8.0-27.el6.x86_64 (@koji-override-0/$releasever) rpm = 4.8.0-27.el6 Available: rpm-4.8.0-12.el6.x86_64 (rhui-us-east-1-rhel-server-releases) rpm = 4.8.0-12.el6 Available: rpm-4.8.0-16.el6.x86_64 (rhui-us-east-1-rhel-server-releases) rpm = 4.8.0-16.el6 Available: rpm-4.8.0-16.el6_1.1.x86_64 (rhui-us-east-1-rhel-server-releases) rpm = 4.8.0-16.el6_1.1 Available: rpm-4.8.0-19.el6.x86_64 (rhui-us-east-1-rhel-server-releases) rpm = 4.8.0-19.el6 Available: rpm-4.8.0-19.el6_2.1.x86_64 (rhui-us-east-1-rhel-server-releases) rpm = 4.8.0-19.el6_2.1 Error: Package: glibc-2.12-1.47.el6_2.9.i686 (rhui-us-east-1-rhel-server-releases) Requires: glibc-common = 2.12-1.47.el6_2.9 Installed: glibc-common-2.12-1.78.el6.x86_64 (@koji-override-0/$releasever) glibc-common = 2.12-1.78.el6 Available: glibc-common-2.12-1.7.el6.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.7.el6 Available: glibc-common-2.12-1.7.el6_0.3.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.7.el6_0.3 Available: glibc-common-2.12-1.7.el6_0.4.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.7.el6_0.4 Available: glibc-common-2.12-1.7.el6_0.5.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.7.el6_0.5 Available: glibc-common-2.12-1.25.el6.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.25.el6 Available: glibc-common-2.12-1.25.el6_1.3.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.25.el6_1.3 Available: glibc-common-2.12-1.47.el6.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.47.el6 Available: glibc-common-2.12-1.47.el6_2.5.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.47.el6_2.5 Available: glibc-common-2.12-1.47.el6_2.9.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.47.el6_2.9 RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate Setting up Group Process Package matching 1:make-3.81-19.el6.x86_64 already installed. Checking for update. Package patch-2.6-6.el6.x86_64 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version Package gettext-0.17-16.el6.x86_64 already installed and latest version Package matching binutils-2.20.51.0.2-5.28.el6.x86_64 already installed. Checking for update. Package elfutils-0.152-1.el6.x86_64 already installed and latest version Package cvs-1.11.23-11.el6_2.1.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.x86_64 0:2.4.1-5.el6 will be installed ---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.x86_64 0:15.6-6.el6 will be installed ---> Package ctags.x86_64 0:5.8-2.el6 will be installed ---> Package diffstat.x86_64 0:1.51-2.el6 will be installed ---> Package doxygen.x86_64 1:1.6.1-6.el6 will be installed ---> Package flex.x86_64 0:2.5.35-8.el6 will be installed ---> Package gcc.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-3.el6.x86_64 ---> Package gcc-c++.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++-devel = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.x86_64 --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.x86_64 --> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.6-3.el6.x86_64 ---> Package gcc-gfortran.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.x86_64 ---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64 ---> Package indent.x86_64 0:2.2.10-5.1.el6 will be installed ---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed --> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch ---> Package libtool.x86_64 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed ---> Package rcs.x86_64 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-34.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package subversion.x86_64 0:1.6.11-2.el6_1.4 will be installed --> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 ---> Package swig.x86_64 0:1.3.40-6.el6 will be installed ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Processing Dependency: kernel-devel for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 --> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 ---> Package cpp.x86_64 0:4.4.6-3.el6 will be installed ---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 ---> Package glibc-devel.x86_64 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-headers = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 ---> Package kernel-devel.x86_64 0:2.6.32-220.7.1.el6 will be installed ---> Package libgfortran.i686 0:4.4.6-3.el6 will be installed ---> Package libgomp.i686 0:4.4.6-3.el6 will be installed ---> Package libstdc++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.6-3.el6.i686 ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed ---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 --> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed ---> Package glibc.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-common = 2.12-1.47.el6_2.9 for package: glibc-2.12-1.47.el6_2.9.i686 --> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.47.el6_2.9.i686 --> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.47.el6_2.9.i686 ---> Package glibc-headers.x86_64 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.47.el6_2.9.x86_64 ---> Package libgcc.i686 0:4.4.6-3.el6 will be installed ---> Package libgcj.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-3.el6.x86_64 ---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed ---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package glibc.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-common = 2.12-1.47.el6_2.9 for package: glibc-2.12-1.47.el6_2.9.i686 ---> Package kernel-headers.x86_64 0:2.6.32-220.7.1.el6 will be installed ---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package nss-softokn-freebl.i686 0:3.12.9-11.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Finished Dependency Resolution You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest EXPECTED RESULT: RETURN CODE: 1 FAIL1 Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate Setting up Group Process Package matching 1:make-3.81-19.el6.x86_64 already installed. Checking for update. Package patch-2.6-6.el6.x86_64 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version Package gettext-0.17-16.el6.x86_64 already installed and latest version Package matching binutils-2.20.51.0.2-5.28.el6.x86_64 already installed. Checking for update. Package elfutils-0.152-1.el6.x86_64 already installed and latest version Package cvs-1.11.23-11.el6_2.1.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.x86_64 0:2.4.1-5.el6 will be installed ---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.x86_64 0:15.6-6.el6 will be installed ---> Package ctags.x86_64 0:5.8-2.el6 will be installed ---> Package diffstat.x86_64 0:1.51-2.el6 will be installed ---> Package doxygen.x86_64 1:1.6.1-6.el6 will be installed ---> Package flex.x86_64 0:2.5.35-8.el6 will be installed ---> Package gcc.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-3.el6.x86_64 ---> Package gcc-c++.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++-devel = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.x86_64 --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.x86_64 --> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.6-3.el6.x86_64 ---> Package gcc-gfortran.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.x86_64 ---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64 ---> Package indent.x86_64 0:2.2.10-5.1.el6 will be installed ---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed --> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch ---> Package libtool.x86_64 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed ---> Package rcs.x86_64 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-34.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package subversion.x86_64 0:1.6.11-2.el6_1.4 will be installed --> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 ---> Package swig.x86_64 0:1.3.40-6.el6 will be installed ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Processing Dependency: kernel-devel for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 --> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 ---> Package cpp.x86_64 0:4.4.6-3.el6 will be installed ---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 ---> Package glibc-devel.x86_64 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-headers = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 ---> Package kernel-devel.x86_64 0:2.6.32-220.7.1.el6 will be installed ---> Package libgfortran.i686 0:4.4.6-3.el6 will be installed ---> Package libgomp.i686 0:4.4.6-3.el6 will be installed ---> Package libstdc++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.6-3.el6.i686 ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed ---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 --> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed ---> Package glibc.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-common = 2.12-1.47.el6_2.9 for package: glibc-2.12-1.47.el6_2.9.i686 --> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.47.el6_2.9.i686 --> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.47.el6_2.9.i686 ---> Package glibc-headers.x86_64 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.47.el6_2.9.x86_64 ---> Package libgcc.i686 0:4.4.6-3.el6 will be installed ---> Package libgcj.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-3.el6.x86_64 ---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed ---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package glibc.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-common = 2.12-1.47.el6_2.9 for package: glibc-2.12-1.47.el6_2.9.i686 ---> Package kernel-headers.x86_64 0:2.6.32-220.7.1.el6 will be installed ---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package nss-softokn-freebl.i686 0:3.12.9-11.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Finished Dependency Resolution You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest # checking possible sys update Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate # no sys update found ###################################################################################### # NEW TEST: ## Verify yum update ... ###################################################################################### COMMAND: /usr/bin/yum -y update Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package dmidecode.x86_64 1:2.11-2.el6 will be updated ---> Package dmidecode.x86_64 1:2.11-2.el6_1 will be an update ---> Package pam.x86_64 0:1.1.1-10.el6 will be updated ---> Package pam.x86_64 0:1.1.1-10.el6_2.1 will be an update --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Updating: dmidecode x86_64 1:2.11-2.el6_1 rhui-us-east-1-rhel-server-releases 71 k pam x86_64 1.1.1-10.el6_2.1 rhui-us-east-1-rhel-server-releases 656 k Transaction Summary ================================================================================ Upgrade 2 Package(s) Total download size: 727 k Downloading Packages: -------------------------------------------------------------------------------- Total 2.8 MB/s | 727 kB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Updating : 1:dmidecode-2.11-2.el6_1.x86_64 1/4 Updating : pam-1.1.1-10.el6_2.1.x86_64 2/4 Cleanup : 1:dmidecode-2.11-2.el6.x86_64 3/4 Cleanup : pam-1.1.1-10.el6.x86_64 4/4 Installed products updated. Verifying : pam-1.1.1-10.el6_2.1.x86_64 1/4 Verifying : 1:dmidecode-2.11-2.el6_1.x86_64 2/4 Verifying : pam-1.1.1-10.el6.x86_64 3/4 Verifying : 1:dmidecode-2.11-2.el6.x86_64 4/4 Updated: dmidecode.x86_64 1:2.11-2.el6_1 pam.x86_64 0:1.1.1-10.el6_2.1 Complete! EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify no fa1lures in rpm package ... ###################################################################################### COMMAND: cat /root/valid/src/validate.log | grep 'failure in rpm package' | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify no rpm scriplet fa1lures ... ###################################################################################### COMMAND: cat /root/valid/src/validate.log | grep 'scriptlet failed, exit status 1' | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify package removal... ###################################################################################### COMMAND: /bin/rpm -e zsh RETURN CODE: 0 COMMAND: /bin/rpm -q zsh RESULT: package zsh is not installed EXPECTED RESULT: package zsh is not installed RETURN CODE: 1 PASS ###################################################################################### # NEW TEST: ## install zsh ... ###################################################################################### COMMAND: /usr/bin/yum -y install zsh Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Warning: RPMDB altered outside of yum. RETURN CODE: 0 COMMAND: /bin/rpm -q --queryformat '%{NAME}\n' zsh RESULT: zsh EXPECTED RESULT: zsh RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify package removal ... ###################################################################################### COMMAND: /bin/rpm -e zsh RETURN CODE: 0 COMMAND: /bin/rpm -q zsh RESULT: package zsh is not installed EXPECTED RESULT: package zsh is not installed RETURN CODE: 1 PASS # checking possible sys update Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate # no sys update found ###################################################################################### # NEW TEST: ## Verify yum update ... ###################################################################################### COMMAND: /usr/bin/yum -y update Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate Setting up Update Process No Packages marked for Update EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify disabled yum plugin ... ###################################################################################### COMMAND: grep ^enabled /etc/yum/pluginconf.d/rhnplugin.conf | grep -v '^#' | cut -d\= -f2 | awk '{print }' | sort -f | uniq RESULT: 0 EXPECTED RESULT: RETURN CODE: 0 PASS ## Summary ## FAILURES = 9 FAILED TESTS = ##test menu.lst ... ##test menu.lst ... ## Verify no missing packages ... ## test repo files ... ## test repo files ... ## Verify latest installed kernel is running ... ## Verify RPMs ... ## List available groups.. ## Install Development tools group... LOG FILE = /root/valid/src/validate.log ## Summary ## ###################################################################################### # NEW TEST: ## Open a bugzilla ###################################################################################### IMAGE ID= =====image_validation.sh Wed May 2 06:48:14 EDT 2012===== ###################################################################################### # NEW TEST: ## Open a bugzilla ###################################################################################### ###################################################################################### # NEW TEST: Fetching the identity doc Details ###################################################################################### Verifying that signature exists COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS Verifying the IMAGE ID COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS Verifying the Architecture COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS This Host => ec2-184-73-63-27.compute-1.amazonaws.com with Image Id : ami-347ca65d, is launched with Instance Id : i-1cacb47b , Instance Type : m2.xlarge and Arch : x86_64 in the Region : us-east-1c The Validate Signature is : JoXUuw97Ci3mtRzlXlfngHRAzsjZflckioBdd7sDkLPj3gtOFJkrA3A6kuASvNISpltpTF8+kTSp 1TyexP3vbP7YRHgLihUhfhsxXMzOTDRN+wF/G6VTDT1d5/BrBAeOXIuY41ILYM2LW3dUMlMuhonb IW8C8tyxwnnRKmOPc8E= This is a Cloud Access image /root/valid/src domU-12-31-39-08-10-36 Red Hat Enterprise Linux Server release 6.3 Beta (Santiago) ###################################################################################### # NEW TEST: The selected image has the version RHEL 6.3 ###################################################################################### ami is a BETA ###################################################################################### # NEW TEST: ## Verify auditd is on ... ###################################################################################### COMMAND: /sbin/chkconfig --list auditd | grep 3:on RESULT: auditd 0:off 1:off 2:on 3:on 4:on 5:on 6:off EXPECTED RESULT: RETURN CODE: 0 PASS COMMAND: /sbin/chkconfig --list auditd | grep 5:on RESULT: auditd 0:off 1:off 2:on 3:on 4:on 5:on 6:off EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify audit.rules ... ###################################################################################### COMMAND: md5sum /etc/audit/audit.rules | cut -f 1 -d " " RESULT: f9869e1191838c461f5b9051c78a638d EXPECTED RESULT: f9869e1191838c461f5b9051c78a638d RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify auditd.conf ... ###################################################################################### COMMAND: md5sum /etc/audit/auditd.conf | cut -f 1 -d " " RESULT: e1886162554c18906df2ecd258aa4794 EXPECTED RESULT: e1886162554c18906df2ecd258aa4794 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify auditd sysconfig ... ###################################################################################### COMMAND: md5sum /etc/sysconfig/auditd | cut -f 1 -d " " RESULT: d4d43637708e30418c30003e212f76fc EXPECTED RESULT: d4d43637708e30418c30003e212f76fc RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify bash_history ... ###################################################################################### COMMAND: cat ~/.bash_history | wc -l RESULT: 0 EXPECTED RESULT: 0 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify chkconfig ... ###################################################################################### COMMAND: chkconfig --list | grep crond | cut -f 5 RESULT: 3:on EXPECTED RESULT: 3:on RETURN CODE: 0 PASS COMMAND: chkconfig --list | grep iptables | cut -f 5 RESULT: 3:on EXPECTED RESULT: 3:on RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify rh-cloud-firstboot is OFF ... ###################################################################################### COMMAND: chkconfig --list | grep rh-cloud | grep 3:off | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS /etc/sysconfig/rh-cloud-firstboot FOUND COMMAND: echo true RESULT: true EXPECTED RESULT: RETURN CODE: 0 PASS COMMAND: cat /etc/sysconfig/rh-cloud-firstboot RESULT: RUN_FIRSTBOOT=NO EXPECTED RESULT: RUN_FIRSTBOOT=NO RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Partition Format ... ###################################################################################### mount | grep /dev/xvde1 | awk '{ print }' COMMAND: echo ext4 RESULT: ext4 EXPECTED RESULT: ext4 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Partition Size ... ###################################################################################### size=5905712 COMMAND: echo true RESULT: true EXPECTED RESULT: true RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: Fetching the identity doc Details ###################################################################################### Verifying that signature exists COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS Verifying the IMAGE ID COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS Verifying the Architecture COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS This Host => ec2-184-73-63-27.compute-1.amazonaws.com with Image Id : ami-347ca65d, is launched with Instance Id : i-1cacb47b , Instance Type : m2.xlarge and Arch : x86_64 in the Region : us-east-1c The Validate Signature is : JoXUuw97Ci3mtRzlXlfngHRAzsjZflckioBdd7sDkLPj3gtOFJkrA3A6kuASvNISpltpTF8+kTSp 1TyexP3vbP7YRHgLihUhfhsxXMzOTDRN+wF/G6VTDT1d5/BrBAeOXIuY41ILYM2LW3dUMlMuhonb IW8C8tyxwnnRKmOPc8E= This is a Cloud Access image ###################################################################################### # NEW TEST: ## Verify GPG checking ... ###################################################################################### COMMAND: grep '^gpgcheck=1' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | sort -f | uniq RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify GPG Keys ... ###################################################################################### COMMAND: rpm -qa gpg-pubkey* | wc -l RESULT: 2 EXPECTED RESULT: 2 RETURN CODE: 0 PASS SKIPPING TEST, BETA DETECTED ###################################################################################### # NEW TEST: ## Verify group file ... ###################################################################################### COMMAND: cat /etc/group | grep root:x:0 RESULT: root:x:0: EXPECTED RESULT: root:x:0: RETURN CODE: 0 PASS COMMAND: cat /etc/group | grep daemon:x:2 RESULT: daemon:x:2:bin,daemon EXPECTED RESULT: daemon:x:2:bin,daemon RETURN CODE: 0 PASS COMMAND: cat /etc/group | grep bin:x:1 RESULT: bin:x:1:bin,daemon EXPECTED RESULT: bin:x:1:bin,daemon RETURN CODE: 0 PASS COMMAND: cat /etc/group | grep nobody:x:99 RESULT: nobody:x:99: EXPECTED RESULT: nobody:x:99: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ##test menu.lst ... ###################################################################################### COMMAND: file /boot/grub/menu.lst | grep symbolic | wc -l RESULT: 0 EXPECTED RESULT: 1 RETURN CODE: 0 FAIL2 0 COMMAND: file /boot/grub/menu.lst | grep grub.conf | wc -l RESULT: 0 EXPECTED RESULT: 1 RETURN CODE: 0 FAIL2 0 COMMAND: cat /boot/grub/grub.conf | grep "(hd0,0)" | wc -l RESULT: 2 EXPECTED RESULT: 0 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify runlevel ... ###################################################################################### COMMAND: cat /etc/inittab | grep id: RESULT: id:3:initdefault: EXPECTED RESULT: id:3:initdefault: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify iptables ... ###################################################################################### COMMAND: /etc/init.d/iptables status | grep REJECT 5 REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited 1 REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited RETURN CODE: 0 COMMAND: /etc/init.d/iptables status | grep :22 | grep ACCEPT | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/ld.so.conf.d/libc6-xen.conf is not present ... ###################################################################################### COMMAND: ls /etc/ld.so.conf.d/libc6-xen.conf ls: cannot access /etc/ld.so.conf.d/libc6-xen.conf: No such file or directory RESULT: EXPECTED RESULT: 2 RETURN CODE: 2 PASS ###################################################################################### # NEW TEST: ##Verify memory match hwp ... ###################################################################################### cat /proc/meminfo | grep MemTotal: | awk '{print }' FOUND MEMORY OF 17524268 > hwp MEMORY of 17100000 COMMAND: echo true RESULT: true EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify nameserver ... ###################################################################################### COMMAND: /usr/bin/dig clock.redhat.com 2>> /root/valid/src/validate.log | grep 66.187.233.4 | wc -l RESULT: 1 EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify networking ... ###################################################################################### COMMAND: grep ^NETWORKING= /etc/sysconfig/network | cut -d\= -f2 RESULT: yes EXPECTED RESULT: yes RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify device ... ###################################################################################### COMMAND: grep ^DEVICE= /etc/sysconfig/network-scripts/ifcfg-eth0 | cut -d\= -f2 RESULT: eth0 EXPECTED RESULT: eth0 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify no missing packages ... ###################################################################################### COMMAND: /bin/rpm -qa --queryformat='%{NAME}\n' > /tmp/rpmqa.tmp RETURN CODE: 0 COUNT = 0 COMMAND: echo test failed RESULT: test failed EXPECTED RESULT: 1 RETURN CODE: 0 FAIL2 test failed ###################################################################################### # NEW TEST: ## Verify new passwd file ... ###################################################################################### COMMAND: cat /etc/passwd | grep root:x:0 RESULT: root:x:0:0:root:/root:/bin/bash EXPECTED RESULT: root:x:0:0:root:/root:/bin/bash RETURN CODE: 0 PASS COMMAND: cat /etc/passwd | grep nobody:x:99 RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin EXPECTED RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin RETURN CODE: 0 PASS COMMAND: cat /etc/passwd | grep sshd RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin EXPECTED RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## test repo files ... ###################################################################################### COMMAND: ls /etc/yum.repos.d/ | wc -l RESULT: 6 EXPECTED RESULT: 4 RETURN CODE: 0 FAIL2 6 COMMAND: ls /etc/yum.repos.d/redhat* | wc -l RESULT: 4 EXPECTED RESULT: 2 RETURN CODE: 0 FAIL2 4 COMMAND: ls /etc/yum.repos.d/rhel* | wc -l RESULT: 1 EXPECTED RESULT: 0 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify resize2fs ... ###################################################################################### COMMAND: resize2fs -p /dev/xvde1 15000M resize2fs 1.41.12 (17-May-2010) RETURN CODE: 0 COMMAND: df -h | grep 15G | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS /root/valid/src domU-12-31-39-08-10-36 Red Hat Enterprise Linux Server release 6.3 Beta (Santiago) ###################################################################################### # NEW TEST: The selected image has the version RHEL 6.3 ###################################################################################### ami is a BETA ###################################################################################### # NEW TEST: ## /sbin/getenforce ... ###################################################################################### COMMAND: /usr/sbin/getenforce RESULT: Enforcing EXPECTED RESULT: Enforcing RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify SELINUX enforcing ... ###################################################################################### COMMAND: grep ^SELINUX= /etc/sysconfig/selinux | cut -d\= -f2 RESULT: enforcing EXPECTED RESULT: enforcing RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify SELINUXTYPE targeted ... ###################################################################################### COMMAND: grep ^SELINUXTYPE= /etc/sysconfig/selinux | cut -d\= -f2 RESULT: targeted EXPECTED RESULT: targeted RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Flip Selinux Permissive ... ###################################################################################### COMMAND: /usr/sbin/setenforce Permissive && /usr/sbin/getenforce RESULT: Permissive EXPECTED RESULT: Permissive RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Flip Selinux Enforcing ... ###################################################################################### COMMAND: /usr/sbin/setenforce Enforcing && /usr/sbin/getenforce RESULT: Enforcing EXPECTED RESULT: Enforcing RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify new shells file ... ###################################################################################### COMMAND: cat /etc/shells | grep bash RESULT: /bin/bash EXPECTED RESULT: /bin/bash RETURN CODE: 0 PASS COMMAND: cat /etc/shells | grep nologin RESULT: /sbin/nologin EXPECTED RESULT: /sbin/nologin RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify sshd_config settings ... ###################################################################################### COMMAND: cat /etc/ssh/sshd_config | grep PasswordAuthentication | grep no | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify sshd ... ###################################################################################### COMMAND: chkconfig --list | grep sshd RESULT: sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off EXPECTED RESULT: sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off RETURN CODE: 0 PASS COMMAND: /etc/init.d/sshd status | grep running | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS this machine doesn't require swap ###################################################################################### # NEW TEST: ## Verify rsyslog is on ... ###################################################################################### COMMAND: chkconfig --list | grep rsyslog | cut -f 5 RESULT: 3:on EXPECTED RESULT: 3:on RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify rsyslog config ... ###################################################################################### COMMAND: md5sum /etc/rsyslog.conf | cut -f 1 -d " " RESULT: 8b91b32300134e98ef4aee632ed61e21 EXPECTED RESULT: 8b91b32300134e98ef4aee632ed61e21 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify no systemid file ... ###################################################################################### COMMAND: echo true RESULT: true EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify kernel name ... ###################################################################################### COMMAND: /bin/uname -s RESULT: Linux EXPECTED RESULT: Linux RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify latest installed kernel is running ... ###################################################################################### RHEL VERSION IS 6 LATEST_RPM_KERNEL_VERSION=rpm -q kernel --last | head -n 1 | cut -c 8-60 | cut -d ' ' -f 1 CURRENT_UNAME_KERNAL_VERSION=2.6.32-262.el6 assert latest rpm kernel = uname -r COMMAND: uname -r | sed 's/\(.*\)......./\1/' RESULT: 2.6.32-262.el6 EXPECTED RESULT: 2.6.32-262.el6.x86_64 RETURN CODE: 0 FAIL2 2.6.32-262.el6 ###################################################################################### # NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ... ###################################################################################### COMMAND: cat /boot/grub/menu.lst | grep 2.6.32-262.el6.x86_64 RESULT: title RHEL6.3-20120416.0-Server-x86_64-starter-ec2 (2.6.32-262.el6.x86_64) kernel /boot/vmlinuz-2.6.32-262.el6.x86_64 ro root=LABEL=_/ initrd /boot/initramfs-2.6.32-262.el6.x86_64.img EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify operating system ... ###################################################################################### COMMAND: /bin/uname -o RESULT: GNU/Linux EXPECTED RESULT: GNU/Linux RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel ... ###################################################################################### COMMAND: ls /etc/sysconfig/kernel RESULT: /etc/sysconfig/kernel EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel contains UPDATEDEFAULT ... ###################################################################################### COMMAND: cat /etc/sysconfig/kernel | grep UPDATEDEFAULT=yes RESULT: UPDATEDEFAULT=yes EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel contains DEFAULTKERNEL ... ###################################################################################### COMMAND: cat /etc/sysconfig/kernel | grep DEFAULTKERNEL=kernel RESULT: DEFAULTKERNEL=kernel EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify system up to date ###################################################################################### COMMAND: _check_sys_update_phase1 # no update was required RESULT: # checking sys update done # no update was required EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify RPMs ... ###################################################################################### ....L.... c /etc/pam.d/fingerprint-auth ....L.... c /etc/pam.d/password-auth ....L.... c /etc/pam.d/smartcard-auth ....L.... c /etc/pam.d/system-auth .M....... /var/cache/yum S file Size differs M Mode differs (includes permissions and file type) 5 MD5 sum differs D Device major/minor number mismatch L readLink(2) path mismatch U User ownership differs G Group ownership differs T mTime differs COMMAND: cat /tmp/rpmqaV.txt | wc -l RESULT: 5 EXPECTED RESULT: 4 RETURN CODE: 0 FAIL2 5 ###################################################################################### # NEW TEST: ## Verify Version 2 ... ###################################################################################### COMMAND: /bin/rpm -q --queryformat '%{RELEASE}\n' redhat-release-server | cut -d. -f1,2 RESULT: 6.3 EXPECTED RESULT: 6.3 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify packager ... ###################################################################################### COMMAND: cat /tmp/Packager | grep -v 'Red Hat, Inc.' | grep -v crash-trace-commandPackager| wc -l RESULT: 0 EXPECTED RESULT: 0 RETURN CODE: 0 PASS crash-trace-commandPackager : Lai Jiangshan <laijs.com> ###################################################################################### # NEW TEST: ## List the configured repositories... ###################################################################################### COMMAND: /usr/bin/yum repolist Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate repo id repo name status rhui-us-east-1-client-config-server-6 Red Hat Update Infrastructur 1 rhui-us-east-1-client-config-server-6-beta Red Hat Update Infrastructur 0 rhui-us-east-1-rhel-server-releases Red Hat Enterprise Linux Ser 7,079 rhui-us-east-1-rhel-server-releases-optional Red Hat Enterprise Linux Ser 4,354 repolist: 11,434 EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Search zsh... ###################################################################################### COMMAND: /usr/bin/yum search zsh Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate =============================== N/S Matched: zsh =============================== python-twisted-core-zsh.x86_64 : Tab completion for Zsh and Twisted Core zsh-html.x86_64 : Zsh shell manual in html format zsh.x86_64 : A powerful interactive shell Name and summary matches only, use "search all" for everything. EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## install zsh ... ###################################################################################### COMMAND: /usr/bin/yum -y install zsh Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Warning: RPMDB altered outside of yum. RETURN CODE: 0 COMMAND: /bin/rpm -q --queryformat '%{NAME}\n' zsh RESULT: zsh EXPECTED RESULT: zsh RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## List available groups.. ###################################################################################### COMMAND: /usr/bin/yum grouplist Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhui-us-east-1-rhel-server-releases-beta. Please verify its path and try again RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Setting up Group Process Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate EXPECTED RESULT: RETURN CODE: 1 FAIL1 Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Setting up Group Process Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate ###################################################################################### # NEW TEST: ## Install Development tools group... ###################################################################################### COMMAND: /usr/bin/yum -y groupinstall 'Development tools' Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Error: Package: libstdc++-devel-4.4.6-3.el6.x86_64 (rhui-us-east-1-rhel-server-releases) Requires: libstdc++(x86-64) = 4.4.6-3.el6 Installed: libstdc++-4.4.6-4.el6.x86_64 (@koji-override-0/$releasever) libstdc++(x86-64) = 4.4.6-4.el6 Available: libstdc++-4.4.4-13.el6.x86_64 (rhui-us-east-1-rhel-server-releases) libstdc++(x86-64) = 4.4.4-13.el6 Available: libstdc++-4.4.5-6.el6.x86_64 (rhui-us-east-1-rhel-server-releases) libstdc++(x86-64) = 4.4.5-6.el6 Available: libstdc++-4.4.6-3.el6.x86_64 (rhui-us-east-1-rhel-server-releases) libstdc++(x86-64) = 4.4.6-3.el6 Error: Package: systemtap-1.6-5.el6_2.x86_64 (rhui-us-east-1-rhel-server-releases) Requires: systemtap-runtime = 1.6-5.el6_2 Installed: systemtap-runtime-1.7-3.el6.x86_64 (@koji-override-0/$releasever) systemtap-runtime = 1.7-3.el6 Available: systemtap-runtime-1.2-9.el6.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.2-9.el6 Available: systemtap-runtime-1.2-11.el6_0.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.2-11.el6_0 Available: systemtap-runtime-1.4-6.el6.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.4-6.el6 Available: systemtap-runtime-1.4-6.el6_1.1.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.4-6.el6_1.1 Available: systemtap-runtime-1.4-6.el6_1.2.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.4-6.el6_1.2 Available: systemtap-runtime-1.4-6.el6_1.3.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.4-6.el6_1.3 Available: systemtap-runtime-1.6-4.el6.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.6-4.el6 Available: systemtap-runtime-1.6-5.el6_2.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.6-5.el6_2 Error: Package: rpm-build-4.8.0-19.el6_2.1.x86_64 (rhui-us-east-1-rhel-server-releases) Requires: rpm = 4.8.0-19.el6_2.1 Installed: rpm-4.8.0-27.el6.x86_64 (@koji-override-0/$releasever) rpm = 4.8.0-27.el6 Available: rpm-4.8.0-12.el6.x86_64 (rhui-us-east-1-rhel-server-releases) rpm = 4.8.0-12.el6 Available: rpm-4.8.0-16.el6.x86_64 (rhui-us-east-1-rhel-server-releases) rpm = 4.8.0-16.el6 Available: rpm-4.8.0-16.el6_1.1.x86_64 (rhui-us-east-1-rhel-server-releases) rpm = 4.8.0-16.el6_1.1 Available: rpm-4.8.0-19.el6.x86_64 (rhui-us-east-1-rhel-server-releases) rpm = 4.8.0-19.el6 Available: rpm-4.8.0-19.el6_2.1.x86_64 (rhui-us-east-1-rhel-server-releases) rpm = 4.8.0-19.el6_2.1 Error: Package: glibc-2.12-1.47.el6_2.9.i686 (rhui-us-east-1-rhel-server-releases) Requires: glibc-common = 2.12-1.47.el6_2.9 Installed: glibc-common-2.12-1.78.el6.x86_64 (@koji-override-0/$releasever) glibc-common = 2.12-1.78.el6 Available: glibc-common-2.12-1.7.el6.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.7.el6 Available: glibc-common-2.12-1.7.el6_0.3.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.7.el6_0.3 Available: glibc-common-2.12-1.7.el6_0.4.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.7.el6_0.4 Available: glibc-common-2.12-1.7.el6_0.5.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.7.el6_0.5 Available: glibc-common-2.12-1.25.el6.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.25.el6 Available: glibc-common-2.12-1.25.el6_1.3.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.25.el6_1.3 Available: glibc-common-2.12-1.47.el6.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.47.el6 Available: glibc-common-2.12-1.47.el6_2.5.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.47.el6_2.5 Available: glibc-common-2.12-1.47.el6_2.9.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.47.el6_2.9 RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate Setting up Group Process Package matching 1:make-3.81-19.el6.x86_64 already installed. Checking for update. Package patch-2.6-6.el6.x86_64 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version Package gettext-0.17-16.el6.x86_64 already installed and latest version Package matching binutils-2.20.51.0.2-5.28.el6.x86_64 already installed. Checking for update. Package elfutils-0.152-1.el6.x86_64 already installed and latest version Package cvs-1.11.23-11.el6_2.1.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.x86_64 0:2.4.1-5.el6 will be installed ---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.x86_64 0:15.6-6.el6 will be installed ---> Package ctags.x86_64 0:5.8-2.el6 will be installed ---> Package diffstat.x86_64 0:1.51-2.el6 will be installed ---> Package doxygen.x86_64 1:1.6.1-6.el6 will be installed ---> Package flex.x86_64 0:2.5.35-8.el6 will be installed ---> Package gcc.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-3.el6.x86_64 ---> Package gcc-c++.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++-devel = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.x86_64 --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.x86_64 --> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.6-3.el6.x86_64 ---> Package gcc-gfortran.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.x86_64 ---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64 ---> Package indent.x86_64 0:2.2.10-5.1.el6 will be installed ---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed --> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch ---> Package libtool.x86_64 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed ---> Package rcs.x86_64 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-34.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package subversion.x86_64 0:1.6.11-2.el6_1.4 will be installed --> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 ---> Package swig.x86_64 0:1.3.40-6.el6 will be installed ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Processing Dependency: kernel-devel for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 --> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 ---> Package cpp.x86_64 0:4.4.6-3.el6 will be installed ---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 ---> Package glibc-devel.x86_64 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-headers = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 ---> Package kernel-devel.x86_64 0:2.6.32-220.7.1.el6 will be installed ---> Package libgfortran.i686 0:4.4.6-3.el6 will be installed ---> Package libgomp.i686 0:4.4.6-3.el6 will be installed ---> Package libstdc++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.6-3.el6.i686 ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed ---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 --> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed ---> Package glibc.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-common = 2.12-1.47.el6_2.9 for package: glibc-2.12-1.47.el6_2.9.i686 --> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.47.el6_2.9.i686 --> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.47.el6_2.9.i686 ---> Package glibc-headers.x86_64 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.47.el6_2.9.x86_64 ---> Package libgcc.i686 0:4.4.6-3.el6 will be installed ---> Package libgcj.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-3.el6.x86_64 ---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed ---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package glibc.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-common = 2.12-1.47.el6_2.9 for package: glibc-2.12-1.47.el6_2.9.i686 ---> Package kernel-headers.x86_64 0:2.6.32-220.7.1.el6 will be installed ---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package nss-softokn-freebl.i686 0:3.12.9-11.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Finished Dependency Resolution You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest EXPECTED RESULT: RETURN CODE: 1 FAIL1 Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate Setting up Group Process Package matching 1:make-3.81-19.el6.x86_64 already installed. Checking for update. Package patch-2.6-6.el6.x86_64 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version Package gettext-0.17-16.el6.x86_64 already installed and latest version Package matching binutils-2.20.51.0.2-5.28.el6.x86_64 already installed. Checking for update. Package elfutils-0.152-1.el6.x86_64 already installed and latest version Package cvs-1.11.23-11.el6_2.1.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.x86_64 0:2.4.1-5.el6 will be installed ---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.x86_64 0:15.6-6.el6 will be installed ---> Package ctags.x86_64 0:5.8-2.el6 will be installed ---> Package diffstat.x86_64 0:1.51-2.el6 will be installed ---> Package doxygen.x86_64 1:1.6.1-6.el6 will be installed ---> Package flex.x86_64 0:2.5.35-8.el6 will be installed ---> Package gcc.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-3.el6.x86_64 ---> Package gcc-c++.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++-devel = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.x86_64 --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.x86_64 --> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.6-3.el6.x86_64 ---> Package gcc-gfortran.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.x86_64 ---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64 ---> Package indent.x86_64 0:2.2.10-5.1.el6 will be installed ---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed --> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch ---> Package libtool.x86_64 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed ---> Package rcs.x86_64 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-34.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package subversion.x86_64 0:1.6.11-2.el6_1.4 will be installed --> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 ---> Package swig.x86_64 0:1.3.40-6.el6 will be installed ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Processing Dependency: kernel-devel for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 --> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 ---> Package cpp.x86_64 0:4.4.6-3.el6 will be installed ---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 ---> Package glibc-devel.x86_64 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-headers = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 ---> Package kernel-devel.x86_64 0:2.6.32-220.7.1.el6 will be installed ---> Package libgfortran.i686 0:4.4.6-3.el6 will be installed ---> Package libgomp.i686 0:4.4.6-3.el6 will be installed ---> Package libstdc++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.6-3.el6.i686 ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed ---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 --> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed ---> Package glibc.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-common = 2.12-1.47.el6_2.9 for package: glibc-2.12-1.47.el6_2.9.i686 --> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.47.el6_2.9.i686 --> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.47.el6_2.9.i686 ---> Package glibc-headers.x86_64 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.47.el6_2.9.x86_64 ---> Package libgcc.i686 0:4.4.6-3.el6 will be installed ---> Package libgcj.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-3.el6.x86_64 ---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed ---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package glibc.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-common = 2.12-1.47.el6_2.9 for package: glibc-2.12-1.47.el6_2.9.i686 ---> Package kernel-headers.x86_64 0:2.6.32-220.7.1.el6 will be installed ---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package nss-softokn-freebl.i686 0:3.12.9-11.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Finished Dependency Resolution You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest # checking possible sys update Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate # no sys update found ###################################################################################### # NEW TEST: ## Verify yum update ... ###################################################################################### COMMAND: /usr/bin/yum -y update Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package dmidecode.x86_64 1:2.11-2.el6 will be updated ---> Package dmidecode.x86_64 1:2.11-2.el6_1 will be an update ---> Package pam.x86_64 0:1.1.1-10.el6 will be updated ---> Package pam.x86_64 0:1.1.1-10.el6_2.1 will be an update --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Updating: dmidecode x86_64 1:2.11-2.el6_1 rhui-us-east-1-rhel-server-releases 71 k pam x86_64 1.1.1-10.el6_2.1 rhui-us-east-1-rhel-server-releases 656 k Transaction Summary ================================================================================ Upgrade 2 Package(s) Total download size: 727 k Downloading Packages: -------------------------------------------------------------------------------- Total 2.9 MB/s | 727 kB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Updating : 1:dmidecode-2.11-2.el6_1.x86_64 1/4 Updating : pam-1.1.1-10.el6_2.1.x86_64 2/4 Cleanup : 1:dmidecode-2.11-2.el6.x86_64 3/4 Cleanup : pam-1.1.1-10.el6.x86_64 4/4 Installed products updated. Verifying : pam-1.1.1-10.el6_2.1.x86_64 1/4 Verifying : 1:dmidecode-2.11-2.el6_1.x86_64 2/4 Verifying : pam-1.1.1-10.el6.x86_64 3/4 Verifying : 1:dmidecode-2.11-2.el6.x86_64 4/4 Updated: dmidecode.x86_64 1:2.11-2.el6_1 pam.x86_64 0:1.1.1-10.el6_2.1 Complete! EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify no fa1lures in rpm package ... ###################################################################################### COMMAND: cat /root/valid/src/validate.log | grep 'failure in rpm package' | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify no rpm scriplet fa1lures ... ###################################################################################### COMMAND: cat /root/valid/src/validate.log | grep 'scriptlet failed, exit status 1' | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify package removal... ###################################################################################### COMMAND: /bin/rpm -e zsh RETURN CODE: 0 COMMAND: /bin/rpm -q zsh RESULT: package zsh is not installed EXPECTED RESULT: package zsh is not installed RETURN CODE: 1 PASS ###################################################################################### # NEW TEST: ## install zsh ... ###################################################################################### COMMAND: /usr/bin/yum -y install zsh Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Warning: RPMDB altered outside of yum. RETURN CODE: 0 COMMAND: /bin/rpm -q --queryformat '%{NAME}\n' zsh RESULT: zsh EXPECTED RESULT: zsh RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify package removal ... ###################################################################################### COMMAND: /bin/rpm -e zsh RETURN CODE: 0 COMMAND: /bin/rpm -q zsh RESULT: package zsh is not installed EXPECTED RESULT: package zsh is not installed RETURN CODE: 1 PASS # checking possible sys update Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate # no sys update found ###################################################################################### # NEW TEST: ## Verify yum update ... ###################################################################################### COMMAND: /usr/bin/yum -y update Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate Setting up Update Process No Packages marked for Update EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify disabled yum plugin ... ###################################################################################### COMMAND: grep ^enabled /etc/yum/pluginconf.d/rhnplugin.conf | grep -v '^#' | cut -d\= -f2 | awk '{print }' | sort -f | uniq RESULT: 0 EXPECTED RESULT: RETURN CODE: 0 PASS ## Summary ## FAILURES = 9 FAILED TESTS = ##test menu.lst ... ##test menu.lst ... ## Verify no missing packages ... ## test repo files ... ## test repo files ... ## Verify latest installed kernel is running ... ## Verify RPMs ... ## List available groups.. ## Install Development tools group... LOG FILE = /root/valid/src/validate.log ## Summary ## ###################################################################################### # NEW TEST: ## Open a bugzilla ###################################################################################### IMAGE ID= =====image_validation.sh Wed May 2 06:47:30 EDT 2012===== ###################################################################################### # NEW TEST: ## Open a bugzilla ###################################################################################### ###################################################################################### # NEW TEST: Fetching the identity doc Details ###################################################################################### Verifying that signature exists COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS Verifying the IMAGE ID COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS Verifying the Architecture COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS This Host => ec2-23-20-236-133.compute-1.amazonaws.com with Image Id : ami-347ca65d, is launched with Instance Id : i-beabb3d9 , Instance Type : m1.large and Arch : x86_64 in the Region : us-east-1d The Validate Signature is : ByjDZxhQNYrH5sJVufb3vK0CzymXpmaZCqjSelkjx9M7yTDmQSo2ZOSNCWjhaQ2XX2NNbnh1k7iJ 5uabDd6oZqk8D8K6c3fXvuga2u9lZf0W/GF3FnzrIcngp/3J08Gb8L+FRaDJob9t8mFMdF1DPi5Y KheDI8YYN53LtjLvWjo= This is a Cloud Access image /root/valid/src ip-10-85-121-4 Red Hat Enterprise Linux Server release 6.3 Beta (Santiago) ###################################################################################### # NEW TEST: The selected image has the version RHEL 6.3 ###################################################################################### ami is a BETA ###################################################################################### # NEW TEST: ## Verify auditd is on ... ###################################################################################### COMMAND: /sbin/chkconfig --list auditd | grep 3:on RESULT: auditd 0:off 1:off 2:on 3:on 4:on 5:on 6:off EXPECTED RESULT: RETURN CODE: 0 PASS COMMAND: /sbin/chkconfig --list auditd | grep 5:on RESULT: auditd 0:off 1:off 2:on 3:on 4:on 5:on 6:off EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify audit.rules ... ###################################################################################### COMMAND: md5sum /etc/audit/audit.rules | cut -f 1 -d " " RESULT: f9869e1191838c461f5b9051c78a638d EXPECTED RESULT: f9869e1191838c461f5b9051c78a638d RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify auditd.conf ... ###################################################################################### COMMAND: md5sum /etc/audit/auditd.conf | cut -f 1 -d " " RESULT: e1886162554c18906df2ecd258aa4794 EXPECTED RESULT: e1886162554c18906df2ecd258aa4794 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify auditd sysconfig ... ###################################################################################### COMMAND: md5sum /etc/sysconfig/auditd | cut -f 1 -d " " RESULT: d4d43637708e30418c30003e212f76fc EXPECTED RESULT: d4d43637708e30418c30003e212f76fc RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify bash_history ... ###################################################################################### COMMAND: cat ~/.bash_history | wc -l RESULT: 0 EXPECTED RESULT: 0 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify chkconfig ... ###################################################################################### COMMAND: chkconfig --list | grep crond | cut -f 5 RESULT: 3:on EXPECTED RESULT: 3:on RETURN CODE: 0 PASS COMMAND: chkconfig --list | grep iptables | cut -f 5 RESULT: 3:on EXPECTED RESULT: 3:on RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify rh-cloud-firstboot is OFF ... ###################################################################################### COMMAND: chkconfig --list | grep rh-cloud | grep 3:off | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS /etc/sysconfig/rh-cloud-firstboot FOUND COMMAND: echo true RESULT: true EXPECTED RESULT: RETURN CODE: 0 PASS COMMAND: cat /etc/sysconfig/rh-cloud-firstboot RESULT: RUN_FIRSTBOOT=NO EXPECTED RESULT: RUN_FIRSTBOOT=NO RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Partition Format ... ###################################################################################### mount | grep /dev/xvde1 | awk '{ print }' COMMAND: echo ext4 RESULT: ext4 EXPECTED RESULT: ext4 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Partition Size ... ###################################################################################### size=5905712 COMMAND: echo true RESULT: true EXPECTED RESULT: true RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: Fetching the identity doc Details ###################################################################################### Verifying that signature exists COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS Verifying the IMAGE ID COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS Verifying the Architecture COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS This Host => ec2-23-20-236-133.compute-1.amazonaws.com with Image Id : ami-347ca65d, is launched with Instance Id : i-beabb3d9 , Instance Type : m1.large and Arch : x86_64 in the Region : us-east-1d The Validate Signature is : ByjDZxhQNYrH5sJVufb3vK0CzymXpmaZCqjSelkjx9M7yTDmQSo2ZOSNCWjhaQ2XX2NNbnh1k7iJ 5uabDd6oZqk8D8K6c3fXvuga2u9lZf0W/GF3FnzrIcngp/3J08Gb8L+FRaDJob9t8mFMdF1DPi5Y KheDI8YYN53LtjLvWjo= This is a Cloud Access image ###################################################################################### # NEW TEST: ## Verify GPG checking ... ###################################################################################### COMMAND: grep '^gpgcheck=1' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | sort -f | uniq RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify GPG Keys ... ###################################################################################### COMMAND: rpm -qa gpg-pubkey* | wc -l RESULT: 2 EXPECTED RESULT: 2 RETURN CODE: 0 PASS SKIPPING TEST, BETA DETECTED ###################################################################################### # NEW TEST: ## Verify group file ... ###################################################################################### COMMAND: cat /etc/group | grep root:x:0 RESULT: root:x:0: EXPECTED RESULT: root:x:0: RETURN CODE: 0 PASS COMMAND: cat /etc/group | grep daemon:x:2 RESULT: daemon:x:2:bin,daemon EXPECTED RESULT: daemon:x:2:bin,daemon RETURN CODE: 0 PASS COMMAND: cat /etc/group | grep bin:x:1 RESULT: bin:x:1:bin,daemon EXPECTED RESULT: bin:x:1:bin,daemon RETURN CODE: 0 PASS COMMAND: cat /etc/group | grep nobody:x:99 RESULT: nobody:x:99: EXPECTED RESULT: nobody:x:99: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ##test menu.lst ... ###################################################################################### COMMAND: file /boot/grub/menu.lst | grep symbolic | wc -l RESULT: 0 EXPECTED RESULT: 1 RETURN CODE: 0 FAIL2 0 COMMAND: file /boot/grub/menu.lst | grep grub.conf | wc -l RESULT: 0 EXPECTED RESULT: 1 RETURN CODE: 0 FAIL2 0 COMMAND: cat /boot/grub/grub.conf | grep "(hd0,0)" | wc -l RESULT: 2 EXPECTED RESULT: 0 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify runlevel ... ###################################################################################### COMMAND: cat /etc/inittab | grep id: RESULT: id:3:initdefault: EXPECTED RESULT: id:3:initdefault: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify iptables ... ###################################################################################### COMMAND: /etc/init.d/iptables status | grep REJECT 5 REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited 1 REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited RETURN CODE: 0 COMMAND: /etc/init.d/iptables status | grep :22 | grep ACCEPT | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/ld.so.conf.d/libc6-xen.conf is not present ... ###################################################################################### COMMAND: ls /etc/ld.so.conf.d/libc6-xen.conf ls: cannot access /etc/ld.so.conf.d/libc6-xen.conf: No such file or directory RESULT: EXPECTED RESULT: 2 RETURN CODE: 2 PASS ###################################################################################### # NEW TEST: ##Verify memory match hwp ... ###################################################################################### cat /proc/meminfo | grep MemTotal: | awk '{print }' FOUND MEMORY OF 7646172 > hwp MEMORY of 7500000 COMMAND: echo true RESULT: true EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify nameserver ... ###################################################################################### COMMAND: /usr/bin/dig clock.redhat.com 2>> /root/valid/src/validate.log | grep 66.187.233.4 | wc -l RESULT: 1 EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify networking ... ###################################################################################### COMMAND: grep ^NETWORKING= /etc/sysconfig/network | cut -d\= -f2 RESULT: yes EXPECTED RESULT: yes RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify device ... ###################################################################################### COMMAND: grep ^DEVICE= /etc/sysconfig/network-scripts/ifcfg-eth0 | cut -d\= -f2 RESULT: eth0 EXPECTED RESULT: eth0 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify no missing packages ... ###################################################################################### COMMAND: /bin/rpm -qa --queryformat='%{NAME}\n' > /tmp/rpmqa.tmp RETURN CODE: 0 COUNT = 0 COMMAND: echo test failed RESULT: test failed EXPECTED RESULT: 1 RETURN CODE: 0 FAIL2 test failed ###################################################################################### # NEW TEST: ## Verify new passwd file ... ###################################################################################### COMMAND: cat /etc/passwd | grep root:x:0 RESULT: root:x:0:0:root:/root:/bin/bash EXPECTED RESULT: root:x:0:0:root:/root:/bin/bash RETURN CODE: 0 PASS COMMAND: cat /etc/passwd | grep nobody:x:99 RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin EXPECTED RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin RETURN CODE: 0 PASS COMMAND: cat /etc/passwd | grep sshd RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin EXPECTED RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## test repo files ... ###################################################################################### COMMAND: ls /etc/yum.repos.d/ | wc -l RESULT: 6 EXPECTED RESULT: 4 RETURN CODE: 0 FAIL2 6 COMMAND: ls /etc/yum.repos.d/redhat* | wc -l RESULT: 4 EXPECTED RESULT: 2 RETURN CODE: 0 FAIL2 4 COMMAND: ls /etc/yum.repos.d/rhel* | wc -l RESULT: 1 EXPECTED RESULT: 0 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify resize2fs ... ###################################################################################### COMMAND: resize2fs -p /dev/xvde1 15000M resize2fs 1.41.12 (17-May-2010) RETURN CODE: 0 COMMAND: df -h | grep 15G | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS /root/valid/src ip-10-85-121-4 Red Hat Enterprise Linux Server release 6.3 Beta (Santiago) ###################################################################################### # NEW TEST: The selected image has the version RHEL 6.3 ###################################################################################### ami is a BETA ###################################################################################### # NEW TEST: ## /sbin/getenforce ... ###################################################################################### COMMAND: /usr/sbin/getenforce RESULT: Enforcing EXPECTED RESULT: Enforcing RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify SELINUX enforcing ... ###################################################################################### COMMAND: grep ^SELINUX= /etc/sysconfig/selinux | cut -d\= -f2 RESULT: enforcing EXPECTED RESULT: enforcing RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify SELINUXTYPE targeted ... ###################################################################################### COMMAND: grep ^SELINUXTYPE= /etc/sysconfig/selinux | cut -d\= -f2 RESULT: targeted EXPECTED RESULT: targeted RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Flip Selinux Permissive ... ###################################################################################### COMMAND: /usr/sbin/setenforce Permissive && /usr/sbin/getenforce RESULT: Permissive EXPECTED RESULT: Permissive RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Flip Selinux Enforcing ... ###################################################################################### COMMAND: /usr/sbin/setenforce Enforcing && /usr/sbin/getenforce RESULT: Enforcing EXPECTED RESULT: Enforcing RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify new shells file ... ###################################################################################### COMMAND: cat /etc/shells | grep bash RESULT: /bin/bash EXPECTED RESULT: /bin/bash RETURN CODE: 0 PASS COMMAND: cat /etc/shells | grep nologin RESULT: /sbin/nologin EXPECTED RESULT: /sbin/nologin RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify sshd_config settings ... ###################################################################################### COMMAND: cat /etc/ssh/sshd_config | grep PasswordAuthentication | grep no | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify sshd ... ###################################################################################### COMMAND: chkconfig --list | grep sshd RESULT: sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off EXPECTED RESULT: sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off RETURN CODE: 0 PASS COMMAND: /etc/init.d/sshd status | grep running | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS this machine doesn't require swap ###################################################################################### # NEW TEST: ## Verify rsyslog is on ... ###################################################################################### COMMAND: chkconfig --list | grep rsyslog | cut -f 5 RESULT: 3:on EXPECTED RESULT: 3:on RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify rsyslog config ... ###################################################################################### COMMAND: md5sum /etc/rsyslog.conf | cut -f 1 -d " " RESULT: 8b91b32300134e98ef4aee632ed61e21 EXPECTED RESULT: 8b91b32300134e98ef4aee632ed61e21 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify no systemid file ... ###################################################################################### COMMAND: echo true RESULT: true EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify kernel name ... ###################################################################################### COMMAND: /bin/uname -s RESULT: Linux EXPECTED RESULT: Linux RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify latest installed kernel is running ... ###################################################################################### RHEL VERSION IS 6 LATEST_RPM_KERNEL_VERSION=rpm -q kernel --last | head -n 1 | cut -c 8-60 | cut -d ' ' -f 1 CURRENT_UNAME_KERNAL_VERSION=2.6.32-262.el6 assert latest rpm kernel = uname -r COMMAND: uname -r | sed 's/\(.*\)......./\1/' RESULT: 2.6.32-262.el6 EXPECTED RESULT: 2.6.32-262.el6.x86_64 RETURN CODE: 0 FAIL2 2.6.32-262.el6 ###################################################################################### # NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ... ###################################################################################### COMMAND: cat /boot/grub/menu.lst | grep 2.6.32-262.el6.x86_64 RESULT: title RHEL6.3-20120416.0-Server-x86_64-starter-ec2 (2.6.32-262.el6.x86_64) kernel /boot/vmlinuz-2.6.32-262.el6.x86_64 ro root=LABEL=_/ initrd /boot/initramfs-2.6.32-262.el6.x86_64.img EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify operating system ... ###################################################################################### COMMAND: /bin/uname -o RESULT: GNU/Linux EXPECTED RESULT: GNU/Linux RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel ... ###################################################################################### COMMAND: ls /etc/sysconfig/kernel RESULT: /etc/sysconfig/kernel EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel contains UPDATEDEFAULT ... ###################################################################################### COMMAND: cat /etc/sysconfig/kernel | grep UPDATEDEFAULT=yes RESULT: UPDATEDEFAULT=yes EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel contains DEFAULTKERNEL ... ###################################################################################### COMMAND: cat /etc/sysconfig/kernel | grep DEFAULTKERNEL=kernel RESULT: DEFAULTKERNEL=kernel EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify system up to date ###################################################################################### COMMAND: _check_sys_update_phase1 # no update was required RESULT: # checking sys update done # no update was required EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify RPMs ... ###################################################################################### ....L.... c /etc/pam.d/fingerprint-auth ....L.... c /etc/pam.d/password-auth ....L.... c /etc/pam.d/smartcard-auth ....L.... c /etc/pam.d/system-auth .M....... /var/cache/yum S file Size differs M Mode differs (includes permissions and file type) 5 MD5 sum differs D Device major/minor number mismatch L readLink(2) path mismatch U User ownership differs G Group ownership differs T mTime differs COMMAND: cat /tmp/rpmqaV.txt | wc -l RESULT: 5 EXPECTED RESULT: 4 RETURN CODE: 0 FAIL2 5 ###################################################################################### # NEW TEST: ## Verify Version 2 ... ###################################################################################### COMMAND: /bin/rpm -q --queryformat '%{RELEASE}\n' redhat-release-server | cut -d. -f1,2 RESULT: 6.3 EXPECTED RESULT: 6.3 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify packager ... ###################################################################################### COMMAND: cat /tmp/Packager | grep -v 'Red Hat, Inc.' | grep -v crash-trace-commandPackager| wc -l RESULT: 0 EXPECTED RESULT: 0 RETURN CODE: 0 PASS crash-trace-commandPackager : Lai Jiangshan <laijs.com> ###################################################################################### # NEW TEST: ## List the configured repositories... ###################################################################################### COMMAND: /usr/bin/yum repolist Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate repo id repo name status rhui-us-east-1-client-config-server-6 Red Hat Update Infrastructur 1 rhui-us-east-1-client-config-server-6-beta Red Hat Update Infrastructur 0 rhui-us-east-1-rhel-server-releases Red Hat Enterprise Linux Ser 7,079 rhui-us-east-1-rhel-server-releases-optional Red Hat Enterprise Linux Ser 4,354 repolist: 11,434 EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Search zsh... ###################################################################################### COMMAND: /usr/bin/yum search zsh Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate =============================== N/S Matched: zsh =============================== python-twisted-core-zsh.x86_64 : Tab completion for Zsh and Twisted Core zsh-html.x86_64 : Zsh shell manual in html format zsh.x86_64 : A powerful interactive shell Name and summary matches only, use "search all" for everything. EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## install zsh ... ###################################################################################### COMMAND: /usr/bin/yum -y install zsh Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Warning: RPMDB altered outside of yum. RETURN CODE: 0 COMMAND: /bin/rpm -q --queryformat '%{NAME}\n' zsh RESULT: zsh EXPECTED RESULT: zsh RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## List available groups.. ###################################################################################### COMMAND: /usr/bin/yum grouplist Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhui-us-east-1-rhel-server-releases-beta. Please verify its path and try again RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Setting up Group Process Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate EXPECTED RESULT: RETURN CODE: 1 FAIL1 Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Setting up Group Process Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate ###################################################################################### # NEW TEST: ## Install Development tools group... ###################################################################################### COMMAND: /usr/bin/yum -y groupinstall 'Development tools' Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Error: Package: libstdc++-devel-4.4.6-3.el6.x86_64 (rhui-us-east-1-rhel-server-releases) Requires: libstdc++(x86-64) = 4.4.6-3.el6 Installed: libstdc++-4.4.6-4.el6.x86_64 (@koji-override-0/$releasever) libstdc++(x86-64) = 4.4.6-4.el6 Available: libstdc++-4.4.4-13.el6.x86_64 (rhui-us-east-1-rhel-server-releases) libstdc++(x86-64) = 4.4.4-13.el6 Available: libstdc++-4.4.5-6.el6.x86_64 (rhui-us-east-1-rhel-server-releases) libstdc++(x86-64) = 4.4.5-6.el6 Available: libstdc++-4.4.6-3.el6.x86_64 (rhui-us-east-1-rhel-server-releases) libstdc++(x86-64) = 4.4.6-3.el6 Error: Package: systemtap-1.6-5.el6_2.x86_64 (rhui-us-east-1-rhel-server-releases) Requires: systemtap-runtime = 1.6-5.el6_2 Installed: systemtap-runtime-1.7-3.el6.x86_64 (@koji-override-0/$releasever) systemtap-runtime = 1.7-3.el6 Available: systemtap-runtime-1.2-9.el6.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.2-9.el6 Available: systemtap-runtime-1.2-11.el6_0.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.2-11.el6_0 Available: systemtap-runtime-1.4-6.el6.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.4-6.el6 Available: systemtap-runtime-1.4-6.el6_1.1.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.4-6.el6_1.1 Available: systemtap-runtime-1.4-6.el6_1.2.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.4-6.el6_1.2 Available: systemtap-runtime-1.4-6.el6_1.3.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.4-6.el6_1.3 Available: systemtap-runtime-1.6-4.el6.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.6-4.el6 Available: systemtap-runtime-1.6-5.el6_2.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.6-5.el6_2 Error: Package: rpm-build-4.8.0-19.el6_2.1.x86_64 (rhui-us-east-1-rhel-server-releases) Requires: rpm = 4.8.0-19.el6_2.1 Installed: rpm-4.8.0-27.el6.x86_64 (@koji-override-0/$releasever) rpm = 4.8.0-27.el6 Available: rpm-4.8.0-12.el6.x86_64 (rhui-us-east-1-rhel-server-releases) rpm = 4.8.0-12.el6 Available: rpm-4.8.0-16.el6.x86_64 (rhui-us-east-1-rhel-server-releases) rpm = 4.8.0-16.el6 Available: rpm-4.8.0-16.el6_1.1.x86_64 (rhui-us-east-1-rhel-server-releases) rpm = 4.8.0-16.el6_1.1 Available: rpm-4.8.0-19.el6.x86_64 (rhui-us-east-1-rhel-server-releases) rpm = 4.8.0-19.el6 Available: rpm-4.8.0-19.el6_2.1.x86_64 (rhui-us-east-1-rhel-server-releases) rpm = 4.8.0-19.el6_2.1 Error: Package: glibc-2.12-1.47.el6_2.9.i686 (rhui-us-east-1-rhel-server-releases) Requires: glibc-common = 2.12-1.47.el6_2.9 Installed: glibc-common-2.12-1.78.el6.x86_64 (@koji-override-0/$releasever) glibc-common = 2.12-1.78.el6 Available: glibc-common-2.12-1.7.el6.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.7.el6 Available: glibc-common-2.12-1.7.el6_0.3.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.7.el6_0.3 Available: glibc-common-2.12-1.7.el6_0.4.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.7.el6_0.4 Available: glibc-common-2.12-1.7.el6_0.5.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.7.el6_0.5 Available: glibc-common-2.12-1.25.el6.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.25.el6 Available: glibc-common-2.12-1.25.el6_1.3.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.25.el6_1.3 Available: glibc-common-2.12-1.47.el6.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.47.el6 Available: glibc-common-2.12-1.47.el6_2.5.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.47.el6_2.5 Available: glibc-common-2.12-1.47.el6_2.9.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.47.el6_2.9 RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate Setting up Group Process Package matching 1:make-3.81-19.el6.x86_64 already installed. Checking for update. Package patch-2.6-6.el6.x86_64 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version Package gettext-0.17-16.el6.x86_64 already installed and latest version Package matching binutils-2.20.51.0.2-5.28.el6.x86_64 already installed. Checking for update. Package elfutils-0.152-1.el6.x86_64 already installed and latest version Package cvs-1.11.23-11.el6_2.1.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.x86_64 0:2.4.1-5.el6 will be installed ---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.x86_64 0:15.6-6.el6 will be installed ---> Package ctags.x86_64 0:5.8-2.el6 will be installed ---> Package diffstat.x86_64 0:1.51-2.el6 will be installed ---> Package doxygen.x86_64 1:1.6.1-6.el6 will be installed ---> Package flex.x86_64 0:2.5.35-8.el6 will be installed ---> Package gcc.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-3.el6.x86_64 ---> Package gcc-c++.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++-devel = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.x86_64 --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.x86_64 --> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.6-3.el6.x86_64 ---> Package gcc-gfortran.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.x86_64 ---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64 ---> Package indent.x86_64 0:2.2.10-5.1.el6 will be installed ---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed --> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch ---> Package libtool.x86_64 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed ---> Package rcs.x86_64 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-34.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package subversion.x86_64 0:1.6.11-2.el6_1.4 will be installed --> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 ---> Package swig.x86_64 0:1.3.40-6.el6 will be installed ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Processing Dependency: kernel-devel for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 --> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 ---> Package cpp.x86_64 0:4.4.6-3.el6 will be installed ---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 ---> Package glibc-devel.x86_64 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-headers = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 ---> Package kernel-devel.x86_64 0:2.6.32-220.7.1.el6 will be installed ---> Package libgfortran.i686 0:4.4.6-3.el6 will be installed ---> Package libgomp.i686 0:4.4.6-3.el6 will be installed ---> Package libstdc++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.6-3.el6.i686 ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed ---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 --> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed ---> Package glibc.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-common = 2.12-1.47.el6_2.9 for package: glibc-2.12-1.47.el6_2.9.i686 --> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.47.el6_2.9.i686 --> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.47.el6_2.9.i686 ---> Package glibc-headers.x86_64 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.47.el6_2.9.x86_64 ---> Package libgcc.i686 0:4.4.6-3.el6 will be installed ---> Package libgcj.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-3.el6.x86_64 ---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed ---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package glibc.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-common = 2.12-1.47.el6_2.9 for package: glibc-2.12-1.47.el6_2.9.i686 ---> Package kernel-headers.x86_64 0:2.6.32-220.7.1.el6 will be installed ---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package nss-softokn-freebl.i686 0:3.12.9-11.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Finished Dependency Resolution You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest EXPECTED RESULT: RETURN CODE: 1 FAIL1 Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate Setting up Group Process Package matching 1:make-3.81-19.el6.x86_64 already installed. Checking for update. Package patch-2.6-6.el6.x86_64 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version Package gettext-0.17-16.el6.x86_64 already installed and latest version Package matching binutils-2.20.51.0.2-5.28.el6.x86_64 already installed. Checking for update. Package elfutils-0.152-1.el6.x86_64 already installed and latest version Package cvs-1.11.23-11.el6_2.1.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.x86_64 0:2.4.1-5.el6 will be installed ---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.x86_64 0:15.6-6.el6 will be installed ---> Package ctags.x86_64 0:5.8-2.el6 will be installed ---> Package diffstat.x86_64 0:1.51-2.el6 will be installed ---> Package doxygen.x86_64 1:1.6.1-6.el6 will be installed ---> Package flex.x86_64 0:2.5.35-8.el6 will be installed ---> Package gcc.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-3.el6.x86_64 ---> Package gcc-c++.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++-devel = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.x86_64 --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.x86_64 --> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.6-3.el6.x86_64 ---> Package gcc-gfortran.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.x86_64 ---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64 ---> Package indent.x86_64 0:2.2.10-5.1.el6 will be installed ---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed --> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch ---> Package libtool.x86_64 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed ---> Package rcs.x86_64 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-34.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package subversion.x86_64 0:1.6.11-2.el6_1.4 will be installed --> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 ---> Package swig.x86_64 0:1.3.40-6.el6 will be installed ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Processing Dependency: kernel-devel for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 --> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 ---> Package cpp.x86_64 0:4.4.6-3.el6 will be installed ---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 ---> Package glibc-devel.x86_64 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-headers = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 ---> Package kernel-devel.x86_64 0:2.6.32-220.7.1.el6 will be installed ---> Package libgfortran.i686 0:4.4.6-3.el6 will be installed ---> Package libgomp.i686 0:4.4.6-3.el6 will be installed ---> Package libstdc++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.6-3.el6.i686 ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed ---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 --> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed ---> Package glibc.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-common = 2.12-1.47.el6_2.9 for package: glibc-2.12-1.47.el6_2.9.i686 --> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.47.el6_2.9.i686 --> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.47.el6_2.9.i686 ---> Package glibc-headers.x86_64 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.47.el6_2.9.x86_64 ---> Package libgcc.i686 0:4.4.6-3.el6 will be installed ---> Package libgcj.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-3.el6.x86_64 ---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed ---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package glibc.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-common = 2.12-1.47.el6_2.9 for package: glibc-2.12-1.47.el6_2.9.i686 ---> Package kernel-headers.x86_64 0:2.6.32-220.7.1.el6 will be installed ---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package nss-softokn-freebl.i686 0:3.12.9-11.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Finished Dependency Resolution You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest # checking possible sys update Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate # no sys update found ###################################################################################### # NEW TEST: ## Verify yum update ... ###################################################################################### COMMAND: /usr/bin/yum -y update Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package dmidecode.x86_64 1:2.11-2.el6 will be updated ---> Package dmidecode.x86_64 1:2.11-2.el6_1 will be an update ---> Package pam.x86_64 0:1.1.1-10.el6 will be updated ---> Package pam.x86_64 0:1.1.1-10.el6_2.1 will be an update --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Updating: dmidecode x86_64 1:2.11-2.el6_1 rhui-us-east-1-rhel-server-releases 71 k pam x86_64 1.1.1-10.el6_2.1 rhui-us-east-1-rhel-server-releases 656 k Transaction Summary ================================================================================ Upgrade 2 Package(s) Total download size: 727 k Downloading Packages: -------------------------------------------------------------------------------- Total 2.4 MB/s | 727 kB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Updating : 1:dmidecode-2.11-2.el6_1.x86_64 1/4 Updating : pam-1.1.1-10.el6_2.1.x86_64 2/4 Cleanup : 1:dmidecode-2.11-2.el6.x86_64 3/4 Cleanup : pam-1.1.1-10.el6.x86_64 4/4 Installed products updated. Verifying : pam-1.1.1-10.el6_2.1.x86_64 1/4 Verifying : 1:dmidecode-2.11-2.el6_1.x86_64 2/4 Verifying : pam-1.1.1-10.el6.x86_64 3/4 Verifying : 1:dmidecode-2.11-2.el6.x86_64 4/4 Updated: dmidecode.x86_64 1:2.11-2.el6_1 pam.x86_64 0:1.1.1-10.el6_2.1 Complete! EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify no fa1lures in rpm package ... ###################################################################################### COMMAND: cat /root/valid/src/validate.log | grep 'failure in rpm package' | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify no rpm scriplet fa1lures ... ###################################################################################### COMMAND: cat /root/valid/src/validate.log | grep 'scriptlet failed, exit status 1' | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify package removal... ###################################################################################### COMMAND: /bin/rpm -e zsh RETURN CODE: 0 COMMAND: /bin/rpm -q zsh RESULT: package zsh is not installed EXPECTED RESULT: package zsh is not installed RETURN CODE: 1 PASS ###################################################################################### # NEW TEST: ## install zsh ... ###################################################################################### COMMAND: /usr/bin/yum -y install zsh Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Warning: RPMDB altered outside of yum. RETURN CODE: 0 COMMAND: /bin/rpm -q --queryformat '%{NAME}\n' zsh RESULT: zsh EXPECTED RESULT: zsh RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify package removal ... ###################################################################################### COMMAND: /bin/rpm -e zsh RETURN CODE: 0 COMMAND: /bin/rpm -q zsh RESULT: package zsh is not installed EXPECTED RESULT: package zsh is not installed RETURN CODE: 1 PASS # checking possible sys update Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate # no sys update found ###################################################################################### # NEW TEST: ## Verify yum update ... ###################################################################################### COMMAND: /usr/bin/yum -y update Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate Setting up Update Process No Packages marked for Update EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify disabled yum plugin ... ###################################################################################### COMMAND: grep ^enabled /etc/yum/pluginconf.d/rhnplugin.conf | grep -v '^#' | cut -d\= -f2 | awk '{print }' | sort -f | uniq RESULT: 0 EXPECTED RESULT: RETURN CODE: 0 PASS ## Summary ## FAILURES = 9 FAILED TESTS = ##test menu.lst ... ##test menu.lst ... ## Verify no missing packages ... ## test repo files ... ## test repo files ... ## Verify latest installed kernel is running ... ## Verify RPMs ... ## List available groups.. ## Install Development tools group... LOG FILE = /root/valid/src/validate.log ## Summary ## ###################################################################################### # NEW TEST: ## Open a bugzilla ###################################################################################### IMAGE ID= =====image_validation.sh Wed May 2 06:48:57 EDT 2012===== ###################################################################################### # NEW TEST: ## Open a bugzilla ###################################################################################### ###################################################################################### # NEW TEST: Fetching the identity doc Details ###################################################################################### Verifying that signature exists COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS Verifying the IMAGE ID COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS Verifying the Architecture COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS This Host => ec2-184-72-181-228.compute-1.amazonaws.com with Image Id : ami-347ca65d, is launched with Instance Id : i-50aeb637 , Instance Type : m2.2xlarge and Arch : x86_64 in the Region : us-east-1d The Validate Signature is : XbS6Li4y+hgKKnhxPZDHg5svov7+jTHi+ZKjuoznUqE+0yZTEKTOEDT/+RoN6dBp0sw5ZT0SWygG Zrbcvaxi3ROrbcqLEGO9dLgquGSCmpRs84CxG/GlWOTzfFPYXrLisx2NIWPVUuu+Cpx8QzBWIGvo q/CnI4LSNzKrBKn1UwQ= This is a Cloud Access image /root/valid/src ip-10-82-107-254 Red Hat Enterprise Linux Server release 6.3 Beta (Santiago) ###################################################################################### # NEW TEST: The selected image has the version RHEL 6.3 ###################################################################################### ami is a BETA ###################################################################################### # NEW TEST: ## Verify auditd is on ... ###################################################################################### COMMAND: /sbin/chkconfig --list auditd | grep 3:on RESULT: auditd 0:off 1:off 2:on 3:on 4:on 5:on 6:off EXPECTED RESULT: RETURN CODE: 0 PASS COMMAND: /sbin/chkconfig --list auditd | grep 5:on RESULT: auditd 0:off 1:off 2:on 3:on 4:on 5:on 6:off EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify audit.rules ... ###################################################################################### COMMAND: md5sum /etc/audit/audit.rules | cut -f 1 -d " " RESULT: f9869e1191838c461f5b9051c78a638d EXPECTED RESULT: f9869e1191838c461f5b9051c78a638d RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify auditd.conf ... ###################################################################################### COMMAND: md5sum /etc/audit/auditd.conf | cut -f 1 -d " " RESULT: e1886162554c18906df2ecd258aa4794 EXPECTED RESULT: e1886162554c18906df2ecd258aa4794 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify auditd sysconfig ... ###################################################################################### COMMAND: md5sum /etc/sysconfig/auditd | cut -f 1 -d " " RESULT: d4d43637708e30418c30003e212f76fc EXPECTED RESULT: d4d43637708e30418c30003e212f76fc RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify bash_history ... ###################################################################################### COMMAND: cat ~/.bash_history | wc -l RESULT: 0 EXPECTED RESULT: 0 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify chkconfig ... ###################################################################################### COMMAND: chkconfig --list | grep crond | cut -f 5 RESULT: 3:on EXPECTED RESULT: 3:on RETURN CODE: 0 PASS COMMAND: chkconfig --list | grep iptables | cut -f 5 RESULT: 3:on EXPECTED RESULT: 3:on RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify rh-cloud-firstboot is OFF ... ###################################################################################### COMMAND: chkconfig --list | grep rh-cloud | grep 3:off | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS /etc/sysconfig/rh-cloud-firstboot FOUND COMMAND: echo true RESULT: true EXPECTED RESULT: RETURN CODE: 0 PASS COMMAND: cat /etc/sysconfig/rh-cloud-firstboot RESULT: RUN_FIRSTBOOT=NO EXPECTED RESULT: RUN_FIRSTBOOT=NO RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Partition Format ... ###################################################################################### mount | grep /dev/xvde1 | awk '{ print }' COMMAND: echo ext4 RESULT: ext4 EXPECTED RESULT: ext4 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Partition Size ... ###################################################################################### size=5905712 COMMAND: echo true RESULT: true EXPECTED RESULT: true RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: Fetching the identity doc Details ###################################################################################### Verifying that signature exists COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS Verifying the IMAGE ID COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS Verifying the Architecture COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS This Host => ec2-184-72-181-228.compute-1.amazonaws.com with Image Id : ami-347ca65d, is launched with Instance Id : i-50aeb637 , Instance Type : m2.2xlarge and Arch : x86_64 in the Region : us-east-1d The Validate Signature is : XbS6Li4y+hgKKnhxPZDHg5svov7+jTHi+ZKjuoznUqE+0yZTEKTOEDT/+RoN6dBp0sw5ZT0SWygG Zrbcvaxi3ROrbcqLEGO9dLgquGSCmpRs84CxG/GlWOTzfFPYXrLisx2NIWPVUuu+Cpx8QzBWIGvo q/CnI4LSNzKrBKn1UwQ= This is a Cloud Access image ###################################################################################### # NEW TEST: ## Verify GPG checking ... ###################################################################################### COMMAND: grep '^gpgcheck=1' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | sort -f | uniq RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify GPG Keys ... ###################################################################################### COMMAND: rpm -qa gpg-pubkey* | wc -l RESULT: 2 EXPECTED RESULT: 2 RETURN CODE: 0 PASS SKIPPING TEST, BETA DETECTED ###################################################################################### # NEW TEST: ## Verify group file ... ###################################################################################### COMMAND: cat /etc/group | grep root:x:0 RESULT: root:x:0: EXPECTED RESULT: root:x:0: RETURN CODE: 0 PASS COMMAND: cat /etc/group | grep daemon:x:2 RESULT: daemon:x:2:bin,daemon EXPECTED RESULT: daemon:x:2:bin,daemon RETURN CODE: 0 PASS COMMAND: cat /etc/group | grep bin:x:1 RESULT: bin:x:1:bin,daemon EXPECTED RESULT: bin:x:1:bin,daemon RETURN CODE: 0 PASS COMMAND: cat /etc/group | grep nobody:x:99 RESULT: nobody:x:99: EXPECTED RESULT: nobody:x:99: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ##test menu.lst ... ###################################################################################### COMMAND: file /boot/grub/menu.lst | grep symbolic | wc -l RESULT: 0 EXPECTED RESULT: 1 RETURN CODE: 0 FAIL2 0 COMMAND: file /boot/grub/menu.lst | grep grub.conf | wc -l RESULT: 0 EXPECTED RESULT: 1 RETURN CODE: 0 FAIL2 0 COMMAND: cat /boot/grub/grub.conf | grep "(hd0,0)" | wc -l RESULT: 2 EXPECTED RESULT: 0 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify runlevel ... ###################################################################################### COMMAND: cat /etc/inittab | grep id: RESULT: id:3:initdefault: EXPECTED RESULT: id:3:initdefault: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify iptables ... ###################################################################################### COMMAND: /etc/init.d/iptables status | grep REJECT 5 REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited 1 REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited RETURN CODE: 0 COMMAND: /etc/init.d/iptables status | grep :22 | grep ACCEPT | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/ld.so.conf.d/libc6-xen.conf is not present ... ###################################################################################### COMMAND: ls /etc/ld.so.conf.d/libc6-xen.conf ls: cannot access /etc/ld.so.conf.d/libc6-xen.conf: No such file or directory RESULT: EXPECTED RESULT: 2 RETURN CODE: 2 PASS ###################################################################################### # NEW TEST: ##Verify memory match hwp ... ###################################################################################### cat /proc/meminfo | grep MemTotal: | awk '{print }' FOUND MEMORY OF 35127956 > hwp MEMORY of 34200000 COMMAND: echo true RESULT: true EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify nameserver ... ###################################################################################### COMMAND: /usr/bin/dig clock.redhat.com 2>> /root/valid/src/validate.log | grep 66.187.233.4 | wc -l RESULT: 1 EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify networking ... ###################################################################################### COMMAND: grep ^NETWORKING= /etc/sysconfig/network | cut -d\= -f2 RESULT: yes EXPECTED RESULT: yes RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify device ... ###################################################################################### COMMAND: grep ^DEVICE= /etc/sysconfig/network-scripts/ifcfg-eth0 | cut -d\= -f2 RESULT: eth0 EXPECTED RESULT: eth0 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify no missing packages ... ###################################################################################### COMMAND: /bin/rpm -qa --queryformat='%{NAME}\n' > /tmp/rpmqa.tmp RETURN CODE: 0 COUNT = 0 COMMAND: echo test failed RESULT: test failed EXPECTED RESULT: 1 RETURN CODE: 0 FAIL2 test failed ###################################################################################### # NEW TEST: ## Verify new passwd file ... ###################################################################################### COMMAND: cat /etc/passwd | grep root:x:0 RESULT: root:x:0:0:root:/root:/bin/bash EXPECTED RESULT: root:x:0:0:root:/root:/bin/bash RETURN CODE: 0 PASS COMMAND: cat /etc/passwd | grep nobody:x:99 RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin EXPECTED RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin RETURN CODE: 0 PASS COMMAND: cat /etc/passwd | grep sshd RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin EXPECTED RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## test repo files ... ###################################################################################### COMMAND: ls /etc/yum.repos.d/ | wc -l RESULT: 6 EXPECTED RESULT: 4 RETURN CODE: 0 FAIL2 6 COMMAND: ls /etc/yum.repos.d/redhat* | wc -l RESULT: 4 EXPECTED RESULT: 2 RETURN CODE: 0 FAIL2 4 COMMAND: ls /etc/yum.repos.d/rhel* | wc -l RESULT: 1 EXPECTED RESULT: 0 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify resize2fs ... ###################################################################################### COMMAND: resize2fs -p /dev/xvde1 15000M resize2fs 1.41.12 (17-May-2010) RETURN CODE: 0 COMMAND: df -h | grep 15G | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS /root/valid/src ip-10-82-107-254 Red Hat Enterprise Linux Server release 6.3 Beta (Santiago) ###################################################################################### # NEW TEST: The selected image has the version RHEL 6.3 ###################################################################################### ami is a BETA ###################################################################################### # NEW TEST: ## /sbin/getenforce ... ###################################################################################### COMMAND: /usr/sbin/getenforce RESULT: Enforcing EXPECTED RESULT: Enforcing RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify SELINUX enforcing ... ###################################################################################### COMMAND: grep ^SELINUX= /etc/sysconfig/selinux | cut -d\= -f2 RESULT: enforcing EXPECTED RESULT: enforcing RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify SELINUXTYPE targeted ... ###################################################################################### COMMAND: grep ^SELINUXTYPE= /etc/sysconfig/selinux | cut -d\= -f2 RESULT: targeted EXPECTED RESULT: targeted RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Flip Selinux Permissive ... ###################################################################################### COMMAND: /usr/sbin/setenforce Permissive && /usr/sbin/getenforce RESULT: Permissive EXPECTED RESULT: Permissive RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Flip Selinux Enforcing ... ###################################################################################### COMMAND: /usr/sbin/setenforce Enforcing && /usr/sbin/getenforce RESULT: Enforcing EXPECTED RESULT: Enforcing RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify new shells file ... ###################################################################################### COMMAND: cat /etc/shells | grep bash RESULT: /bin/bash EXPECTED RESULT: /bin/bash RETURN CODE: 0 PASS COMMAND: cat /etc/shells | grep nologin RESULT: /sbin/nologin EXPECTED RESULT: /sbin/nologin RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify sshd_config settings ... ###################################################################################### COMMAND: cat /etc/ssh/sshd_config | grep PasswordAuthentication | grep no | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify sshd ... ###################################################################################### COMMAND: chkconfig --list | grep sshd RESULT: sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off EXPECTED RESULT: sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off RETURN CODE: 0 PASS COMMAND: /etc/init.d/sshd status | grep running | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS this machine doesn't require swap ###################################################################################### # NEW TEST: ## Verify rsyslog is on ... ###################################################################################### COMMAND: chkconfig --list | grep rsyslog | cut -f 5 RESULT: 3:on EXPECTED RESULT: 3:on RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify rsyslog config ... ###################################################################################### COMMAND: md5sum /etc/rsyslog.conf | cut -f 1 -d " " RESULT: 8b91b32300134e98ef4aee632ed61e21 EXPECTED RESULT: 8b91b32300134e98ef4aee632ed61e21 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify no systemid file ... ###################################################################################### COMMAND: echo true RESULT: true EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify kernel name ... ###################################################################################### COMMAND: /bin/uname -s RESULT: Linux EXPECTED RESULT: Linux RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify latest installed kernel is running ... ###################################################################################### RHEL VERSION IS 6 LATEST_RPM_KERNEL_VERSION=rpm -q kernel --last | head -n 1 | cut -c 8-60 | cut -d ' ' -f 1 CURRENT_UNAME_KERNAL_VERSION=2.6.32-262.el6 assert latest rpm kernel = uname -r COMMAND: uname -r | sed 's/\(.*\)......./\1/' RESULT: 2.6.32-262.el6 EXPECTED RESULT: 2.6.32-262.el6.x86_64 RETURN CODE: 0 FAIL2 2.6.32-262.el6 ###################################################################################### # NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ... ###################################################################################### COMMAND: cat /boot/grub/menu.lst | grep 2.6.32-262.el6.x86_64 RESULT: title RHEL6.3-20120416.0-Server-x86_64-starter-ec2 (2.6.32-262.el6.x86_64) kernel /boot/vmlinuz-2.6.32-262.el6.x86_64 ro root=LABEL=_/ initrd /boot/initramfs-2.6.32-262.el6.x86_64.img EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify operating system ... ###################################################################################### COMMAND: /bin/uname -o RESULT: GNU/Linux EXPECTED RESULT: GNU/Linux RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel ... ###################################################################################### COMMAND: ls /etc/sysconfig/kernel RESULT: /etc/sysconfig/kernel EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel contains UPDATEDEFAULT ... ###################################################################################### COMMAND: cat /etc/sysconfig/kernel | grep UPDATEDEFAULT=yes RESULT: UPDATEDEFAULT=yes EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel contains DEFAULTKERNEL ... ###################################################################################### COMMAND: cat /etc/sysconfig/kernel | grep DEFAULTKERNEL=kernel RESULT: DEFAULTKERNEL=kernel EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify system up to date ###################################################################################### COMMAND: _check_sys_update_phase1 # no update was required RESULT: # checking sys update done # no update was required EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify RPMs ... ###################################################################################### ....L.... c /etc/pam.d/fingerprint-auth ....L.... c /etc/pam.d/password-auth ....L.... c /etc/pam.d/smartcard-auth ....L.... c /etc/pam.d/system-auth .M....... /var/cache/yum S file Size differs M Mode differs (includes permissions and file type) 5 MD5 sum differs D Device major/minor number mismatch L readLink(2) path mismatch U User ownership differs G Group ownership differs T mTime differs COMMAND: cat /tmp/rpmqaV.txt | wc -l RESULT: 5 EXPECTED RESULT: 4 RETURN CODE: 0 FAIL2 5 ###################################################################################### # NEW TEST: ## Verify Version 2 ... ###################################################################################### COMMAND: /bin/rpm -q --queryformat '%{RELEASE}\n' redhat-release-server | cut -d. -f1,2 RESULT: 6.3 EXPECTED RESULT: 6.3 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify packager ... ###################################################################################### COMMAND: cat /tmp/Packager | grep -v 'Red Hat, Inc.' | grep -v crash-trace-commandPackager| wc -l RESULT: 0 EXPECTED RESULT: 0 RETURN CODE: 0 PASS crash-trace-commandPackager : Lai Jiangshan <laijs.com> ###################################################################################### # NEW TEST: ## List the configured repositories... ###################################################################################### COMMAND: /usr/bin/yum repolist Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate repo id repo name status rhui-us-east-1-client-config-server-6 Red Hat Update Infrastructur 1 rhui-us-east-1-client-config-server-6-beta Red Hat Update Infrastructur 0 rhui-us-east-1-rhel-server-releases Red Hat Enterprise Linux Ser 7,079 rhui-us-east-1-rhel-server-releases-optional Red Hat Enterprise Linux Ser 4,354 repolist: 11,434 EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Search zsh... ###################################################################################### COMMAND: /usr/bin/yum search zsh Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate =============================== N/S Matched: zsh =============================== python-twisted-core-zsh.x86_64 : Tab completion for Zsh and Twisted Core zsh-html.x86_64 : Zsh shell manual in html format zsh.x86_64 : A powerful interactive shell Name and summary matches only, use "search all" for everything. EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## install zsh ... ###################################################################################### COMMAND: /usr/bin/yum -y install zsh Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Warning: RPMDB altered outside of yum. RETURN CODE: 0 COMMAND: /bin/rpm -q --queryformat '%{NAME}\n' zsh RESULT: zsh EXPECTED RESULT: zsh RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## List available groups.. ###################################################################################### COMMAND: /usr/bin/yum grouplist Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhui-us-east-1-rhel-server-releases-beta. Please verify its path and try again RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Setting up Group Process Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate EXPECTED RESULT: RETURN CODE: 1 FAIL1 Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Setting up Group Process Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate ###################################################################################### # NEW TEST: ## Install Development tools group... ###################################################################################### COMMAND: /usr/bin/yum -y groupinstall 'Development tools' Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Error: Package: libstdc++-devel-4.4.6-3.el6.x86_64 (rhui-us-east-1-rhel-server-releases) Requires: libstdc++(x86-64) = 4.4.6-3.el6 Installed: libstdc++-4.4.6-4.el6.x86_64 (@koji-override-0/$releasever) libstdc++(x86-64) = 4.4.6-4.el6 Available: libstdc++-4.4.4-13.el6.x86_64 (rhui-us-east-1-rhel-server-releases) libstdc++(x86-64) = 4.4.4-13.el6 Available: libstdc++-4.4.5-6.el6.x86_64 (rhui-us-east-1-rhel-server-releases) libstdc++(x86-64) = 4.4.5-6.el6 Available: libstdc++-4.4.6-3.el6.x86_64 (rhui-us-east-1-rhel-server-releases) libstdc++(x86-64) = 4.4.6-3.el6 Error: Package: systemtap-1.6-5.el6_2.x86_64 (rhui-us-east-1-rhel-server-releases) Requires: systemtap-runtime = 1.6-5.el6_2 Installed: systemtap-runtime-1.7-3.el6.x86_64 (@koji-override-0/$releasever) systemtap-runtime = 1.7-3.el6 Available: systemtap-runtime-1.2-9.el6.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.2-9.el6 Available: systemtap-runtime-1.2-11.el6_0.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.2-11.el6_0 Available: systemtap-runtime-1.4-6.el6.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.4-6.el6 Available: systemtap-runtime-1.4-6.el6_1.1.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.4-6.el6_1.1 Available: systemtap-runtime-1.4-6.el6_1.2.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.4-6.el6_1.2 Available: systemtap-runtime-1.4-6.el6_1.3.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.4-6.el6_1.3 Available: systemtap-runtime-1.6-4.el6.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.6-4.el6 Available: systemtap-runtime-1.6-5.el6_2.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.6-5.el6_2 Error: Package: rpm-build-4.8.0-19.el6_2.1.x86_64 (rhui-us-east-1-rhel-server-releases) Requires: rpm = 4.8.0-19.el6_2.1 Installed: rpm-4.8.0-27.el6.x86_64 (@koji-override-0/$releasever) rpm = 4.8.0-27.el6 Available: rpm-4.8.0-12.el6.x86_64 (rhui-us-east-1-rhel-server-releases) rpm = 4.8.0-12.el6 Available: rpm-4.8.0-16.el6.x86_64 (rhui-us-east-1-rhel-server-releases) rpm = 4.8.0-16.el6 Available: rpm-4.8.0-16.el6_1.1.x86_64 (rhui-us-east-1-rhel-server-releases) rpm = 4.8.0-16.el6_1.1 Available: rpm-4.8.0-19.el6.x86_64 (rhui-us-east-1-rhel-server-releases) rpm = 4.8.0-19.el6 Available: rpm-4.8.0-19.el6_2.1.x86_64 (rhui-us-east-1-rhel-server-releases) rpm = 4.8.0-19.el6_2.1 Error: Package: glibc-2.12-1.47.el6_2.9.i686 (rhui-us-east-1-rhel-server-releases) Requires: glibc-common = 2.12-1.47.el6_2.9 Installed: glibc-common-2.12-1.78.el6.x86_64 (@koji-override-0/$releasever) glibc-common = 2.12-1.78.el6 Available: glibc-common-2.12-1.7.el6.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.7.el6 Available: glibc-common-2.12-1.7.el6_0.3.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.7.el6_0.3 Available: glibc-common-2.12-1.7.el6_0.4.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.7.el6_0.4 Available: glibc-common-2.12-1.7.el6_0.5.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.7.el6_0.5 Available: glibc-common-2.12-1.25.el6.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.25.el6 Available: glibc-common-2.12-1.25.el6_1.3.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.25.el6_1.3 Available: glibc-common-2.12-1.47.el6.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.47.el6 Available: glibc-common-2.12-1.47.el6_2.5.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.47.el6_2.5 Available: glibc-common-2.12-1.47.el6_2.9.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.47.el6_2.9 RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate Setting up Group Process Package matching 1:make-3.81-19.el6.x86_64 already installed. Checking for update. Package patch-2.6-6.el6.x86_64 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version Package gettext-0.17-16.el6.x86_64 already installed and latest version Package matching binutils-2.20.51.0.2-5.28.el6.x86_64 already installed. Checking for update. Package elfutils-0.152-1.el6.x86_64 already installed and latest version Package cvs-1.11.23-11.el6_2.1.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.x86_64 0:2.4.1-5.el6 will be installed ---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.x86_64 0:15.6-6.el6 will be installed ---> Package ctags.x86_64 0:5.8-2.el6 will be installed ---> Package diffstat.x86_64 0:1.51-2.el6 will be installed ---> Package doxygen.x86_64 1:1.6.1-6.el6 will be installed ---> Package flex.x86_64 0:2.5.35-8.el6 will be installed ---> Package gcc.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-3.el6.x86_64 ---> Package gcc-c++.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++-devel = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.x86_64 --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.x86_64 --> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.6-3.el6.x86_64 ---> Package gcc-gfortran.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.x86_64 ---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64 ---> Package indent.x86_64 0:2.2.10-5.1.el6 will be installed ---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed --> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch ---> Package libtool.x86_64 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed ---> Package rcs.x86_64 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-34.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package subversion.x86_64 0:1.6.11-2.el6_1.4 will be installed --> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 ---> Package swig.x86_64 0:1.3.40-6.el6 will be installed ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Processing Dependency: kernel-devel for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 --> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 ---> Package cpp.x86_64 0:4.4.6-3.el6 will be installed ---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 ---> Package glibc-devel.x86_64 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-headers = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 ---> Package kernel-devel.x86_64 0:2.6.32-220.7.1.el6 will be installed ---> Package libgfortran.i686 0:4.4.6-3.el6 will be installed ---> Package libgomp.i686 0:4.4.6-3.el6 will be installed ---> Package libstdc++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.6-3.el6.i686 ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed ---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 --> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed ---> Package glibc.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-common = 2.12-1.47.el6_2.9 for package: glibc-2.12-1.47.el6_2.9.i686 --> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.47.el6_2.9.i686 --> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.47.el6_2.9.i686 ---> Package glibc-headers.x86_64 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.47.el6_2.9.x86_64 ---> Package libgcc.i686 0:4.4.6-3.el6 will be installed ---> Package libgcj.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-3.el6.x86_64 ---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed ---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package glibc.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-common = 2.12-1.47.el6_2.9 for package: glibc-2.12-1.47.el6_2.9.i686 ---> Package kernel-headers.x86_64 0:2.6.32-220.7.1.el6 will be installed ---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package nss-softokn-freebl.i686 0:3.12.9-11.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Finished Dependency Resolution You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest EXPECTED RESULT: RETURN CODE: 1 FAIL1 Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate Setting up Group Process Package matching 1:make-3.81-19.el6.x86_64 already installed. Checking for update. Package patch-2.6-6.el6.x86_64 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version Package gettext-0.17-16.el6.x86_64 already installed and latest version Package matching binutils-2.20.51.0.2-5.28.el6.x86_64 already installed. Checking for update. Package elfutils-0.152-1.el6.x86_64 already installed and latest version Package cvs-1.11.23-11.el6_2.1.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.x86_64 0:2.4.1-5.el6 will be installed ---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.x86_64 0:15.6-6.el6 will be installed ---> Package ctags.x86_64 0:5.8-2.el6 will be installed ---> Package diffstat.x86_64 0:1.51-2.el6 will be installed ---> Package doxygen.x86_64 1:1.6.1-6.el6 will be installed ---> Package flex.x86_64 0:2.5.35-8.el6 will be installed ---> Package gcc.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-3.el6.x86_64 ---> Package gcc-c++.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++-devel = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.x86_64 --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.x86_64 --> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.6-3.el6.x86_64 ---> Package gcc-gfortran.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.x86_64 ---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64 ---> Package indent.x86_64 0:2.2.10-5.1.el6 will be installed ---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed --> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch ---> Package libtool.x86_64 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed ---> Package rcs.x86_64 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-34.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package subversion.x86_64 0:1.6.11-2.el6_1.4 will be installed --> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 ---> Package swig.x86_64 0:1.3.40-6.el6 will be installed ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Processing Dependency: kernel-devel for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 --> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 ---> Package cpp.x86_64 0:4.4.6-3.el6 will be installed ---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 ---> Package glibc-devel.x86_64 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-headers = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 ---> Package kernel-devel.x86_64 0:2.6.32-220.7.1.el6 will be installed ---> Package libgfortran.i686 0:4.4.6-3.el6 will be installed ---> Package libgomp.i686 0:4.4.6-3.el6 will be installed ---> Package libstdc++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.6-3.el6.i686 ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed ---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 --> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed ---> Package glibc.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-common = 2.12-1.47.el6_2.9 for package: glibc-2.12-1.47.el6_2.9.i686 --> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.47.el6_2.9.i686 --> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.47.el6_2.9.i686 ---> Package glibc-headers.x86_64 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.47.el6_2.9.x86_64 ---> Package libgcc.i686 0:4.4.6-3.el6 will be installed ---> Package libgcj.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-3.el6.x86_64 ---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed ---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package glibc.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-common = 2.12-1.47.el6_2.9 for package: glibc-2.12-1.47.el6_2.9.i686 ---> Package kernel-headers.x86_64 0:2.6.32-220.7.1.el6 will be installed ---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package nss-softokn-freebl.i686 0:3.12.9-11.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Finished Dependency Resolution You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest # checking possible sys update Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate # no sys update found ###################################################################################### # NEW TEST: ## Verify yum update ... ###################################################################################### COMMAND: /usr/bin/yum -y update Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package dmidecode.x86_64 1:2.11-2.el6 will be updated ---> Package dmidecode.x86_64 1:2.11-2.el6_1 will be an update ---> Package pam.x86_64 0:1.1.1-10.el6 will be updated ---> Package pam.x86_64 0:1.1.1-10.el6_2.1 will be an update --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Updating: dmidecode x86_64 1:2.11-2.el6_1 rhui-us-east-1-rhel-server-releases 71 k pam x86_64 1.1.1-10.el6_2.1 rhui-us-east-1-rhel-server-releases 656 k Transaction Summary ================================================================================ Upgrade 2 Package(s) Total download size: 727 k Downloading Packages: -------------------------------------------------------------------------------- Total 2.5 MB/s | 727 kB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Updating : 1:dmidecode-2.11-2.el6_1.x86_64 1/4 Updating : pam-1.1.1-10.el6_2.1.x86_64 2/4 Cleanup : 1:dmidecode-2.11-2.el6.x86_64 3/4 Cleanup : pam-1.1.1-10.el6.x86_64 4/4 Installed products updated. Verifying : pam-1.1.1-10.el6_2.1.x86_64 1/4 Verifying : 1:dmidecode-2.11-2.el6_1.x86_64 2/4 Verifying : pam-1.1.1-10.el6.x86_64 3/4 Verifying : 1:dmidecode-2.11-2.el6.x86_64 4/4 Updated: dmidecode.x86_64 1:2.11-2.el6_1 pam.x86_64 0:1.1.1-10.el6_2.1 Complete! EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify no fa1lures in rpm package ... ###################################################################################### COMMAND: cat /root/valid/src/validate.log | grep 'failure in rpm package' | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify no rpm scriplet fa1lures ... ###################################################################################### COMMAND: cat /root/valid/src/validate.log | grep 'scriptlet failed, exit status 1' | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify package removal... ###################################################################################### COMMAND: /bin/rpm -e zsh RETURN CODE: 0 COMMAND: /bin/rpm -q zsh RESULT: package zsh is not installed EXPECTED RESULT: package zsh is not installed RETURN CODE: 1 PASS ###################################################################################### # NEW TEST: ## install zsh ... ###################################################################################### COMMAND: /usr/bin/yum -y install zsh Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Warning: RPMDB altered outside of yum. RETURN CODE: 0 COMMAND: /bin/rpm -q --queryformat '%{NAME}\n' zsh RESULT: zsh EXPECTED RESULT: zsh RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify package removal ... ###################################################################################### COMMAND: /bin/rpm -e zsh RETURN CODE: 0 COMMAND: /bin/rpm -q zsh RESULT: package zsh is not installed EXPECTED RESULT: package zsh is not installed RETURN CODE: 1 PASS # checking possible sys update Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate # no sys update found ###################################################################################### # NEW TEST: ## Verify yum update ... ###################################################################################### COMMAND: /usr/bin/yum -y update Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate Setting up Update Process No Packages marked for Update EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify disabled yum plugin ... ###################################################################################### COMMAND: grep ^enabled /etc/yum/pluginconf.d/rhnplugin.conf | grep -v '^#' | cut -d\= -f2 | awk '{print }' | sort -f | uniq RESULT: 0 EXPECTED RESULT: RETURN CODE: 0 IMAGE ID= =====image_validation.sh Wed May 2 06:46:45 EDT 2012===== ###################################################################################### # NEW TEST: ## Open a bugzilla ###################################################################################### ###################################################################################### # NEW TEST: Fetching the identity doc Details ###################################################################################### Verifying that signature exists COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS Verifying the IMAGE ID COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS Verifying the Architecture COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS This Host => ec2-50-17-160-145.compute-1.amazonaws.com with Image Id : ami-347ca65d, is launched with Instance Id : i-6aabb30d , Instance Type : t1.micro and Arch : x86_64 in the Region : us-east-1b The Validate Signature is : SHde7PZte4BSyytJtTTegAabLHZ9f47eKJNOsPBdVf0eQRKg4R2UKaPbQ2fi1kWQoQGtyaxlv4vt UfoCMGk0D0F2iLaLdJwVjgIVfxqhcXOT7CZdDwbiZxVZxlMXFsN/tMUG6XQ14CjHgtTugnoM6GEk KW6vRk6VjwQhtQjR5jU= This is a Cloud Access image /root/valid/src ip-10-28-168-122 Red Hat Enterprise Linux Server release 6.3 Beta (Santiago) ###################################################################################### # NEW TEST: The selected image has the version RHEL 6.3 ###################################################################################### ami is a BETA ###################################################################################### # NEW TEST: ## Verify auditd is on ... ###################################################################################### COMMAND: /sbin/chkconfig --list auditd | grep 3:on RESULT: auditd 0:off 1:off 2:on 3:on 4:on 5:on 6:off EXPECTED RESULT: RETURN CODE: 0 PASS COMMAND: /sbin/chkconfig --list auditd | grep 5:on RESULT: auditd 0:off 1:off 2:on 3:on 4:on 5:on 6:off EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify audit.rules ... ###################################################################################### COMMAND: md5sum /etc/audit/audit.rules | cut -f 1 -d " " RESULT: f9869e1191838c461f5b9051c78a638d EXPECTED RESULT: f9869e1191838c461f5b9051c78a638d RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify auditd.conf ... ###################################################################################### COMMAND: md5sum /etc/audit/auditd.conf | cut -f 1 -d " " RESULT: e1886162554c18906df2ecd258aa4794 EXPECTED RESULT: e1886162554c18906df2ecd258aa4794 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify auditd sysconfig ... ###################################################################################### COMMAND: md5sum /etc/sysconfig/auditd | cut -f 1 -d " " RESULT: d4d43637708e30418c30003e212f76fc EXPECTED RESULT: d4d43637708e30418c30003e212f76fc RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify bash_history ... ###################################################################################### COMMAND: cat ~/.bash_history | wc -l RESULT: 0 EXPECTED RESULT: 0 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify chkconfig ... ###################################################################################### COMMAND: chkconfig --list | grep crond | cut -f 5 RESULT: 3:on EXPECTED RESULT: 3:on RETURN CODE: 0 PASS COMMAND: chkconfig --list | grep iptables | cut -f 5 RESULT: 3:on EXPECTED RESULT: 3:on RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify rh-cloud-firstboot is OFF ... ###################################################################################### COMMAND: chkconfig --list | grep rh-cloud | grep 3:off | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS /etc/sysconfig/rh-cloud-firstboot FOUND COMMAND: echo true RESULT: true EXPECTED RESULT: RETURN CODE: 0 PASS COMMAND: cat /etc/sysconfig/rh-cloud-firstboot RESULT: RUN_FIRSTBOOT=NO EXPECTED RESULT: RUN_FIRSTBOOT=NO RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Partition Format ... ###################################################################################### mount | grep /dev/xvde1 | awk '{ print }' COMMAND: echo ext4 RESULT: ext4 EXPECTED RESULT: ext4 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Partition Size ... ###################################################################################### size=5905712 COMMAND: echo true RESULT: true EXPECTED RESULT: true RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: Fetching the identity doc Details ###################################################################################### Verifying that signature exists COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS Verifying the IMAGE ID COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS Verifying the Architecture COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS This Host => ec2-50-17-160-145.compute-1.amazonaws.com with Image Id : ami-347ca65d, is launched with Instance Id : i-6aabb30d , Instance Type : t1.micro and Arch : x86_64 in the Region : us-east-1b The Validate Signature is : SHde7PZte4BSyytJtTTegAabLHZ9f47eKJNOsPBdVf0eQRKg4R2UKaPbQ2fi1kWQoQGtyaxlv4vt UfoCMGk0D0F2iLaLdJwVjgIVfxqhcXOT7CZdDwbiZxVZxlMXFsN/tMUG6XQ14CjHgtTugnoM6GEk KW6vRk6VjwQhtQjR5jU= This is a Cloud Access image ###################################################################################### # NEW TEST: ## Verify GPG checking ... ###################################################################################### COMMAND: grep '^gpgcheck=1' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | sort -f | uniq RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify GPG Keys ... ###################################################################################### COMMAND: rpm -qa gpg-pubkey* | wc -l RESULT: 2 EXPECTED RESULT: 2 RETURN CODE: 0 PASS SKIPPING TEST, BETA DETECTED ###################################################################################### # NEW TEST: ## Verify group file ... ###################################################################################### COMMAND: cat /etc/group | grep root:x:0 RESULT: root:x:0: EXPECTED RESULT: root:x:0: RETURN CODE: 0 PASS COMMAND: cat /etc/group | grep daemon:x:2 RESULT: daemon:x:2:bin,daemon EXPECTED RESULT: daemon:x:2:bin,daemon RETURN CODE: 0 PASS COMMAND: cat /etc/group | grep bin:x:1 RESULT: bin:x:1:bin,daemon EXPECTED RESULT: bin:x:1:bin,daemon RETURN CODE: 0 PASS COMMAND: cat /etc/group | grep nobody:x:99 RESULT: nobody:x:99: EXPECTED RESULT: nobody:x:99: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ##test menu.lst ... ###################################################################################### COMMAND: file /boot/grub/menu.lst | grep symbolic | wc -l RESULT: 0 EXPECTED RESULT: 1 RETURN CODE: 0 FAIL2 0 COMMAND: file /boot/grub/menu.lst | grep grub.conf | wc -l RESULT: 0 EXPECTED RESULT: 1 RETURN CODE: 0 FAIL2 0 COMMAND: cat /boot/grub/grub.conf | grep "(hd0,0)" | wc -l RESULT: 2 EXPECTED RESULT: 0 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify runlevel ... ###################################################################################### COMMAND: cat /etc/inittab | grep id: RESULT: id:3:initdefault: EXPECTED RESULT: id:3:initdefault: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify iptables ... ###################################################################################### COMMAND: /etc/init.d/iptables status | grep REJECT 5 REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited 1 REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited RETURN CODE: 0 COMMAND: /etc/init.d/iptables status | grep :22 | grep ACCEPT | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/ld.so.conf.d/libc6-xen.conf is not present ... ###################################################################################### COMMAND: ls /etc/ld.so.conf.d/libc6-xen.conf ls: cannot access /etc/ld.so.conf.d/libc6-xen.conf: No such file or directory RESULT: EXPECTED RESULT: 2 RETURN CODE: 2 PASS ###################################################################################### # NEW TEST: ##Verify memory match hwp ... ###################################################################################### cat /proc/meminfo | grep MemTotal: | awk '{print }' FOUND MEMORY OF 604856 > hwp MEMORY of 600000 COMMAND: echo true RESULT: true EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify nameserver ... ###################################################################################### COMMAND: /usr/bin/dig clock.redhat.com 2>> /root/valid/src/validate.log | grep 66.187.233.4 | wc -l RESULT: 1 EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify networking ... ###################################################################################### COMMAND: grep ^NETWORKING= /etc/sysconfig/network | cut -d\= -f2 RESULT: yes EXPECTED RESULT: yes RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify device ... ###################################################################################### COMMAND: grep ^DEVICE= /etc/sysconfig/network-scripts/ifcfg-eth0 | cut -d\= -f2 RESULT: eth0 EXPECTED RESULT: eth0 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify no missing packages ... ###################################################################################### COMMAND: /bin/rpm -qa --queryformat='%{NAME}\n' > /tmp/rpmqa.tmp RETURN CODE: 0 COUNT = 0 COMMAND: echo test failed RESULT: test failed EXPECTED RESULT: 1 RETURN CODE: 0 FAIL2 test failed ###################################################################################### # NEW TEST: ## Verify new passwd file ... ###################################################################################### COMMAND: cat /etc/passwd | grep root:x:0 RESULT: root:x:0:0:root:/root:/bin/bash EXPECTED RESULT: root:x:0:0:root:/root:/bin/bash RETURN CODE: 0 PASS COMMAND: cat /etc/passwd | grep nobody:x:99 RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin EXPECTED RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin RETURN CODE: 0 PASS COMMAND: cat /etc/passwd | grep sshd RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin EXPECTED RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## test repo files ... ###################################################################################### COMMAND: ls /etc/yum.repos.d/ | wc -l RESULT: 6 EXPECTED RESULT: 4 RETURN CODE: 0 FAIL2 6 COMMAND: ls /etc/yum.repos.d/redhat* | wc -l RESULT: 4 EXPECTED RESULT: 2 RETURN CODE: 0 FAIL2 4 COMMAND: ls /etc/yum.repos.d/rhel* | wc -l RESULT: 1 EXPECTED RESULT: 0 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify resize2fs ... ###################################################################################### COMMAND: resize2fs -p /dev/xvde1 15000M resize2fs 1.41.12 (17-May-2010) RETURN CODE: 0 COMMAND: df -h | grep 15G | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS /root/valid/src ip-10-28-168-122 Red Hat Enterprise Linux Server release 6.3 Beta (Santiago) ###################################################################################### # NEW TEST: The selected image has the version RHEL 6.3 ###################################################################################### ami is a BETA ###################################################################################### # NEW TEST: ## /sbin/getenforce ... ###################################################################################### COMMAND: /usr/sbin/getenforce RESULT: Enforcing EXPECTED RESULT: Enforcing RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify SELINUX enforcing ... ###################################################################################### COMMAND: grep ^SELINUX= /etc/sysconfig/selinux | cut -d\= -f2 RESULT: enforcing EXPECTED RESULT: enforcing RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify SELINUXTYPE targeted ... ###################################################################################### COMMAND: grep ^SELINUXTYPE= /etc/sysconfig/selinux | cut -d\= -f2 RESULT: targeted EXPECTED RESULT: targeted RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Flip Selinux Permissive ... ###################################################################################### COMMAND: /usr/sbin/setenforce Permissive && /usr/sbin/getenforce RESULT: Permissive EXPECTED RESULT: Permissive RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Flip Selinux Enforcing ... ###################################################################################### COMMAND: /usr/sbin/setenforce Enforcing && /usr/sbin/getenforce RESULT: Enforcing EXPECTED RESULT: Enforcing RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify new shells file ... ###################################################################################### COMMAND: cat /etc/shells | grep bash RESULT: /bin/bash EXPECTED RESULT: /bin/bash RETURN CODE: 0 PASS COMMAND: cat /etc/shells | grep nologin RESULT: /sbin/nologin EXPECTED RESULT: /sbin/nologin RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify sshd_config settings ... ###################################################################################### COMMAND: cat /etc/ssh/sshd_config | grep PasswordAuthentication | grep no | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify sshd ... ###################################################################################### COMMAND: chkconfig --list | grep sshd RESULT: sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off EXPECTED RESULT: sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off RETURN CODE: 0 PASS COMMAND: /etc/init.d/sshd status | grep running | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS this machine doesn't require swap ###################################################################################### # NEW TEST: ## Verify rsyslog is on ... ###################################################################################### COMMAND: chkconfig --list | grep rsyslog | cut -f 5 RESULT: 3:on EXPECTED RESULT: 3:on RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify rsyslog config ... ###################################################################################### COMMAND: md5sum /etc/rsyslog.conf | cut -f 1 -d " " RESULT: 8b91b32300134e98ef4aee632ed61e21 EXPECTED RESULT: 8b91b32300134e98ef4aee632ed61e21 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify no systemid file ... ###################################################################################### COMMAND: echo true RESULT: true EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify kernel name ... ###################################################################################### COMMAND: /bin/uname -s RESULT: Linux EXPECTED RESULT: Linux RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify latest installed kernel is running ... ###################################################################################### RHEL VERSION IS 6 LATEST_RPM_KERNEL_VERSION=rpm -q kernel --last | head -n 1 | cut -c 8-60 | cut -d ' ' -f 1 CURRENT_UNAME_KERNAL_VERSION=2.6.32-262.el6 assert latest rpm kernel = uname -r COMMAND: uname -r | sed 's/\(.*\)......./\1/' RESULT: 2.6.32-262.el6 EXPECTED RESULT: 2.6.32-262.el6.x86_64 RETURN CODE: 0 FAIL2 2.6.32-262.el6 ###################################################################################### # NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ... ###################################################################################### COMMAND: cat /boot/grub/menu.lst | grep 2.6.32-262.el6.x86_64 RESULT: title RHEL6.3-20120416.0-Server-x86_64-starter-ec2 (2.6.32-262.el6.x86_64) kernel /boot/vmlinuz-2.6.32-262.el6.x86_64 ro root=LABEL=_/ initrd /boot/initramfs-2.6.32-262.el6.x86_64.img EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify operating system ... ###################################################################################### COMMAND: /bin/uname -o RESULT: GNU/Linux EXPECTED RESULT: GNU/Linux RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel ... ###################################################################################### COMMAND: ls /etc/sysconfig/kernel RESULT: /etc/sysconfig/kernel EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel contains UPDATEDEFAULT ... ###################################################################################### COMMAND: cat /etc/sysconfig/kernel | grep UPDATEDEFAULT=yes PASS ## Summary ## FAILURES = 9 FAILED TESTS = ##test menu.lst ... ##test menu.lst ... ## Verify no missing packages ... ## test repo files ... ## test repo files ... ## Verify latest installed kernel is running ... ## Verify RPMs ... ## List available groups.. ## Install Development tools group... LOG FILE = /root/valid/src/validate.log ## Summary ## ###################################################################################### # NEW TEST: ## Open a bugzilla ###################################################################################### RESULT: UPDATEDEFAULT=yes EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel contains DEFAULTKERNEL ... ###################################################################################### COMMAND: cat /etc/sysconfig/kernel | grep DEFAULTKERNEL=kernel RESULT: DEFAULTKERNEL=kernel EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify system up to date ###################################################################################### COMMAND: _check_sys_update_phase1 # no update was required RESULT: # checking sys update done # no update was required EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify RPMs ... ###################################################################################### ....L.... c /etc/pam.d/fingerprint-auth ....L.... c /etc/pam.d/password-auth ....L.... c /etc/pam.d/smartcard-auth ....L.... c /etc/pam.d/system-auth .M....... /var/cache/yum S file Size differs M Mode differs (includes permissions and file type) 5 MD5 sum differs D Device major/minor number mismatch L readLink(2) path mismatch U User ownership differs G Group ownership differs T mTime differs COMMAND: cat /tmp/rpmqaV.txt | wc -l RESULT: 5 EXPECTED RESULT: 4 RETURN CODE: 0 FAIL2 5 ###################################################################################### # NEW TEST: ## Verify Version 2 ... ###################################################################################### COMMAND: /bin/rpm -q --queryformat '%{RELEASE}\n' redhat-release-server | cut -d. -f1,2 RESULT: 6.3 EXPECTED RESULT: 6.3 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify packager ... ###################################################################################### COMMAND: cat /tmp/Packager | grep -v 'Red Hat, Inc.' | grep -v crash-trace-commandPackager| wc -l RESULT: 0 EXPECTED RESULT: 0 RETURN CODE: 0 PASS crash-trace-commandPackager : Lai Jiangshan <laijs.com> ###################################################################################### # NEW TEST: ## List the configured repositories... ###################################################################################### COMMAND: /usr/bin/yum repolist Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate repo id repo name status rhui-us-east-1-client-config-server-6 Red Hat Update Infrastructur 1 rhui-us-east-1-client-config-server-6-beta Red Hat Update Infrastructur 0 rhui-us-east-1-rhel-server-releases Red Hat Enterprise Linux Ser 7,079 rhui-us-east-1-rhel-server-releases-optional Red Hat Enterprise Linux Ser 4,354 repolist: 11,434 EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Search zsh... ###################################################################################### COMMAND: /usr/bin/yum search zsh Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate =============================== N/S Matched: zsh =============================== python-twisted-core-zsh.x86_64 : Tab completion for Zsh and Twisted Core zsh-html.x86_64 : Zsh shell manual in html format zsh.x86_64 : A powerful interactive shell Name and summary matches only, use "search all" for everything. EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## install zsh ... ###################################################################################### COMMAND: /usr/bin/yum -y install zsh Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Warning: RPMDB altered outside of yum. RETURN CODE: 0 COMMAND: /bin/rpm -q --queryformat '%{NAME}\n' zsh RESULT: zsh EXPECTED RESULT: zsh RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## List available groups.. ###################################################################################### COMMAND: /usr/bin/yum grouplist Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhui-us-east-1-rhel-server-releases-beta. Please verify its path and try again RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Setting up Group Process Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate EXPECTED RESULT: RETURN CODE: 1 FAIL1 Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Setting up Group Process Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate ###################################################################################### # NEW TEST: ## Install Development tools group... ###################################################################################### COMMAND: /usr/bin/yum -y groupinstall 'Development tools' Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Error: Package: libstdc++-devel-4.4.6-3.el6.x86_64 (rhui-us-east-1-rhel-server-releases) Requires: libstdc++(x86-64) = 4.4.6-3.el6 Installed: libstdc++-4.4.6-4.el6.x86_64 (@koji-override-0/$releasever) libstdc++(x86-64) = 4.4.6-4.el6 Available: libstdc++-4.4.4-13.el6.x86_64 (rhui-us-east-1-rhel-server-releases) libstdc++(x86-64) = 4.4.4-13.el6 Available: libstdc++-4.4.5-6.el6.x86_64 (rhui-us-east-1-rhel-server-releases) libstdc++(x86-64) = 4.4.5-6.el6 Available: libstdc++-4.4.6-3.el6.x86_64 (rhui-us-east-1-rhel-server-releases) libstdc++(x86-64) = 4.4.6-3.el6 Error: Package: systemtap-1.6-5.el6_2.x86_64 (rhui-us-east-1-rhel-server-releases) Requires: systemtap-runtime = 1.6-5.el6_2 Installed: systemtap-runtime-1.7-3.el6.x86_64 (@koji-override-0/$releasever) systemtap-runtime = 1.7-3.el6 Available: systemtap-runtime-1.2-9.el6.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.2-9.el6 Available: systemtap-runtime-1.2-11.el6_0.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.2-11.el6_0 Available: systemtap-runtime-1.4-6.el6.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.4-6.el6 Available: systemtap-runtime-1.4-6.el6_1.1.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.4-6.el6_1.1 Available: systemtap-runtime-1.4-6.el6_1.2.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.4-6.el6_1.2 Available: systemtap-runtime-1.4-6.el6_1.3.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.4-6.el6_1.3 Available: systemtap-runtime-1.6-4.el6.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.6-4.el6 Available: systemtap-runtime-1.6-5.el6_2.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.6-5.el6_2 Error: Package: rpm-build-4.8.0-19.el6_2.1.x86_64 (rhui-us-east-1-rhel-server-releases) Requires: rpm = 4.8.0-19.el6_2.1 Installed: rpm-4.8.0-27.el6.x86_64 (@koji-override-0/$releasever) rpm = 4.8.0-27.el6 Available: rpm-4.8.0-12.el6.x86_64 (rhui-us-east-1-rhel-server-releases) rpm = 4.8.0-12.el6 Available: rpm-4.8.0-16.el6.x86_64 (rhui-us-east-1-rhel-server-releases) rpm = 4.8.0-16.el6 Available: rpm-4.8.0-16.el6_1.1.x86_64 (rhui-us-east-1-rhel-server-releases) rpm = 4.8.0-16.el6_1.1 Available: rpm-4.8.0-19.el6.x86_64 (rhui-us-east-1-rhel-server-releases) rpm = 4.8.0-19.el6 Available: rpm-4.8.0-19.el6_2.1.x86_64 (rhui-us-east-1-rhel-server-releases) rpm = 4.8.0-19.el6_2.1 Error: Package: glibc-2.12-1.47.el6_2.9.i686 (rhui-us-east-1-rhel-server-releases) Requires: glibc-common = 2.12-1.47.el6_2.9 Installed: glibc-common-2.12-1.78.el6.x86_64 (@koji-override-0/$releasever) glibc-common = 2.12-1.78.el6 Available: glibc-common-2.12-1.7.el6.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.7.el6 Available: glibc-common-2.12-1.7.el6_0.3.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.7.el6_0.3 Available: glibc-common-2.12-1.7.el6_0.4.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.7.el6_0.4 Available: glibc-common-2.12-1.7.el6_0.5.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.7.el6_0.5 Available: glibc-common-2.12-1.25.el6.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.25.el6 Available: glibc-common-2.12-1.25.el6_1.3.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.25.el6_1.3 Available: glibc-common-2.12-1.47.el6.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.47.el6 Available: glibc-common-2.12-1.47.el6_2.5.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.47.el6_2.5 Available: glibc-common-2.12-1.47.el6_2.9.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.47.el6_2.9 RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate Setting up Group Process Package matching 1:make-3.81-19.el6.x86_64 already installed. Checking for update. Package patch-2.6-6.el6.x86_64 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version Package gettext-0.17-16.el6.x86_64 already installed and latest version Package matching binutils-2.20.51.0.2-5.28.el6.x86_64 already installed. Checking for update. Package elfutils-0.152-1.el6.x86_64 already installed and latest version Package cvs-1.11.23-11.el6_2.1.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.x86_64 0:2.4.1-5.el6 will be installed ---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.x86_64 0:15.6-6.el6 will be installed ---> Package ctags.x86_64 0:5.8-2.el6 will be installed ---> Package diffstat.x86_64 0:1.51-2.el6 will be installed ---> Package doxygen.x86_64 1:1.6.1-6.el6 will be installed ---> Package flex.x86_64 0:2.5.35-8.el6 will be installed ---> Package gcc.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-3.el6.x86_64 ---> Package gcc-c++.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++-devel = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.x86_64 --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.x86_64 --> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.6-3.el6.x86_64 ---> Package gcc-gfortran.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.x86_64 ---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64 ---> Package indent.x86_64 0:2.2.10-5.1.el6 will be installed ---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed --> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch ---> Package libtool.x86_64 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed ---> Package rcs.x86_64 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-34.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package subversion.x86_64 0:1.6.11-2.el6_1.4 will be installed --> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 ---> Package swig.x86_64 0:1.3.40-6.el6 will be installed ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Processing Dependency: kernel-devel for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 --> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 ---> Package cpp.x86_64 0:4.4.6-3.el6 will be installed ---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 ---> Package glibc-devel.x86_64 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-headers = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 ---> Package kernel-devel.x86_64 0:2.6.32-220.7.1.el6 will be installed ---> Package libgfortran.i686 0:4.4.6-3.el6 will be installed ---> Package libgomp.i686 0:4.4.6-3.el6 will be installed ---> Package libstdc++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.6-3.el6.i686 ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed ---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 --> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed ---> Package glibc.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-common = 2.12-1.47.el6_2.9 for package: glibc-2.12-1.47.el6_2.9.i686 --> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.47.el6_2.9.i686 --> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.47.el6_2.9.i686 ---> Package glibc-headers.x86_64 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.47.el6_2.9.x86_64 ---> Package libgcc.i686 0:4.4.6-3.el6 will be installed ---> Package libgcj.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-3.el6.x86_64 ---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed ---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package glibc.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-common = 2.12-1.47.el6_2.9 for package: glibc-2.12-1.47.el6_2.9.i686 ---> Package kernel-headers.x86_64 0:2.6.32-220.7.1.el6 will be installed ---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package nss-softokn-freebl.i686 0:3.12.9-11.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Finished Dependency Resolution You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest EXPECTED RESULT: RETURN CODE: 1 FAIL1 Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate Setting up Group Process Package matching 1:make-3.81-19.el6.x86_64 already installed. Checking for update. Package patch-2.6-6.el6.x86_64 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version Package gettext-0.17-16.el6.x86_64 already installed and latest version Package matching binutils-2.20.51.0.2-5.28.el6.x86_64 already installed. Checking for update. Package elfutils-0.152-1.el6.x86_64 already installed and latest version Package cvs-1.11.23-11.el6_2.1.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.x86_64 0:2.4.1-5.el6 will be installed ---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.x86_64 0:15.6-6.el6 will be installed ---> Package ctags.x86_64 0:5.8-2.el6 will be installed ---> Package diffstat.x86_64 0:1.51-2.el6 will be installed ---> Package doxygen.x86_64 1:1.6.1-6.el6 will be installed ---> Package flex.x86_64 0:2.5.35-8.el6 will be installed ---> Package gcc.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-3.el6.x86_64 ---> Package gcc-c++.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++-devel = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.x86_64 --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.x86_64 --> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.6-3.el6.x86_64 ---> Package gcc-gfortran.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.x86_64 ---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64 ---> Package indent.x86_64 0:2.2.10-5.1.el6 will be installed ---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed --> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch ---> Package libtool.x86_64 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed ---> Package rcs.x86_64 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-34.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package subversion.x86_64 0:1.6.11-2.el6_1.4 will be installed --> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 ---> Package swig.x86_64 0:1.3.40-6.el6 will be installed ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Processing Dependency: kernel-devel for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 --> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 ---> Package cpp.x86_64 0:4.4.6-3.el6 will be installed ---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 ---> Package glibc-devel.x86_64 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-headers = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 ---> Package kernel-devel.x86_64 0:2.6.32-220.7.1.el6 will be installed ---> Package libgfortran.i686 0:4.4.6-3.el6 will be installed ---> Package libgomp.i686 0:4.4.6-3.el6 will be installed ---> Package libstdc++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.6-3.el6.i686 ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed ---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 --> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed ---> Package glibc.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-common = 2.12-1.47.el6_2.9 for package: glibc-2.12-1.47.el6_2.9.i686 --> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.47.el6_2.9.i686 --> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.47.el6_2.9.i686 ---> Package glibc-headers.x86_64 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.47.el6_2.9.x86_64 ---> Package libgcc.i686 0:4.4.6-3.el6 will be installed ---> Package libgcj.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-3.el6.x86_64 ---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed ---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package glibc.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-common = 2.12-1.47.el6_2.9 for package: glibc-2.12-1.47.el6_2.9.i686 ---> Package kernel-headers.x86_64 0:2.6.32-220.7.1.el6 will be installed ---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package nss-softokn-freebl.i686 0:3.12.9-11.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Finished Dependency Resolution You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest # checking possible sys update Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate # no sys update found ###################################################################################### # NEW TEST: ## Verify yum update ... ###################################################################################### COMMAND: /usr/bin/yum -y update Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package dmidecode.x86_64 1:2.11-2.el6 will be updated ---> Package dmidecode.x86_64 1:2.11-2.el6_1 will be an update ---> Package pam.x86_64 0:1.1.1-10.el6 will be updated ---> Package pam.x86_64 0:1.1.1-10.el6_2.1 will be an update --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Updating: dmidecode x86_64 1:2.11-2.el6_1 rhui-us-east-1-rhel-server-releases 71 k pam x86_64 1.1.1-10.el6_2.1 rhui-us-east-1-rhel-server-releases 656 k Transaction Summary ================================================================================ Upgrade 2 Package(s) Total download size: 727 k Downloading Packages: -------------------------------------------------------------------------------- Total 2.4 MB/s | 727 kB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Updating : 1:dmidecode-2.11-2.el6_1.x86_64 1/4 Updating : pam-1.1.1-10.el6_2.1.x86_64 2/4 Cleanup : 1:dmidecode-2.11-2.el6.x86_64 3/4 Cleanup : pam-1.1.1-10.el6.x86_64 4/4 Installed products updated. Verifying : pam-1.1.1-10.el6_2.1.x86_64 1/4 Verifying : 1:dmidecode-2.11-2.el6_1.x86_64 2/4 Verifying : pam-1.1.1-10.el6.x86_64 3/4 Verifying : 1:dmidecode-2.11-2.el6.x86_64 4/4 Updated: dmidecode.x86_64 1:2.11-2.el6_1 pam.x86_64 0:1.1.1-10.el6_2.1 Complete! EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify no fa1lures in rpm package ... ###################################################################################### COMMAND: cat /root/valid/src/validate.log | grep 'failure in rpm package' | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify no rpm scriplet fa1lures ... ###################################################################################### COMMAND: cat /root/valid/src/validate.log | grep 'scriptlet failed, exit status 1' | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify package removal... ###################################################################################### COMMAND: /bin/rpm -e zsh RETURN CODE: 0 COMMAND: /bin/rpm -q zsh RESULT: package zsh is not installed EXPECTED RESULT: package zsh is not installed RETURN CODE: 1 PASS ###################################################################################### # NEW TEST: ## install zsh ... ###################################################################################### COMMAND: /usr/bin/yum -y install zsh Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Warning: RPMDB altered outside of yum. RETURN CODE: 0 COMMAND: /bin/rpm -q --queryformat '%{NAME}\n' zsh RESULT: zsh EXPECTED RESULT: zsh RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify package removal ... ###################################################################################### COMMAND: /bin/rpm -e zsh RETURN CODE: 0 COMMAND: /bin/rpm -q zsh RESULT: package zsh is not installed EXPECTED RESULT: package zsh is not installed RETURN CODE: 1 PASS # checking possible sys update Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate # no sys update found ###################################################################################### # NEW TEST: ## Verify yum update ... ###################################################################################### COMMAND: /usr/bin/yum -y update Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate Setting up Update Process No Packages marked for Update EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify disabled yum plugin ... ###################################################################################### COMMAND: grep ^enabled /etc/yum/pluginconf.d/rhnplugin.conf | grep -v '^#' | cut -d\= -f2 | awk '{print }' | sort -f | uniq RESULT: 0 EXPECTED RESULT: RETURN CODE: 0 PASS ## Summary ## FAILURES = 9 FAILED TESTS = ##test menu.lst ... ##test menu.lst ... ## Verify no missing packages ... ## test repo files ... ## test repo files ... ## Verify latest installed kernel is running ... ## Verify RPMs ... ## List available groups.. ## Install Development tools group... LOG FILE = /root/valid/src/validate.log ## Summary ## ###################################################################################### # NEW TEST: ## Open a bugzilla ###################################################################################### IMAGE ID= =====image_validation.sh Wed May 2 06:49:43 EDT 2012===== ###################################################################################### # NEW TEST: ## Open a bugzilla ###################################################################################### ###################################################################################### # NEW TEST: Fetching the identity doc Details ###################################################################################### Verifying that signature exists COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS Verifying the IMAGE ID COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS Verifying the Architecture COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS This Host => ec2-107-20-73-118.compute-1.amazonaws.com with Image Id : ami-347ca65d, is launched with Instance Id : i-9eaeb6f9 , Instance Type : m2.4xlarge and Arch : x86_64 in the Region : us-east-1c The Validate Signature is : NZB9N59+inALvvhh4T9wTakUVcwyL9hgIKybM+NsfYS9z34mDnZRf49jXvxBVGe+OXYPskXx/Zl8 Py7QupOXHOVLrKReMGCl9vAE1op5PjQbl4YnBmJ7dopueD3+RMKnNcUWeuf5ukwLE1SvLEu+NlWJ FPzslJaoTzzF47N5lq4= This is a Cloud Access image /root/valid/src domU-12-31-39-18-0C-49 Red Hat Enterprise Linux Server release 6.3 Beta (Santiago) ###################################################################################### # NEW TEST: The selected image has the version RHEL 6.3 ###################################################################################### ami is a BETA ###################################################################################### # NEW TEST: ## Verify auditd is on ... ###################################################################################### COMMAND: /sbin/chkconfig --list auditd | grep 3:on RESULT: auditd 0:off 1:off 2:on 3:on 4:on 5:on 6:off EXPECTED RESULT: RETURN CODE: 0 PASS COMMAND: /sbin/chkconfig --list auditd | grep 5:on RESULT: auditd 0:off 1:off 2:on 3:on 4:on 5:on 6:off EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify audit.rules ... ###################################################################################### COMMAND: md5sum /etc/audit/audit.rules | cut -f 1 -d " " RESULT: f9869e1191838c461f5b9051c78a638d EXPECTED RESULT: f9869e1191838c461f5b9051c78a638d RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify auditd.conf ... ###################################################################################### COMMAND: md5sum /etc/audit/auditd.conf | cut -f 1 -d " " RESULT: e1886162554c18906df2ecd258aa4794 EXPECTED RESULT: e1886162554c18906df2ecd258aa4794 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify auditd sysconfig ... ###################################################################################### COMMAND: md5sum /etc/sysconfig/auditd | cut -f 1 -d " " RESULT: d4d43637708e30418c30003e212f76fc EXPECTED RESULT: d4d43637708e30418c30003e212f76fc RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify bash_history ... ###################################################################################### COMMAND: cat ~/.bash_history | wc -l RESULT: 0 EXPECTED RESULT: 0 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify chkconfig ... ###################################################################################### COMMAND: chkconfig --list | grep crond | cut -f 5 RESULT: 3:on EXPECTED RESULT: 3:on RETURN CODE: 0 PASS COMMAND: chkconfig --list | grep iptables | cut -f 5 RESULT: 3:on EXPECTED RESULT: 3:on RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify rh-cloud-firstboot is OFF ... ###################################################################################### COMMAND: chkconfig --list | grep rh-cloud | grep 3:off | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS /etc/sysconfig/rh-cloud-firstboot FOUND COMMAND: echo true RESULT: true EXPECTED RESULT: RETURN CODE: 0 PASS COMMAND: cat /etc/sysconfig/rh-cloud-firstboot RESULT: RUN_FIRSTBOOT=NO EXPECTED RESULT: RUN_FIRSTBOOT=NO RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Partition Format ... ###################################################################################### mount | grep /dev/xvde1 | awk '{ print }' COMMAND: echo ext4 RESULT: ext4 EXPECTED RESULT: ext4 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Partition Size ... ###################################################################################### size=5905712 COMMAND: echo true RESULT: true EXPECTED RESULT: true RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: Fetching the identity doc Details ###################################################################################### Verifying that signature exists COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS Verifying the IMAGE ID COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS Verifying the Architecture COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS This Host => ec2-107-20-73-118.compute-1.amazonaws.com with Image Id : ami-347ca65d, is launched with Instance Id : i-9eaeb6f9 , Instance Type : m2.4xlarge and Arch : x86_64 in the Region : us-east-1c The Validate Signature is : NZB9N59+inALvvhh4T9wTakUVcwyL9hgIKybM+NsfYS9z34mDnZRf49jXvxBVGe+OXYPskXx/Zl8 Py7QupOXHOVLrKReMGCl9vAE1op5PjQbl4YnBmJ7dopueD3+RMKnNcUWeuf5ukwLE1SvLEu+NlWJ FPzslJaoTzzF47N5lq4= This is a Cloud Access image ###################################################################################### # NEW TEST: ## Verify GPG checking ... ###################################################################################### COMMAND: grep '^gpgcheck=1' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | sort -f | uniq RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify GPG Keys ... ###################################################################################### COMMAND: rpm -qa gpg-pubkey* | wc -l RESULT: 2 EXPECTED RESULT: 2 RETURN CODE: 0 PASS SKIPPING TEST, BETA DETECTED ###################################################################################### # NEW TEST: ## Verify group file ... ###################################################################################### COMMAND: cat /etc/group | grep root:x:0 RESULT: root:x:0: EXPECTED RESULT: root:x:0: RETURN CODE: 0 PASS COMMAND: cat /etc/group | grep daemon:x:2 RESULT: daemon:x:2:bin,daemon EXPECTED RESULT: daemon:x:2:bin,daemon RETURN CODE: 0 PASS COMMAND: cat /etc/group | grep bin:x:1 RESULT: bin:x:1:bin,daemon EXPECTED RESULT: bin:x:1:bin,daemon RETURN CODE: 0 PASS COMMAND: cat /etc/group | grep nobody:x:99 RESULT: nobody:x:99: EXPECTED RESULT: nobody:x:99: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ##test menu.lst ... ###################################################################################### COMMAND: file /boot/grub/menu.lst | grep symbolic | wc -l RESULT: 0 EXPECTED RESULT: 1 RETURN CODE: 0 FAIL2 0 COMMAND: file /boot/grub/menu.lst | grep grub.conf | wc -l RESULT: 0 EXPECTED RESULT: 1 RETURN CODE: 0 FAIL2 0 COMMAND: cat /boot/grub/grub.conf | grep "(hd0,0)" | wc -l RESULT: 2 EXPECTED RESULT: 0 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify runlevel ... ###################################################################################### COMMAND: cat /etc/inittab | grep id: RESULT: id:3:initdefault: EXPECTED RESULT: id:3:initdefault: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify iptables ... ###################################################################################### COMMAND: /etc/init.d/iptables status | grep REJECT 5 REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited 1 REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited RETURN CODE: 0 COMMAND: /etc/init.d/iptables status | grep :22 | grep ACCEPT | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/ld.so.conf.d/libc6-xen.conf is not present ... ###################################################################################### COMMAND: ls /etc/ld.so.conf.d/libc6-xen.conf ls: cannot access /etc/ld.so.conf.d/libc6-xen.conf: No such file or directory RESULT: EXPECTED RESULT: 2 RETURN CODE: 2 PASS ###################################################################################### # NEW TEST: ##Verify memory match hwp ... ###################################################################################### cat /proc/meminfo | grep MemTotal: | awk '{print }' FOUND MEMORY OF 70337128 > hwp MEMORY of 68400000 COMMAND: echo true RESULT: true EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify nameserver ... ###################################################################################### COMMAND: /usr/bin/dig clock.redhat.com 2>> /root/valid/src/validate.log | grep 66.187.233.4 | wc -l RESULT: 1 EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify networking ... ###################################################################################### COMMAND: grep ^NETWORKING= /etc/sysconfig/network | cut -d\= -f2 RESULT: yes EXPECTED RESULT: yes RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify device ... ###################################################################################### COMMAND: grep ^DEVICE= /etc/sysconfig/network-scripts/ifcfg-eth0 | cut -d\= -f2 RESULT: eth0 EXPECTED RESULT: eth0 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify no missing packages ... ###################################################################################### COMMAND: /bin/rpm -qa --queryformat='%{NAME}\n' > /tmp/rpmqa.tmp RETURN CODE: 0 COUNT = 0 COMMAND: echo test failed RESULT: test failed EXPECTED RESULT: 1 RETURN CODE: 0 FAIL2 test failed ###################################################################################### # NEW TEST: ## Verify new passwd file ... ###################################################################################### COMMAND: cat /etc/passwd | grep root:x:0 RESULT: root:x:0:0:root:/root:/bin/bash EXPECTED RESULT: root:x:0:0:root:/root:/bin/bash RETURN CODE: 0 PASS COMMAND: cat /etc/passwd | grep nobody:x:99 RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin EXPECTED RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin RETURN CODE: 0 PASS COMMAND: cat /etc/passwd | grep sshd RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin EXPECTED RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## test repo files ... ###################################################################################### COMMAND: ls /etc/yum.repos.d/ | wc -l RESULT: 6 EXPECTED RESULT: 4 RETURN CODE: 0 FAIL2 6 COMMAND: ls /etc/yum.repos.d/redhat* | wc -l RESULT: 4 EXPECTED RESULT: 2 RETURN CODE: 0 FAIL2 4 COMMAND: ls /etc/yum.repos.d/rhel* | wc -l RESULT: 1 EXPECTED RESULT: 0 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify resize2fs ... ###################################################################################### COMMAND: resize2fs -p /dev/xvde1 15000M resize2fs 1.41.12 (17-May-2010) RETURN CODE: 0 COMMAND: df -h | grep 15G | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS /root/valid/src domU-12-31-39-18-0C-49 Red Hat Enterprise Linux Server release 6.3 Beta (Santiago) ###################################################################################### # NEW TEST: The selected image has the version RHEL 6.3 ###################################################################################### ami is a BETA ###################################################################################### # NEW TEST: ## /sbin/getenforce ... ###################################################################################### COMMAND: /usr/sbin/getenforce RESULT: Enforcing EXPECTED RESULT: Enforcing RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify SELINUX enforcing ... ###################################################################################### COMMAND: grep ^SELINUX= /etc/sysconfig/selinux | cut -d\= -f2 RESULT: enforcing EXPECTED RESULT: enforcing RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify SELINUXTYPE targeted ... ###################################################################################### COMMAND: grep ^SELINUXTYPE= /etc/sysconfig/selinux | cut -d\= -f2 RESULT: targeted EXPECTED RESULT: targeted RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Flip Selinux Permissive ... ###################################################################################### COMMAND: /usr/sbin/setenforce Permissive && /usr/sbin/getenforce RESULT: Permissive EXPECTED RESULT: Permissive RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Flip Selinux Enforcing ... ###################################################################################### COMMAND: /usr/sbin/setenforce Enforcing && /usr/sbin/getenforce RESULT: Enforcing EXPECTED RESULT: Enforcing RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify new shells file ... ###################################################################################### COMMAND: cat /etc/shells | grep bash RESULT: /bin/bash EXPECTED RESULT: /bin/bash RETURN CODE: 0 PASS COMMAND: cat /etc/shells | grep nologin RESULT: /sbin/nologin EXPECTED RESULT: /sbin/nologin RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify sshd_config settings ... ###################################################################################### COMMAND: cat /etc/ssh/sshd_config | grep PasswordAuthentication | grep no | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify sshd ... ###################################################################################### COMMAND: chkconfig --list | grep sshd RESULT: sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off EXPECTED RESULT: sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off RETURN CODE: 0 PASS COMMAND: /etc/init.d/sshd status | grep running | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS this machine doesn't require swap ###################################################################################### # NEW TEST: ## Verify rsyslog is on ... ###################################################################################### COMMAND: chkconfig --list | grep rsyslog | cut -f 5 RESULT: 3:on EXPECTED RESULT: 3:on RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify rsyslog config ... ###################################################################################### COMMAND: md5sum /etc/rsyslog.conf | cut -f 1 -d " " RESULT: 8b91b32300134e98ef4aee632ed61e21 EXPECTED RESULT: 8b91b32300134e98ef4aee632ed61e21 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify no systemid file ... ###################################################################################### COMMAND: echo true RESULT: true EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify kernel name ... ###################################################################################### COMMAND: /bin/uname -s RESULT: Linux EXPECTED RESULT: Linux RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify latest installed kernel is running ... ###################################################################################### RHEL VERSION IS 6 LATEST_RPM_KERNEL_VERSION=rpm -q kernel --last | head -n 1 | cut -c 8-60 | cut -d ' ' -f 1 CURRENT_UNAME_KERNAL_VERSION=2.6.32-262.el6 assert latest rpm kernel = uname -r COMMAND: uname -r | sed 's/\(.*\)......./\1/' RESULT: 2.6.32-262.el6 EXPECTED RESULT: 2.6.32-262.el6.x86_64 RETURN CODE: 0 FAIL2 2.6.32-262.el6 ###################################################################################### # NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ... ###################################################################################### COMMAND: cat /boot/grub/menu.lst | grep 2.6.32-262.el6.x86_64 RESULT: title RHEL6.3-20120416.0-Server-x86_64-starter-ec2 (2.6.32-262.el6.x86_64) kernel /boot/vmlinuz-2.6.32-262.el6.x86_64 ro root=LABEL=_/ initrd /boot/initramfs-2.6.32-262.el6.x86_64.img EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify operating system ... ###################################################################################### COMMAND: /bin/uname -o RESULT: GNU/Linux EXPECTED RESULT: GNU/Linux RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel ... ###################################################################################### COMMAND: ls /etc/sysconfig/kernel RESULT: /etc/sysconfig/kernel EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel contains UPDATEDEFAULT ... ###################################################################################### COMMAND: cat /etc/sysconfig/kernel | grep UPDATEDEFAULT=yes RESULT: UPDATEDEFAULT=yes EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel contains DEFAULTKERNEL ... ###################################################################################### COMMAND: cat /etc/sysconfig/kernel | grep DEFAULTKERNEL=kernel RESULT: DEFAULTKERNEL=kernel EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify system up to date ###################################################################################### COMMAND: _check_sys_update_phase1 # no update was required RESULT: # checking sys update done # no update was required EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify RPMs ... ###################################################################################### ....L.... c /etc/pam.d/fingerprint-auth ....L.... c /etc/pam.d/password-auth ....L.... c /etc/pam.d/smartcard-auth ....L.... c /etc/pam.d/system-auth .M....... /var/cache/yum S file Size differs M Mode differs (includes permissions and file type) 5 MD5 sum differs D Device major/minor number mismatch L readLink(2) path mismatch U User ownership differs G Group ownership differs T mTime differs COMMAND: cat /tmp/rpmqaV.txt | wc -l RESULT: 5 EXPECTED RESULT: 4 RETURN CODE: 0 FAIL2 5 ###################################################################################### # NEW TEST: ## Verify Version 2 ... ###################################################################################### COMMAND: /bin/rpm -q --queryformat '%{RELEASE}\n' redhat-release-server | cut -d. -f1,2 RESULT: 6.3 EXPECTED RESULT: 6.3 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify packager ... ###################################################################################### COMMAND: cat /tmp/Packager | grep -v 'Red Hat, Inc.' | grep -v crash-trace-commandPackager| wc -l RESULT: 0 EXPECTED RESULT: 0 RETURN CODE: 0 PASS crash-trace-commandPackager : Lai Jiangshan <laijs.com> ###################################################################################### # NEW TEST: ## List the configured repositories... ###################################################################################### COMMAND: /usr/bin/yum repolist Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate repo id repo name status rhui-us-east-1-client-config-server-6 Red Hat Update Infrastructur 1 rhui-us-east-1-client-config-server-6-beta Red Hat Update Infrastructur 0 rhui-us-east-1-rhel-server-releases Red Hat Enterprise Linux Ser 7,079 rhui-us-east-1-rhel-server-releases-optional Red Hat Enterprise Linux Ser 4,354 repolist: 11,434 EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Search zsh... ###################################################################################### COMMAND: /usr/bin/yum search zsh Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate =============================== N/S Matched: zsh =============================== python-twisted-core-zsh.x86_64 : Tab completion for Zsh and Twisted Core zsh-html.x86_64 : Zsh shell manual in html format zsh.x86_64 : A powerful interactive shell Name and summary matches only, use "search all" for everything. EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## install zsh ... ###################################################################################### COMMAND: /usr/bin/yum -y install zsh Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Warning: RPMDB altered outside of yum. RETURN CODE: 0 COMMAND: /bin/rpm -q --queryformat '%{NAME}\n' zsh RESULT: zsh EXPECTED RESULT: zsh RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## List available groups.. ###################################################################################### COMMAND: /usr/bin/yum grouplist Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhui-us-east-1-rhel-server-releases-beta. Please verify its path and try again RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Setting up Group Process Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate EXPECTED RESULT: RETURN CODE: 1 FAIL1 Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Setting up Group Process Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate ###################################################################################### # NEW TEST: ## Install Development tools group... ###################################################################################### COMMAND: /usr/bin/yum -y groupinstall 'Development tools' Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Error: Package: libstdc++-devel-4.4.6-3.el6.x86_64 (rhui-us-east-1-rhel-server-releases) Requires: libstdc++(x86-64) = 4.4.6-3.el6 Installed: libstdc++-4.4.6-4.el6.x86_64 (@koji-override-0/$releasever) libstdc++(x86-64) = 4.4.6-4.el6 Available: libstdc++-4.4.4-13.el6.x86_64 (rhui-us-east-1-rhel-server-releases) libstdc++(x86-64) = 4.4.4-13.el6 Available: libstdc++-4.4.5-6.el6.x86_64 (rhui-us-east-1-rhel-server-releases) libstdc++(x86-64) = 4.4.5-6.el6 Available: libstdc++-4.4.6-3.el6.x86_64 (rhui-us-east-1-rhel-server-releases) libstdc++(x86-64) = 4.4.6-3.el6 Error: Package: systemtap-1.6-5.el6_2.x86_64 (rhui-us-east-1-rhel-server-releases) Requires: systemtap-runtime = 1.6-5.el6_2 Installed: systemtap-runtime-1.7-3.el6.x86_64 (@koji-override-0/$releasever) systemtap-runtime = 1.7-3.el6 Available: systemtap-runtime-1.2-9.el6.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.2-9.el6 Available: systemtap-runtime-1.2-11.el6_0.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.2-11.el6_0 Available: systemtap-runtime-1.4-6.el6.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.4-6.el6 Available: systemtap-runtime-1.4-6.el6_1.1.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.4-6.el6_1.1 Available: systemtap-runtime-1.4-6.el6_1.2.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.4-6.el6_1.2 Available: systemtap-runtime-1.4-6.el6_1.3.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.4-6.el6_1.3 Available: systemtap-runtime-1.6-4.el6.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.6-4.el6 Available: systemtap-runtime-1.6-5.el6_2.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.6-5.el6_2 Error: Package: rpm-build-4.8.0-19.el6_2.1.x86_64 (rhui-us-east-1-rhel-server-releases) Requires: rpm = 4.8.0-19.el6_2.1 Installed: rpm-4.8.0-27.el6.x86_64 (@koji-override-0/$releasever) rpm = 4.8.0-27.el6 Available: rpm-4.8.0-12.el6.x86_64 (rhui-us-east-1-rhel-server-releases) rpm = 4.8.0-12.el6 Available: rpm-4.8.0-16.el6.x86_64 (rhui-us-east-1-rhel-server-releases) rpm = 4.8.0-16.el6 Available: rpm-4.8.0-16.el6_1.1.x86_64 (rhui-us-east-1-rhel-server-releases) rpm = 4.8.0-16.el6_1.1 Available: rpm-4.8.0-19.el6.x86_64 (rhui-us-east-1-rhel-server-releases) rpm = 4.8.0-19.el6 Available: rpm-4.8.0-19.el6_2.1.x86_64 (rhui-us-east-1-rhel-server-releases) rpm = 4.8.0-19.el6_2.1 Error: Package: glibc-2.12-1.47.el6_2.9.i686 (rhui-us-east-1-rhel-server-releases) Requires: glibc-common = 2.12-1.47.el6_2.9 Installed: glibc-common-2.12-1.78.el6.x86_64 (@koji-override-0/$releasever) glibc-common = 2.12-1.78.el6 Available: glibc-common-2.12-1.7.el6.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.7.el6 Available: glibc-common-2.12-1.7.el6_0.3.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.7.el6_0.3 Available: glibc-common-2.12-1.7.el6_0.4.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.7.el6_0.4 Available: glibc-common-2.12-1.7.el6_0.5.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.7.el6_0.5 Available: glibc-common-2.12-1.25.el6.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.25.el6 Available: glibc-common-2.12-1.25.el6_1.3.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.25.el6_1.3 Available: glibc-common-2.12-1.47.el6.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.47.el6 Available: glibc-common-2.12-1.47.el6_2.5.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.47.el6_2.5 Available: glibc-common-2.12-1.47.el6_2.9.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.47.el6_2.9 RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate Setting up Group Process Package matching 1:make-3.81-19.el6.x86_64 already installed. Checking for update. Package patch-2.6-6.el6.x86_64 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version Package gettext-0.17-16.el6.x86_64 already installed and latest version Package matching binutils-2.20.51.0.2-5.28.el6.x86_64 already installed. Checking for update. Package elfutils-0.152-1.el6.x86_64 already installed and latest version Package cvs-1.11.23-11.el6_2.1.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.x86_64 0:2.4.1-5.el6 will be installed ---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.x86_64 0:15.6-6.el6 will be installed ---> Package ctags.x86_64 0:5.8-2.el6 will be installed ---> Package diffstat.x86_64 0:1.51-2.el6 will be installed ---> Package doxygen.x86_64 1:1.6.1-6.el6 will be installed ---> Package flex.x86_64 0:2.5.35-8.el6 will be installed ---> Package gcc.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-3.el6.x86_64 ---> Package gcc-c++.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++-devel = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.x86_64 --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.x86_64 --> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.6-3.el6.x86_64 ---> Package gcc-gfortran.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.x86_64 ---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64 ---> Package indent.x86_64 0:2.2.10-5.1.el6 will be installed ---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed --> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch ---> Package libtool.x86_64 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed ---> Package rcs.x86_64 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-34.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package subversion.x86_64 0:1.6.11-2.el6_1.4 will be installed --> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 ---> Package swig.x86_64 0:1.3.40-6.el6 will be installed ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Processing Dependency: kernel-devel for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 --> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 ---> Package cpp.x86_64 0:4.4.6-3.el6 will be installed ---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 ---> Package glibc-devel.x86_64 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-headers = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 ---> Package kernel-devel.x86_64 0:2.6.32-220.7.1.el6 will be installed ---> Package libgfortran.i686 0:4.4.6-3.el6 will be installed ---> Package libgomp.i686 0:4.4.6-3.el6 will be installed ---> Package libstdc++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.6-3.el6.i686 ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed ---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 --> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed ---> Package glibc.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-common = 2.12-1.47.el6_2.9 for package: glibc-2.12-1.47.el6_2.9.i686 --> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.47.el6_2.9.i686 --> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.47.el6_2.9.i686 ---> Package glibc-headers.x86_64 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.47.el6_2.9.x86_64 ---> Package libgcc.i686 0:4.4.6-3.el6 will be installed ---> Package libgcj.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-3.el6.x86_64 ---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed ---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package glibc.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-common = 2.12-1.47.el6_2.9 for package: glibc-2.12-1.47.el6_2.9.i686 ---> Package kernel-headers.x86_64 0:2.6.32-220.7.1.el6 will be installed ---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package nss-softokn-freebl.i686 0:3.12.9-11.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Finished Dependency Resolution You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest EXPECTED RESULT: RETURN CODE: 1 FAIL1 Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate Setting up Group Process Package matching 1:make-3.81-19.el6.x86_64 already installed. Checking for update. Package patch-2.6-6.el6.x86_64 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version Package gettext-0.17-16.el6.x86_64 already installed and latest version Package matching binutils-2.20.51.0.2-5.28.el6.x86_64 already installed. Checking for update. Package elfutils-0.152-1.el6.x86_64 already installed and latest version Package cvs-1.11.23-11.el6_2.1.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.x86_64 0:2.4.1-5.el6 will be installed ---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.x86_64 0:15.6-6.el6 will be installed ---> Package ctags.x86_64 0:5.8-2.el6 will be installed ---> Package diffstat.x86_64 0:1.51-2.el6 will be installed ---> Package doxygen.x86_64 1:1.6.1-6.el6 will be installed ---> Package flex.x86_64 0:2.5.35-8.el6 will be installed ---> Package gcc.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-3.el6.x86_64 ---> Package gcc-c++.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++-devel = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.x86_64 --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.x86_64 --> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.6-3.el6.x86_64 ---> Package gcc-gfortran.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.x86_64 ---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64 ---> Package indent.x86_64 0:2.2.10-5.1.el6 will be installed ---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed --> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch ---> Package libtool.x86_64 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed ---> Package rcs.x86_64 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-34.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package subversion.x86_64 0:1.6.11-2.el6_1.4 will be installed --> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 ---> Package swig.x86_64 0:1.3.40-6.el6 will be installed ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Processing Dependency: kernel-devel for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 --> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 ---> Package cpp.x86_64 0:4.4.6-3.el6 will be installed ---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 ---> Package glibc-devel.x86_64 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-headers = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 ---> Package kernel-devel.x86_64 0:2.6.32-220.7.1.el6 will be installed ---> Package libgfortran.i686 0:4.4.6-3.el6 will be installed ---> Package libgomp.i686 0:4.4.6-3.el6 will be installed ---> Package libstdc++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.6-3.el6.i686 ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed ---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 --> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed ---> Package glibc.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-common = 2.12-1.47.el6_2.9 for package: glibc-2.12-1.47.el6_2.9.i686 --> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.47.el6_2.9.i686 --> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.47.el6_2.9.i686 ---> Package glibc-headers.x86_64 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.47.el6_2.9.x86_64 ---> Package libgcc.i686 0:4.4.6-3.el6 will be installed ---> Package libgcj.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-3.el6.x86_64 ---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed ---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package glibc.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-common = 2.12-1.47.el6_2.9 for package: glibc-2.12-1.47.el6_2.9.i686 ---> Package kernel-headers.x86_64 0:2.6.32-220.7.1.el6 will be installed ---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package nss-softokn-freebl.i686 0:3.12.9-11.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Finished Dependency Resolution You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest # checking possible sys update Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate # no sys update found ###################################################################################### # NEW TEST: ## Verify yum update ... ###################################################################################### COMMAND: /usr/bin/yum -y update Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package dmidecode.x86_64 1:2.11-2.el6 will be updated ---> Package dmidecode.x86_64 1:2.11-2.el6_1 will be an update ---> Package pam.x86_64 0:1.1.1-10.el6 will be updated ---> Package pam.x86_64 0:1.1.1-10.el6_2.1 will be an update --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Updating: dmidecode x86_64 1:2.11-2.el6_1 rhui-us-east-1-rhel-server-releases 71 k pam x86_64 1.1.1-10.el6_2.1 rhui-us-east-1-rhel-server-releases 656 k Transaction Summary ================================================================================ Upgrade 2 Package(s) Total download size: 727 k Downloading Packages: -------------------------------------------------------------------------------- Total 2.6 MB/s | 727 kB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Updating : 1:dmidecode-2.11-2.el6_1.x86_64 1/4 Updating : pam-1.1.1-10.el6_2.1.x86_64 2/4 Cleanup : 1:dmidecode-2.11-2.el6.x86_64 3/4 Cleanup : pam-1.1.1-10.el6.x86_64 4/4 Installed products updated. Verifying : pam-1.1.1-10.el6_2.1.x86_64 1/4 Verifying : 1:dmidecode-2.11-2.el6_1.x86_64 2/4 Verifying : pam-1.1.1-10.el6.x86_64 3/4 Verifying : 1:dmidecode-2.11-2.el6.x86_64 4/4 Updated: dmidecode.x86_64 1:2.11-2.el6_1 pam.x86_64 0:1.1.1-10.el6_2.1 Complete! EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify no fa1lures in rpm package ... ###################################################################################### COMMAND: cat /root/valid/src/validate.log | grep 'failure in rpm package' | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify no rpm scriplet fa1lures ... ###################################################################################### COMMAND: cat /root/valid/src/validate.log | grep 'scriptlet failed, exit status 1' | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify package removal... ###################################################################################### COMMAND: /bin/rpm -e zsh RETURN CODE: 0 COMMAND: /bin/rpm -q zsh RESULT: package zsh is not installed EXPECTED RESULT: package zsh is not installed RETURN CODE: 1 PASS ###################################################################################### # NEW TEST: ## install zsh ... ###################################################################################### COMMAND: /usr/bin/yum -y install zsh Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Warning: RPMDB altered outside of yum. RETURN CODE: 0 COMMAND: /bin/rpm -q --queryformat '%{NAME}\n' zsh RESULT: zsh EXPECTED RESULT: zsh RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify package removal ... ###################################################################################### COMMAND: /bin/rpm -e zsh RETURN CODE: 0 COMMAND: /bin/rpm -q zsh RESULT: package zsh is not installed EXPECTED RESULT: package zsh is not installed RETURN CODE: 1 PASS # checking possible sys update Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate # no sys update found ###################################################################################### # NEW TEST: ## Verify yum update ... ###################################################################################### COMMAND: /usr/bin/yum -y update Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate Setting up Update Process No Packages marked for Update EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify disabled yum plugin ... ###################################################################################### COMMAND: grep ^enabled /etc/yum/pluginconf.d/rhnplugin.conf | grep -v '^#' | cut -d\= -f2 | awk '{print }' | sort -f | uniq RESULT: 0 EXPECTED RESULT: RETURN CODE: 0 PASS ## Summary ## FAILURES = 9 FAILED TESTS = ##test menu.lst ... ##test menu.lst ... ## Verify no missing packages ... ## test repo files ... ## test repo files ... ## Verify latest installed kernel is running ... ## Verify RPMs ... ## List available groups.. ## Install Development tools group... LOG FILE = /root/valid/src/validate.log ## Summary ## ###################################################################################### # NEW TEST: ## Open a bugzilla ###################################################################################### IMAGE ID= =====image_validation.sh Wed May 2 06:50:22 EDT 2012===== ###################################################################################### # NEW TEST: ## Open a bugzilla ###################################################################################### ###################################################################################### # NEW TEST: Fetching the identity doc Details ###################################################################################### Verifying that signature exists COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS Verifying the IMAGE ID COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS Verifying the Architecture COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS This Host => ec2-107-21-76-144.compute-1.amazonaws.com with Image Id : ami-347ca65d, is launched with Instance Id : i-12afb775 , Instance Type : c1.xlarge and Arch : x86_64 in the Region : us-east-1d The Validate Signature is : PBcDJEH16s09R5Qn0DYGrfGaz8pGCKAo/d14vYScHB000z/idK2WNQURj+MqwaB2M4sAGOick1VJ ERejEkiCxst34rHzhV/JYgsLtPDSCpZd52XEeDcrPBeYvY6S7v0G2utlkIjDH/FBGr6YF/1vvURO nOO0UfTHNTe+2N+6e38= This is a Cloud Access image /root/valid/src ip-10-36-133-78 Red Hat Enterprise Linux Server release 6.3 Beta (Santiago) ###################################################################################### # NEW TEST: The selected image has the version RHEL 6.3 ###################################################################################### ami is a BETA ###################################################################################### # NEW TEST: ## Verify auditd is on ... ###################################################################################### COMMAND: /sbin/chkconfig --list auditd | grep 3:on RESULT: auditd 0:off 1:off 2:on 3:on 4:on 5:on 6:off EXPECTED RESULT: RETURN CODE: 0 PASS COMMAND: /sbin/chkconfig --list auditd | grep 5:on RESULT: auditd 0:off 1:off 2:on 3:on 4:on 5:on 6:off EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify audit.rules ... ###################################################################################### COMMAND: md5sum /etc/audit/audit.rules | cut -f 1 -d " " RESULT: f9869e1191838c461f5b9051c78a638d EXPECTED RESULT: f9869e1191838c461f5b9051c78a638d RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify auditd.conf ... ###################################################################################### COMMAND: md5sum /etc/audit/auditd.conf | cut -f 1 -d " " RESULT: e1886162554c18906df2ecd258aa4794 EXPECTED RESULT: e1886162554c18906df2ecd258aa4794 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify auditd sysconfig ... ###################################################################################### COMMAND: md5sum /etc/sysconfig/auditd | cut -f 1 -d " " RESULT: d4d43637708e30418c30003e212f76fc EXPECTED RESULT: d4d43637708e30418c30003e212f76fc RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify bash_history ... ###################################################################################### COMMAND: cat ~/.bash_history | wc -l RESULT: 0 EXPECTED RESULT: 0 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify chkconfig ... ###################################################################################### COMMAND: chkconfig --list | grep crond | cut -f 5 RESULT: 3:on EXPECTED RESULT: 3:on RETURN CODE: 0 PASS COMMAND: chkconfig --list | grep iptables | cut -f 5 RESULT: 3:on EXPECTED RESULT: 3:on RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify rh-cloud-firstboot is OFF ... ###################################################################################### COMMAND: chkconfig --list | grep rh-cloud | grep 3:off | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS /etc/sysconfig/rh-cloud-firstboot FOUND COMMAND: echo true RESULT: true EXPECTED RESULT: RETURN CODE: 0 PASS COMMAND: cat /etc/sysconfig/rh-cloud-firstboot RESULT: RUN_FIRSTBOOT=NO EXPECTED RESULT: RUN_FIRSTBOOT=NO RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Partition Format ... ###################################################################################### mount | grep /dev/xvde1 | awk '{ print }' COMMAND: echo ext4 RESULT: ext4 EXPECTED RESULT: ext4 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Partition Size ... ###################################################################################### size=5905712 COMMAND: echo true RESULT: true EXPECTED RESULT: true RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: Fetching the identity doc Details ###################################################################################### Verifying that signature exists COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS Verifying the IMAGE ID COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS Verifying the Architecture COMMAND: echo 1 RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS This Host => ec2-107-21-76-144.compute-1.amazonaws.com with Image Id : ami-347ca65d, is launched with Instance Id : i-12afb775 , Instance Type : c1.xlarge and Arch : x86_64 in the Region : us-east-1d The Validate Signature is : PBcDJEH16s09R5Qn0DYGrfGaz8pGCKAo/d14vYScHB000z/idK2WNQURj+MqwaB2M4sAGOick1VJ ERejEkiCxst34rHzhV/JYgsLtPDSCpZd52XEeDcrPBeYvY6S7v0G2utlkIjDH/FBGr6YF/1vvURO nOO0UfTHNTe+2N+6e38= This is a Cloud Access image ###################################################################################### # NEW TEST: ## Verify GPG checking ... ###################################################################################### COMMAND: grep '^gpgcheck=1' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | sort -f | uniq RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify GPG Keys ... ###################################################################################### COMMAND: rpm -qa gpg-pubkey* | wc -l RESULT: 2 EXPECTED RESULT: 2 RETURN CODE: 0 PASS SKIPPING TEST, BETA DETECTED ###################################################################################### # NEW TEST: ## Verify group file ... ###################################################################################### COMMAND: cat /etc/group | grep root:x:0 RESULT: root:x:0: EXPECTED RESULT: root:x:0: RETURN CODE: 0 PASS COMMAND: cat /etc/group | grep daemon:x:2 RESULT: daemon:x:2:bin,daemon EXPECTED RESULT: daemon:x:2:bin,daemon RETURN CODE: 0 PASS COMMAND: cat /etc/group | grep bin:x:1 RESULT: bin:x:1:bin,daemon EXPECTED RESULT: bin:x:1:bin,daemon RETURN CODE: 0 PASS COMMAND: cat /etc/group | grep nobody:x:99 RESULT: nobody:x:99: EXPECTED RESULT: nobody:x:99: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ##test menu.lst ... ###################################################################################### COMMAND: file /boot/grub/menu.lst | grep symbolic | wc -l RESULT: 0 EXPECTED RESULT: 1 RETURN CODE: 0 FAIL2 0 COMMAND: file /boot/grub/menu.lst | grep grub.conf | wc -l RESULT: 0 EXPECTED RESULT: 1 RETURN CODE: 0 FAIL2 0 COMMAND: cat /boot/grub/grub.conf | grep "(hd0,0)" | wc -l RESULT: 2 EXPECTED RESULT: 0 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify runlevel ... ###################################################################################### COMMAND: cat /etc/inittab | grep id: RESULT: id:3:initdefault: EXPECTED RESULT: id:3:initdefault: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify iptables ... ###################################################################################### COMMAND: /etc/init.d/iptables status | grep REJECT 5 REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited 1 REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited RETURN CODE: 0 COMMAND: /etc/init.d/iptables status | grep :22 | grep ACCEPT | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/ld.so.conf.d/libc6-xen.conf is not present ... ###################################################################################### COMMAND: ls /etc/ld.so.conf.d/libc6-xen.conf ls: cannot access /etc/ld.so.conf.d/libc6-xen.conf: No such file or directory RESULT: EXPECTED RESULT: 2 RETURN CODE: 2 PASS ###################################################################################### # NEW TEST: ##Verify memory match hwp ... ###################################################################################### cat /proc/meminfo | grep MemTotal: | awk '{print }' FOUND MEMORY OF 7130376 > hwp MEMORY of 7000000 COMMAND: echo true RESULT: true EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify nameserver ... ###################################################################################### COMMAND: /usr/bin/dig clock.redhat.com 2>> /root/valid/src/validate.log | grep 66.187.233.4 | wc -l RESULT: 1 EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify networking ... ###################################################################################### COMMAND: grep ^NETWORKING= /etc/sysconfig/network | cut -d\= -f2 RESULT: yes EXPECTED RESULT: yes RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify device ... ###################################################################################### COMMAND: grep ^DEVICE= /etc/sysconfig/network-scripts/ifcfg-eth0 | cut -d\= -f2 RESULT: eth0 EXPECTED RESULT: eth0 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify no missing packages ... ###################################################################################### COMMAND: /bin/rpm -qa --queryformat='%{NAME}\n' > /tmp/rpmqa.tmp RETURN CODE: 0 COUNT = 0 COMMAND: echo test failed RESULT: test failed EXPECTED RESULT: 1 RETURN CODE: 0 FAIL2 test failed ###################################################################################### # NEW TEST: ## Verify new passwd file ... ###################################################################################### COMMAND: cat /etc/passwd | grep root:x:0 RESULT: root:x:0:0:root:/root:/bin/bash EXPECTED RESULT: root:x:0:0:root:/root:/bin/bash RETURN CODE: 0 PASS COMMAND: cat /etc/passwd | grep nobody:x:99 RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin EXPECTED RESULT: nobody:x:99:99:Nobody:/:/sbin/nologin RETURN CODE: 0 PASS COMMAND: cat /etc/passwd | grep sshd RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin EXPECTED RESULT: sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## test repo files ... ###################################################################################### COMMAND: ls /etc/yum.repos.d/ | wc -l RESULT: 6 EXPECTED RESULT: 4 RETURN CODE: 0 FAIL2 6 COMMAND: ls /etc/yum.repos.d/redhat* | wc -l RESULT: 4 EXPECTED RESULT: 2 RETURN CODE: 0 FAIL2 4 COMMAND: ls /etc/yum.repos.d/rhel* | wc -l RESULT: 1 EXPECTED RESULT: 0 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify resize2fs ... ###################################################################################### COMMAND: resize2fs -p /dev/xvde1 15000M resize2fs 1.41.12 (17-May-2010) RETURN CODE: 0 COMMAND: df -h | grep 15G | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS /root/valid/src ip-10-36-133-78 Red Hat Enterprise Linux Server release 6.3 Beta (Santiago) ###################################################################################### # NEW TEST: The selected image has the version RHEL 6.3 ###################################################################################### ami is a BETA ###################################################################################### # NEW TEST: ## /sbin/getenforce ... ###################################################################################### COMMAND: /usr/sbin/getenforce RESULT: Enforcing EXPECTED RESULT: Enforcing RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify SELINUX enforcing ... ###################################################################################### COMMAND: grep ^SELINUX= /etc/sysconfig/selinux | cut -d\= -f2 RESULT: enforcing EXPECTED RESULT: enforcing RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify SELINUXTYPE targeted ... ###################################################################################### COMMAND: grep ^SELINUXTYPE= /etc/sysconfig/selinux | cut -d\= -f2 RESULT: targeted EXPECTED RESULT: targeted RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Flip Selinux Permissive ... ###################################################################################### COMMAND: /usr/sbin/setenforce Permissive && /usr/sbin/getenforce RESULT: Permissive EXPECTED RESULT: Permissive RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Flip Selinux Enforcing ... ###################################################################################### COMMAND: /usr/sbin/setenforce Enforcing && /usr/sbin/getenforce RESULT: Enforcing EXPECTED RESULT: Enforcing RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify new shells file ... ###################################################################################### COMMAND: cat /etc/shells | grep bash RESULT: /bin/bash EXPECTED RESULT: /bin/bash RETURN CODE: 0 PASS COMMAND: cat /etc/shells | grep nologin RESULT: /sbin/nologin EXPECTED RESULT: /sbin/nologin RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify sshd_config settings ... ###################################################################################### COMMAND: cat /etc/ssh/sshd_config | grep PasswordAuthentication | grep no | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify sshd ... ###################################################################################### COMMAND: chkconfig --list | grep sshd RESULT: sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off EXPECTED RESULT: sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off RETURN CODE: 0 PASS COMMAND: /etc/init.d/sshd status | grep running | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS this machine doesn't require swap ###################################################################################### # NEW TEST: ## Verify rsyslog is on ... ###################################################################################### COMMAND: chkconfig --list | grep rsyslog | cut -f 5 RESULT: 3:on EXPECTED RESULT: 3:on RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify rsyslog config ... ###################################################################################### COMMAND: md5sum /etc/rsyslog.conf | cut -f 1 -d " " RESULT: 8b91b32300134e98ef4aee632ed61e21 EXPECTED RESULT: 8b91b32300134e98ef4aee632ed61e21 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify no systemid file ... ###################################################################################### COMMAND: echo true RESULT: true EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify kernel name ... ###################################################################################### COMMAND: /bin/uname -s RESULT: Linux EXPECTED RESULT: Linux RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify latest installed kernel is running ... ###################################################################################### RHEL VERSION IS 6 LATEST_RPM_KERNEL_VERSION=rpm -q kernel --last | head -n 1 | cut -c 8-60 | cut -d ' ' -f 1 CURRENT_UNAME_KERNAL_VERSION=2.6.32-262.el6 assert latest rpm kernel = uname -r COMMAND: uname -r | sed 's/\(.*\)......./\1/' RESULT: 2.6.32-262.el6 EXPECTED RESULT: 2.6.32-262.el6.x86_64 RETURN CODE: 0 FAIL2 2.6.32-262.el6 ###################################################################################### # NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ... ###################################################################################### COMMAND: cat /boot/grub/menu.lst | grep 2.6.32-262.el6.x86_64 RESULT: title RHEL6.3-20120416.0-Server-x86_64-starter-ec2 (2.6.32-262.el6.x86_64) kernel /boot/vmlinuz-2.6.32-262.el6.x86_64 ro root=LABEL=_/ initrd /boot/initramfs-2.6.32-262.el6.x86_64.img EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify operating system ... ###################################################################################### COMMAND: /bin/uname -o RESULT: GNU/Linux EXPECTED RESULT: GNU/Linux RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel ... ###################################################################################### COMMAND: ls /etc/sysconfig/kernel RESULT: /etc/sysconfig/kernel EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel contains UPDATEDEFAULT ... ###################################################################################### COMMAND: cat /etc/sysconfig/kernel | grep UPDATEDEFAULT=yes RESULT: UPDATEDEFAULT=yes EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel contains DEFAULTKERNEL ... ###################################################################################### COMMAND: cat /etc/sysconfig/kernel | grep DEFAULTKERNEL=kernel RESULT: DEFAULTKERNEL=kernel EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify system up to date ###################################################################################### COMMAND: _check_sys_update_phase1 # no update was required RESULT: # checking sys update done # no update was required EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify RPMs ... ###################################################################################### ....L.... c /etc/pam.d/fingerprint-auth ....L.... c /etc/pam.d/password-auth ....L.... c /etc/pam.d/smartcard-auth ....L.... c /etc/pam.d/system-auth .M....... /var/cache/yum S file Size differs M Mode differs (includes permissions and file type) 5 MD5 sum differs D Device major/minor number mismatch L readLink(2) path mismatch U User ownership differs G Group ownership differs T mTime differs COMMAND: cat /tmp/rpmqaV.txt | wc -l RESULT: 5 EXPECTED RESULT: 4 RETURN CODE: 0 FAIL2 5 ###################################################################################### # NEW TEST: ## Verify Version 2 ... ###################################################################################### COMMAND: /bin/rpm -q --queryformat '%{RELEASE}\n' redhat-release-server | cut -d. -f1,2 RESULT: 6.3 EXPECTED RESULT: 6.3 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify packager ... ###################################################################################### COMMAND: cat /tmp/Packager | grep -v 'Red Hat, Inc.' | grep -v crash-trace-commandPackager| wc -l RESULT: 0 EXPECTED RESULT: 0 RETURN CODE: 0 PASS crash-trace-commandPackager : Lai Jiangshan <laijs.com> ###################################################################################### # NEW TEST: ## List the configured repositories... ###################################################################################### COMMAND: /usr/bin/yum repolist Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate repo id repo name status rhui-us-east-1-client-config-server-6 Red Hat Update Infrastructur 1 rhui-us-east-1-client-config-server-6-beta Red Hat Update Infrastructur 0 rhui-us-east-1-rhel-server-releases Red Hat Enterprise Linux Ser 7,079 rhui-us-east-1-rhel-server-releases-optional Red Hat Enterprise Linux Ser 4,354 repolist: 11,434 EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Search zsh... ###################################################################################### COMMAND: /usr/bin/yum search zsh Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate =============================== N/S Matched: zsh =============================== python-twisted-core-zsh.x86_64 : Tab completion for Zsh and Twisted Core zsh-html.x86_64 : Zsh shell manual in html format zsh.x86_64 : A powerful interactive shell Name and summary matches only, use "search all" for everything. EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## install zsh ... ###################################################################################### COMMAND: /usr/bin/yum -y install zsh Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Warning: RPMDB altered outside of yum. RETURN CODE: 0 COMMAND: /bin/rpm -q --queryformat '%{NAME}\n' zsh RESULT: zsh EXPECTED RESULT: zsh RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## List available groups.. ###################################################################################### COMMAND: /usr/bin/yum grouplist Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhui-us-east-1-rhel-server-releases-beta. Please verify its path and try again RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Setting up Group Process Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate EXPECTED RESULT: RETURN CODE: 1 FAIL1 Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Setting up Group Process Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate ###################################################################################### # NEW TEST: ## Install Development tools group... ###################################################################################### COMMAND: /usr/bin/yum -y groupinstall 'Development tools' Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Error: Package: libstdc++-devel-4.4.6-3.el6.x86_64 (rhui-us-east-1-rhel-server-releases) Requires: libstdc++(x86-64) = 4.4.6-3.el6 Installed: libstdc++-4.4.6-4.el6.x86_64 (@koji-override-0/$releasever) libstdc++(x86-64) = 4.4.6-4.el6 Available: libstdc++-4.4.4-13.el6.x86_64 (rhui-us-east-1-rhel-server-releases) libstdc++(x86-64) = 4.4.4-13.el6 Available: libstdc++-4.4.5-6.el6.x86_64 (rhui-us-east-1-rhel-server-releases) libstdc++(x86-64) = 4.4.5-6.el6 Available: libstdc++-4.4.6-3.el6.x86_64 (rhui-us-east-1-rhel-server-releases) libstdc++(x86-64) = 4.4.6-3.el6 Error: Package: systemtap-1.6-5.el6_2.x86_64 (rhui-us-east-1-rhel-server-releases) Requires: systemtap-runtime = 1.6-5.el6_2 Installed: systemtap-runtime-1.7-3.el6.x86_64 (@koji-override-0/$releasever) systemtap-runtime = 1.7-3.el6 Available: systemtap-runtime-1.2-9.el6.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.2-9.el6 Available: systemtap-runtime-1.2-11.el6_0.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.2-11.el6_0 Available: systemtap-runtime-1.4-6.el6.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.4-6.el6 Available: systemtap-runtime-1.4-6.el6_1.1.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.4-6.el6_1.1 Available: systemtap-runtime-1.4-6.el6_1.2.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.4-6.el6_1.2 Available: systemtap-runtime-1.4-6.el6_1.3.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.4-6.el6_1.3 Available: systemtap-runtime-1.6-4.el6.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.6-4.el6 Available: systemtap-runtime-1.6-5.el6_2.x86_64 (rhui-us-east-1-rhel-server-releases) systemtap-runtime = 1.6-5.el6_2 Error: Package: rpm-build-4.8.0-19.el6_2.1.x86_64 (rhui-us-east-1-rhel-server-releases) Requires: rpm = 4.8.0-19.el6_2.1 Installed: rpm-4.8.0-27.el6.x86_64 (@koji-override-0/$releasever) rpm = 4.8.0-27.el6 Available: rpm-4.8.0-12.el6.x86_64 (rhui-us-east-1-rhel-server-releases) rpm = 4.8.0-12.el6 Available: rpm-4.8.0-16.el6.x86_64 (rhui-us-east-1-rhel-server-releases) rpm = 4.8.0-16.el6 Available: rpm-4.8.0-16.el6_1.1.x86_64 (rhui-us-east-1-rhel-server-releases) rpm = 4.8.0-16.el6_1.1 Available: rpm-4.8.0-19.el6.x86_64 (rhui-us-east-1-rhel-server-releases) rpm = 4.8.0-19.el6 Available: rpm-4.8.0-19.el6_2.1.x86_64 (rhui-us-east-1-rhel-server-releases) rpm = 4.8.0-19.el6_2.1 Error: Package: glibc-2.12-1.47.el6_2.9.i686 (rhui-us-east-1-rhel-server-releases) Requires: glibc-common = 2.12-1.47.el6_2.9 Installed: glibc-common-2.12-1.78.el6.x86_64 (@koji-override-0/$releasever) glibc-common = 2.12-1.78.el6 Available: glibc-common-2.12-1.7.el6.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.7.el6 Available: glibc-common-2.12-1.7.el6_0.3.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.7.el6_0.3 Available: glibc-common-2.12-1.7.el6_0.4.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.7.el6_0.4 Available: glibc-common-2.12-1.7.el6_0.5.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.7.el6_0.5 Available: glibc-common-2.12-1.25.el6.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.25.el6 Available: glibc-common-2.12-1.25.el6_1.3.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.25.el6_1.3 Available: glibc-common-2.12-1.47.el6.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.47.el6 Available: glibc-common-2.12-1.47.el6_2.5.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.47.el6_2.5 Available: glibc-common-2.12-1.47.el6_2.9.x86_64 (rhui-us-east-1-rhel-server-releases) glibc-common = 2.12-1.47.el6_2.9 RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate Setting up Group Process Package matching 1:make-3.81-19.el6.x86_64 already installed. Checking for update. Package patch-2.6-6.el6.x86_64 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version Package gettext-0.17-16.el6.x86_64 already installed and latest version Package matching binutils-2.20.51.0.2-5.28.el6.x86_64 already installed. Checking for update. Package elfutils-0.152-1.el6.x86_64 already installed and latest version Package cvs-1.11.23-11.el6_2.1.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.x86_64 0:2.4.1-5.el6 will be installed ---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.x86_64 0:15.6-6.el6 will be installed ---> Package ctags.x86_64 0:5.8-2.el6 will be installed ---> Package diffstat.x86_64 0:1.51-2.el6 will be installed ---> Package doxygen.x86_64 1:1.6.1-6.el6 will be installed ---> Package flex.x86_64 0:2.5.35-8.el6 will be installed ---> Package gcc.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-3.el6.x86_64 ---> Package gcc-c++.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++-devel = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.x86_64 --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.x86_64 --> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.6-3.el6.x86_64 ---> Package gcc-gfortran.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.x86_64 ---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64 ---> Package indent.x86_64 0:2.2.10-5.1.el6 will be installed ---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed --> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch ---> Package libtool.x86_64 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed ---> Package rcs.x86_64 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-34.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package subversion.x86_64 0:1.6.11-2.el6_1.4 will be installed --> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 ---> Package swig.x86_64 0:1.3.40-6.el6 will be installed ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Processing Dependency: kernel-devel for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 --> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 ---> Package cpp.x86_64 0:4.4.6-3.el6 will be installed ---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 ---> Package glibc-devel.x86_64 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-headers = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 ---> Package kernel-devel.x86_64 0:2.6.32-220.7.1.el6 will be installed ---> Package libgfortran.i686 0:4.4.6-3.el6 will be installed ---> Package libgomp.i686 0:4.4.6-3.el6 will be installed ---> Package libstdc++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.6-3.el6.i686 ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed ---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 --> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed ---> Package glibc.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-common = 2.12-1.47.el6_2.9 for package: glibc-2.12-1.47.el6_2.9.i686 --> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.47.el6_2.9.i686 --> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.47.el6_2.9.i686 ---> Package glibc-headers.x86_64 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.47.el6_2.9.x86_64 ---> Package libgcc.i686 0:4.4.6-3.el6 will be installed ---> Package libgcj.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-3.el6.x86_64 ---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed ---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package glibc.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-common = 2.12-1.47.el6_2.9 for package: glibc-2.12-1.47.el6_2.9.i686 ---> Package kernel-headers.x86_64 0:2.6.32-220.7.1.el6 will be installed ---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package nss-softokn-freebl.i686 0:3.12.9-11.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Finished Dependency Resolution You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest EXPECTED RESULT: RETURN CODE: 1 FAIL1 Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate Setting up Group Process Package matching 1:make-3.81-19.el6.x86_64 already installed. Checking for update. Package patch-2.6-6.el6.x86_64 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version Package gettext-0.17-16.el6.x86_64 already installed and latest version Package matching binutils-2.20.51.0.2-5.28.el6.x86_64 already installed. Checking for update. Package elfutils-0.152-1.el6.x86_64 already installed and latest version Package cvs-1.11.23-11.el6_2.1.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-1.2.el6 will be installed ---> Package bison.x86_64 0:2.4.1-5.el6 will be installed ---> Package byacc.x86_64 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.x86_64 0:15.6-6.el6 will be installed ---> Package ctags.x86_64 0:5.8-2.el6 will be installed ---> Package diffstat.x86_64 0:1.51-2.el6 will be installed ---> Package doxygen.x86_64 1:1.6.1-6.el6 will be installed ---> Package flex.x86_64 0:2.5.35-8.el6 will be installed ---> Package gcc.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-3.el6.x86_64 ---> Package gcc-c++.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++-devel = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.x86_64 --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.x86_64 --> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.6-3.el6.x86_64 ---> Package gcc-gfortran.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgfortran = 4.4.6-3.el6 for package: gcc-gfortran-4.4.6-3.el6.x86_64 ---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64 ---> Package indent.x86_64 0:2.2.10-5.1.el6 will be installed ---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed --> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.noarch ---> Package libtool.x86_64 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed ---> Package rcs.x86_64 0:5.7-37.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-34.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package subversion.x86_64 0:1.6.11-2.el6_1.4 will be installed --> Processing Dependency: apr >= 1.3.0 for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 --> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.6.11-2.el6_1.4.x86_64 ---> Package swig.x86_64 0:1.3.40-6.el6 will be installed ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Processing Dependency: kernel-devel for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 --> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 ---> Package cpp.x86_64 0:4.4.6-3.el6 will be installed ---> Package gettext-devel.x86_64 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 --> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-0.17-16.el6.x86_64 ---> Package glibc-devel.x86_64 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-headers = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.47.el6_2.9.x86_64 ---> Package kernel-devel.x86_64 0:2.6.32-220.7.1.el6 will be installed ---> Package libgfortran.i686 0:4.4.6-3.el6 will be installed ---> Package libgomp.i686 0:4.4.6-3.el6 will be installed ---> Package libstdc++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.6-3.el6.i686 --> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.6-3.el6.i686 ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed ---> Package neon.x86_64 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 --> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-1.2.el6.x86_64 ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-2.el6_0.1 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package gettext-libs.x86_64 0:0.17-16.el6 will be installed ---> Package glibc.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-common = 2.12-1.47.el6_2.9 for package: glibc-2.12-1.47.el6_2.9.i686 --> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.47.el6_2.9.i686 --> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.47.el6_2.9.i686 ---> Package glibc-headers.x86_64 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.47.el6_2.9.x86_64 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.47.el6_2.9.x86_64 ---> Package libgcc.i686 0:4.4.6-3.el6 will be installed ---> Package libgcj.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-3.el6.x86_64 ---> Package libproxy.x86_64 0:0.3.0-2.el6 will be installed --> Processing Dependency: libproxy-python = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.x86_64 ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed ---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Running transaction check ---> Package glibc.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc-common = 2.12-1.47.el6_2.9 for package: glibc-2.12-1.47.el6_2.9.i686 ---> Package kernel-headers.x86_64 0:2.6.32-220.7.1.el6 will be installed ---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.x86_64 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.x86_64 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-64) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.x86_64 ---> Package nss-softokn-freebl.i686 0:3.12.9-11.el6 will be installed ---> Package rpm-build.x86_64 0:4.8.0-19.el6_2.1 will be installed --> Processing Dependency: rpm = 4.8.0-19.el6_2.1 for package: rpm-build-4.8.0-19.el6_2.1.x86_64 ---> Package systemtap.x86_64 0:1.6-5.el6_2 will be installed --> Processing Dependency: systemtap-runtime = 1.6-5.el6_2 for package: systemtap-1.6-5.el6_2.x86_64 --> Finished Dependency Resolution You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest # checking possible sys update Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate # no sys update found ###################################################################################### # NEW TEST: ## Verify yum update ... ###################################################################################### COMMAND: /usr/bin/yum -y update Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package dmidecode.x86_64 1:2.11-2.el6 will be updated ---> Package dmidecode.x86_64 1:2.11-2.el6_1 will be an update ---> Package pam.x86_64 0:1.1.1-10.el6 will be updated ---> Package pam.x86_64 0:1.1.1-10.el6_2.1 will be an update --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Updating: dmidecode x86_64 1:2.11-2.el6_1 rhui-us-east-1-rhel-server-releases 71 k pam x86_64 1.1.1-10.el6_2.1 rhui-us-east-1-rhel-server-releases 656 k Transaction Summary ================================================================================ Upgrade 2 Package(s) Total download size: 727 k Downloading Packages: -------------------------------------------------------------------------------- Total 2.4 MB/s | 727 kB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Updating : 1:dmidecode-2.11-2.el6_1.x86_64 1/4 Updating : pam-1.1.1-10.el6_2.1.x86_64 2/4 Cleanup : 1:dmidecode-2.11-2.el6.x86_64 3/4 Cleanup : pam-1.1.1-10.el6.x86_64 4/4 Installed products updated. Verifying : pam-1.1.1-10.el6_2.1.x86_64 1/4 Verifying : 1:dmidecode-2.11-2.el6_1.x86_64 2/4 Verifying : pam-1.1.1-10.el6.x86_64 3/4 Verifying : 1:dmidecode-2.11-2.el6.x86_64 4/4 Updated: dmidecode.x86_64 1:2.11-2.el6_1 pam.x86_64 0:1.1.1-10.el6_2.1 Complete! EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify no fa1lures in rpm package ... ###################################################################################### COMMAND: cat /root/valid/src/validate.log | grep 'failure in rpm package' | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify no rpm scriplet fa1lures ... ###################################################################################### COMMAND: cat /root/valid/src/validate.log | grep 'scriptlet failed, exit status 1' | wc -l RESULT: 1 EXPECTED RESULT: 1 RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify package removal... ###################################################################################### COMMAND: /bin/rpm -e zsh RETURN CODE: 0 COMMAND: /bin/rpm -q zsh RESULT: package zsh is not installed EXPECTED RESULT: package zsh is not installed RETURN CODE: 1 PASS ###################################################################################### # NEW TEST: ## install zsh ... ###################################################################################### COMMAND: /usr/bin/yum -y install zsh Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Warning: RPMDB altered outside of yum. RETURN CODE: 0 COMMAND: /bin/rpm -q --queryformat '%{NAME}\n' zsh RESULT: zsh EXPECTED RESULT: zsh RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify package removal ... ###################################################################################### COMMAND: /bin/rpm -e zsh RETURN CODE: 0 COMMAND: /bin/rpm -q zsh RESULT: package zsh is not installed EXPECTED RESULT: package zsh is not installed RETURN CODE: 1 PASS # checking possible sys update Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate # no sys update found ###################################################################################### # NEW TEST: ## Verify yum update ... ###################################################################################### COMMAND: /usr/bin/yum -y update Unable to read consumer identity Repo rhui-us-east-1-rhel-server-releases-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem Repo rhui-us-east-1-rhel-server-releases-optional-beta forced skip_if_unavailable=True due to: /etc/pki/entitlement/content-rhel6-beta-key.pem RESULT: Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager Updating certificate-based repositories. Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/os error was 14: problem with the local client certificate Could not retrieve mirrorlist https://rhui2-cds01.us-east-1.aws.ce.redhat.com/pulp/mirror/content/beta/rhel/rhui/server/6/6Server/x86_64/optional/os error was 14: problem with the local client certificate Setting up Update Process No Packages marked for Update EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify disabled yum plugin ... ###################################################################################### COMMAND: grep ^enabled /etc/yum/pluginconf.d/rhnplugin.conf | grep -v '^#' | cut -d\= -f2 | awk '{print }' | sort -f | uniq RESULT: 0 EXPECTED RESULT: RETURN CODE: 0 PASS ## Summary ## FAILURES = 9 FAILED TESTS = ##test menu.lst ... ##test menu.lst ... ## Verify no missing packages ... ## test repo files ... ## test repo files ... ## Verify latest installed kernel is running ... ## Verify RPMs ... ## List available groups.. ## Install Development tools group... LOG FILE = /root/valid/src/validate.log ## Summary ## ###################################################################################### # NEW TEST: ## Open a bugzilla ###################################################################################### IMAGE ID= ami-347ca65d_us-east-1_m1.xlarge ###### TEST KERNEL AFTER REBOOT #### ###################################################################################### # NEW TEST: ## Verify disabled yum plugin ... ###################################################################################### COMMAND: grep ^enabled /etc/yum/pluginconf.d/rhnplugin.conf | grep -v '^#' | cut -d\= -f2 | awk '{print }' | sort -f | uniq RESULT: 0 EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify kernel name ... ###################################################################################### COMMAND: /bin/uname -s RESULT: Linux EXPECTED RESULT: Linux RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify latest installed kernel is running ... ###################################################################################### RHEL VERSION IS 6 LATEST_RPM_KERNEL_VERSION=rpm -q kernel --last | head -n 1 | cut -c 8-60 | cut -d ' ' -f 1 CURRENT_UNAME_KERNAL_VERSION=2.6.32-262.el6 assert latest rpm kernel = uname -r COMMAND: uname -r | sed 's/\(.*\)......./\1/' RESULT: 2.6.32-262.el6 EXPECTED RESULT: 2.6.32-262.el6.x86_64 RETURN CODE: 0 FAIL2 2.6.32-262.el6 ###################################################################################### # NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ... ###################################################################################### COMMAND: cat /boot/grub/menu.lst | grep 2.6.32-262.el6.x86_64 RESULT: title RHEL6.3-20120416.0-Server-x86_64-starter-ec2 (2.6.32-262.el6.x86_64) kernel /boot/vmlinuz-2.6.32-262.el6.x86_64 ro root=LABEL=_/ initrd /boot/initramfs-2.6.32-262.el6.x86_64.img EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify operating system ... ###################################################################################### COMMAND: /bin/uname -o RESULT: GNU/Linux EXPECTED RESULT: GNU/Linux RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel ... ###################################################################################### COMMAND: ls /etc/sysconfig/kernel RESULT: /etc/sysconfig/kernel EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel contains UPDATEDEFAULT ... ###################################################################################### COMMAND: cat /etc/sysconfig/kernel | grep UPDATEDEFAULT=yes RESULT: UPDATEDEFAULT=yes EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel contains DEFAULTKERNEL ... ###################################################################################### COMMAND: cat /etc/sysconfig/kernel | grep DEFAULTKERNEL=kernel RESULT: DEFAULTKERNEL=kernel EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify system up to date ###################################################################################### COMMAND: _check_sys_update_phase1 # no update was required RESULT: # checking sys update done # no update was required EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ##Verify memory match hwp ... ###################################################################################### cat /proc/meminfo | grep MemTotal: | awk '{print }' FOUND MEMORY OF 15371764 > hwp MEMORY of 15000000 COMMAND: echo true RESULT: true EXPECTED RESULT: RETURN CODE: 0 PASS hostname ###################################################################################### # NEW TEST: The selected image has the version RHEL 6.3 ###################################################################################### ## Summary ## FAILURES = 10 FAILED TESTS = ##test menu.lst ... ##test menu.lst ... ## Verify no missing packages ... ## test repo files ... ## test repo files ... ## Verify latest installed kernel is running ... ## Verify RPMs ... ## List available groups.. ## Install Development tools group... ## Verify latest installed kernel is running ... LOG FILE = /root/valid/src/validate.log ## Summary ## ###################################################################################### # NEW TEST: ## Open a bugzilla ###################################################################################### IMAGE ID= ami-347ca65d_us-east-1_m2.xlarge ###### TEST KERNEL AFTER REBOOT #### ###################################################################################### # NEW TEST: ## Verify disabled yum plugin ... ###################################################################################### COMMAND: grep ^enabled /etc/yum/pluginconf.d/rhnplugin.conf | grep -v '^#' | cut -d\= -f2 | awk '{print }' | sort -f | uniq RESULT: 0 EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify kernel name ... ###################################################################################### COMMAND: /bin/uname -s RESULT: Linux EXPECTED RESULT: Linux RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify latest installed kernel is running ... ###################################################################################### RHEL VERSION IS 6 LATEST_RPM_KERNEL_VERSION=rpm -q kernel --last | head -n 1 | cut -c 8-60 | cut -d ' ' -f 1 CURRENT_UNAME_KERNAL_VERSION=2.6.32-262.el6 assert latest rpm kernel = uname -r COMMAND: uname -r | sed 's/\(.*\)......./\1/' RESULT: 2.6.32-262.el6 EXPECTED RESULT: 2.6.32-262.el6.x86_64 RETURN CODE: 0 FAIL2 2.6.32-262.el6 ###################################################################################### # NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ... ###################################################################################### COMMAND: cat /boot/grub/menu.lst | grep 2.6.32-262.el6.x86_64 RESULT: title RHEL6.3-20120416.0-Server-x86_64-starter-ec2 (2.6.32-262.el6.x86_64) kernel /boot/vmlinuz-2.6.32-262.el6.x86_64 ro root=LABEL=_/ initrd /boot/initramfs-2.6.32-262.el6.x86_64.img EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify operating system ... ###################################################################################### COMMAND: /bin/uname -o RESULT: GNU/Linux EXPECTED RESULT: GNU/Linux RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel ... ###################################################################################### COMMAND: ls /etc/sysconfig/kernel RESULT: /etc/sysconfig/kernel EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel contains UPDATEDEFAULT ... ###################################################################################### COMMAND: cat /etc/sysconfig/kernel | grep UPDATEDEFAULT=yes RESULT: UPDATEDEFAULT=yes EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel contains DEFAULTKERNEL ... ###################################################################################### COMMAND: cat /etc/sysconfig/kernel | grep DEFAULTKERNEL=kernel RESULT: DEFAULTKERNEL=kernel EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify system up to date ###################################################################################### COMMAND: _check_sys_update_phase1 # no update was required RESULT: # checking sys update done # no update was required EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ##Verify memory match hwp ... ###################################################################################### cat /proc/meminfo | grep MemTotal: | awk '{print }' FOUND MEMORY OF 17524268 > hwp MEMORY of 17100000 COMMAND: echo true RESULT: true EXPECTED RESULT: RETURN CODE: 0 PASS hostname ###################################################################################### # NEW TEST: The selected image has the version RHEL 6.3 ###################################################################################### ## Summary ## FAILURES = 10 FAILED TESTS = ##test menu.lst ... ##test menu.lst ... ## Verify no missing packages ... ## test repo files ... ## test repo files ... ## Verify latest installed kernel is running ... ## Verify RPMs ... ## List available groups.. ## Install Development tools group... ## Verify latest installed kernel is running ... LOG FILE = /root/valid/src/validate.log ## Summary ## ###################################################################################### # NEW TEST: ## Open a bugzilla ###################################################################################### IMAGE ID= ami-347ca65d_us-east-1_m1.large ###### TEST KERNEL AFTER REBOOT #### ###################################################################################### # NEW TEST: ## Verify disabled yum plugin ... ###################################################################################### COMMAND: grep ^enabled /etc/yum/pluginconf.d/rhnplugin.conf | grep -v '^#' | cut -d\= -f2 | awk '{print }' | sort -f | uniq RESULT: 0 EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify kernel name ... ###################################################################################### COMMAND: /bin/uname -s RESULT: Linux EXPECTED RESULT: Linux RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify latest installed kernel is running ... ###################################################################################### RHEL VERSION IS 6 LATEST_RPM_KERNEL_VERSION=rpm -q kernel --last | head -n 1 | cut -c 8-60 | cut -d ' ' -f 1 CURRENT_UNAME_KERNAL_VERSION=2.6.32-262.el6 assert latest rpm kernel = uname -r COMMAND: uname -r | sed 's/\(.*\)......./\1/' RESULT: 2.6.32-262.el6 EXPECTED RESULT: 2.6.32-262.el6.x86_64 RETURN CODE: 0 FAIL2 2.6.32-262.el6 ###################################################################################### # NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ... ###################################################################################### COMMAND: cat /boot/grub/menu.lst | grep 2.6.32-262.el6.x86_64 RESULT: title RHEL6.3-20120416.0-Server-x86_64-starter-ec2 (2.6.32-262.el6.x86_64) kernel /boot/vmlinuz-2.6.32-262.el6.x86_64 ro root=LABEL=_/ initrd /boot/initramfs-2.6.32-262.el6.x86_64.img EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify operating system ... ###################################################################################### COMMAND: /bin/uname -o RESULT: GNU/Linux EXPECTED RESULT: GNU/Linux RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel ... ###################################################################################### COMMAND: ls /etc/sysconfig/kernel RESULT: /etc/sysconfig/kernel EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel contains UPDATEDEFAULT ... ###################################################################################### COMMAND: cat /etc/sysconfig/kernel | grep UPDATEDEFAULT=yes RESULT: UPDATEDEFAULT=yes EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel contains DEFAULTKERNEL ... ###################################################################################### COMMAND: cat /etc/sysconfig/kernel | grep DEFAULTKERNEL=kernel RESULT: DEFAULTKERNEL=kernel EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify system up to date ###################################################################################### COMMAND: _check_sys_update_phase1 # no update was required RESULT: # checking sys update done # no update was required EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ##Verify memory match hwp ... ###################################################################################### cat /proc/meminfo | grep MemTotal: | awk '{print }' FOUND MEMORY OF 7646172 > hwp MEMORY of 7500000 COMMAND: echo true RESULT: true EXPECTED RESULT: RETURN CODE: 0 PASS hostname ###################################################################################### # NEW TEST: The selected image has the version RHEL 6.3 ###################################################################################### ## Summary ## FAILURES = 10 FAILED TESTS = ##test menu.lst ... ##test menu.lst ... ## Verify no missing packages ... ## test repo files ... ## test repo files ... ## Verify latest installed kernel is running ... ## Verify RPMs ... ## List available groups.. ## Install Development tools group... ## Verify latest installed kernel is running ... LOG FILE = /root/valid/src/validate.log ## Summary ## ###################################################################################### # NEW TEST: ## Open a bugzilla ###################################################################################### IMAGE ID= ami-347ca65d_us-east-1_t1.micro ###### TEST KERNEL AFTER REBOOT #### ###################################################################################### # NEW TEST: ## Verify disabled yum plugin ... ###################################################################################### COMMAND: grep ^enabled /etc/yum/pluginconf.d/rhnplugin.conf | grep -v '^#' | cut -d\= -f2 | awk '{print }' | sort -f | uniq RESULT: 0 EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify kernel name ... ###################################################################################### COMMAND: /bin/uname -s RESULT: Linux EXPECTED RESULT: Linux RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify latest installed kernel is running ... ###################################################################################### RHEL VERSION IS 6 LATEST_RPM_KERNEL_VERSION=rpm -q kernel --last | head -n 1 | cut -c 8-60 | cut -d ' ' -f 1 CURRENT_UNAME_KERNAL_VERSION=2.6.32-262.el6 assert latest rpm kernel = uname -r COMMAND: uname -r | sed 's/\(.*\)......./\1/' RESULT: 2.6.32-262.el6 EXPECTED RESULT: 2.6.32-262.el6.x86_64 RETURN CODE: 0 FAIL2 2.6.32-262.el6 ###################################################################################### # NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ... ###################################################################################### COMMAND: cat /boot/grub/menu.lst | grep 2.6.32-262.el6.x86_64 RESULT: title RHEL6.3-20120416.0-Server-x86_64-starter-ec2 (2.6.32-262.el6.x86_64) kernel /boot/vmlinuz-2.6.32-262.el6.x86_64 ro root=LABEL=_/ initrd /boot/initramfs-2.6.32-262.el6.x86_64.img EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify operating system ... ###################################################################################### COMMAND: /bin/uname -o RESULT: GNU/Linux EXPECTED RESULT: GNU/Linux RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel ... ###################################################################################### COMMAND: ls /etc/sysconfig/kernel RESULT: /etc/sysconfig/kernel EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel contains UPDATEDEFAULT ... ###################################################################################### COMMAND: cat /etc/sysconfig/kernel | grep UPDATEDEFAULT=yes RESULT: UPDATEDEFAULT=yes EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel contains DEFAULTKERNEL ... ###################################################################################### COMMAND: cat /etc/sysconfig/kernel | grep DEFAULTKERNEL=kernel RESULT: DEFAULTKERNEL=kernel EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify system up to date ###################################################################################### COMMAND: _check_sys_update_phase1 # no update was required RESULT: # checking sys update done # no update was required EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ##Verify memory match hwp ... ###################################################################################### cat /proc/meminfo | grep MemTotal: | awk '{print }' FOUND MEMORY OF 604856 > hwp MEMORY of 600000 COMMAND: echo true RESULT: true EXPECTED RESULT: RETURN CODE: 0 PASS hostname ###################################################################################### # NEW TEST: The selected image has the version RHEL 6.3 ###################################################################################### ## Summary ## FAILURES = 10 FAILED TESTS = ##test menu.lst ... ##test menu.lst ... ## Verify no missing packages ... ## test repo files ... ## test repo files ... ## Verify latest installed kernel is running ... ## Verify RPMs ... ## List available groups.. ## Install Development tools group... ## Verify latest installed kernel is running ... LOG FILE = /root/valid/src/validate.log ## Summary ## ###################################################################################### # NEW TEST: ## Open a bugzilla ###################################################################################### IMAGE ID= ami-347ca65d_us-east-1_m2.2xlarge ###### TEST KERNEL AFTER REBOOT #### ###################################################################################### # NEW TEST: ## Verify disabled yum plugin ... ###################################################################################### COMMAND: grep ^enabled /etc/yum/pluginconf.d/rhnplugin.conf | grep -v '^#' | cut -d\= -f2 | awk '{print }' | sort -f | uniq RESULT: 0 EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify kernel name ... ###################################################################################### COMMAND: /bin/uname -s RESULT: Linux EXPECTED RESULT: Linux RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify latest installed kernel is running ... ###################################################################################### RHEL VERSION IS 6 LATEST_RPM_KERNEL_VERSION=rpm -q kernel --last | head -n 1 | cut -c 8-60 | cut -d ' ' -f 1 CURRENT_UNAME_KERNAL_VERSION=2.6.32-262.el6 assert latest rpm kernel = uname -r COMMAND: uname -r | sed 's/\(.*\)......./\1/' RESULT: 2.6.32-262.el6 EXPECTED RESULT: 2.6.32-262.el6.x86_64 RETURN CODE: 0 FAIL2 2.6.32-262.el6 ###################################################################################### # NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ... ###################################################################################### COMMAND: cat /boot/grub/menu.lst | grep 2.6.32-262.el6.x86_64 RESULT: title RHEL6.3-20120416.0-Server-x86_64-starter-ec2 (2.6.32-262.el6.x86_64) kernel /boot/vmlinuz-2.6.32-262.el6.x86_64 ro root=LABEL=_/ initrd /boot/initramfs-2.6.32-262.el6.x86_64.img EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify operating system ... ###################################################################################### COMMAND: /bin/uname -o RESULT: GNU/Linux EXPECTED RESULT: GNU/Linux RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel ... ###################################################################################### COMMAND: ls /etc/sysconfig/kernel RESULT: /etc/sysconfig/kernel EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel contains UPDATEDEFAULT ... ###################################################################################### COMMAND: cat /etc/sysconfig/kernel | grep UPDATEDEFAULT=yes RESULT: UPDATEDEFAULT=yes EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel contains DEFAULTKERNEL ... ###################################################################################### COMMAND: cat /etc/sysconfig/kernel | grep DEFAULTKERNEL=kernel RESULT: DEFAULTKERNEL=kernel EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify system up to date ###################################################################################### COMMAND: _check_sys_update_phase1 # no update was required RESULT: # checking sys update done # no update was required EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ##Verify memory match hwp ... ###################################################################################### cat /proc/meminfo | grep MemTotal: | awk '{print }' FOUND MEMORY OF 35127956 > hwp MEMORY of 34200000 COMMAND: echo true RESULT: true EXPECTED RESULT: RETURN CODE: 0 PASS hostname ###################################################################################### # NEW TEST: The selected image has the version RHEL 6.3 ###################################################################################### ## Summary ## FAILURES = 10 FAILED TESTS = ##test menu.lst ... ##test menu.lst ... ## Verify no missing packages ... ## test repo files ... ## test repo files ... ## Verify latest installed kernel is running ... ## Verify RPMs ... ## List available groups.. ## Install Development tools group... ## Verify latest installed kernel is running ... LOG FILE = /root/valid/src/validate.log ## Summary ## ###################################################################################### # NEW TEST: ## Open a bugzilla ###################################################################################### IMAGE ID= ami-347ca65d_us-east-1_m2.4xlarge ###### TEST KERNEL AFTER REBOOT #### ###################################################################################### # NEW TEST: ## Verify disabled yum plugin ... ###################################################################################### COMMAND: grep ^enabled /etc/yum/pluginconf.d/rhnplugin.conf | grep -v '^#' | cut -d\= -f2 | awk '{print }' | sort -f | uniq RESULT: 0 EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify kernel name ... ###################################################################################### COMMAND: /bin/uname -s RESULT: Linux EXPECTED RESULT: Linux RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify latest installed kernel is running ... ###################################################################################### RHEL VERSION IS 6 LATEST_RPM_KERNEL_VERSION=rpm -q kernel --last | head -n 1 | cut -c 8-60 | cut -d ' ' -f 1 CURRENT_UNAME_KERNAL_VERSION=2.6.32-262.el6 assert latest rpm kernel = uname -r COMMAND: uname -r | sed 's/\(.*\)......./\1/' RESULT: 2.6.32-262.el6 EXPECTED RESULT: 2.6.32-262.el6.x86_64 RETURN CODE: 0 FAIL2 2.6.32-262.el6 ###################################################################################### # NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ... ###################################################################################### COMMAND: cat /boot/grub/menu.lst | grep 2.6.32-262.el6.x86_64 RESULT: title RHEL6.3-20120416.0-Server-x86_64-starter-ec2 (2.6.32-262.el6.x86_64) kernel /boot/vmlinuz-2.6.32-262.el6.x86_64 ro root=LABEL=_/ initrd /boot/initramfs-2.6.32-262.el6.x86_64.img EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify operating system ... ###################################################################################### COMMAND: /bin/uname -o RESULT: GNU/Linux EXPECTED RESULT: GNU/Linux RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel ... ###################################################################################### COMMAND: ls /etc/sysconfig/kernel RESULT: /etc/sysconfig/kernel EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel contains UPDATEDEFAULT ... ###################################################################################### COMMAND: cat /etc/sysconfig/kernel | grep UPDATEDEFAULT=yes RESULT: UPDATEDEFAULT=yes EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel contains DEFAULTKERNEL ... ###################################################################################### COMMAND: cat /etc/sysconfig/kernel | grep DEFAULTKERNEL=kernel RESULT: DEFAULTKERNEL=kernel EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify system up to date ###################################################################################### COMMAND: _check_sys_update_phase1 # no update was required RESULT: # checking sys update done # no update was required EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ##Verify memory match hwp ... ###################################################################################### cat /proc/meminfo | grep MemTotal: | awk '{print }' FOUND MEMORY OF 70337128 > hwp MEMORY of 68400000 COMMAND: echo true RESULT: true EXPECTED RESULT: RETURN CODE: 0 PASS hostname ###################################################################################### # NEW TEST: The selected image has the version RHEL 6.3 ###################################################################################### ## Summary ## FAILURES = 10 FAILED TESTS = ##test menu.lst ... ##test menu.lst ... ## Verify no missing packages ... ## test repo files ... ## test repo files ... ## Verify latest installed kernel is running ... ## Verify RPMs ... ## List available groups.. ## Install Development tools group... ## Verify latest installed kernel is running ... LOG FILE = /root/valid/src/validate.log ## Summary ## ###################################################################################### # NEW TEST: ## Open a bugzilla ###################################################################################### IMAGE ID= ami-347ca65d_us-east-1_c1.xlarge ###### TEST KERNEL AFTER REBOOT #### ###################################################################################### # NEW TEST: ## Verify disabled yum plugin ... ###################################################################################### COMMAND: grep ^enabled /etc/yum/pluginconf.d/rhnplugin.conf | grep -v '^#' | cut -d\= -f2 | awk '{print }' | sort -f | uniq RESULT: 0 EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify kernel name ... ###################################################################################### COMMAND: /bin/uname -s RESULT: Linux EXPECTED RESULT: Linux RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify latest installed kernel is running ... ###################################################################################### RHEL VERSION IS 6 LATEST_RPM_KERNEL_VERSION=rpm -q kernel --last | head -n 1 | cut -c 8-60 | cut -d ' ' -f 1 CURRENT_UNAME_KERNAL_VERSION=2.6.32-262.el6 assert latest rpm kernel = uname -r COMMAND: uname -r | sed 's/\(.*\)......./\1/' RESULT: 2.6.32-262.el6 EXPECTED RESULT: 2.6.32-262.el6.x86_64 RETURN CODE: 0 FAIL2 2.6.32-262.el6 ###################################################################################### # NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ... ###################################################################################### COMMAND: cat /boot/grub/menu.lst | grep 2.6.32-262.el6.x86_64 RESULT: title RHEL6.3-20120416.0-Server-x86_64-starter-ec2 (2.6.32-262.el6.x86_64) kernel /boot/vmlinuz-2.6.32-262.el6.x86_64 ro root=LABEL=_/ initrd /boot/initramfs-2.6.32-262.el6.x86_64.img EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify operating system ... ###################################################################################### COMMAND: /bin/uname -o RESULT: GNU/Linux EXPECTED RESULT: GNU/Linux RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel ... ###################################################################################### COMMAND: ls /etc/sysconfig/kernel RESULT: /etc/sysconfig/kernel EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel contains UPDATEDEFAULT ... ###################################################################################### COMMAND: cat /etc/sysconfig/kernel | grep UPDATEDEFAULT=yes RESULT: UPDATEDEFAULT=yes EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify /etc/sysconfig/kernel contains DEFAULTKERNEL ... ###################################################################################### COMMAND: cat /etc/sysconfig/kernel | grep DEFAULTKERNEL=kernel RESULT: DEFAULTKERNEL=kernel EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ## Verify system up to date ###################################################################################### COMMAND: _check_sys_update_phase1 # no update was required RESULT: # checking sys update done # no update was required EXPECTED RESULT: RETURN CODE: 0 PASS ###################################################################################### # NEW TEST: ##Verify memory match hwp ... ###################################################################################### cat /proc/meminfo | grep MemTotal: | awk '{print }' FOUND MEMORY OF 7130376 > hwp MEMORY of 7000000 COMMAND: echo true RESULT: true EXPECTED RESULT: RETURN CODE: 0 PASS hostname ###################################################################################### # NEW TEST: The selected image has the version RHEL 6.3 ###################################################################################### ## Summary ## FAILURES = 10 FAILED TESTS = ##test menu.lst ... ##test menu.lst ... ## Verify no missing packages ... ## test repo files ... ## test repo files ... ## Verify latest installed kernel is running ... ## Verify RPMs ... ## List available groups.. ## Install Development tools group... ## Verify latest installed kernel is running ... LOG FILE = /root/valid/src/validate.log ## Summary ## ###################################################################################### # NEW TEST: ## Open a bugzilla ###################################################################################### *** This bug has been marked as a duplicate of bug 815365 *** |