| Summary: | ami-2c30ef31 6.2 i386 sa-east-1 | ||
|---|---|---|---|
| Product: | Cloud Image Validation | Reporter: | mkovacik |
| Component: | images | Assignee: | wes hayutin <whayutin> |
| Status: | CLOSED NOTABUG | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | RHEL6.2 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-12-22 10:47:03 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
mkovacik
2011-12-22 10:40:18 UTC
IMAGE ID= ami-2c30ef31_sa-east-1_c1.medium
######################################################################################
# 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-177-71-148-145.sa-east-1.compute.amazonaws.com with Image Id : ami-2c30ef31, is launched with Instance Id : i-c2ee4fdf , Instance Type : c1.medium and Arch : i386 in the Region : sa-east-1a
The Validate Signature is : evzK207a5sM+yzXqG5sMkLrlGLVJK0g5HAw2q+oBzTWg+7g7JcQeIw7gsAPnAgbUMQA8lRWhCTsa
uLNqmLKGDOzjSenDznvCloxj188/ORC55skytCw7TQBU7+T2NEi89ewpelbz265Ji1jkmWpBMa7C
mjMoNyJs+zSvEYOnkkk=
This is a Hourly image
/root/valid/src
ip-10-248-4-176
Red Hat Enterprise Linux Server release 6.2 (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.2
######################################################################################
######################################################################################
# NEW TEST: ## Verify IPv6 disabled ...
######################################################################################
COMMAND: grep ^NETWORKING_IPV6= /etc/sysconfig/network
RESULT: NETWORKING_IPV6=no
EXPECTED RESULT: NETWORKING_IPV6=no
RETURN CODE: 0
PASS
######################################################################################
# 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=5904752
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-177-71-148-145.sa-east-1.compute.amazonaws.com with Image Id : ami-2c30ef31, is launched with Instance Id : i-c2ee4fdf , Instance Type : c1.medium and Arch : i386 in the Region : sa-east-1a
The Validate Signature is : evzK207a5sM+yzXqG5sMkLrlGLVJK0g5HAw2q+oBzTWg+7g7JcQeIw7gsAPnAgbUMQA8lRWhCTsa
uLNqmLKGDOzjSenDznvCloxj188/ORC55skytCw7TQBU7+T2NEi89ewpelbz265Ji1jkmWpBMa7C
mjMoNyJs+zSvEYOnkkk=
This is a Hourly 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
######################################################################################
# NEW TEST: ## Verify GPG RPMS ...
######################################################################################
COMMAND: rpm -qa gpg-pubkey* | sort -f | tail -n 1
RESULT: gpg-pubkey-fd431d51-4ae0493b
EXPECTED RESULT: gpg-pubkey-fd431d51-4ae0493b
RETURN CODE: 0
PASS
COMMAND: rpm -qa gpg-pubkey* | grep 2fa6
RESULT: gpg-pubkey-2fa658e0-45700c69
EXPECTED RESULT: gpg-pubkey-2fa658e0-45700c69
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify group file ...
######################################################################################
COMMAND: cat /etc/group | grep root:x:0
RESULT: root:x:0:root
EXPECTED RESULT: root:x:0:root
RETURN CODE: 0
PASS
COMMAND: cat /etc/group | grep bin:x:1
RESULT: bin:x:1:root,bin,daemon
EXPECTED RESULT: bin:x:1:root,bin,daemon
RETURN CODE: 0
PASS
COMMAND: cat /etc/group | grep daemon:x:2
RESULT: daemon:x:2:root,bin,daemon
EXPECTED RESULT: daemon:x:2:root,bin,daemon
RETURN CODE: 0
PASS
COMMAND: cat /etc/group | grep nobody:x:99
RESULT: nobody:x:99:
EXPECTED RESULT: nobody:x:99:
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ##test menu.lst ...
######################################################################################
COMMAND: file /boot/grub/menu.lst | grep symbolic | wc -l
RESULT: 1
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND: file /boot/grub/menu.lst | grep grub.conf | wc -l
RESULT: 1
EXPECTED RESULT: 1
RETURN CODE: 0
PASS
COMMAND: cat /boot/grub/grub.conf | grep "(hd0,0)" | wc -l
RESULT: 0
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 1752784 > 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
COMMAND: comm -23 packages_62 /tmp/rpmqa
RETURN CODE: 0
COUNT = 0
COMMAND: echo test passed
RESULT: test passed
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
######################################################################################
# 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: 4
EXPECTED RESULT: 4
RETURN CODE: 0
PASS
COMMAND: ls /etc/yum.repos.d/redhat* | wc -l
RESULT: 2
EXPECTED RESULT: 2
RETURN CODE: 0
PASS
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-248-4-176
Red Hat Enterprise Linux Server release 6.2 (Santiago)
######################################################################################
# NEW TEST: The selected image has the version RHEL 6.2
######################################################################################
######################################################################################
# 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 ...
######################################################################################
free | grep Swap | awk '{print $2}'
swap size = 0
COMMAND: test 0 -gt 0
RESULT:
EXPECTED RESULT:
RETURN CODE: 1
FAIL2
######################################################################################
# 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: dd356958ca9c4e779f7fac13dde3c1b5
EXPECTED RESULT: dd356958ca9c4e779f7fac13dde3c1b5
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify no systemid file ...
######################################################################################
COMMAND: echo true
RESULT: true
EXPECTED RESULT:
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify kernel name ...
######################################################################################
COMMAND: /bin/uname -s
RESULT: Linux
EXPECTED RESULT: Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest installed kernel is running ...
######################################################################################
RHEL VERSION IS 6
LATEST_RPM_KERNEL_VERSION=rpm -q kernel --last | head -n 1 | cut -c 8-60 | cut -d ' ' -f 1
CURRENT_UNAME_KERNAL_VERSION=2.6.32-220.el6
assert latest rpm kernel = uname -r
COMMAND: uname -r | sed 's/\(.*\)...../\1/'
RESULT: 2.6.32-220.el6
EXPECTED RESULT: 2.6.32-220.el6
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify latest kenerl is in /boot/grub/menu.1st ...
######################################################################################
COMMAND: cat /boot/grub/menu.lst | grep 2.6.32-220.el6
RESULT: title koji-image-RHEL-6.2-build-3896397-201112151145 (2.6.32-220.el6.i686)
kernel /boot/vmlinuz-2.6.32-220.el6.i686 ro root=LABEL=_/
initrd /boot/initramfs-2.6.32-220.el6.i686.img
EXPECTED RESULT:
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify operating system ...
######################################################################################
COMMAND: /bin/uname -o
RESULT: GNU/Linux
EXPECTED RESULT: GNU/Linux
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel ...
######################################################################################
COMMAND: ls /etc/sysconfig/kernel
RESULT: /etc/sysconfig/kernel
EXPECTED RESULT:
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains UPDATEDEFAULT ...
######################################################################################
COMMAND: cat /etc/sysconfig/kernel | grep UPDATEDEFAULT=yes
RESULT: UPDATEDEFAULT=yes
EXPECTED RESULT:
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify /etc/sysconfig/kernel contains DEFAULTKERNEL ...
######################################################################################
COMMAND: cat /etc/sysconfig/kernel | grep DEFAULTKERNEL=kernel
RESULT: DEFAULTKERNEL=kernel
EXPECTED RESULT:
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify 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...UG.. /var/run/abrt
.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: 6
EXPECTED RESULT: 6
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify Version 2 ...
######################################################################################
COMMAND: /bin/rpm -q --queryformat '%{RELEASE}\n' redhat-release-server | cut -d. -f1,2
RESULT: 6.2
EXPECTED RESULT: 6.2
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Verify packager ...
######################################################################################
COMMAND: cat /tmp/Packager | grep -v 'Red Hat, Inc.' | grep -v crash-trace-commandPackager| wc -l
RESULT: 0
EXPECTED RESULT: 0
RETURN CODE: 0
PASS
crash-trace-commandPackager : Lai Jiangshan <laijs.com>
######################################################################################
# NEW TEST: ## List the configured repositories...
######################################################################################
COMMAND: /usr/bin/yum repolist
https://rhui2-cds02.sa-east-1.aws.ce.redhat.com/pulp/repos//rhui-client-config/rhel/server/6/i386/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
https://rhui2-cds01.sa-east-1.aws.ce.redhat.com/pulp/repos//rhui-client-config/rhel/server/6/i386/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
RESULT: Loaded plugins: amazon-id, rhui-lb, security
repo id repo name status
rhui-sa-east-1-client-config-server-6 Red Hat Update Infrastructur 0
rhui-sa-east-1-rhel-server-releases Red Hat Enterprise Linux Ser 0
rhui-sa-east-1-rhel-server-releases-optional Red Hat Enterprise Linux Ser 0
repolist: 0
EXPECTED RESULT:
RETURN CODE: 0
PASS
######################################################################################
# NEW TEST: ## Search zsh...
######################################################################################
COMMAND: /usr/bin/yum search zsh
https://rhui2-cds02.sa-east-1.aws.ce.redhat.com/pulp/repos//rhui-client-config/rhel/server/6/i386/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
https://rhui2-cds01.sa-east-1.aws.ce.redhat.com/pulp/repos//rhui-client-config/rhel/server/6/i386/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhui-sa-east-1-client-config-server-6. Please verify its path and try again
RESULT: Loaded plugins: amazon-id, rhui-lb, security
EXPECTED RESULT:
RETURN CODE: 1
FAIL1
Loaded plugins: amazon-id, rhui-lb, security
######################################################################################
# NEW TEST: ## install zsh ...
######################################################################################
COMMAND: /usr/bin/yum -y install zsh
https://rhui2-cds02.sa-east-1.aws.ce.redhat.com/pulp/repos//rhui-client-config/rhel/server/6/i386/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
https://rhui2-cds01.sa-east-1.aws.ce.redhat.com/pulp/repos//rhui-client-config/rhel/server/6/i386/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhui-sa-east-1-client-config-server-6. Please verify its path and try again
RETURN CODE: 1
COMMAND: /bin/rpm -q --queryformat '%{NAME}\n' zsh
RESULT: package zsh is not installed
EXPECTED RESULT: zsh
RETURN CODE: 1
FAIL1
package zsh is not installed
######################################################################################
# NEW TEST: ## List available groups..
######################################################################################
COMMAND: /usr/bin/yum grouplist
https://rhui2-cds02.sa-east-1.aws.ce.redhat.com/pulp/repos//rhui-client-config/rhel/server/6/i386/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
https://rhui2-cds01.sa-east-1.aws.ce.redhat.com/pulp/repos//rhui-client-config/rhel/server/6/i386/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
https://rhui2-cds02.sa-east-1.aws.ce.redhat.com/pulp/repos//rhui-client-config/rhel/server/6/i386/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
https://rhui2-cds01.sa-east-1.aws.ce.redhat.com/pulp/repos//rhui-client-config/rhel/server/6/i386/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhui-sa-east-1-client-config-server-6. Please verify its path and try again
RESULT: Loaded plugins: amazon-id, rhui-lb, security
Setting up Group Process
EXPECTED RESULT:
RETURN CODE: 1
FAIL1
Loaded plugins: amazon-id, rhui-lb, security Setting up Group Process
######################################################################################
# NEW TEST: ## Install Development tools group...
######################################################################################
COMMAND: /usr/bin/yum -y groupinstall 'Development tools'
https://rhui2-cds02.sa-east-1.aws.ce.redhat.com/pulp/repos//rhui-client-config/rhel/server/6/i386/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
https://rhui2-cds01.sa-east-1.aws.ce.redhat.com/pulp/repos//rhui-client-config/rhel/server/6/i386/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhui-sa-east-1-client-config-server-6. Please verify its path and try again
RESULT: Loaded plugins: amazon-id, rhui-lb, security
EXPECTED RESULT:
RETURN CODE: 1
FAIL1
Loaded plugins: amazon-id, rhui-lb, security
######################################################################################
# NEW TEST: ## Verify yum update ...
######################################################################################
COMMAND: /usr/bin/yum -y update
https://rhui2-cds02.sa-east-1.aws.ce.redhat.com/pulp/repos//rhui-client-config/rhel/server/6/i386/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
https://rhui2-cds01.sa-east-1.aws.ce.redhat.com/pulp/repos//rhui-client-config/rhel/server/6/i386/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhui-sa-east-1-client-config-server-6. Please verify its path and try again
RESULT: Loaded plugins: amazon-id, rhui-lb, security
EXPECTED RESULT:
RETURN CODE: 1
FAIL1
Loaded plugins: amazon-id, rhui-lb, security
######################################################################################
# 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
error: package zsh is not installed
RETURN CODE: 1
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
https://rhui2-cds02.sa-east-1.aws.ce.redhat.com/pulp/repos//rhui-client-config/rhel/server/6/i386/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
https://rhui2-cds01.sa-east-1.aws.ce.redhat.com/pulp/repos//rhui-client-config/rhel/server/6/i386/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhui-sa-east-1-client-config-server-6. Please verify its path and try again
RETURN CODE: 1
COMMAND: /bin/rpm -q --queryformat '%{NAME}\n' zsh
RESULT: package zsh is not installed
EXPECTED RESULT: zsh
RETURN CODE: 1
FAIL1
package zsh is not installed
######################################################################################
# NEW TEST: ## Verify package removal ...
######################################################################################
COMMAND: /bin/rpm -e zsh
error: package zsh is not installed
RETURN CODE: 1
COMMAND: /bin/rpm -q zsh
RESULT: package zsh is not installed
EXPECTED RESULT: package zsh is not installed
RETURN CODE: 1
PASS
######################################################################################
# NEW TEST: ## Verify yum update ...
######################################################################################
COMMAND: /usr/bin/yum -y update
https://rhui2-cds02.sa-east-1.aws.ce.redhat.com/pulp/repos//rhui-client-config/rhel/server/6/i386/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
https://rhui2-cds01.sa-east-1.aws.ce.redhat.com/pulp/repos//rhui-client-config/rhel/server/6/i386/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhui-sa-east-1-client-config-server-6. Please verify its path and try again
RESULT: Loaded plugins: amazon-id, rhui-lb, security
EXPECTED RESULT:
RETURN CODE: 1
FAIL1
Loaded plugins: amazon-id, rhui-lb, security
######################################################################################
# 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 = 8
FAILED TESTS = ## Verify swap size ... ## Search zsh... ## install zsh ... ## List available groups.. ## Install Development tools group... ## Verify yum update ... ## install zsh ... ## Verify yum update ...
LOG FILE = /root/valid/src/validate.log
## Summary ##
######################################################################################
# NEW TEST: ## Open a bugzilla
######################################################################################
Tester debugging test-case -- not a bug |