Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 820529 - ami-567ca63f 5.8 i386 us-east-1
Summary: ami-567ca63f 5.8 i386 us-east-1
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Cloud Image Validation
Classification: Red Hat
Component: images
Version: RHEL5.8
Hardware: i386
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: wes hayutin
QA Contact: mkovacik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-10 10:16 UTC by mkovacik
Modified: 2012-05-10 11:23 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-10 11:23:55 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description mkovacik 2012-05-10 10:16:03 UTC

Comment 1 mkovacik 2012-05-10 10:20:48 UTC
IMAGE ID= 
=====image_validation.sh Thu May 10 06:18:37 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-22-5-173.compute-1.amazonaws.com with Image Id : ami-567ca63f, is launched with Instance Id : i-21dc7347 , Instance Type : c1.medium and Arch : i386 in the Region : us-east-1d
The Validate Signature is : XTcjHRSizZvJmcZRNvZpvUzeAi02BlYO3l+lQIVXpIvjObK45rvZ5On6JL9qNE1YqYHW7BNmg7bI
TAKSHGhPPUAoAF5Ce7TwiJ4ihXWIKWMsccaZ+TX3L4N5iAaG8jDgG73b1h/arkFnIBcqacVCGDGa
Q/7raQ3aj0kLhbR2nqs=
This is a Cloud Access image
/root/valid/src
ip-10-212-198-218
Red Hat Enterprise Linux Server release 6.3 Beta (Santiago)
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-22-5-173.compute-1.amazonaws.com with Image Id : ami-567ca63f, is launched with Instance Id : i-21dc7347 , Instance Type : c1.medium and Arch : i386 in the Region : us-east-1d
The Validate Signature is : XTcjHRSizZvJmcZRNvZpvUzeAi02BlYO3l+lQIVXpIvjObK45rvZ5On6JL9qNE1YqYHW7BNmg7bI
TAKSHGhPPUAoAF5Ce7TwiJ4ihXWIKWMsccaZ+TX3L4N5iAaG8jDgG73b1h/arkFnIBcqacVCGDGa
Q/7raQ3aj0kLhbR2nqs=
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:root
RETURN CODE: 0
FAIL2
root:x:0:
COMMAND:  cat /etc/group | grep daemon:x:2
RESULT: daemon:x:2:bin,daemon 
EXPECTED RESULT: daemon:x:2:root,bin,daemon
RETURN CODE: 0
FAIL2
daemon:x:2:bin,daemon
COMMAND:  cat /etc/group | grep bin:x:1
RESULT: bin:x:1:bin,daemon 
EXPECTED RESULT: bin:x:1:root,bin,daemon
RETURN CODE: 0
FAIL2
bin:x:1:bin,daemon
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 1752712 > hwp MEMORY of 1700000
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-212-198-218
Red Hat Enterprise Linux Server release 6.3 Beta (Santiago)
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
######################################################################################
# NEW TEST: ## Verify swap size ... 
######################################################################################
parted -l | grep linux-swap | awk '{print $4}' | awk -F'MB' '{print $1}'
swap size = 940
COMMAND:  test 940 -gt 0
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify turning on/off swap file ... 
######################################################################################
COMMAND:  /sbin/swapoff /dev/xvde3 && /sbin/swapon /dev/xvde3
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rsyslog is on ... 
######################################################################################
COMMAND:  chkconfig --list | grep rsyslog | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rsyslog config ... 
######################################################################################
COMMAND:  md5sum /etc/rsyslog.conf | cut -f 1 -d  " "
RESULT: 8b91b32300134e98ef4aee632ed61e21 
EXPECTED RESULT: bd4e328df4b59d41979ef7202a05e074 OR 15936b6fe4e8fadcea87b54de495f975 
RETURN CODE: 0
FAIL2
8b91b32300134e98ef4aee632ed61e21
######################################################################################
# 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 ... 
######################################################################################
Detected rpm kernel version: package kernel-xen is not installed
Detected uname kernel version: 2.6.32-262.el6.i686
COMMAND:  false
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 1
FAIL2

######################################################################################
# NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ... 
######################################################################################
COMMAND:  cat /boot/grub/menu.lst | grep package kernel-xen is not installed
grep: kernel-xen: No such file or directory
grep: is: No such file or directory
grep: not: No such file or directory
grep: installed: No such file or directory
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 2
FAIL2

######################################################################################
# NEW TEST: ## Verify operating system ... 
######################################################################################
COMMAND:  /bin/uname -o

Comment 2 mkovacik 2012-05-10 10:20:52 UTC
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: 5.8
RETURN CODE: 0
FAIL2
6.3
######################################################################################
# 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@cn.fujitsu.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/i386/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/i386/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 5,517
rhui-us-east-1-rhel-server-releases-optional Red Hat Enterprise Linux Ser 3,192
repolist: 8,710 
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/i386/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/i386/optional/os error was
14: problem with the local client certificate
=============================== N/S Matched: zsh ===============================
python-twisted-core-zsh.i686 : Tab completion for Zsh and Twisted Core
zsh-html.i686 : Zsh shell manual in html format
zsh.i686 : 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/i386/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/i386/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: glibc-devel-2.12-1.47.el6_2.9.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: glibc = 2.12-1.47.el6_2.9
           Installed: glibc-2.12-1.78.el6.i686 (@koji-override-0/$releasever)
               glibc = 2.12-1.78.el6
           Available: glibc-2.12-1.7.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6
           Available: glibc-2.12-1.7.el6_0.3.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.3
           Available: glibc-2.12-1.7.el6_0.4.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.4
           Available: glibc-2.12-1.7.el6_0.5.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.5
           Available: glibc-2.12-1.25.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.25.el6
           Available: glibc-2.12-1.25.el6_1.3.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.25.el6_1.3
           Available: glibc-2.12-1.47.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6
           Available: glibc-2.12-1.47.el6_2.5.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.5
           Available: glibc-2.12-1.47.el6_2.9.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.9
Error: Package: systemtap-1.6-5.el6_2.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: systemtap-runtime = 1.6-5.el6_2
           Installed: systemtap-runtime-1.7-3.el6.i686 (@koji-override-0/$releasever)
               systemtap-runtime = 1.7-3.el6
           Available: systemtap-runtime-1.2-9.el6.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.2-9.el6
           Available: systemtap-runtime-1.2-11.el6_0.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.2-11.el6_0
           Available: systemtap-runtime-1.4-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6
           Available: systemtap-runtime-1.4-6.el6_1.1.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.1
           Available: systemtap-runtime-1.4-6.el6_1.2.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.2
           Available: systemtap-runtime-1.4-6.el6_1.3.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.3
           Available: systemtap-runtime-1.6-4.el6.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.6-4.el6
           Available: systemtap-runtime-1.6-5.el6_2.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.6-5.el6_2
Error: Package: glibc-headers-2.12-1.47.el6_2.9.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: glibc = 2.12-1.47.el6_2.9
           Installed: glibc-2.12-1.78.el6.i686 (@koji-override-0/$releasever)
               glibc = 2.12-1.78.el6
           Available: glibc-2.12-1.7.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6
           Available: glibc-2.12-1.7.el6_0.3.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.3
           Available: glibc-2.12-1.7.el6_0.4.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.4
           Available: glibc-2.12-1.7.el6_0.5.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.5
           Available: glibc-2.12-1.25.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.25.el6
           Available: glibc-2.12-1.25.el6_1.3.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.25.el6_1.3
           Available: glibc-2.12-1.47.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6
           Available: glibc-2.12-1.47.el6_2.5.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.5
           Available: glibc-2.12-1.47.el6_2.9.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.9
Error: Package: gcc-gfortran-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: libgfortran = 4.4.6-3.el6
           Installed: libgfortran-4.4.6-4.el6.i686 (@koji-override-0/$releasever)
               libgfortran = 4.4.4-15.el6
               libgfortran = 4.4.6-4.el6
           Available: libgfortran-4.4.4-13.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgfortran = 4.4.4-13.el6
           Available: libgfortran-4.4.5-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgfortran = 4.4.5-6.el6
               libgfortran = 4.4.4-15.el6
           Available: libgfortran-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgfortran = 4.4.6-3.el6
               libgfortran = 4.4.4-15.el6
Error: Package: gcc-c++-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: libstdc++ = 4.4.6-3.el6
           Installed: libstdc++-4.4.6-4.el6.i686 (@koji-override-0/$releasever)
               libstdc++ = 4.4.4-15.el6
               libstdc++ = 4.4.6-4.el6
           Available: libstdc++-4.4.4-13.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++ = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++ = 4.4.5-6.el6
               libstdc++ = 4.4.4-15.el6
           Available: libstdc++-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++ = 4.4.6-3.el6
               libstdc++ = 4.4.4-15.el6
Error: Package: gcc-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: libgomp = 4.4.6-3.el6
           Installed: libgomp-4.4.6-4.el6.i686 (@koji-override-0/$releasever)
               libgomp = 4.4.4-15.el6
               libgomp = 4.4.6-4.el6
           Available: libgomp-4.4.4-13.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgomp = 4.4.4-13.el6
           Available: libgomp-4.4.5-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgomp = 4.4.5-6.el6
               libgomp = 4.4.4-15.el6
           Available: libgomp-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgomp = 4.4.6-3.el6
               libgomp = 4.4.4-15.el6
Error: Package: libstdc++-devel-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: libstdc++(x86-32) = 4.4.6-3.el6
           Installed: libstdc++-4.4.6-4.el6.i686 (@koji-override-0/$releasever)
               libstdc++(x86-32) = 4.4.6-4.el6
           Available: libstdc++-4.4.4-13.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++(x86-32) = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++(x86-32) = 4.4.5-6.el6
           Available: libstdc++-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++(x86-32) = 4.4.6-3.el6
Error: Package: rpm-build-4.8.0-19.el6_2.1.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: rpm = 4.8.0-19.el6_2.1
           Installed: rpm-4.8.0-27.el6.i686 (@koji-override-0/$releasever)
               rpm = 4.8.0-27.el6
           Available: rpm-4.8.0-12.el6.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-12.el6
           Available: rpm-4.8.0-16.el6.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-16.el6
           Available: rpm-4.8.0-16.el6_1.1.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-16.el6_1.1
           Available: rpm-4.8.0-19.el6.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-19.el6
           Available: rpm-4.8.0-19.el6_2.1.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-19.el6_2.1
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/i386/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/i386/optional/os error was
14: problem with the local client certificate
Setting up Group Process
Package matching 1:make-3.81-19.el6.i686 already installed. Checking for update.
Package patch-2.6-6.el6.i686 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.i686 already installed and latest version
Package gettext-0.17-16.el6.i686 already installed and latest version
Package matching binutils-2.20.51.0.2-5.28.el6.i686 already installed. Checking for update.
Package elfutils-0.152-1.el6.i686 already installed and latest version
Package cvs-1.11.23-11.el6_2.1.i686 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.i686 0:2.4.1-5.el6 will be installed
---> Package byacc.i686 0:1.9.20070509-6.1.el6 will be installed
---> Package cscope.i686 0:15.6-6.el6 will be installed
---> Package ctags.i686 0:5.8-2.el6 will be installed
---> Package diffstat.i686 0:1.51-2.el6 will be installed
---> Package doxygen.i686 1:1.6.1-6.el6 will be installed
---> Package flex.i686 0:2.5.35-8.el6 will be installed
---> Package gcc.i686 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.i686
--> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-3.el6.i686
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-3.el6.i686
---> Package gcc-c++.i686 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.i686
--> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
--> Processing Dependency: libmpfr.so.1 for package: gcc-c++-4.4.6-3.el6.i686
---> Package gcc-gfortran.i686 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.i686
---> Package git.i686 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.i686
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.i686
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.i686
---> Package indent.i686 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.i686 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.i686 0:0.3.1-3.1.el6 will be installed
---> Package rcs.i686 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.i686 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.i686
---> Package subversion.i686 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.i686
--> Processing Dependency: libneon.so.27 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libaprutil-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libapr-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686
---> Package swig.i686 0:1.3.40-6.el6 will be installed
---> Package systemtap.i686 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.i686
--> Processing Dependency: kernel-devel for package: systemtap-1.6-5.el6_2.i686
--> Running transaction check
---> Package apr.i686 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util.i686 0:1.3.9-3.el6_0.1 will be installed
---> Package cloog-ppl.i686 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2 for package: cloog-ppl-0.15.7-1.2.el6.i686
--> Processing Dependency: libppl.so.7 for package: cloog-ppl-0.15.7-1.2.el6.i686
---> Package cpp.i686 0:4.4.6-3.el6 will be installed
---> Package gcc.i686 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.i686
---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
---> Package gcc-gfortran.i686 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.i686
---> Package gettext-devel.i686 0:0.17-16.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libgettextpo.so.0 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libgcj_bc.so.1 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libasprintf.so.0 for package: gettext-devel-0.17-16.el6.i686
---> Package glibc-devel.i686 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.i686
--> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.i686
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.47.el6_2.9.i686
---> Package kernel-devel.i686 0:2.6.32-220.13.1.el6 will be installed
---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686
---> Package mpfr.i686 0:2.4.1-6.el6 will be installed
---> Package neon.i686 0:0.29.3-1.2.el6 will be installed
--> Processing Dependency: libproxy.so.0 for package: neon-0.29.3-1.2.el6.i686
--> Processing Dependency: libpakchois.so.0 for package: neon-0.29.3-1.2.el6.i686
---> 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.i686 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.i686
---> Package systemtap.i686 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.i686
--> Running transaction check
---> Package gcc.i686 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.i686
---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
---> Package gcc-gfortran.i686 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.i686
---> Package gettext-libs.i686 0:0.17-16.el6 will be installed
---> Package glibc-devel.i686 0:2.12-1.47.el6_2.9 will be installed
--> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.i686
---> Package glibc-headers.i686 0:2.12-1.47.el6_2.9 will be installed
--> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-headers-2.12-1.47.el6_2.9.i686
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.47.el6_2.9.i686
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.47.el6_2.9.i686
---> Package libgcj.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-3.el6.i686
---> Package libproxy.i686 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.i686
--> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686
---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686
---> Package pakchois.i686 0:0.4-3.2.el6 will be installed
---> Package ppl.i686 0:0.10.2-11.el6 will be installed
---> Package rpm-build.i686 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.i686
---> Package systemtap.i686 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.i686
--> Running transaction check
---> Package gcc.i686 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.i686
---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
---> Package gcc-gfortran.i686 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.i686
---> Package glibc-devel.i686 0:2.12-1.47.el6_2.9 will be installed
--> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.i686
---> Package glibc-headers.i686 0:2.12-1.47.el6_2.9 will be installed
--> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-headers-2.12-1.47.el6_2.9.i686
---> Package kernel-headers.i686 0:2.6.32-220.13.1.el6 will be installed
---> Package libart_lgpl.i686 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.i686 0:0.3.0-2.el6 will be installed
---> Package libproxy-python.i686 0:0.3.0-2.el6 will be installed
---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686
---> Package rpm-build.i686 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.i686
---> Package systemtap.i686 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.i686
--> 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/i386/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/i386/optional/os error was 14: problem with the local client certificate Setting up Group Process Package matching 1:make-3.81-19.el6.i686 already installed. Checking for update. Package patch-2.6-6.el6.i686 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.i686 already installed and latest version Package gettext-0.17-16.el6.i686 already installed and latest version Package matching binutils-2.20.51.0.2-5.28.el6.i686 already installed. Checking for update. Package elfutils-0.152-1.el6.i686 already installed and latest version Package cvs-1.11.23-11.el6_2.1.i686 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.i686 0:2.4.1-5.el6 will be installed ---> Package byacc.i686 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.i686 0:15.6-6.el6 will be installed ---> Package ctags.i686 0:5.8-2.el6 will be installed ---> Package diffstat.i686 0:1.51-2.el6 will be installed ---> Package doxygen.i686 1:1.6.1-6.el6 will be installed ---> Package flex.i686 0:2.5.35-8.el6 will be installed ---> Package gcc.i686 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.i686 --> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-3.el6.i686 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-3.el6.i686 ---> Package gcc-c++.i686 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.i686 --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 --> Processing Dependency: libmpfr.so.1 for package: gcc-c++-4.4.6-3.el6.i686 ---> Package gcc-gfortran.i686 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.i686 ---> Package git.i686 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.i686 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.i686 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.i686 ---> Package indent.i686 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.i686 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.i686 0:0.3.1-3.1.el6 will be installed ---> Package rcs.i686 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.i686 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.i686 ---> Package subversion.i686 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.i686 --> Processing Dependency: libneon.so.27 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libaprutil-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libapr-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686 ---> Package swig.i686 0:1.3.40-6.el6 will be installed ---> Package systemtap.i686 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.i686 --> Processing Dependency: kernel-devel for package: systemtap-1.6-5.el6_2.i686 --> Running transaction check ---> Package apr.i686 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.i686 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.i686 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2 for package: cloog-ppl-0.15.7-1.2.el6.i686 --> Processing Dependency: libppl.so.7 for package: cloog-ppl-0.15.7-1.2.el6.i686 ---> Package cpp.i686 0:4.4.6-3.el6 will be installed ---> Package gcc.i686 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.i686 ---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 ---> Package gcc-gfortran.i686 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.i686 ---> Package gettext-devel.i686 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libgettextpo.so.0 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libgcj_bc.so.1 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libasprintf.so.0 for package: gettext-devel-0.17-16.el6.i686 ---> Package glibc-devel.i686 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.i686 --> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.i686 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.47.el6_2.9.i686 ---> Package kernel-devel.i686 0:2.6.32-220.13.1.el6 will be installed ---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686 ---> Package mpfr.i686 0:2.4.1-6.el6 will be installed ---> Package neon.i686 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libproxy.so.0 for package: neon-0.29.3-1.2.el6.i686 --> Processing Dependency: libpakchois.so.0 for package: neon-0.29.3-1.2.el6.i686 ---> 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.i686 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.i686 ---> Package systemtap.i686 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.i686 --> Running transaction check ---> Package gcc.i686 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.i686 ---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 ---> Package gcc-gfortran.i686 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.i686 ---> Package gettext-libs.i686 0:0.17-16.el6 will be installed ---> Package glibc-devel.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.i686 ---> Package glibc-headers.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-headers-2.12-1.47.el6_2.9.i686 --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.47.el6_2.9.i686 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.47.el6_2.9.i686 ---> Package libgcj.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-3.el6.i686 ---> Package libproxy.i686 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.i686 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686 ---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686 ---> Package pakchois.i686 0:0.4-3.2.el6 will be installed ---> Package ppl.i686 0:0.10.2-11.el6 will be installed ---> Package rpm-build.i686 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.i686 ---> Package systemtap.i686 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.i686 --> Running transaction check ---> Package gcc.i686 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.i686 ---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 ---> Package gcc-gfortran.i686 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.i686 ---> Package glibc-devel.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.i686 ---> Package glibc-headers.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-headers-2.12-1.47.el6_2.9.i686 ---> Package kernel-headers.i686 0:2.6.32-220.13.1.el6 will be installed ---> Package libart_lgpl.i686 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.i686 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.i686 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686 ---> Package rpm-build.i686 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.i686 ---> Package systemtap.i686 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.i686 --> 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/i386/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/i386/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/i386/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/i386/optional/os error was
14: problem with the local client certificate
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package dmidecode.i686 1:2.11-2.el6 will be updated
---> Package dmidecode.i686 1:2.11-2.el6_1 will be an update
---> Package libgcrypt.i686 0:1.4.5-9.el6 will be updated
---> Package libgcrypt.i686 0:1.4.5-9.el6_2.2 will be an update
---> Package libpng.i686 2:1.2.48-1.el6_2 will be updated
---> Package libpng.i686 2:1.2.49-1.el6_2 will be an update
---> Package openssl.i686 0:1.0.0-20.el6_2.3 will be updated
---> Package openssl.i686 0:1.0.0-20.el6_2.4 will be an update
---> Package pam.i686 0:1.1.1-10.el6 will be updated
---> Package pam.i686 0:1.1.1-10.el6_2.1 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package    Arch  Version            Repository                            Size
================================================================================
Updating:
 dmidecode  i686  1:2.11-2.el6_1     rhui-us-east-1-rhel-server-releases   70 k
 libgcrypt  i686  1.4.5-9.el6_2.2    rhui-us-east-1-rhel-server-releases  228 k
 libpng     i686  2:1.2.49-1.el6_2   rhui-us-east-1-rhel-server-releases  184 k
 openssl    i686  1.0.0-20.el6_2.4   rhui-us-east-1-rhel-server-releases  1.4 M
 pam        i686  1.1.1-10.el6_2.1   rhui-us-east-1-rhel-server-releases  656 k

Transaction Summary
================================================================================
Upgrade       5 Package(s)

Total download size: 2.5 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           2.7 MB/s | 2.5 MB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Updating   : pam-1.1.1-10.el6_2.1.i686                                   1/10 

  Updating   : 1:dmidecode-2.11-2.el6_1.i686                               2/10 

  Updating   : 2:libpng-1.2.49-1.el6_2.i686                                3/10 

  Updating   : libgcrypt-1.4.5-9.el6_2.2.i686                              4/10

Comment 3 mkovacik 2012-05-10 10:20:56 UTC
  Updating   : openssl-1.0.0-20.el6_2.4.i686                               5/10 

  Cleanup    : pam-1.1.1-10.el6.i686                                       6/10 

  Cleanup    : 1:dmidecode-2.11-2.el6.i686                                 7/10 

  Cleanup    : 2:libpng-1.2.48-1.el6_2.i686                                8/10 

  Cleanup    : libgcrypt-1.4.5-9.el6.i686                                  9/10 

  Cleanup    : openssl-1.0.0-20.el6_2.3.i686                              10/10 
Installed products updated.

  Verifying  : openssl-1.0.0-20.el6_2.4.i686                               1/10 

  Verifying  : libgcrypt-1.4.5-9.el6_2.2.i686                              2/10 

  Verifying  : 2:libpng-1.2.49-1.el6_2.i686                                3/10 

  Verifying  : 1:dmidecode-2.11-2.el6_1.i686                               4/10 

  Verifying  : pam-1.1.1-10.el6_2.1.i686                                   5/10 

  Verifying  : openssl-1.0.0-20.el6_2.3.i686                               6/10 

  Verifying  : 1:dmidecode-2.11-2.el6.i686                                 7/10 

  Verifying  : pam-1.1.1-10.el6.i686                                       8/10 

  Verifying  : libgcrypt-1.4.5-9.el6.i686                                  9/10 

  Verifying  : 2:libpng-1.2.48-1.el6_2.i686                               10/10 

Updated:
  dmidecode.i686 1:2.11-2.el6_1         libgcrypt.i686 0:1.4.5-9.el6_2.2        
  libpng.i686 2:1.2.49-1.el6_2          openssl.i686 0:1.0.0-20.el6_2.4         
  pam.i686 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/i386/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/i386/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/i386/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/i386/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 = 15
FAILED TESTS = ## Verify group file ... ## Verify group file ... ## Verify group file ... ##test menu.lst ... ##test menu.lst ... ## Verify no missing packages ... ## test repo files ... ## test repo files ... ## Verify rsyslog config ... ## Verify latest installed kernel is running ... ## Verify latest kenerl is in /boot/grub/menu.1st ... ## Verify RPMs ... ## Verify Version 2 ... ## List available groups.. ## Install Development tools group...
LOG FILE = /root/valid/src/validate.log
## Summary ##

######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################

Comment 4 mkovacik 2012-05-10 10:24:35 UTC
IMAGE ID= 
=====image_validation.sh Thu May 10 06:20: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-184-72-69-52.compute-1.amazonaws.com with Image Id : ami-567ca63f, is launched with Instance Id : i-a3db74c5 , Instance Type : m1.small and Arch : i386 in the Region : us-east-1c
The Validate Signature is : U49s/ObCz5HtyxbnH7qrEU+ID60vFCHjQLMRVaKqk5WPumpBGiYIPNvcUarmzRI8zmZQ1Ah+Y0M1
RvI401hTl1q21XsygPnP9g1sKmFUFKg1NDt4AyAZB6bIRsfWLeuA5eER+DcQZ6+12cL6FT0kjQhB
qHOF8LuKCrEQRN8TK28=
This is a Cloud Access image
/root/valid/src
domU-12-31-39-04-34-33
Red Hat Enterprise Linux Server release 6.3 Beta (Santiago)
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-69-52.compute-1.amazonaws.com with Image Id : ami-567ca63f, is launched with Instance Id : i-a3db74c5 , Instance Type : m1.small and Arch : i386 in the Region : us-east-1c
The Validate Signature is : U49s/ObCz5HtyxbnH7qrEU+ID60vFCHjQLMRVaKqk5WPumpBGiYIPNvcUarmzRI8zmZQ1Ah+Y0M1
RvI401hTl1q21XsygPnP9g1sKmFUFKg1NDt4AyAZB6bIRsfWLeuA5eER+DcQZ6+12cL6FT0kjQhB
qHOF8LuKCrEQRN8TK28=
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:root
RETURN CODE: 0
FAIL2
root:x:0:
COMMAND:  cat /etc/group | grep daemon:x:2
RESULT: daemon:x:2:bin,daemon 
EXPECTED RESULT: daemon:x:2:root,bin,daemon
RETURN CODE: 0
FAIL2
daemon:x:2:bin,daemon
COMMAND:  cat /etc/group | grep bin:x:1
RESULT: bin:x:1:bin,daemon 
EXPECTED RESULT: bin:x:1:root,bin,daemon
RETURN CODE: 0
FAIL2
bin:x:1:bin,daemon
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 1711868 > hwp MEMORY of 1700000
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-04-34-33
Red Hat Enterprise Linux Server release 6.3 Beta (Santiago)
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
######################################################################################
# NEW TEST: ## Verify swap size ... 
######################################################################################
parted -l | grep linux-swap | awk '{print $4}' | awk -F'MB' '{print $1}'
swap size = 940
COMMAND:  test 940 -gt 0
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify turning on/off swap file ... 
######################################################################################
COMMAND:  /sbin/swapoff /dev/xvde3 && /sbin/swapon /dev/xvde3
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rsyslog is on ... 
######################################################################################
COMMAND:  chkconfig --list | grep rsyslog | cut -f 5
RESULT: 3:on 
EXPECTED RESULT: 3:on
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify rsyslog config ... 
######################################################################################
COMMAND:  md5sum /etc/rsyslog.conf | cut -f 1 -d  " "
RESULT: 8b91b32300134e98ef4aee632ed61e21 
EXPECTED RESULT: bd4e328df4b59d41979ef7202a05e074 OR 15936b6fe4e8fadcea87b54de495f975 
RETURN CODE: 0
FAIL2
8b91b32300134e98ef4aee632ed61e21
######################################################################################
# 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 ... 
######################################################################################
Detected rpm kernel version: package kernel-xen is not installed
Detected uname kernel version: 2.6.32-262.el6.i686
COMMAND:  false
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 1
FAIL2

######################################################################################
# NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ... 
######################################################################################
COMMAND:  cat /boot/grub/menu.lst | grep package kernel-xen is not installed
grep: kernel-xen: No such file or directory
grep: is: No such file or directory
grep: not: No such file or directory
grep: installed: No such file or directory
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 2
FAIL2

######################################################################################
# NEW TEST: ## Verify operating system ... 
######################################################################################
COMMAND:  /bin/uname -o

Comment 5 mkovacik 2012-05-10 10:24:40 UTC
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: 5.8
RETURN CODE: 0
FAIL2
6.3
######################################################################################
# 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@cn.fujitsu.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/i386/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/i386/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 5,517
rhui-us-east-1-rhel-server-releases-optional Red Hat Enterprise Linux Ser 3,192
repolist: 8,710 
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/i386/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/i386/optional/os error was
14: problem with the local client certificate
=============================== N/S Matched: zsh ===============================
python-twisted-core-zsh.i686 : Tab completion for Zsh and Twisted Core
zsh-html.i686 : Zsh shell manual in html format
zsh.i686 : 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/i386/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/i386/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: glibc-devel-2.12-1.47.el6_2.9.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: glibc = 2.12-1.47.el6_2.9
           Installed: glibc-2.12-1.78.el6.i686 (@koji-override-0/$releasever)
               glibc = 2.12-1.78.el6
           Available: glibc-2.12-1.7.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6
           Available: glibc-2.12-1.7.el6_0.3.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.3
           Available: glibc-2.12-1.7.el6_0.4.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.4
           Available: glibc-2.12-1.7.el6_0.5.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.5
           Available: glibc-2.12-1.25.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.25.el6
           Available: glibc-2.12-1.25.el6_1.3.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.25.el6_1.3
           Available: glibc-2.12-1.47.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6
           Available: glibc-2.12-1.47.el6_2.5.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.5
           Available: glibc-2.12-1.47.el6_2.9.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.9
Error: Package: systemtap-1.6-5.el6_2.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: systemtap-runtime = 1.6-5.el6_2
           Installed: systemtap-runtime-1.7-3.el6.i686 (@koji-override-0/$releasever)
               systemtap-runtime = 1.7-3.el6
           Available: systemtap-runtime-1.2-9.el6.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.2-9.el6
           Available: systemtap-runtime-1.2-11.el6_0.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.2-11.el6_0
           Available: systemtap-runtime-1.4-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6
           Available: systemtap-runtime-1.4-6.el6_1.1.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.1
           Available: systemtap-runtime-1.4-6.el6_1.2.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.2
           Available: systemtap-runtime-1.4-6.el6_1.3.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.3
           Available: systemtap-runtime-1.6-4.el6.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.6-4.el6
           Available: systemtap-runtime-1.6-5.el6_2.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.6-5.el6_2
Error: Package: glibc-headers-2.12-1.47.el6_2.9.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: glibc = 2.12-1.47.el6_2.9
           Installed: glibc-2.12-1.78.el6.i686 (@koji-override-0/$releasever)
               glibc = 2.12-1.78.el6
           Available: glibc-2.12-1.7.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6
           Available: glibc-2.12-1.7.el6_0.3.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.3
           Available: glibc-2.12-1.7.el6_0.4.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.4
           Available: glibc-2.12-1.7.el6_0.5.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.5
           Available: glibc-2.12-1.25.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.25.el6
           Available: glibc-2.12-1.25.el6_1.3.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.25.el6_1.3
           Available: glibc-2.12-1.47.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6
           Available: glibc-2.12-1.47.el6_2.5.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.5
           Available: glibc-2.12-1.47.el6_2.9.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.9
Error: Package: gcc-gfortran-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: libgfortran = 4.4.6-3.el6
           Installed: libgfortran-4.4.6-4.el6.i686 (@koji-override-0/$releasever)
               libgfortran = 4.4.4-15.el6
               libgfortran = 4.4.6-4.el6
           Available: libgfortran-4.4.4-13.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgfortran = 4.4.4-13.el6
           Available: libgfortran-4.4.5-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgfortran = 4.4.5-6.el6
               libgfortran = 4.4.4-15.el6
           Available: libgfortran-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgfortran = 4.4.6-3.el6
               libgfortran = 4.4.4-15.el6
Error: Package: gcc-c++-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: libstdc++ = 4.4.6-3.el6
           Installed: libstdc++-4.4.6-4.el6.i686 (@koji-override-0/$releasever)
               libstdc++ = 4.4.4-15.el6
               libstdc++ = 4.4.6-4.el6
           Available: libstdc++-4.4.4-13.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++ = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++ = 4.4.5-6.el6
               libstdc++ = 4.4.4-15.el6
           Available: libstdc++-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++ = 4.4.6-3.el6
               libstdc++ = 4.4.4-15.el6
Error: Package: gcc-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: libgomp = 4.4.6-3.el6
           Installed: libgomp-4.4.6-4.el6.i686 (@koji-override-0/$releasever)
               libgomp = 4.4.4-15.el6
               libgomp = 4.4.6-4.el6
           Available: libgomp-4.4.4-13.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgomp = 4.4.4-13.el6
           Available: libgomp-4.4.5-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgomp = 4.4.5-6.el6
               libgomp = 4.4.4-15.el6
           Available: libgomp-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgomp = 4.4.6-3.el6
               libgomp = 4.4.4-15.el6
Error: Package: libstdc++-devel-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: libstdc++(x86-32) = 4.4.6-3.el6
           Installed: libstdc++-4.4.6-4.el6.i686 (@koji-override-0/$releasever)
               libstdc++(x86-32) = 4.4.6-4.el6
           Available: libstdc++-4.4.4-13.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++(x86-32) = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++(x86-32) = 4.4.5-6.el6
           Available: libstdc++-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++(x86-32) = 4.4.6-3.el6
Error: Package: rpm-build-4.8.0-19.el6_2.1.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: rpm = 4.8.0-19.el6_2.1
           Installed: rpm-4.8.0-27.el6.i686 (@koji-override-0/$releasever)
               rpm = 4.8.0-27.el6
           Available: rpm-4.8.0-12.el6.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-12.el6
           Available: rpm-4.8.0-16.el6.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-16.el6
           Available: rpm-4.8.0-16.el6_1.1.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-16.el6_1.1
           Available: rpm-4.8.0-19.el6.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-19.el6
           Available: rpm-4.8.0-19.el6_2.1.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-19.el6_2.1
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/i386/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/i386/optional/os error was
14: problem with the local client certificate
Setting up Group Process
Package matching 1:make-3.81-19.el6.i686 already installed. Checking for update.
Package patch-2.6-6.el6.i686 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.i686 already installed and latest version
Package gettext-0.17-16.el6.i686 already installed and latest version
Package matching binutils-2.20.51.0.2-5.28.el6.i686 already installed. Checking for update.
Package elfutils-0.152-1.el6.i686 already installed and latest version
Package cvs-1.11.23-11.el6_2.1.i686 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.i686 0:2.4.1-5.el6 will be installed
---> Package byacc.i686 0:1.9.20070509-6.1.el6 will be installed
---> Package cscope.i686 0:15.6-6.el6 will be installed
---> Package ctags.i686 0:5.8-2.el6 will be installed
---> Package diffstat.i686 0:1.51-2.el6 will be installed
---> Package doxygen.i686 1:1.6.1-6.el6 will be installed
---> Package flex.i686 0:2.5.35-8.el6 will be installed
---> Package gcc.i686 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.i686
--> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-3.el6.i686
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-3.el6.i686
---> Package gcc-c++.i686 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.i686
--> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
--> Processing Dependency: libmpfr.so.1 for package: gcc-c++-4.4.6-3.el6.i686
---> Package gcc-gfortran.i686 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.i686
---> Package git.i686 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.i686
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.i686
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.i686
---> Package indent.i686 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.i686 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.i686 0:0.3.1-3.1.el6 will be installed
---> Package rcs.i686 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.i686 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.i686
---> Package subversion.i686 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.i686
--> Processing Dependency: libneon.so.27 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libaprutil-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libapr-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686
---> Package swig.i686 0:1.3.40-6.el6 will be installed
---> Package systemtap.i686 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.i686
--> Processing Dependency: kernel-devel for package: systemtap-1.6-5.el6_2.i686
--> Running transaction check
---> Package apr.i686 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util.i686 0:1.3.9-3.el6_0.1 will be installed
---> Package cloog-ppl.i686 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2 for package: cloog-ppl-0.15.7-1.2.el6.i686
--> Processing Dependency: libppl.so.7 for package: cloog-ppl-0.15.7-1.2.el6.i686
---> Package cpp.i686 0:4.4.6-3.el6 will be installed
---> Package gcc.i686 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.i686
---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
---> Package gcc-gfortran.i686 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.i686
---> Package gettext-devel.i686 0:0.17-16.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libgettextpo.so.0 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libgcj_bc.so.1 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libasprintf.so.0 for package: gettext-devel-0.17-16.el6.i686
---> Package glibc-devel.i686 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.i686
--> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.i686
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.47.el6_2.9.i686
---> Package kernel-devel.i686 0:2.6.32-220.13.1.el6 will be installed
---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686
---> Package mpfr.i686 0:2.4.1-6.el6 will be installed
---> Package neon.i686 0:0.29.3-1.2.el6 will be installed
--> Processing Dependency: libproxy.so.0 for package: neon-0.29.3-1.2.el6.i686
--> Processing Dependency: libpakchois.so.0 for package: neon-0.29.3-1.2.el6.i686
---> 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.i686 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.i686
---> Package systemtap.i686 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.i686
--> Running transaction check
---> Package gcc.i686 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.i686
---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
---> Package gcc-gfortran.i686 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.i686
---> Package gettext-libs.i686 0:0.17-16.el6 will be installed
---> Package glibc-devel.i686 0:2.12-1.47.el6_2.9 will be installed
--> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.i686
---> Package glibc-headers.i686 0:2.12-1.47.el6_2.9 will be installed
--> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-headers-2.12-1.47.el6_2.9.i686
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.47.el6_2.9.i686
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.47.el6_2.9.i686
---> Package libgcj.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-3.el6.i686
---> Package libproxy.i686 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.i686
--> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686
---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686
---> Package pakchois.i686 0:0.4-3.2.el6 will be installed
---> Package ppl.i686 0:0.10.2-11.el6 will be installed
---> Package rpm-build.i686 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.i686
---> Package systemtap.i686 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.i686
--> Running transaction check
---> Package gcc.i686 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.i686
---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
---> Package gcc-gfortran.i686 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.i686
---> Package glibc-devel.i686 0:2.12-1.47.el6_2.9 will be installed
--> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.i686
---> Package glibc-headers.i686 0:2.12-1.47.el6_2.9 will be installed
--> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-headers-2.12-1.47.el6_2.9.i686
---> Package kernel-headers.i686 0:2.6.32-220.13.1.el6 will be installed
---> Package libart_lgpl.i686 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.i686 0:0.3.0-2.el6 will be installed
---> Package libproxy-python.i686 0:0.3.0-2.el6 will be installed
---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686
---> Package rpm-build.i686 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.i686
---> Package systemtap.i686 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.i686
--> 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/i386/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/i386/optional/os error was 14: problem with the local client certificate Setting up Group Process Package matching 1:make-3.81-19.el6.i686 already installed. Checking for update. Package patch-2.6-6.el6.i686 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.i686 already installed and latest version Package gettext-0.17-16.el6.i686 already installed and latest version Package matching binutils-2.20.51.0.2-5.28.el6.i686 already installed. Checking for update. Package elfutils-0.152-1.el6.i686 already installed and latest version Package cvs-1.11.23-11.el6_2.1.i686 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.i686 0:2.4.1-5.el6 will be installed ---> Package byacc.i686 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.i686 0:15.6-6.el6 will be installed ---> Package ctags.i686 0:5.8-2.el6 will be installed ---> Package diffstat.i686 0:1.51-2.el6 will be installed ---> Package doxygen.i686 1:1.6.1-6.el6 will be installed ---> Package flex.i686 0:2.5.35-8.el6 will be installed ---> Package gcc.i686 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.i686 --> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-3.el6.i686 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-3.el6.i686 ---> Package gcc-c++.i686 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.i686 --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 --> Processing Dependency: libmpfr.so.1 for package: gcc-c++-4.4.6-3.el6.i686 ---> Package gcc-gfortran.i686 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.i686 ---> Package git.i686 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.i686 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.i686 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.i686 ---> Package indent.i686 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.i686 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.i686 0:0.3.1-3.1.el6 will be installed ---> Package rcs.i686 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.i686 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.i686 ---> Package subversion.i686 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.i686 --> Processing Dependency: libneon.so.27 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libaprutil-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libapr-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686 ---> Package swig.i686 0:1.3.40-6.el6 will be installed ---> Package systemtap.i686 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.i686 --> Processing Dependency: kernel-devel for package: systemtap-1.6-5.el6_2.i686 --> Running transaction check ---> Package apr.i686 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.i686 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.i686 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2 for package: cloog-ppl-0.15.7-1.2.el6.i686 --> Processing Dependency: libppl.so.7 for package: cloog-ppl-0.15.7-1.2.el6.i686 ---> Package cpp.i686 0:4.4.6-3.el6 will be installed ---> Package gcc.i686 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.i686 ---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 ---> Package gcc-gfortran.i686 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.i686 ---> Package gettext-devel.i686 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libgettextpo.so.0 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libgcj_bc.so.1 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libasprintf.so.0 for package: gettext-devel-0.17-16.el6.i686 ---> Package glibc-devel.i686 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.i686 --> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.i686 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.47.el6_2.9.i686 ---> Package kernel-devel.i686 0:2.6.32-220.13.1.el6 will be installed ---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686 ---> Package mpfr.i686 0:2.4.1-6.el6 will be installed ---> Package neon.i686 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libproxy.so.0 for package: neon-0.29.3-1.2.el6.i686 --> Processing Dependency: libpakchois.so.0 for package: neon-0.29.3-1.2.el6.i686 ---> 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.i686 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.i686 ---> Package systemtap.i686 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.i686 --> Running transaction check ---> Package gcc.i686 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.i686 ---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 ---> Package gcc-gfortran.i686 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.i686 ---> Package gettext-libs.i686 0:0.17-16.el6 will be installed ---> Package glibc-devel.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.i686 ---> Package glibc-headers.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-headers-2.12-1.47.el6_2.9.i686 --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.47.el6_2.9.i686 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.47.el6_2.9.i686 ---> Package libgcj.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-3.el6.i686 ---> Package libproxy.i686 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.i686 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686 ---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686 ---> Package pakchois.i686 0:0.4-3.2.el6 will be installed ---> Package ppl.i686 0:0.10.2-11.el6 will be installed ---> Package rpm-build.i686 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.i686 ---> Package systemtap.i686 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.i686 --> Running transaction check ---> Package gcc.i686 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.i686 ---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 ---> Package gcc-gfortran.i686 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.i686 ---> Package glibc-devel.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.i686 ---> Package glibc-headers.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-headers-2.12-1.47.el6_2.9.i686 ---> Package kernel-headers.i686 0:2.6.32-220.13.1.el6 will be installed ---> Package libart_lgpl.i686 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.i686 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.i686 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686 ---> Package rpm-build.i686 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.i686 ---> Package systemtap.i686 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.i686 --> 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/i386/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/i386/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/i386/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/i386/optional/os error was
14: problem with the local client certificate
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package dmidecode.i686 1:2.11-2.el6 will be updated
---> Package dmidecode.i686 1:2.11-2.el6_1 will be an update
---> Package libgcrypt.i686 0:1.4.5-9.el6 will be updated
---> Package libgcrypt.i686 0:1.4.5-9.el6_2.2 will be an update
---> Package libpng.i686 2:1.2.48-1.el6_2 will be updated
---> Package libpng.i686 2:1.2.49-1.el6_2 will be an update
---> Package openssl.i686 0:1.0.0-20.el6_2.3 will be updated
---> Package openssl.i686 0:1.0.0-20.el6_2.4 will be an update
---> Package pam.i686 0:1.1.1-10.el6 will be updated
---> Package pam.i686 0:1.1.1-10.el6_2.1 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package    Arch  Version            Repository                            Size
================================================================================
Updating:
 dmidecode  i686  1:2.11-2.el6_1     rhui-us-east-1-rhel-server-releases   70 k
 libgcrypt  i686  1.4.5-9.el6_2.2    rhui-us-east-1-rhel-server-releases  228 k
 libpng     i686  2:1.2.49-1.el6_2   rhui-us-east-1-rhel-server-releases  184 k
 openssl    i686  1.0.0-20.el6_2.4   rhui-us-east-1-rhel-server-releases  1.4 M
 pam        i686  1.1.1-10.el6_2.1   rhui-us-east-1-rhel-server-releases  656 k

Transaction Summary
================================================================================
Upgrade       5 Package(s)

Total download size: 2.5 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           2.8 MB/s | 2.5 MB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Updating   : pam-1.1.1-10.el6_2.1.i686                                   1/10 

  Updating   : 1:dmidecode-2.11-2.el6_1.i686                               2/10 

  Updating   : 2:libpng-1.2.49-1.el6_2.i686                                3/10 

  Updating   : libgcrypt-1.4.5-9.el6_2.2.i686                              4/10

Comment 6 mkovacik 2012-05-10 10:24:43 UTC
  Updating   : openssl-1.0.0-20.el6_2.4.i686                               5/10 

  Cleanup    : pam-1.1.1-10.el6.i686                                       6/10 

  Cleanup    : 1:dmidecode-2.11-2.el6.i686                                 7/10 

  Cleanup    : 2:libpng-1.2.48-1.el6_2.i686                                8/10 

  Cleanup    : libgcrypt-1.4.5-9.el6.i686                                  9/10 

  Cleanup    : openssl-1.0.0-20.el6_2.3.i686                              10/10 
Installed products updated.

  Verifying  : openssl-1.0.0-20.el6_2.4.i686                               1/10 

  Verifying  : libgcrypt-1.4.5-9.el6_2.2.i686                              2/10 

  Verifying  : 2:libpng-1.2.49-1.el6_2.i686                                3/10 

  Verifying  : 1:dmidecode-2.11-2.el6_1.i686                               4/10 

  Verifying  : pam-1.1.1-10.el6_2.1.i686                                   5/10 

  Verifying  : openssl-1.0.0-20.el6_2.3.i686                               6/10 

  Verifying  : 1:dmidecode-2.11-2.el6.i686                                 7/10 

  Verifying  : pam-1.1.1-10.el6.i686                                       8/10 

  Verifying  : libgcrypt-1.4.5-9.el6.i686                                  9/10 

  Verifying  : 2:libpng-1.2.48-1.el6_2.i686                               10/10 

Updated:
  dmidecode.i686 1:2.11-2.el6_1         libgcrypt.i686 0:1.4.5-9.el6_2.2        
  libpng.i686 2:1.2.49-1.el6_2          openssl.i686 0:1.0.0-20.el6_2.4         
  pam.i686 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/i386/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/i386/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/i386/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/i386/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 = 15
FAILED TESTS = ## Verify group file ... ## Verify group file ... ## Verify group file ... ##test menu.lst ... ##test menu.lst ... ## Verify no missing packages ... ## test repo files ... ## test repo files ... ## Verify rsyslog config ... ## Verify latest installed kernel is running ... ## Verify latest kenerl is in /boot/grub/menu.1st ... ## Verify RPMs ... ## Verify Version 2 ... ## List available groups.. ## Install Development tools group...
LOG FILE = /root/valid/src/validate.log
## Summary ##

######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################

Comment 7 mkovacik 2012-05-10 10:26:57 UTC
IMAGE ID= 
=====image_validation.sh Thu May 10 06:19:36 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-67-202-13-195.compute-1.amazonaws.com with Image Id : ami-567ca63f, is launched with Instance Id : i-67db7401 , Instance Type : t1.micro and Arch : i386 in the Region : us-east-1c
The Validate Signature is : ISm5dZ2I4LwRGkPbaB7QKsKIXvlXTBYkxTueA9VPDtV+maSPgi6QYsBq0AiNM6OTrR9TzP3hya90
yAGhKbPrFL3Xf/TYLbd25klEEq18uvCraheh6sOSLI6ocbRBB21i3YeNgw4J8eeRKQK9Eqlv9mYf
wclCJla+Z+hggvuHXwE=
This is a Cloud Access image
/root/valid/src
domU-12-31-39-06-F2-99
Red Hat Enterprise Linux Server release 6.3 Beta (Santiago)
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-67-202-13-195.compute-1.amazonaws.com with Image Id : ami-567ca63f, is launched with Instance Id : i-67db7401 , Instance Type : t1.micro and Arch : i386 in the Region : us-east-1c
The Validate Signature is : ISm5dZ2I4LwRGkPbaB7QKsKIXvlXTBYkxTueA9VPDtV+maSPgi6QYsBq0AiNM6OTrR9TzP3hya90
yAGhKbPrFL3Xf/TYLbd25klEEq18uvCraheh6sOSLI6ocbRBB21i3YeNgw4J8eeRKQK9Eqlv9mYf
wclCJla+Z+hggvuHXwE=
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:root
RETURN CODE: 0
FAIL2
root:x:0:
COMMAND:  cat /etc/group | grep daemon:x:2
RESULT: daemon:x:2:bin,daemon 
EXPECTED RESULT: daemon:x:2:root,bin,daemon
RETURN CODE: 0
FAIL2
daemon:x:2:bin,daemon
COMMAND:  cat /etc/group | grep bin:x:1
RESULT: bin:x:1:bin,daemon 
EXPECTED RESULT: bin:x:1:root,bin,daemon
RETURN CODE: 0
FAIL2
bin:x:1:bin,daemon
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 610356 > 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
domU-12-31-39-06-F2-99
Red Hat Enterprise Linux Server release 6.3 Beta (Santiago)
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: bd4e328df4b59d41979ef7202a05e074 OR 15936b6fe4e8fadcea87b54de495f975 
RETURN CODE: 0
FAIL2
8b91b32300134e98ef4aee632ed61e21
######################################################################################
# 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 ... 
######################################################################################
Detected rpm kernel version: package kernel-xen is not installed
Detected uname kernel version: 2.6.32-262.el6.i686
COMMAND:  false
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 1
FAIL2

######################################################################################
# NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ... 
######################################################################################
COMMAND:  cat /boot/grub/menu.lst | grep package kernel-xen is not installed
grep: kernel-xen: No such file or directory
grep: is: No such file or directory
grep: not: No such file or directory
grep: installed: No such file or directory
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 2
FAIL2

######################################################################################
# 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

Comment 8 mkovacik 2012-05-10 10:27:01 UTC
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: 5.8
RETURN CODE: 0
FAIL2
6.3
######################################################################################
# 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@cn.fujitsu.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/i386/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/i386/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 5,517
rhui-us-east-1-rhel-server-releases-optional Red Hat Enterprise Linux Ser 3,192
repolist: 8,710 
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/i386/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/i386/optional/os error was
14: problem with the local client certificate
=============================== N/S Matched: zsh ===============================
python-twisted-core-zsh.i686 : Tab completion for Zsh and Twisted Core
zsh-html.i686 : Zsh shell manual in html format
zsh.i686 : 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/i386/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/i386/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: glibc-devel-2.12-1.47.el6_2.9.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: glibc = 2.12-1.47.el6_2.9
           Installed: glibc-2.12-1.78.el6.i686 (@koji-override-0/$releasever)
               glibc = 2.12-1.78.el6
           Available: glibc-2.12-1.7.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6
           Available: glibc-2.12-1.7.el6_0.3.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.3
           Available: glibc-2.12-1.7.el6_0.4.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.4
           Available: glibc-2.12-1.7.el6_0.5.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.5
           Available: glibc-2.12-1.25.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.25.el6
           Available: glibc-2.12-1.25.el6_1.3.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.25.el6_1.3
           Available: glibc-2.12-1.47.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6
           Available: glibc-2.12-1.47.el6_2.5.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.5
           Available: glibc-2.12-1.47.el6_2.9.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.9
Error: Package: systemtap-1.6-5.el6_2.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: systemtap-runtime = 1.6-5.el6_2
           Installed: systemtap-runtime-1.7-3.el6.i686 (@koji-override-0/$releasever)
               systemtap-runtime = 1.7-3.el6
           Available: systemtap-runtime-1.2-9.el6.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.2-9.el6
           Available: systemtap-runtime-1.2-11.el6_0.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.2-11.el6_0
           Available: systemtap-runtime-1.4-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6
           Available: systemtap-runtime-1.4-6.el6_1.1.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.1
           Available: systemtap-runtime-1.4-6.el6_1.2.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.2
           Available: systemtap-runtime-1.4-6.el6_1.3.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.4-6.el6_1.3
           Available: systemtap-runtime-1.6-4.el6.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.6-4.el6
           Available: systemtap-runtime-1.6-5.el6_2.i686 (rhui-us-east-1-rhel-server-releases)
               systemtap-runtime = 1.6-5.el6_2
Error: Package: glibc-headers-2.12-1.47.el6_2.9.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: glibc = 2.12-1.47.el6_2.9
           Installed: glibc-2.12-1.78.el6.i686 (@koji-override-0/$releasever)
               glibc = 2.12-1.78.el6
           Available: glibc-2.12-1.7.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6
           Available: glibc-2.12-1.7.el6_0.3.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.3
           Available: glibc-2.12-1.7.el6_0.4.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.4
           Available: glibc-2.12-1.7.el6_0.5.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.7.el6_0.5
           Available: glibc-2.12-1.25.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.25.el6
           Available: glibc-2.12-1.25.el6_1.3.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.25.el6_1.3
           Available: glibc-2.12-1.47.el6.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6
           Available: glibc-2.12-1.47.el6_2.5.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.5
           Available: glibc-2.12-1.47.el6_2.9.i686 (rhui-us-east-1-rhel-server-releases)
               glibc = 2.12-1.47.el6_2.9
Error: Package: gcc-gfortran-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: libgfortran = 4.4.6-3.el6
           Installed: libgfortran-4.4.6-4.el6.i686 (@koji-override-0/$releasever)
               libgfortran = 4.4.4-15.el6
               libgfortran = 4.4.6-4.el6
           Available: libgfortran-4.4.4-13.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgfortran = 4.4.4-13.el6
           Available: libgfortran-4.4.5-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgfortran = 4.4.5-6.el6
               libgfortran = 4.4.4-15.el6
           Available: libgfortran-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgfortran = 4.4.6-3.el6
               libgfortran = 4.4.4-15.el6
Error: Package: gcc-c++-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: libstdc++ = 4.4.6-3.el6
           Installed: libstdc++-4.4.6-4.el6.i686 (@koji-override-0/$releasever)
               libstdc++ = 4.4.4-15.el6
               libstdc++ = 4.4.6-4.el6
           Available: libstdc++-4.4.4-13.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++ = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++ = 4.4.5-6.el6
               libstdc++ = 4.4.4-15.el6
           Available: libstdc++-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++ = 4.4.6-3.el6
               libstdc++ = 4.4.4-15.el6
Error: Package: gcc-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: libgomp = 4.4.6-3.el6
           Installed: libgomp-4.4.6-4.el6.i686 (@koji-override-0/$releasever)
               libgomp = 4.4.4-15.el6
               libgomp = 4.4.6-4.el6
           Available: libgomp-4.4.4-13.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgomp = 4.4.4-13.el6
           Available: libgomp-4.4.5-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgomp = 4.4.5-6.el6
               libgomp = 4.4.4-15.el6
           Available: libgomp-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libgomp = 4.4.6-3.el6
               libgomp = 4.4.4-15.el6
Error: Package: libstdc++-devel-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: libstdc++(x86-32) = 4.4.6-3.el6
           Installed: libstdc++-4.4.6-4.el6.i686 (@koji-override-0/$releasever)
               libstdc++(x86-32) = 4.4.6-4.el6
           Available: libstdc++-4.4.4-13.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++(x86-32) = 4.4.4-13.el6
           Available: libstdc++-4.4.5-6.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++(x86-32) = 4.4.5-6.el6
           Available: libstdc++-4.4.6-3.el6.i686 (rhui-us-east-1-rhel-server-releases)
               libstdc++(x86-32) = 4.4.6-3.el6
Error: Package: rpm-build-4.8.0-19.el6_2.1.i686 (rhui-us-east-1-rhel-server-releases)
           Requires: rpm = 4.8.0-19.el6_2.1
           Installed: rpm-4.8.0-27.el6.i686 (@koji-override-0/$releasever)
               rpm = 4.8.0-27.el6
           Available: rpm-4.8.0-12.el6.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-12.el6
           Available: rpm-4.8.0-16.el6.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-16.el6
           Available: rpm-4.8.0-16.el6_1.1.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-16.el6_1.1
           Available: rpm-4.8.0-19.el6.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-19.el6
           Available: rpm-4.8.0-19.el6_2.1.i686 (rhui-us-east-1-rhel-server-releases)
               rpm = 4.8.0-19.el6_2.1
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/i386/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/i386/optional/os error was
14: problem with the local client certificate
Setting up Group Process
Package matching 1:make-3.81-19.el6.i686 already installed. Checking for update.
Package patch-2.6-6.el6.i686 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.i686 already installed and latest version
Package gettext-0.17-16.el6.i686 already installed and latest version
Package matching binutils-2.20.51.0.2-5.28.el6.i686 already installed. Checking for update.
Package elfutils-0.152-1.el6.i686 already installed and latest version
Package cvs-1.11.23-11.el6_2.1.i686 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.i686 0:2.4.1-5.el6 will be installed
---> Package byacc.i686 0:1.9.20070509-6.1.el6 will be installed
---> Package cscope.i686 0:15.6-6.el6 will be installed
---> Package ctags.i686 0:5.8-2.el6 will be installed
---> Package diffstat.i686 0:1.51-2.el6 will be installed
---> Package doxygen.i686 1:1.6.1-6.el6 will be installed
---> Package flex.i686 0:2.5.35-8.el6 will be installed
---> Package gcc.i686 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.i686
--> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-3.el6.i686
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-3.el6.i686
---> Package gcc-c++.i686 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.i686
--> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
--> Processing Dependency: libmpfr.so.1 for package: gcc-c++-4.4.6-3.el6.i686
---> Package gcc-gfortran.i686 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.i686
---> Package git.i686 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.i686
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.i686
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.i686
---> Package indent.i686 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.i686 0:2.2.6-15.5.el6 will be installed
---> Package patchutils.i686 0:0.3.1-3.1.el6 will be installed
---> Package rcs.i686 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.i686 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.i686
---> Package subversion.i686 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.i686
--> Processing Dependency: libneon.so.27 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libaprutil-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686
--> Processing Dependency: libapr-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686
---> Package swig.i686 0:1.3.40-6.el6 will be installed
---> Package systemtap.i686 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.i686
--> Processing Dependency: kernel-devel for package: systemtap-1.6-5.el6_2.i686
--> Running transaction check
---> Package apr.i686 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util.i686 0:1.3.9-3.el6_0.1 will be installed
---> Package cloog-ppl.i686 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2 for package: cloog-ppl-0.15.7-1.2.el6.i686
--> Processing Dependency: libppl.so.7 for package: cloog-ppl-0.15.7-1.2.el6.i686
---> Package cpp.i686 0:4.4.6-3.el6 will be installed
---> Package gcc.i686 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.i686
---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
---> Package gcc-gfortran.i686 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.i686
---> Package gettext-devel.i686 0:0.17-16.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libgettextpo.so.0 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libgcj_bc.so.1 for package: gettext-devel-0.17-16.el6.i686
--> Processing Dependency: libasprintf.so.0 for package: gettext-devel-0.17-16.el6.i686
---> Package glibc-devel.i686 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.i686
--> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.i686
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.47.el6_2.9.i686
---> Package kernel-devel.i686 0:2.6.32-220.13.1.el6 will be installed
---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686
---> Package mpfr.i686 0:2.4.1-6.el6 will be installed
---> Package neon.i686 0:0.29.3-1.2.el6 will be installed
--> Processing Dependency: libproxy.so.0 for package: neon-0.29.3-1.2.el6.i686
--> Processing Dependency: libpakchois.so.0 for package: neon-0.29.3-1.2.el6.i686
---> 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.i686 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.i686
---> Package systemtap.i686 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.i686
--> Running transaction check
---> Package gcc.i686 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.i686
---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
---> Package gcc-gfortran.i686 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.i686
---> Package gettext-libs.i686 0:0.17-16.el6 will be installed
---> Package glibc-devel.i686 0:2.12-1.47.el6_2.9 will be installed
--> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.i686
---> Package glibc-headers.i686 0:2.12-1.47.el6_2.9 will be installed
--> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-headers-2.12-1.47.el6_2.9.i686
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.47.el6_2.9.i686
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.47.el6_2.9.i686
---> Package libgcj.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-3.el6.i686
---> Package libproxy.i686 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.i686
--> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686
---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686
---> Package pakchois.i686 0:0.4-3.2.el6 will be installed
---> Package ppl.i686 0:0.10.2-11.el6 will be installed
---> Package rpm-build.i686 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.i686
---> Package systemtap.i686 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.i686
--> Running transaction check
---> Package gcc.i686 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.i686
---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686
---> Package gcc-gfortran.i686 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.i686
---> Package glibc-devel.i686 0:2.12-1.47.el6_2.9 will be installed
--> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.i686
---> Package glibc-headers.i686 0:2.12-1.47.el6_2.9 will be installed
--> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-headers-2.12-1.47.el6_2.9.i686
---> Package kernel-headers.i686 0:2.6.32-220.13.1.el6 will be installed
---> Package libart_lgpl.i686 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.i686 0:0.3.0-2.el6 will be installed
---> Package libproxy-python.i686 0:0.3.0-2.el6 will be installed
---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686
---> Package rpm-build.i686 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.i686
---> Package systemtap.i686 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.i686
--> 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/i386/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/i386/optional/os error was 14: problem with the local client certificate Setting up Group Process Package matching 1:make-3.81-19.el6.i686 already installed. Checking for update. Package patch-2.6-6.el6.i686 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.i686 already installed and latest version Package gettext-0.17-16.el6.i686 already installed and latest version Package matching binutils-2.20.51.0.2-5.28.el6.i686 already installed. Checking for update. Package elfutils-0.152-1.el6.i686 already installed and latest version Package cvs-1.11.23-11.el6_2.1.i686 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.i686 0:2.4.1-5.el6 will be installed ---> Package byacc.i686 0:1.9.20070509-6.1.el6 will be installed ---> Package cscope.i686 0:15.6-6.el6 will be installed ---> Package ctags.i686 0:5.8-2.el6 will be installed ---> Package diffstat.i686 0:1.51-2.el6 will be installed ---> Package doxygen.i686 1:1.6.1-6.el6 will be installed ---> Package flex.i686 0:2.5.35-8.el6 will be installed ---> Package gcc.i686 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.i686 --> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.i686 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-3.el6.i686 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-3.el6.i686 ---> Package gcc-c++.i686 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.i686 --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 --> Processing Dependency: libmpfr.so.1 for package: gcc-c++-4.4.6-3.el6.i686 ---> Package gcc-gfortran.i686 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.i686 ---> Package git.i686 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.i686 --> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.i686 --> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.i686 ---> Package indent.i686 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.i686 0:2.2.6-15.5.el6 will be installed ---> Package patchutils.i686 0:0.3.1-3.1.el6 will be installed ---> Package rcs.i686 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.i686 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.i686 ---> Package subversion.i686 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.i686 --> Processing Dependency: libneon.so.27 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libaprutil-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686 --> Processing Dependency: libapr-1.so.0 for package: subversion-1.6.11-2.el6_1.4.i686 ---> Package swig.i686 0:1.3.40-6.el6 will be installed ---> Package systemtap.i686 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.i686 --> Processing Dependency: kernel-devel for package: systemtap-1.6-5.el6_2.i686 --> Running transaction check ---> Package apr.i686 0:1.3.9-3.el6_1.2 will be installed ---> Package apr-util.i686 0:1.3.9-3.el6_0.1 will be installed ---> Package cloog-ppl.i686 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2 for package: cloog-ppl-0.15.7-1.2.el6.i686 --> Processing Dependency: libppl.so.7 for package: cloog-ppl-0.15.7-1.2.el6.i686 ---> Package cpp.i686 0:4.4.6-3.el6 will be installed ---> Package gcc.i686 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.i686 ---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 ---> Package gcc-gfortran.i686 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.i686 ---> Package gettext-devel.i686 0:0.17-16.el6 will be installed --> Processing Dependency: gettext-libs = 0.17-16.el6 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libgettextpo.so.0 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libgcj_bc.so.1 for package: gettext-devel-0.17-16.el6.i686 --> Processing Dependency: libasprintf.so.0 for package: gettext-devel-0.17-16.el6.i686 ---> Package glibc-devel.i686 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.i686 --> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.i686 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.47.el6_2.9.i686 ---> Package kernel-devel.i686 0:2.6.32-220.13.1.el6 will be installed ---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686 ---> Package mpfr.i686 0:2.4.1-6.el6 will be installed ---> Package neon.i686 0:0.29.3-1.2.el6 will be installed --> Processing Dependency: libproxy.so.0 for package: neon-0.29.3-1.2.el6.i686 --> Processing Dependency: libpakchois.so.0 for package: neon-0.29.3-1.2.el6.i686 ---> 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.i686 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.i686 ---> Package systemtap.i686 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.i686 --> Running transaction check ---> Package gcc.i686 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.i686 ---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 ---> Package gcc-gfortran.i686 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.i686 ---> Package gettext-libs.i686 0:0.17-16.el6 will be installed ---> Package glibc-devel.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.i686 ---> Package glibc-headers.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-headers-2.12-1.47.el6_2.9.i686 --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.47.el6_2.9.i686 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.47.el6_2.9.i686 ---> Package libgcj.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.6-3.el6.i686 ---> Package libproxy.i686 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.i686 --> Processing Dependency: libproxy-bin = 0.3.0-2.el6 for package: libproxy-0.3.0-2.el6.i686 ---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686 ---> Package pakchois.i686 0:0.4-3.2.el6 will be installed ---> Package ppl.i686 0:0.10.2-11.el6 will be installed ---> Package rpm-build.i686 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.i686 ---> Package systemtap.i686 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.i686 --> Running transaction check ---> Package gcc.i686 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.i686 ---> Package gcc-c++.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++ = 4.4.6-3.el6 for package: gcc-c++-4.4.6-3.el6.i686 ---> Package gcc-gfortran.i686 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.i686 ---> Package glibc-devel.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.i686 ---> Package glibc-headers.i686 0:2.12-1.47.el6_2.9 will be installed --> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-headers-2.12-1.47.el6_2.9.i686 ---> Package kernel-headers.i686 0:2.6.32-220.13.1.el6 will be installed ---> Package libart_lgpl.i686 0:2.3.20-5.1.el6 will be installed ---> Package libproxy-bin.i686 0:0.3.0-2.el6 will be installed ---> Package libproxy-python.i686 0:0.3.0-2.el6 will be installed ---> Package libstdc++-devel.i686 0:4.4.6-3.el6 will be installed --> Processing Dependency: libstdc++(x86-32) = 4.4.6-3.el6 for package: libstdc++-devel-4.4.6-3.el6.i686 ---> Package rpm-build.i686 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.i686 ---> Package systemtap.i686 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.i686 --> 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/i386/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/i386/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/i386/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/i386/optional/os error was
14: problem with the local client certificate
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package dmidecode.i686 1:2.11-2.el6 will be updated
---> Package dmidecode.i686 1:2.11-2.el6_1 will be an update
---> Package libgcrypt.i686 0:1.4.5-9.el6 will be updated
---> Package libgcrypt.i686 0:1.4.5-9.el6_2.2 will be an update
---> Package libpng.i686 2:1.2.48-1.el6_2 will be updated
---> Package libpng.i686 2:1.2.49-1.el6_2 will be an update
---> Package openssl.i686 0:1.0.0-20.el6_2.3 will be updated
---> Package openssl.i686 0:1.0.0-20.el6_2.4 will be an update
---> Package pam.i686 0:1.1.1-10.el6 will be updated
---> Package pam.i686 0:1.1.1-10.el6_2.1 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package    Arch  Version            Repository                            Size
================================================================================
Updating:
 dmidecode  i686  1:2.11-2.el6_1     rhui-us-east-1-rhel-server-releases   70 k
 libgcrypt  i686  1.4.5-9.el6_2.2    rhui-us-east-1-rhel-server-releases  228 k
 libpng     i686  2:1.2.49-1.el6_2   rhui-us-east-1-rhel-server-releases  184 k
 openssl    i686  1.0.0-20.el6_2.4   rhui-us-east-1-rhel-server-releases  1.4 M
 pam        i686  1.1.1-10.el6_2.1   rhui-us-east-1-rhel-server-releases  656 k

Transaction Summary
================================================================================
Upgrade       5 Package(s)

Total download size: 2.5 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           2.9 MB/s | 2.5 MB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Updating   : pam-1.1.1-10.el6_2.1.i686                                   1/10 

  Updating   : 1:dmidecode-2.11-2.el6_1.i686                               2/10 

  Updating   : 2:libpng-1.2.49-1.el6_2.i686                                3/10 

  Updating   : libgcrypt-1.4.5-9.el6_2.2.i686                              4/10 

  Updating   : openssl-1.0.0-20.el6_2.4.i686                               5/10 

  Cleanup    : pam-1.1.1-10.el6.i686                                       6/10 

  Cleanup    : 1:dmidecode-2.11-2.el6.i686                                 7/10 

  Cleanup    : 2:libpng-1.2.48-1.el6_2.i686                                8/10 

  Cleanup    : libgcrypt-1.4.5-9.el6.i686                                  9/10 

  Cleanup    : openssl-1.0.0-20.el6_2.3.i686                              10/10 
Installed products updated.

  Verifying  : openssl-1.0.0-20.el6_2.4.i686                               1/10 

  Verifying  : libgcrypt-1.4.5-9.el6_2.2.i686                              2/10 

  Verifying  : 2:libpng-1.2.49-1.el6_2.i686                                3/10 

  Verifying  : 1:dmidecode-2.11-2.el6_1.i686                               4/10 

  Verifying  : pam-1.1.1-10.el6_2.1.i686                                   5/10 

  Verifying  : openssl-1.0.0-20.el6_2.3.i686                               6/10 

  Verifying  : 1:dmidecode-2.11-2.el6.i686                                 7/10 

  Verifying  : pam-1.1.1-10.el6.i686                                       8/10 

  Verifying  : libgcrypt-1.4.5-9.el6.i686                                  9/10 

  Verifying  : 2:libpng-1.2.48-1.el6_2.i686                               10/10

Comment 9 mkovacik 2012-05-10 10:27:04 UTC
Updated:
  dmidecode.i686 1:2.11-2.el6_1         libgcrypt.i686 0:1.4.5-9.el6_2.2        
  libpng.i686 2:1.2.49-1.el6_2          openssl.i686 0:1.0.0-20.el6_2.4         
  pam.i686 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/i386/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/i386/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/i386/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/i386/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 = 15
FAILED TESTS = ## Verify group file ... ## Verify group file ... ## Verify group file ... ##test menu.lst ... ##test menu.lst ... ## Verify no missing packages ... ## test repo files ... ## test repo files ... ## Verify rsyslog config ... ## Verify latest installed kernel is running ... ## Verify latest kenerl is in /boot/grub/menu.1st ... ## Verify RPMs ... ## Verify Version 2 ... ## List available groups.. ## Install Development tools group...
LOG FILE = /root/valid/src/validate.log
## Summary ##

######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################

Comment 10 mkovacik 2012-05-10 10:27:58 UTC
IMAGE ID= ami-567ca63f_us-east-1_c1.medium
###### 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 ... 
######################################################################################
Detected rpm kernel version: package kernel-xen is not installed
Detected uname kernel version: 2.6.32-262.el6.i686
COMMAND:  false
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 1
FAIL2

######################################################################################
# NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ... 
######################################################################################
COMMAND:  cat /boot/grub/menu.lst | grep package kernel-xen is not installed
grep: kernel-xen: No such file or directory
grep: is: No such file or directory
grep: not: No such file or directory
grep: installed: No such file or directory
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 2
FAIL2

######################################################################################
# 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 1752712 > hwp MEMORY of 1700000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
hostname

## Summary ##
FAILURES = 17
FAILED TESTS = ## Verify group file ... ## Verify group file ... ## Verify group file ... ##test menu.lst ... ##test menu.lst ... ## Verify no missing packages ... ## test repo files ... ## test repo files ... ## Verify rsyslog config ... ## Verify latest installed kernel is running ... ## Verify latest kenerl is in /boot/grub/menu.1st ... ## Verify RPMs ... ## Verify Version 2 ... ## List available groups.. ## Install Development tools group...
## Verify latest installed kernel is running ... ## Verify latest kenerl is in /boot/grub/menu.1st ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################

Comment 11 mkovacik 2012-05-10 10:32:15 UTC
IMAGE ID= ami-567ca63f_us-east-1_m1.small
###### 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 ... 
######################################################################################
Detected rpm kernel version: package kernel-xen is not installed
Detected uname kernel version: 2.6.32-262.el6.i686
COMMAND:  false
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 1
FAIL2

######################################################################################
# NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ... 
######################################################################################
COMMAND:  cat /boot/grub/menu.lst | grep package kernel-xen is not installed
grep: kernel-xen: No such file or directory
grep: is: No such file or directory
grep: not: No such file or directory
grep: installed: No such file or directory
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 2
FAIL2

######################################################################################
# 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 1711868 > hwp MEMORY of 1700000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
hostname

## Summary ##
FAILURES = 17
FAILED TESTS = ## Verify group file ... ## Verify group file ... ## Verify group file ... ##test menu.lst ... ##test menu.lst ... ## Verify no missing packages ... ## test repo files ... ## test repo files ... ## Verify rsyslog config ... ## Verify latest installed kernel is running ... ## Verify latest kenerl is in /boot/grub/menu.1st ... ## Verify RPMs ... ## Verify Version 2 ... ## List available groups.. ## Install Development tools group...
## Verify latest installed kernel is running ... ## Verify latest kenerl is in /boot/grub/menu.1st ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################

Comment 12 mkovacik 2012-05-10 10:34:17 UTC
IMAGE ID= ami-567ca63f_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 ... 
######################################################################################
Detected rpm kernel version: package kernel-xen is not installed
Detected uname kernel version: 2.6.32-262.el6.i686
COMMAND:  false
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 1
FAIL2

######################################################################################
# NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ... 
######################################################################################
COMMAND:  cat /boot/grub/menu.lst | grep package kernel-xen is not installed
grep: kernel-xen: No such file or directory
grep: is: No such file or directory
grep: not: No such file or directory
grep: installed: No such file or directory
RESULT:  
EXPECTED RESULT: 
RETURN CODE: 2
FAIL2

######################################################################################
# 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 610356 > hwp MEMORY of 600000
COMMAND:  echo true
RESULT: true 
EXPECTED RESULT: 
RETURN CODE: 0
PASS
hostname

## Summary ##
FAILURES = 17
FAILED TESTS = ## Verify group file ... ## Verify group file ... ## Verify group file ... ##test menu.lst ... ##test menu.lst ... ## Verify no missing packages ... ## test repo files ... ## test repo files ... ## Verify rsyslog config ... ## Verify latest installed kernel is running ... ## Verify latest kenerl is in /boot/grub/menu.1st ... ## Verify RPMs ... ## Verify Version 2 ... ## List available groups.. ## Install Development tools group...
## Verify latest installed kernel is running ... ## Verify latest kenerl is in /boot/grub/menu.1st ...
LOG FILE = /root/valid/src/validate.log
## Summary ##

######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################

Comment 13 mkovacik 2012-05-10 11:23:55 UTC
Error in setup


Note You need to log in before you can comment on or make changes to this bug.