Skip to content

Commit

Permalink
Merge pull request #423 from liangxiao1/aws
Browse files Browse the repository at this point in the history
added msg_236~msg_238 to baseline file
  • Loading branch information
liangxiao1 authored Aug 21, 2024
2 parents 28d30e4 + 1b44e50 commit cd61d6e
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 25 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,11 @@ os_tests
os-tests will try to install required pkgs from default repo during run, but it would be better to have them if no repo is provided.
List RHEL only because CentOS Stream and Fedora usually have public repo available.

**RHEL-9**: make,automake,autoconf,sysstat,gcc,unzip,wget,quota,bzip2,iperf3,pciutils,fio,psmisc,expect,perf,nvme-cli,pciutils,fio,libaio-devel,blktrace,fio,nvme-cli,git,tar,nfs-utils,libvirt,qemu-kvm,python3,dracut-fips,kernel-debug,python3-pip,hostname,podman,xdp-tools,openssl-devel,glibc-all-langpacks,strace,sos,acpid,mokutil,kernel-modules-extra,iproute-tc,wireshark-cli,tcpdump,nmap-ncat
**RHEL-9**: make automake autoconf sysstat gcc unzip wget quota bzip2 iperf3 pciutils fio psmisc expect perf nvme-cli pciutils fio libaio-devel blktrace fio nvme-cli git tar nfs-utils libvirt qemu-kvm python3 dracut-fips kernel-debug python3-pip hostname podman xdp-tools openssl-devel glibc-all-langpacks strace sos acpid mokutil kernel-modules-extra iproute-tc wireshark-cli tcpdump nmap-ncat net-tools

**RHEL-8**: make,automake,autoconf,sysstat,gcc,unzip,wget,quota,bzip2,iperf3,pciutils,fio,psmisc,expect,perf,nvme-cli,pciutils,fio,php-cli,php-xml,php-json,libaio-devel,blktrace,fio,nvme-cli,git,tar,nfs-utils,libvirt,qemu-kvm,kernel-debug,python3,dracut-fips,podman,xdp-tools,openssl-devel,strace,sos,acpid,mokutil,kernel-modules-extra,iproute-tc,wireshark-cli,tcpdump,nmap-ncat
**RHEL-8**: make automake autoconf sysstat gcc unzip wget quota bzip2 iperf3 pciutils fio psmisc expect perf nvme-cli pciutils fio php-cli php-xml php-json libaio-devel blktrace fio nvme-cli git tar nfs-utils libvirt qemu-kvm kernel-debug python3 dracut-fips podman xdp-tools openssl-devel strace sos acpid mokutil kernel-modules-extra iproute-tc wireshark-cli tcpdump nmap-ncat net-tools

**RHEL-7**: install,automake,autoconf,sysstat,gcc,unzip,wget,quota,bzip2,iperf3,pciutils,fio,psmisc,expect,ntpdate,perf,nvme-cli,pciutils,fio,git,tar,nfs-utils,libvirt,qemu-kvm,kernel-debug,python3,dracut-fips,podman,strace,sos
**RHEL-7**: install automake autoconf sysstat gcc unzip wget quota bzip2 iperf3 pciutils fio psmisc expect ntpdate perf nvme-cli pciutils fio git tar nfs-utils libvirt qemu-kvm kernel-debug python3 dracut-fips podman strace sos

### The log file

Expand Down
2 changes: 1 addition & 1 deletion os_tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = '0.3.0'
__codedate__ = '20240812'
__codedate__ = '20240819'
42 changes: 39 additions & 3 deletions os_tests/data/baseline_log.json
Original file line number Diff line number Diff line change
Expand Up @@ -914,8 +914,8 @@
"trigger": ""
},
"msg_103": {
"content": ".*dracut module.* will not be installed, because command .* could not be found!.*;.*dracut.*Could not find any command of.*",
"analyze": "These warnings are safe to be ignored.",
"content": ".*dracut.* will not be installed, because command .* could not be found!.*;.*dracut.*Could not find any command of.*",
"analyze": "These warnings are safe to be ignored and debug information only.",
"branch": "rhel",
"status": "active",
"link": "https://access.redhat.com/solutions/3683511",
Expand Down Expand Up @@ -1142,7 +1142,7 @@
"content": ".*Failed to insert 'ipmi_si': No such device.*;.*systemd-modules-load.service.*",
"analyze": "will be fixed in fwupd-1.7.4-1.el8",
"branch": "rhel",
"status": "active",
"status": "fixed",
"link": "https://bugzilla.redhat.com/show_bug.cgi?id=2030993",
"path": "dmesg,journal",
"trigger": ""
Expand Down Expand Up @@ -2169,5 +2169,41 @@
"cases": "os_tests.tests.test_lifecycle.TestLifeCycle.test_boot_debugkernel",
"addedby": "[email protected]",
"addeddate": "20240522"
},
"msg_236": {
"content": ".*watchdog: Delayed init of the lockup detector failed: -19.*",
"analyze": "known issue, information only",
"branch": "rhel10",
"status": "active",
"link": "https://issues.redhat.com/browse/RHEL-42759",
"path": "dmesg",
"trigger": "",
"cases": "",
"addedby": "[email protected]",
"addeddate": "20240819"
},
"msg_237": {
"content": ".*systemd-modules-load.*Failed to find module .*_tables.*",
"analyze": "known issue",
"branch": "rhel10",
"status": "active",
"link": "https://issues.redhat.com/browse/RHEL-39676",
"path": "journal",
"trigger": "",
"cases": "",
"addedby": "[email protected]",
"addeddate": "20240819"
},
"msg_238": {
"content": ".*/boot/efi/EFI.*",
"analyze": "known issue",
"branch": "rhel10",
"status": "active",
"link": "https://issues.redhat.com/browse/RHEL-54694",
"path": "rpm -V efi-filesystem",
"trigger": "",
"cases": "os_tests.tests.test_general_check.TestGeneralCheck.test_check_rpm_V_efi",
"addedby": "[email protected]",
"addeddate": "20240819"
}
}
2 changes: 1 addition & 1 deletion os_tests/templates/sum.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<testsuites>
<testsuite name="os-tests" time="{{ result.run_time }}" tests="{{ result.total }}" errors="{{ result.case_error }}" skipped="{{ result.case_skip }}" failures="{{ result.case_fail }}" nodeinfo="{{ result.node_info }}">
<testsuite name="os-tests" time="{{ result.run_time }}" tests="{{ result.total }}" pass="{{ result.case_pass }}" errors="{{ result.case_error }}" skipped="{{ result.case_skip }}" failures="{{ result.case_fail }}" nodeinfo="{{ result.node_info }}">
{% for row in result.table_rows %}
<testcase classname="{{ row[6] }}" name="{{ row[1] }}" time="{{ row[4] }}">
<properties>
Expand Down
26 changes: 9 additions & 17 deletions os_tests/tests/test_general_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -1295,39 +1295,31 @@ def test_check_nouveau(self):
component:
kernel
bugzilla_id:
1349927, 1645772
1349927, 1645772, jira_COMPOSER-1807
is_customer_case:
False
testplan:
N/A
maintainer:
[email protected]
description:
check if nouveau is in blacklist and is not loaded in aws
we do not want nouveau and amdgpu loaded in aws gpu instances(rhbz#1645772,jira_COMPOSER-1807).
osbuild disable them in /usr/lib/modprobe.d/blacklist-nouveau.conf
key_steps:
lsmod
cat /proc/cmdline
expect_result:
nouveau is no in lsmod and is in blacklist
nouveau and amigpu are not in lsmod and in blacklist
debug_want:
lsmod
sos report
boot with rd.debug
"""
utils_lib.is_aws(self, action='cancel')
utils_lib.run_cmd(self, 'cat /etc/redhat-release', cancel_not_kw='CentOS', msg='skip this check on centos, rhbz1645772')
self.log.info("nouveau is not required in ec2, make sure it is \
in blacklist and not loaded bug1645772")
utils_lib.run_cmd(self,
"lsmod",
expect_ret=0,
expect_not_kw="nouveau",
msg="Checking lsmod")
utils_lib.run_cmd(self,
"cat /proc/cmdline",
expect_ret=0,
expect_kw="rd.blacklist=nouveau",
msg="Checking cmdline")
cmd = 'find /usr/lib/modprobe.d -name "*.conf" -exec ls -l {} \; -exec cat {} \;'
utils_lib.run_cmd(self, cmd)
utils_lib.run_cmd(self, "lsmod", expect_ret=0, expect_not_kw="nouveau,amdgpu",msg="checking loaded modules")

def test_check_nvme_io_timeout(self):
"""
Expand Down Expand Up @@ -1900,8 +1892,8 @@ def test_check_rpm_V_efi(self):
test_check_rpm_V_efi
component:
efi-rpm-macros
bugzilla_id:
1845052
bug_id:
bugzilla_1845052, jira_RHELPLAN-69739, jira_RHEL-54694
is_customer_case:
True
testplan:
Expand Down

0 comments on commit cd61d6e

Please sign in to comment.