Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package sca-patterns-sle15 for openSUSE:Factory checked in at 2025-06-14 16:17:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sca-patterns-sle15 (Old) and /work/SRC/openSUSE:Factory/.sca-patterns-sle15.new.19631 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sca-patterns-sle15" Sat Jun 14 16:17:30 2025 rev:28 rq:1285545 version:1.5.9 Changes: -------- --- /work/SRC/openSUSE:Factory/sca-patterns-sle15/sca-patterns-sle15.changes 2024-09-24 17:33:39.122023069 +0200 +++ /work/SRC/openSUSE:Factory/.sca-patterns-sle15.new.19631/sca-patterns-sle15.changes 2025-06-14 16:17:47.298413523 +0200 @@ -1,0 +2,6 @@ +Thu Jun 5 16:16:10 UTC 2025 - jason.rec...@suse.com + +- Changes to version 1.5.9 + + Fixed pattern re syntax errors (bsc#1243153) + +------------------------------------------------------------------- Old: ---- sca-patterns-sle15-1.5.8.tar.gz New: ---- sca-patterns-sle15-1.5.9.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sca-patterns-sle15.spec ++++++ --- /var/tmp/diff_new_pack.EneDK5/_old 2025-06-14 16:17:48.922480529 +0200 +++ /var/tmp/diff_new_pack.EneDK5/_new 2025-06-14 16:17:48.938481189 +0200 @@ -1,7 +1,7 @@ # # spec file for package sca-patterns-sle15 # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,7 +25,7 @@ %define category SLE Name: sca-patterns-sle15 -Version: 1.5.8 +Version: 1.5.9 Release: 0 Summary: Supportconfig Analysis Patterns for SLE15 License: GPL-2.0-only ++++++ sca-patterns-sle15-1.5.8.tar.gz -> sca-patterns-sle15-1.5.9.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/azurenetaccel-000020694.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/azurenetaccel-000020694.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/azurenetaccel-000020694.py 2022-07-14 20:32:17.385457012 +0200 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/azurenetaccel-000020694.py 2025-06-05 18:21:27.413438878 +0200 @@ -51,7 +51,7 @@ fileOpen = "hardware.txt" section = "bin/lspci -b" content = [] - CONFIRMED = re.compile("Ethernet controller: Mellanox Technologies MT27500/MT27520 Family \[ConnectX-3/ConnectX-3 Pro Virtual Function\]", re.IGNORECASE) + CONFIRMED = re.compile(r"Ethernet controller: Mellanox Technologies MT27500/MT27520 Family \[ConnectX-3/ConnectX-3 Pro Virtual Function\]", re.IGNORECASE) if Core.isFileActive(fileOpen): if Core.getRegExSection(fileOpen, section, content): for line in content: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/bhc-scc-registered.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/bhc-scc-registered.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/bhc-scc-registered.py 2021-11-04 23:04:59.873229653 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/bhc-scc-registered.py 2025-06-05 18:21:27.413438878 +0200 @@ -56,9 +56,9 @@ IDX_NUM = 0 IDX_ALIAS = 1 SERVICE_TAG = '' - SMT = re.compile("SMT-.*suse", re.IGNORECASE) - SUSE = re.compile("/updates.suse.com/|/scc.suse.com/", re.IGNORECASE) - OES = re.compile("/nu.novell.com/", re.IGNORECASE) + SMT = re.compile(r"SMT-.*suse", re.IGNORECASE) + SUSE = re.compile(r"/updates.suse.com/|/scc.suse.com/", re.IGNORECASE) + OES = re.compile(r"/nu.novell.com/", re.IGNORECASE) if Core.isFileActive(fileOpen): section = "zypper --non-interactive --no-gpg-checks repos -d" if Core.getRegExSection(fileOpen, "zypper --non-interactive --no-gpg-checks repos -d", content): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/blacklist-000019607.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/blacklist-000019607.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/blacklist-000019607.py 2021-11-04 23:04:59.873229653 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/blacklist-000019607.py 2025-06-05 18:21:27.413438878 +0200 @@ -51,7 +51,7 @@ content = [] map_list = {} IDX_WWID = -2 - CONFIRMED = re.compile("multipathd.*ignoring map", re.IGNORECASE) + CONFIRMED = re.compile(r"multipathd.*ignoring map", re.IGNORECASE) # Jun 18 12:51:21 server multipathd[3391]: 364cd98f0cd0b4200263d647def941d99: ignoring map if Core.isFileActive(fileOpen): if Core.getRegExSection(fileOpen, section, content): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/coredumpctl-000018634.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/coredumpctl-000018634.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/coredumpctl-000018634.py 2024-01-29 19:35:34.368616837 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/coredumpctl-000018634.py 2025-06-05 18:21:27.413438878 +0200 @@ -52,7 +52,7 @@ fileOpen = "crash.txt" section = "/coredumpctl list" content = [] - CONFIRMED = re.compile("", re.IGNORECASE) + CONFIRMED = re.compile(r"", re.IGNORECASE) if Core.isFileActive(fileOpen): if Core.getRegExSection(fileOpen, section, content): for line in content: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/cronlimit-000020338.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/cronlimit-000020338.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/cronlimit-000020338.py 2021-11-04 23:04:59.873229653 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/cronlimit-000020338.py 2025-06-05 18:21:27.413438878 +0200 @@ -78,7 +78,7 @@ fileOpen = "cron.txt" section = "/bin/systemctl status cron.service" content = [] - CONFIRMED = re.compile("CRON.*too many entries \(.*", re.IGNORECASE) + CONFIRMED = re.compile(r"CRON.*too many entries \(.*", re.IGNORECASE) if Core.getRegExSection(fileOpen, section, content): for line in content: if CONFIRMED.search(line): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/gpgpubkey-000019712.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/gpgpubkey-000019712.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/gpgpubkey-000019712.py 2021-11-04 23:04:59.873229653 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/gpgpubkey-000019712.py 2025-06-05 18:21:27.413438878 +0200 @@ -58,7 +58,7 @@ fileOpen = "rpm.txt" section = "rpm.*uniq" content = [] - CONFIRMED = re.compile("warning: Unsupported version of key: V3", re.IGNORECASE) + CONFIRMED = re.compile(r"warning: Unsupported version of key: V3", re.IGNORECASE) if Core.getRegExSection(fileOpen, section, content): for line in content: if CONFIRMED.search(line): @@ -71,7 +71,7 @@ fileOpen = "updates.txt" section = "patch-check" content = [] - CONFIRMED = re.compile("gpg-pubkey-", re.IGNORECASE) + CONFIRMED = re.compile(r"gpg-pubkey-", re.IGNORECASE) if Core.isFileActive(fileOpen): if Core.getRegExSection(fileOpen, section, content): for line in content: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/iscsimnts-000019648.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/iscsimnts-000019648.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/iscsimnts-000019648.py 2021-11-04 23:04:59.881229457 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/iscsimnts-000019648.py 2025-06-05 18:21:27.413438878 +0200 @@ -54,7 +54,7 @@ fileOpen = "fs-diskio.txt" section = "ls -lR.*/dev/disk/" content = [] - CONFIRMED = re.compile(" ip-.*-iscsi-.*/" + str(DEV) + "$", re.IGNORECASE) + CONFIRMED = re.compile(r" ip-.*-iscsi-.*/" + str(DEV) + "$", re.IGNORECASE) if Core.isFileActive(fileOpen): if Core.getRegExSection(fileOpen, section, content): @@ -68,7 +68,7 @@ fileOpen = "fs-diskio.txt" section = "ls -lR.*/dev/disk/" content = [] - CONFIRMED = re.compile("dm-name-.* -> ../../" + str(CHECK_DEV) + "$", re.IGNORECASE) + CONFIRMED = re.compile(r"dm-name-.* -> ../../" + str(CHECK_DEV) + "$", re.IGNORECASE) DEV_INDEX = 7 DEV_FULL = '' @@ -108,7 +108,7 @@ fileOpen = "lvm.txt" section = "/pvs" content = [] - CONFIRMED = re.compile(" " + str(LVM_VG) + " ") + CONFIRMED = re.compile(r" " + str(LVM_VG) + " ") if Core.isFileActive(fileOpen): if Core.getRegExSection(fileOpen, section, content): @@ -135,7 +135,7 @@ else: CHECK_DEV = MPIO_DEV_BASE - MPIO_LINK = re.compile("dm-name-" + str(CHECK_DEV) + " -> ../../", re.IGNORECASE) + MPIO_LINK = re.compile(r"dm-name-" + str(CHECK_DEV) + " -> ../../", re.IGNORECASE) DM_MPIO_DEV = '' STATE = False @@ -146,7 +146,7 @@ if MPIO_LINK.search(line): DM_MPIO_DEV = line.split('/')[LAST_FIELD] if( 'dm-' in DM_MPIO_DEV ): - WWID_LIST = re.compile(" " + str(DM_MPIO_DEV) + " ") + WWID_LIST = re.compile(r" " + str(DM_MPIO_DEV) + " ") FIND_DEV = re.compile(r'\d+:\d+:\d+:\d+') content = [] if Core.getRegExSection(fileOpen, section_mpiolist, content): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/lvmsnapshot-000019858.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/lvmsnapshot-000019858.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/lvmsnapshot-000019858.py 2022-10-26 21:15:53.096841808 +0200 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/lvmsnapshot-000019858.py 2025-06-05 18:21:27.413438878 +0200 @@ -66,7 +66,7 @@ LVM_LV = 0 LVM_VG = 1 IN_STATE = False - find_state = re.compile("^.*LV.*VG") + find_state = re.compile(r"^.*LV.*VG") if Core.isFileActive(fileOpen): if Core.getRegExSection(fileOpen, section, content): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/mysqlperf-000020354.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/mysqlperf-000020354.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/mysqlperf-000020354.py 2021-11-04 23:04:59.881229457 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/mysqlperf-000020354.py 2025-06-05 18:21:27.413438878 +0200 @@ -50,7 +50,7 @@ fileOpen = "boot.txt" section = "dmesg -T" content = [] - CONFIRMED = re.compile("mysqld.*segfault at.*ip.*sp.*error.*in mysqld", re.IGNORECASE) + CONFIRMED = re.compile(r"mysqld.*segfault at.*ip.*sp.*error.*in mysqld", re.IGNORECASE) if Core.isFileActive(fileOpen): if Core.getRegExSection(fileOpen, section, content): for line in content: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/nfsvers-000020653.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/nfsvers-000020653.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/nfsvers-000020653.py 2022-05-20 19:01:15.215573225 +0200 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/nfsvers-000020653.py 2025-06-05 18:21:27.413438878 +0200 @@ -50,7 +50,7 @@ fileOpen = "etc.txt" section = "/etc/nfsmount.conf" content = [] - CONFIRMED = re.compile("^nfsvers.*=", re.IGNORECASE) + CONFIRMED = re.compile(r"^nfsvers.*=", re.IGNORECASE) if Core.isFileActive(fileOpen): if Core.getRegExSection(fileOpen, section, content): for line in content: @@ -62,7 +62,7 @@ fileOpen = "boot.txt" section = "dmesg -T" content = [] - CONFIRMED = re.compile("NFS.*mount option vers=3 does not support minorversion=1", re.IGNORECASE) + CONFIRMED = re.compile(r"NFS.*mount option vers=3 does not support minorversion=1", re.IGNORECASE) if Core.isFileActive(fileOpen): if Core.getRegExSection(fileOpen, section, content): for line in content: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/nmiconfig-000020754.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/nmiconfig-000020754.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/nmiconfig-000020754.py 2022-10-25 19:02:29.343134798 +0200 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/nmiconfig-000020754.py 2025-06-05 18:21:27.413438878 +0200 @@ -49,7 +49,7 @@ file_open = "boot.txt" section = "dmesg -T" content = [] - confirmed = re.compile("NMI.*reason .* on CPU", re.IGNORECASE) + confirmed = re.compile(r"NMI.*reason .* on CPU", re.IGNORECASE) if Core.isFileActive(file_open): if Core.getRegExSection(file_open, section, content): for line in content: @@ -61,7 +61,7 @@ file_open = "env.txt" section = "sysctl -a" content = [] - confirmed = re.compile("kernel.panic_on_io_nmi|kernel.panic_on_unrecovered_nmi|kernel.unknown_nmi_panic", re.IGNORECASE) + confirmed = re.compile(r"kernel.panic_on_io_nmi|kernel.panic_on_unrecovered_nmi|kernel.unknown_nmi_panic", re.IGNORECASE) if Core.isFileActive(file_open): if Core.getRegExSection(file_open, section, content): for line in content: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/nobarrier-000020240.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/nobarrier-000020240.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/nobarrier-000020240.py 2021-11-04 23:04:59.881229457 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/nobarrier-000020240.py 2025-06-05 18:21:27.413438878 +0200 @@ -59,8 +59,8 @@ section = "dmesg -T" content = [] RCODE = RC_NOTFOUND - DEPRECATED = re.compile("XFS.*nobarrier option is deprecated", re.IGNORECASE) - UNSUPPORTED = re.compile("XFS.*unknown mount option.*nobarrier", re.IGNORECASE) + DEPRECATED = re.compile(r"XFS.*nobarrier option is deprecated", re.IGNORECASE) + UNSUPPORTED = re.compile(r"XFS.*unknown mount option.*nobarrier", re.IGNORECASE) if Core.isFileActive(fileOpen): if Core.getRegExSection(fileOpen, section, content): for line in content: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/oomvsftpd-000020252.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/oomvsftpd-000020252.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/oomvsftpd-000020252.py 2021-11-04 23:04:59.881229457 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/oomvsftpd-000020252.py 2025-06-05 18:21:27.413438878 +0200 @@ -50,7 +50,7 @@ fileOpen = "etc.txt" section = "vsftpd.conf" content = [] - CONFIRMED = re.compile("isolate_network=NO", re.IGNORECASE) + CONFIRMED = re.compile(r"isolate_network=NO", re.IGNORECASE) if Core.isFileActive(fileOpen): if Core.getRegExSection(fileOpen, section, content): for line in content: @@ -64,7 +64,7 @@ fileOpen = "systemd.txt" section = "systemd-cgls --no-pager --all --full" content = [] - CONFIRMED = re.compile("vsftpd .*vsftpd.conf", re.IGNORECASE) + CONFIRMED = re.compile(r"vsftpd .*vsftpd.conf", re.IGNORECASE) if Core.isFileActive(fileOpen): if Core.getRegExSection(fileOpen, section, content): for line in content: @@ -80,7 +80,7 @@ fileOpen = "boot.txt" section = "dmesg -T" content = [] - CONFIRMED = re.compile("vsftpd invoked oom-killer", re.IGNORECASE) + CONFIRMED = re.compile(r"vsftpd invoked oom-killer", re.IGNORECASE) if Core.isFileActive(fileOpen): if Core.getRegExSection(fileOpen, section, content): for line in content: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/postfix-000020356.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/postfix-000020356.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/postfix-000020356.py 2021-11-04 23:04:59.881229457 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/postfix-000020356.py 2025-06-05 18:21:27.413438878 +0200 @@ -50,7 +50,7 @@ fileOpen = "network.txt" section = "/etc/hosts" content = [] - CONFIRMED = re.compile("::1.*localhost", re.IGNORECASE) + CONFIRMED = re.compile(r"::1.*localhost", re.IGNORECASE) if Core.isFileActive(fileOpen): if Core.getRegExSection(fileOpen, section, content): for line in content: @@ -65,7 +65,7 @@ fileOpen = "network.txt" section = "/usr/sbin/wicked ifstatus --verbose all" content = [] - CONFIRMED = re.compile("addr.*ipv6.*::1/", re.IGNORECASE) + CONFIRMED = re.compile(r"addr.*ipv6.*::1/", re.IGNORECASE) if Core.getRegExSection(fileOpen, section, content): for line in content: if CONFIRMED.search(line): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/rsyslog-000019710.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/rsyslog-000019710.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/rsyslog-000019710.py 2024-01-29 19:54:56.573635860 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/rsyslog-000019710.py 2025-06-05 18:21:27.413438878 +0200 @@ -57,7 +57,7 @@ fileOpen = "y2log.txt" section = "y2start.log" content = [] - UPGRADE = re.compile("Upgrade.*1", re.IGNORECASE) + UPGRADE = re.compile(r"Upgrade.*1", re.IGNORECASE) if Core.getRegExSection(fileOpen, section, content): for line in content: if UPGRADE.search(line): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/scaschema-000020689.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/scaschema-000020689.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/scaschema-000020689.py 2022-07-06 18:17:07.245903296 +0200 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/scaschema-000020689.py 2025-06-05 18:21:27.413438878 +0200 @@ -49,7 +49,7 @@ def scaConfigured(): fileOpen = "etc.txt" CONFIGURED = True - CONFIRMED = re.compile("#Run s", re.IGNORECASE) + CONFIRMED = re.compile(r"#Run s", re.IGNORECASE) CONF_FILES = ["/etc/sca/sdbroker.conf", "/etc/sca/sdagent.conf", "/etc/sca/sdp.conf"] for section in CONF_FILES: content = [] @@ -63,7 +63,7 @@ fileOpen = "updates.txt" section = "/etc/zypp/zypp.conf" content = [] - CONFIRMED = re.compile("rpm.install.excludedocs.*yes", re.IGNORECASE) + CONFIRMED = re.compile(r"rpm.install.excludedocs.*yes", re.IGNORECASE) if Core.isFileActive(fileOpen): if Core.getRegExSection(fileOpen, section, content): for line in content: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/sdagentconfig-000020301.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/sdagentconfig-000020301.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/sdagentconfig-000020301.py 2021-11-04 23:04:59.881229457 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/sdagentconfig-000020301.py 2025-06-05 18:21:27.413438878 +0200 @@ -77,7 +77,7 @@ if( SUSE.packageInstalled(PACKAGE) ): if Core.isFileActive(fileOpen): - CONFIRMED = re.compile("INSRC=#Run", re.IGNORECASE) + CONFIRMED = re.compile(r"INSRC=#Run", re.IGNORECASE) if( brokerConfigured() ): if( agentConfigured() ): Core.updateStatus(Core.IGNORE, "Both the sdbroker and sdagent are configured") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/slapd-000019711.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/slapd-000019711.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/slapd-000019711.py 2021-11-04 23:04:59.885229358 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/slapd-000019711.py 2025-06-05 18:21:27.413438878 +0200 @@ -50,7 +50,7 @@ fileOpen = "y2log.txt" section = "YaST2/config_diff.*log" content = [] - CONFIRMED = re.compile("Changed configuration file.*for openldap2-[0-9]", re.IGNORECASE) + CONFIRMED = re.compile(r"Changed configuration file.*for openldap2-[0-9]", re.IGNORECASE) if Core.isFileActive(fileOpen): if Core.getRegExSection(fileOpen, section, content): for line in content: @@ -62,7 +62,7 @@ fileOpen = "y2log.txt" section = "y2start.log" content = [] - UPGRADE = re.compile("Upgrade.*1", re.IGNORECASE) + UPGRADE = re.compile(r"Upgrade.*1", re.IGNORECASE) if Core.getRegExSection(fileOpen, section, content): for line in content: if UPGRADE.search(line): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/softlock-000018705.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/softlock-000018705.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/softlock-000018705.py 2021-11-04 23:04:59.885229358 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/softlock-000018705.py 2025-06-05 18:21:27.413438878 +0200 @@ -46,7 +46,7 @@ ############################################################################## def softLockFound(): - CONFIRMED = re.compile("kernel:.*BUG: soft lockup ", re.IGNORECASE) + CONFIRMED = re.compile(r"kernel:.*BUG: soft lockup ", re.IGNORECASE) fileOpen = "messages.txt" section = "/var/log/warn" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/systemd-current-failed-7017137.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/systemd-current-failed-7017137.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/systemd-current-failed-7017137.py 2021-11-04 23:04:59.885229358 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/systemd-current-failed-7017137.py 2025-06-05 18:21:27.413438878 +0200 @@ -60,7 +60,7 @@ IDX_UNIT_NAME = 1 #find any systemd units that have failed if Core.getRegExSection(FILE_OPEN, SECTION, CONTENT): - failedState = re.compile("loaded.*failed", re.IGNORECASE) + failedState = re.compile(r"loaded.*failed", re.IGNORECASE) for LINE in CONTENT: if failedState.search(LINE): FAILED_SERVICES.append(LINE.split()[IDX_UNIT_NAME]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/tmpfiles-000019707.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/tmpfiles-000019707.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/tmpfiles-000019707.py 2021-11-04 23:04:59.885229358 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/tmpfiles-000019707.py 2025-06-05 18:21:27.413438878 +0200 @@ -63,7 +63,7 @@ fileOpen = "y2log.txt" section = "y2start.log" content = [] - UPGRADE = re.compile("Upgrade.*1", re.IGNORECASE) + UPGRADE = re.compile(r"Upgrade.*1", re.IGNORECASE) if Core.getRegExSection(fileOpen, section, content): for line in content: if UPGRADE.search(line): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/traceprintk-000020680.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/traceprintk-000020680.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/traceprintk-000020680.py 2022-07-14 20:48:10.056117003 +0200 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/traceprintk-000020680.py 2025-06-05 18:21:27.413438878 +0200 @@ -49,7 +49,7 @@ fileOpen = "boot.txt" section = "dmesg -T" content = [] - CONFIRMED = re.compile("trace_printk()", re.IGNORECASE) + CONFIRMED = re.compile(r"trace_printk()", re.IGNORECASE) if Core.isFileActive(fileOpen): if Core.getRegExSection(fileOpen, section, content): for line in content: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/udevmac-000020260.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/udevmac-000020260.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/udevmac-000020260.py 2021-11-04 23:04:59.885229358 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/udevmac-000020260.py 2025-06-05 18:21:27.413438878 +0200 @@ -52,7 +52,7 @@ section = "bin/journalctl --no-pager --boot" content = [] FOUND = {} - CONFIRMED = re.compile("systemd-udevd.*Could not generate persistent MAC address for.*No such file or directory", re.IGNORECASE) + CONFIRMED = re.compile(r"systemd-udevd.*Could not generate persistent MAC address for.*No such file or directory", re.IGNORECASE) if Core.isFileActive(fileOpen): if Core.getRegExSection(fileOpen, section, content): for line in content: @@ -65,7 +65,7 @@ section = "ethtool -i " + CHK_IFACE content = [] FOUND = {} - CONFIRMED = re.compile("driver:.*bridge|driver:.*bonding", re.IGNORECASE) + CONFIRMED = re.compile(r"driver:.*bridge|driver:.*bonding", re.IGNORECASE) if Core.isFileActive(fileOpen): if Core.getRegExSection(fileOpen, section, content): for line in content: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/zerologon-000019713.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/zerologon-000019713.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/zerologon-000019713.py 2021-11-04 23:04:59.885229358 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/zerologon-000019713.py 2025-06-05 18:21:27.413438878 +0200 @@ -50,8 +50,8 @@ fileOpen = "samba.txt" section = "testparm" content = [] - SETTING = re.compile("server schannel", re.IGNORECASE) - CONFIRMED = re.compile("server schannel.*Yes", re.IGNORECASE) + SETTING = re.compile(r"server schannel", re.IGNORECASE) + CONFIRMED = re.compile(r"server schannel.*Yes", re.IGNORECASE) if Core.isFileActive(fileOpen): if Core.getRegExSection(fileOpen, section, content): for line in content: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/zypproxy-000020275.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/zypproxy-000020275.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15all/zypproxy-000020275.py 2021-11-04 23:04:59.885229358 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15all/zypproxy-000020275.py 2025-06-05 18:21:27.413438878 +0200 @@ -51,7 +51,7 @@ CONTENT = [] if Core.isFileActive(FILE_OPEN): if Core.getRegExSection(FILE_OPEN, SECTION, CONTENT): - CONFIRMED = re.compile("^http_proxy=|^https_proxy=", re.IGNORECASE) + CONFIRMED = re.compile(r"^http_proxy=|^https_proxy=", re.IGNORECASE) for LINE in CONTENT: if CONFIRMED.search(LINE): return True @@ -79,7 +79,7 @@ if( len(CURL_TESTS) > 0 ): # print(CURL_TESTS) - PROXY_AUTH_FAILED_MSG = re.compile("HTTP/1.1 403 Forbidden|== Info: Authentication problem. Ignoring this", re.IGNORECASE) + PROXY_AUTH_FAILED_MSG = re.compile(r"HTTP/1.1 403 Forbidden|== Info: Authentication problem. Ignoring this", re.IGNORECASE) for FILE_OPEN in CURL_TESTS: # print(FILE_OPEN) CONTENT = [] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp0/mpiofindpaths-000019511.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp0/mpiofindpaths-000019511.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp0/mpiofindpaths-000019511.py 2021-11-04 23:04:59.909228770 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp0/mpiofindpaths-000019511.py 2025-06-05 18:21:27.413438878 +0200 @@ -47,7 +47,7 @@ fileOpen = "mpio.txt" section = "/multipath.conf" content = [] - CONFIRMED = re.compile("find_multipaths .*yes", re.IGNORECASE) + CONFIRMED = re.compile(r"find_multipaths .*yes", re.IGNORECASE) if Core.isFileActive(fileOpen): if Core.getRegExSection(fileOpen, section, content): for line in content: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp0/openssh-7023532.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp0/openssh-7023532.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp0/openssh-7023532.py 2021-11-04 23:04:59.909228770 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp0/openssh-7023532.py 2025-06-05 18:21:27.413438878 +0200 @@ -56,7 +56,7 @@ def gssapiEnabled(): FILE_OPEN = "ssh.txt" SECTION = "sshd_config" - GSSAPI = re.compile("^GSSAPIAuthentication.*yes", re.IGNORECASE) + GSSAPI = re.compile(r"^GSSAPIAuthentication.*yes", re.IGNORECASE) CONTENT = [] if Core.getRegExSection(FILE_OPEN, SECTION, CONTENT): for LINE in CONTENT: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp0/plymouth-000019595.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp0/plymouth-000019595.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp0/plymouth-000019595.py 2021-11-04 23:04:59.913228672 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp0/plymouth-000019595.py 2025-06-05 18:21:27.413438878 +0200 @@ -57,7 +57,7 @@ fileOpen = "boot.txt" section = "/proc/cmdline" content = {} - CONFIRMED = re.compile("plymouth.enable=0", re.IGNORECASE) + CONFIRMED = re.compile(r"plymouth.enable=0", re.IGNORECASE) if Core.getSection(fileOpen, section, content): for line in content: if CONFIRMED.search(content[line]): @@ -68,7 +68,7 @@ fileOpen = "systemd.txt" section = "/bin/ls -alR /etc/systemd/" content = {} - CONFIRMED = re.compile("default\.target.*graphical\.target", re.IGNORECASE) + CONFIRMED = re.compile(r"default\.target.*graphical\.target", re.IGNORECASE) if Core.getSection(fileOpen, section, content): for line in content: if CONFIRMED.search(content[line]): @@ -79,7 +79,7 @@ fileOpen = "systemd.txt" section = "/bin/systemctl.*list-units" content = {} - CONFIRMED = re.compile("plymouth-quit-wait.service.*start.*running", re.IGNORECASE) + CONFIRMED = re.compile(r"plymouth-quit-wait.service.*start.*running", re.IGNORECASE) if Core.getSection(fileOpen, section, content): for line in content: if CONFIRMED.search(content[line]): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp0/saddns-000019786_150.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp0/saddns-000019786_150.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp0/saddns-000019786_150.py 2021-11-04 23:04:59.925228377 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp0/saddns-000019786_150.py 2025-06-05 18:21:27.413438878 +0200 @@ -63,7 +63,7 @@ section = "iptables -t filter" content = {} IN_STATE = False - WORK_AROUND = re.compile("DROP.*icmp.*icmptype") + WORK_AROUND = re.compile(r"DROP.*icmp.*icmptype") if Core.getSection(fileOpen, section, content): for line in content: if IN_STATE: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp0/ucodeintel_150-000019635.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp0/ucodeintel_150-000019635.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp0/ucodeintel_150-000019635.py 2021-11-04 23:04:59.933228181 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp0/ucodeintel_150-000019635.py 2025-06-05 18:21:27.413438878 +0200 @@ -52,7 +52,7 @@ fileOpen = "hardware.txt" section = "/proc/cpuinfo" content = [] - CONFIRMED = re.compile("vendor_id.*GenuineIntel", re.IGNORECASE) + CONFIRMED = re.compile(r"vendor_id.*GenuineIntel", re.IGNORECASE) if Core.getRegExSection(fileOpen, section, content): for line in content: if CONFIRMED.search(line): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp1/cpupower-000019637.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp1/cpupower-000019637.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp1/cpupower-000019637.py 2021-11-04 23:04:59.937228083 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp1/cpupower-000019637.py 2025-06-05 18:21:27.413438878 +0200 @@ -49,7 +49,7 @@ def conditionConfirmed(): fileOpen = "hardware.txt" section = "/proc/cpuinfo" - AMD = re.compile("vendor_id.*:.*amd.*", re.IGNORECASE) + AMD = re.compile(r"vendor_id.*:.*amd.*", re.IGNORECASE) content = {} if Core.getSection(fileOpen, section, content): for line in content: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp1/crosstalk_151-000019643.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp1/crosstalk_151-000019643.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp1/crosstalk_151-000019643.py 2021-11-04 23:04:59.937228083 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp1/crosstalk_151-000019643.py 2025-06-05 18:21:27.413438878 +0200 @@ -52,7 +52,7 @@ fileOpen = "hardware.txt" section = "/proc/cpuinfo" content = [] - CONFIRMED = re.compile("vendor_id.*GenuineIntel", re.IGNORECASE) + CONFIRMED = re.compile(r"vendor_id.*GenuineIntel", re.IGNORECASE) if Core.getRegExSection(fileOpen, section, content): for line in content: if CONFIRMED.search(line): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp1/dmesgamd-000019676.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp1/dmesgamd-000019676.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp1/dmesgamd-000019676.py 2021-11-04 23:04:59.941227985 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp1/dmesgamd-000019676.py 2025-06-05 18:21:27.413438878 +0200 @@ -55,7 +55,7 @@ def amdCPU(): fileOpen = "hardware.txt" section = "/proc/cpuinfo" - AMD = re.compile("vendor_id.*:.*AMD.*", re.IGNORECASE) + AMD = re.compile(r"vendor_id.*:.*AMD.*", re.IGNORECASE) content = {} if Core.getSection(fileOpen, section, content): for line in content: @@ -67,7 +67,7 @@ fileOpen = "boot.txt" section = "/bin/dmesg" content = {} - ERRORS = re.compile("CCP initialization failed|PSP Initialization failed", re.IGNORECASE) + ERRORS = re.compile(r"CCP initialization failed|PSP Initialization failed", re.IGNORECASE) content = {} if Core.getSection(fileOpen, section, content): for line in content: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp1/edac-000019537.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp1/edac-000019537.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp1/edac-000019537.py 2021-11-04 23:04:59.941227985 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp1/edac-000019537.py 2025-06-05 18:21:27.413438878 +0200 @@ -52,7 +52,7 @@ fileOpen = "basic-environment.txt" section = "Virtualization" content = [] - CONFIRMED = re.compile("Hardware.*PowerEdge", re.IGNORECASE) + CONFIRMED = re.compile(r"Hardware.*PowerEdge", re.IGNORECASE) if Core.getRegExSection(fileOpen, section, content): for line in content: if CONFIRMED.search(line): @@ -63,7 +63,7 @@ fileOpen = "boot.txt" section = "/dmesg" content = [] - CONFIRMED = re.compile("EDAC amd64.*Error.*F0 not found.*device.*broken BIOS", re.IGNORECASE) + CONFIRMED = re.compile(r"EDAC amd64.*Error.*F0 not found.*device.*broken BIOS", re.IGNORECASE) if Core.getRegExSection(fileOpen, section, content): for line in content: if CONFIRMED.search(line): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp1/ipmi-000019602.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp1/ipmi-000019602.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp1/ipmi-000019602.py 2021-11-04 23:04:59.941227985 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp1/ipmi-000019602.py 2025-06-05 18:21:27.413438878 +0200 @@ -52,7 +52,7 @@ fileOpen = "hardware.txt" section = "hwinfo" content = [] - CONFIRMED = re.compile("/dev/ipmi", re.IGNORECASE) + CONFIRMED = re.compile(r"/dev/ipmi", re.IGNORECASE) if Core.getRegExSection(fileOpen, section, content): for line in content: if CONFIRMED.search(line): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp1/lscpu-000019784-15.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp1/lscpu-000019784-15.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp1/lscpu-000019784-15.py 2021-11-04 23:04:59.949227788 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp1/lscpu-000019784-15.py 2025-06-05 18:21:27.413438878 +0200 @@ -51,7 +51,7 @@ fileOpen = "crash.txt" section = "coredumpctl list" content = {} - CONFIRMED = re.compile("/usr/bin/lscpu", re.IGNORECASE) + CONFIRMED = re.compile(r"/usr/bin/lscpu", re.IGNORECASE) if Core.getSection(fileOpen, section, content): for line in content: if CONFIRMED.search(content[line]): @@ -65,7 +65,7 @@ RPM_NAME = 'util-linux' RPM_VERSION_FIXED = '2.33.1-4.13.1' SERVER = SUSE.getHostInfo() -POWER = re.compile("ppc64|s390", re.IGNORECASE) +POWER = re.compile(r"ppc64|s390", re.IGNORECASE) if POWER.search(SERVER['Architecture']): if( SUSE.packageInstalled(RPM_NAME) ): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp1/nfit-000019688.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp1/nfit-000019688.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp1/nfit-000019688.py 2021-11-04 23:04:59.949227788 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp1/nfit-000019688.py 2025-06-05 18:21:27.413438878 +0200 @@ -51,7 +51,7 @@ fileOpen = "boot.txt" section = "/dmesg" content = [] - CONFIRMED = re.compile("nfit:.*Unknown symbol nvdimm_blk_region_create|nfit:.*Unknown symbol nvdimm_region_notify|nfit:.*Unknown symbol to_nvdimm_bus", re.IGNORECASE) + CONFIRMED = re.compile(r"nfit:.*Unknown symbol nvdimm_blk_region_create|nfit:.*Unknown symbol nvdimm_region_notify|nfit:.*Unknown symbol to_nvdimm_bus", re.IGNORECASE) if Core.isFileActive(fileOpen): if Core.getRegExSection(fileOpen, section, content): for line in content: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp1/passthrough-000019579.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp1/passthrough-000019579.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp1/passthrough-000019579.py 2021-11-04 23:04:59.953227690 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp1/passthrough-000019579.py 2025-06-05 18:21:27.413438878 +0200 @@ -52,7 +52,7 @@ fileOpen = "filename.txt" section = "CommandToIdentifyFileSection" content = [] - CONFIRMED = re.compile("", re.IGNORECASE) + CONFIRMED = re.compile(r"", re.IGNORECASE) if Core.getRegExSection(fileOpen, section, content): for line in content: if CONFIRMED.search(line): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp1/plymouth-000019595.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp1/plymouth-000019595.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp1/plymouth-000019595.py 2021-11-04 23:04:59.953227690 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp1/plymouth-000019595.py 2025-06-05 18:21:27.413438878 +0200 @@ -57,7 +57,7 @@ fileOpen = "boot.txt" section = "/proc/cmdline" content = {} - CONFIRMED = re.compile("plymouth.enable=0", re.IGNORECASE) + CONFIRMED = re.compile(r"plymouth.enable=0", re.IGNORECASE) if Core.getSection(fileOpen, section, content): for line in content: if CONFIRMED.search(content[line]): @@ -68,7 +68,7 @@ fileOpen = "systemd.txt" section = "/bin/ls -alR /etc/systemd/" content = {} - CONFIRMED = re.compile("default\.target.*graphical\.target", re.IGNORECASE) + CONFIRMED = re.compile(r"default\.target.*graphical\.target", re.IGNORECASE) if Core.getSection(fileOpen, section, content): for line in content: if CONFIRMED.search(content[line]): @@ -79,7 +79,7 @@ fileOpen = "systemd.txt" section = "/bin/systemctl.*list-units" content = {} - CONFIRMED = re.compile("plymouth-quit-wait.service.*start.*running", re.IGNORECASE) + CONFIRMED = re.compile(r"plymouth-quit-wait.service.*start.*running", re.IGNORECASE) if Core.getSection(fileOpen, section, content): for line in content: if CONFIRMED.search(content[line]): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp1/qlogic-000019630.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp1/qlogic-000019630.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp1/qlogic-000019630.py 2021-11-04 23:04:59.957227592 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp1/qlogic-000019630.py 2025-06-05 18:21:27.413438878 +0200 @@ -52,7 +52,7 @@ fileOpen = "hardware.txt" section = "lspci" content = [] - CONFIRMED = re.compile("QL41", re.IGNORECASE) + CONFIRMED = re.compile(r"QL41", re.IGNORECASE) if Core.getRegExSection(fileOpen, section, content): for line in content: if CONFIRMED.search(line): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp1/saddns-000019786_151.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp1/saddns-000019786_151.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp1/saddns-000019786_151.py 2021-11-04 23:04:59.957227592 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp1/saddns-000019786_151.py 2025-06-05 18:21:27.413438878 +0200 @@ -63,7 +63,7 @@ section = "iptables -t filter" content = {} IN_STATE = False - WORK_AROUND = re.compile("DROP.*icmp.*icmptype") + WORK_AROUND = re.compile(r"DROP.*icmp.*icmptype") if Core.getSection(fileOpen, section, content): for line in content: if IN_STATE: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp1/ucodeintel_151-000019635.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp1/ucodeintel_151-000019635.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp1/ucodeintel_151-000019635.py 2021-11-04 23:04:59.961227494 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp1/ucodeintel_151-000019635.py 2025-06-05 18:21:27.413438878 +0200 @@ -52,7 +52,7 @@ fileOpen = "hardware.txt" section = "/proc/cpuinfo" content = [] - CONFIRMED = re.compile("vendor_id.*GenuineIntel", re.IGNORECASE) + CONFIRMED = re.compile(r"vendor_id.*GenuineIntel", re.IGNORECASE) if Core.getRegExSection(fileOpen, section, content): for line in content: if CONFIRMED.search(line): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp1/x710-000019639.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp1/x710-000019639.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp1/x710-000019639.py 2021-11-04 23:04:59.961227494 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp1/x710-000019639.py 2025-06-05 18:21:27.413438878 +0200 @@ -50,7 +50,7 @@ fileOpen = "hardware.txt" section = "lspci" content = {} - CONFIRMED = re.compile("Intel Corporation Ethernet Controller x710", re.IGNORECASE) + CONFIRMED = re.compile(r"Intel Corporation Ethernet Controller x710", re.IGNORECASE) if Core.getSection(fileOpen, section, content): for line in content: if CONFIRMED.search(content[line]): @@ -61,7 +61,7 @@ fileOpen = "boot.txt" section = "/dmesg" content = {} - CONFIRMED = re.compile("i40e.*probe of.*failed with error -11", re.IGNORECASE) + CONFIRMED = re.compile(r"i40e.*probe of.*failed with error -11", re.IGNORECASE) if Core.getSection(fileOpen, section, content): for line in content: if CONFIRMED.search(content[line]): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp1/xschema-000019825.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp1/xschema-000019825.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp1/xschema-000019825.py 2021-11-04 23:04:59.961227494 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp1/xschema-000019825.py 2025-06-05 18:21:27.413438878 +0200 @@ -59,7 +59,7 @@ fileOpen = "messages.txt" section = "/var/log/messages" content = {} - ERROR_MSG = re.compile("gnome-session-binary.*GLib-GIO-ERROR.*No GSettings schemas are installed on the system", re.IGNORECASE) + ERROR_MSG = re.compile(r"gnome-session-binary.*GLib-GIO-ERROR.*No GSettings schemas are installed on the system", re.IGNORECASE) if Core.getSection(fileOpen, section, content): for line in content: if ERROR_MSG.search(content[line]): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp2/crosstalk_152-000019643.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp2/crosstalk_152-000019643.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp2/crosstalk_152-000019643.py 2021-11-04 23:04:59.965227396 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp2/crosstalk_152-000019643.py 2025-06-05 18:21:27.413438878 +0200 @@ -52,7 +52,7 @@ fileOpen = "hardware.txt" section = "/proc/cpuinfo" content = [] - CONFIRMED = re.compile("vendor_id.*GenuineIntel", re.IGNORECASE) + CONFIRMED = re.compile(r"vendor_id.*GenuineIntel", re.IGNORECASE) if Core.getRegExSection(fileOpen, section, content): for line in content: if CONFIRMED.search(line): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp2/fcoe-000019889.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp2/fcoe-000019889.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp2/fcoe-000019889.py 2021-11-04 23:04:59.965227396 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp2/fcoe-000019889.py 2025-06-05 18:21:27.413438878 +0200 @@ -52,7 +52,7 @@ fileOpen = "fs-diskio.txt" section = "/etc/fstab" content = [] - CONFIRMED = re.compile("_netdev", re.IGNORECASE) + CONFIRMED = re.compile(r"_netdev", re.IGNORECASE) if Core.getRegExSection(fileOpen, section, content): for line in content: if CONFIRMED.search(line): @@ -63,7 +63,7 @@ fileOpen = "boot.txt" section = "journalctl.*--boot" content = [] - CONFIRMED = re.compile("wickedd-nanny.*Interface.getManagedObjects failed", re.IGNORECASE) + CONFIRMED = re.compile(r"wickedd-nanny.*Interface.getManagedObjects failed", re.IGNORECASE) if Core.getRegExSection(fileOpen, section, content): for line in content: if CONFIRMED.search(line): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp2/intelpstate_152-000020273.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp2/intelpstate_152-000020273.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp2/intelpstate_152-000020273.py 2021-11-04 23:04:59.969227298 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp2/intelpstate_152-000020273.py 2025-06-05 18:21:27.413438878 +0200 @@ -54,9 +54,9 @@ CPU = False FAM = False MOD = False - CONFIRM_CPU = re.compile("^model name.*:.*Intel.*Xeon", re.IGNORECASE) - CONFIRM_FAM = re.compile("^cpu family.*:.*6", re.IGNORECASE) - CONFIRM_MOD = re.compile("^model.*:.*106", re.IGNORECASE) + CONFIRM_CPU = re.compile(r"^model name.*:.*Intel.*Xeon", re.IGNORECASE) + CONFIRM_FAM = re.compile(r"^cpu family.*:.*6", re.IGNORECASE) + CONFIRM_MOD = re.compile(r"^model.*:.*106", re.IGNORECASE) if Core.isFileActive(fileOpen): if Core.getRegExSection(fileOpen, section, content): for line in content: @@ -92,7 +92,7 @@ fileOpen = "boot.txt" section = "dmesg -T" content = [] - CONFIRMED = re.compile("intel_pstate: CPU model not supported", re.IGNORECASE) + CONFIRMED = re.compile(r"intel_pstate: CPU model not supported", re.IGNORECASE) if Core.isFileActive(fileOpen): if Core.getRegExSection(fileOpen, section, content): for line in content: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp2/irqaff-000019936.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp2/irqaff-000019936.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp2/irqaff-000019936.py 2022-05-18 18:49:35.011782435 +0200 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp2/irqaff-000019936.py 2025-06-05 18:21:27.413438878 +0200 @@ -51,7 +51,7 @@ fileOpen = "boot.txt" section = "dmesg" content = [] - CONFIRMED = re.compile("Affinity broken due to vector space exhaustion", re.IGNORECASE) + CONFIRMED = re.compile(r"Affinity broken due to vector space exhaustion", re.IGNORECASE) if Core.getRegExSection(fileOpen, section, content): for line in content: if CONFIRMED.search(line): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp2/iscsiadm-000019883.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp2/iscsiadm-000019883.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp2/iscsiadm-000019883.py 2021-11-04 23:04:59.969227298 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp2/iscsiadm-000019883.py 2025-06-05 18:21:27.413438878 +0200 @@ -50,7 +50,7 @@ def conditionConfirmed(): fileOpen = "messages.txt" content = {} - CONFIRMED = re.compile("systemd-coredump.*iscsiadm|iscsiadm.*segfault", re.IGNORECASE) + CONFIRMED = re.compile(r"systemd-coredump.*iscsiadm|iscsiadm.*segfault", re.IGNORECASE) section = "/var/log/messages" if Core.getSection(fileOpen, section, content): for line in content: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp2/kernel-000019739.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp2/kernel-000019739.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp2/kernel-000019739.py 2021-11-04 23:04:59.973227200 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp2/kernel-000019739.py 2025-06-05 18:21:27.413438878 +0200 @@ -51,7 +51,7 @@ fileOpen = "basic-environment.txt" section = "Virtualization" content = {} - CONFIRMED = re.compile("PowerEdge.*R240|PowerEdge.*R340|PowerEdge.*T140|PowerEdge.*T340", re.IGNORECASE) + CONFIRMED = re.compile(r"PowerEdge.*R240|PowerEdge.*R340|PowerEdge.*T140|PowerEdge.*T340", re.IGNORECASE) if Core.getSection(fileOpen, section, content): for line in content: if CONFIRMED.search(content[line]): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp2/kmpdracut-000020799.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp2/kmpdracut-000020799.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp2/kmpdracut-000020799.py 2022-10-25 16:59:16.984852237 +0200 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp2/kmpdracut-000020799.py 2025-06-05 18:21:27.413438878 +0200 @@ -49,8 +49,8 @@ file_open = "rpm.txt" section = "rpm -qa --queryformat.*NAME}" content = [] - confirmed = re.compile("kmp-", re.IGNORECASE) - exception_list = re.compile("^dpdk-kmp-default |^oracleasm-kmp-default |^crash-kmp-default |^lttng-modules-kmp-default |^reiserfs-kmp-default |^cluster-md-kmp-default |^dlm-kmp-default |^drbd-kmp-default |^gfs2-kmp-default |^ocfs2-kmp-default ", re.IGNORECASE) + confirmed = re.compile(r"kmp-", re.IGNORECASE) + exception_list = re.compile(r"^dpdk-kmp-default |^oracleasm-kmp-default |^crash-kmp-default |^lttng-modules-kmp-default |^reiserfs-kmp-default |^cluster-md-kmp-default |^dlm-kmp-default |^drbd-kmp-default |^gfs2-kmp-default |^ocfs2-kmp-default ", re.IGNORECASE) if Core.isFileActive(file_open): if Core.getRegExSection(file_open, section, content): for line in content: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp2/lscpu-000019784-15.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp2/lscpu-000019784-15.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp2/lscpu-000019784-15.py 2021-11-04 23:04:59.977227101 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp2/lscpu-000019784-15.py 2025-06-05 18:21:27.413438878 +0200 @@ -51,7 +51,7 @@ fileOpen = "crash.txt" section = "coredumpctl list" content = {} - CONFIRMED = re.compile("/usr/bin/lscpu", re.IGNORECASE) + CONFIRMED = re.compile(r"/usr/bin/lscpu", re.IGNORECASE) if Core.getSection(fileOpen, section, content): for line in content: if CONFIRMED.search(content[line]): @@ -65,7 +65,7 @@ RPM_NAME = 'util-linux' RPM_VERSION_FIXED = '2.33.1-4.13.1' SERVER = SUSE.getHostInfo() -POWER = re.compile("ppc64|s390", re.IGNORECASE) +POWER = re.compile(r"ppc64|s390", re.IGNORECASE) if POWER.search(SERVER['Architecture']): if( SUSE.packageInstalled(RPM_NAME) ): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp2/mpiopmem-000019884.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp2/mpiopmem-000019884.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp2/mpiopmem-000019884.py 2021-11-04 23:04:59.977227101 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp2/mpiopmem-000019884.py 2025-06-05 18:21:27.413438878 +0200 @@ -51,7 +51,7 @@ fileOpen = "mpio.txt" section = "bin/multipath -ll" content = [] - CONFIRMED = re.compile("pmem.*HDIO_GETGEO failed with 25", re.IGNORECASE) + CONFIRMED = re.compile(r"pmem.*HDIO_GETGEO failed with 25", re.IGNORECASE) if Core.isFileActive(fileOpen): if Core.getRegExSection(fileOpen, section, content): for line in content: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp2/nfs4delegation-000020688.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp2/nfs4delegation-000020688.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp2/nfs4delegation-000020688.py 2022-07-06 20:05:01.778947145 +0200 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp2/nfs4delegation-000020688.py 2025-06-05 18:21:27.413438878 +0200 @@ -57,7 +57,7 @@ fileOpen = "boot.txt" section = "dmesg -T" content = [] - CONFIRMED = re.compile("RIP:.*nfs4_get_valid_delegation.*[nfsv4]") + CONFIRMED = re.compile(r"RIP:.*nfs4_get_valid_delegation.*[nfsv4]") if Core.getRegExSection(fileOpen, section, content): for line in content: if CONFIRMED.search(line): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp2/nfstimeout_152-000019943.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp2/nfstimeout_152-000019943.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp2/nfstimeout_152-000019943.py 2021-11-04 23:04:59.981227003 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp2/nfstimeout_152-000019943.py 2025-06-05 18:21:27.413438878 +0200 @@ -69,7 +69,7 @@ fileOpen = "env.txt" section = "sysctl -a" content = [] - CONFIRMED = re.compile("net.core.default_qdisc = fq_codel", re.IGNORECASE) + CONFIRMED = re.compile(r"net.core.default_qdisc = fq_codel", re.IGNORECASE) if Core.isFileActive(fileOpen): if Core.getRegExSection(fileOpen, section, content): for line in content: @@ -87,7 +87,7 @@ SERVERS = {} IDX_LAST = -1 IDX_HOSTNAME = 1 - CONFIRMED = re.compile("kernel.*nfs.*server.*not responding, still trying", re.IGNORECASE) + CONFIRMED = re.compile(r"kernel.*nfs.*server.*not responding, still trying", re.IGNORECASE) #2021-03-07T16:19:31.800974+00:00 vsa8173953 kernel: [1050705.946742] nfs: server hostname not responding, still trying if Core.getRegExSection(fileOpen, section, content): for line in content: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp2/oldlvm-000019878.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp2/oldlvm-000019878.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp2/oldlvm-000019878.py 2021-11-04 23:04:59.981227003 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp2/oldlvm-000019878.py 2025-06-05 18:21:27.413438878 +0200 @@ -53,7 +53,7 @@ section = "/sbin/pvs" content = [] DEVICE_NAME = 2 - CONFIRMED = re.compile("WARNING.*PV.*in VG.*is using an old PV header", re.IGNORECASE) + CONFIRMED = re.compile(r"WARNING.*PV.*in VG.*is using an old PV header", re.IGNORECASE) if Core.isFileActive(fileOpen): if Core.getRegExSection(fileOpen, section, content): for line in content: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp2/rpmnfs-000020364.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp2/rpmnfs-000020364.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp2/rpmnfs-000020364.py 2021-11-04 23:04:59.989226807 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp2/rpmnfs-000020364.py 2025-06-05 18:21:27.413438878 +0200 @@ -61,7 +61,7 @@ fileOpen = "messages.txt" section = "/var/log/messages" content = [] - CONFIRMED = re.compile("RPM.*install filesystem.*: failure", re.IGNORECASE) + CONFIRMED = re.compile(r"RPM.*install filesystem.*: failure", re.IGNORECASE) if Core.isFileActive(fileOpen): if Core.getRegExSection(fileOpen, section, content): for line in content: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp2/saddns-000019786_152.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp2/saddns-000019786_152.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp2/saddns-000019786_152.py 2021-11-04 23:04:59.993226709 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp2/saddns-000019786_152.py 2025-06-05 18:21:27.413438878 +0200 @@ -63,7 +63,7 @@ section = "iptables -t filter" content = {} IN_STATE = False - WORK_AROUND = re.compile("DROP.*icmp.*icmptype") + WORK_AROUND = re.compile(r"DROP.*icmp.*icmptype") if Core.getSection(fileOpen, section, content): for line in content: if IN_STATE: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp2/ucodeintel_152-000019635.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp2/ucodeintel_152-000019635.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp2/ucodeintel_152-000019635.py 2021-11-04 23:04:59.993226709 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp2/ucodeintel_152-000019635.py 2025-06-05 18:21:27.413438878 +0200 @@ -52,7 +52,7 @@ fileOpen = "hardware.txt" section = "/proc/cpuinfo" content = [] - CONFIRMED = re.compile("vendor_id.*GenuineIntel", re.IGNORECASE) + CONFIRMED = re.compile(r"vendor_id.*GenuineIntel", re.IGNORECASE) if Core.getRegExSection(fileOpen, section, content): for line in content: if CONFIRMED.search(line): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp3/dasdkvm-000020295.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp3/dasdkvm-000020295.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp3/dasdkvm-000020295.py 2021-11-04 23:05:00.001226512 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp3/dasdkvm-000020295.py 2025-06-05 18:21:27.417438953 +0200 @@ -51,7 +51,7 @@ fileOpen = "systemd.txt" section = "hostnamectl status" content = [] - CONFIRMED = re.compile("Virtualization.*kvm", re.IGNORECASE) + CONFIRMED = re.compile(r"Virtualization.*kvm", re.IGNORECASE) if( Core.isFileActive(fileOpen) ): if Core.getRegExSection(fileOpen, section, content): for line in content: @@ -69,7 +69,7 @@ IDX_LAST = -1 disks = {} virtdisk = '' - DISKRE = re.compile(" vd[a-z]*$", re.IGNORECASE) + DISKRE = re.compile(r" vd[a-z]*$", re.IGNORECASE) if( Core.isFileActive(fileOpen) ): if Core.getRegExSection(fileOpen, section, content): # get the disks without their partition diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp3/intelpstate_153-000020273.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp3/intelpstate_153-000020273.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp3/intelpstate_153-000020273.py 2021-11-04 23:05:00.001226512 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp3/intelpstate_153-000020273.py 2025-06-05 18:21:27.417438953 +0200 @@ -54,9 +54,9 @@ CPU = False FAM = False MOD = False - CONFIRM_CPU = re.compile("^model name.*:.*Intel.*Xeon", re.IGNORECASE) - CONFIRM_FAM = re.compile("^cpu family.*:.*6", re.IGNORECASE) - CONFIRM_MOD = re.compile("^model.*:.*106", re.IGNORECASE) + CONFIRM_CPU = re.compile(r"^model name.*:.*Intel.*Xeon", re.IGNORECASE) + CONFIRM_FAM = re.compile(r"^cpu family.*:.*6", re.IGNORECASE) + CONFIRM_MOD = re.compile(r"^model.*:.*106", re.IGNORECASE) if Core.isFileActive(fileOpen): if Core.getRegExSection(fileOpen, section, content): for line in content: @@ -92,7 +92,7 @@ fileOpen = "boot.txt" section = "dmesg -T" content = [] - CONFIRMED = re.compile("intel_pstate: CPU model not supported", re.IGNORECASE) + CONFIRMED = re.compile(r"intel_pstate: CPU model not supported", re.IGNORECASE) if Core.isFileActive(fileOpen): if Core.getRegExSection(fileOpen, section, content): for line in content: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp3/kmpdracut-000020799.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp3/kmpdracut-000020799.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp3/kmpdracut-000020799.py 2022-10-25 16:59:10.464807142 +0200 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp3/kmpdracut-000020799.py 2025-06-05 18:21:27.417438953 +0200 @@ -49,8 +49,8 @@ file_open = "rpm.txt" section = "rpm -qa --queryformat.*NAME}" content = [] - confirmed = re.compile("kmp-", re.IGNORECASE) - exception_list = re.compile("^dpdk-kmp-default |^oracleasm-kmp-default |^crash-kmp-default |^lttng-modules-kmp-default |^reiserfs-kmp-default |^cluster-md-kmp-default |^dlm-kmp-default |^drbd-kmp-default |^gfs2-kmp-default |^ocfs2-kmp-default ", re.IGNORECASE) + confirmed = re.compile(r"kmp-", re.IGNORECASE) + exception_list = re.compile(r"^dpdk-kmp-default |^oracleasm-kmp-default |^crash-kmp-default |^lttng-modules-kmp-default |^reiserfs-kmp-default |^cluster-md-kmp-default |^dlm-kmp-default |^drbd-kmp-default |^gfs2-kmp-default |^ocfs2-kmp-default ", re.IGNORECASE) if Core.isFileActive(file_open): if Core.getRegExSection(file_open, section, content): for line in content: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp3/oldlvm-000019878.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp3/oldlvm-000019878.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp3/oldlvm-000019878.py 2021-11-04 23:05:00.005226414 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp3/oldlvm-000019878.py 2025-06-05 18:21:27.417438953 +0200 @@ -53,7 +53,7 @@ section = "/sbin/pvs" content = [] DEVICE_NAME = 2 - CONFIRMED = re.compile("WARNING.*PV.*in VG.*is using an old PV header", re.IGNORECASE) + CONFIRMED = re.compile(r"WARNING.*PV.*in VG.*is using an old PV header", re.IGNORECASE) if Core.isFileActive(fileOpen): if Core.getRegExSection(fileOpen, section, content): for line in content: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp3/rpmnfs-000020364.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp3/rpmnfs-000020364.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp3/rpmnfs-000020364.py 2021-11-04 23:05:00.009226316 +0100 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp3/rpmnfs-000020364.py 2025-06-05 18:21:27.417438953 +0200 @@ -61,7 +61,7 @@ fileOpen = "messages.txt" section = "/var/log/messages" content = [] - CONFIRMED = re.compile("RPM.*install filesystem.*: failure", re.IGNORECASE) + CONFIRMED = re.compile(r"RPM.*install filesystem.*: failure", re.IGNORECASE) if Core.isFileActive(fileOpen): if Core.getRegExSection(fileOpen, section, content): for line in content: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp3/sssdad-000020793.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp3/sssdad-000020793.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp3/sssdad-000020793.py 2022-10-25 17:05:02.911365109 +0200 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp3/sssdad-000020793.py 2025-06-05 18:21:27.417438953 +0200 @@ -51,7 +51,7 @@ content = [] found = 0 required = len(package_list) - confirmed = re.compile("", re.IGNORECASE) + confirmed = re.compile(r"", re.IGNORECASE) if Core.isFileActive(file_open): if Core.getRegExSection(file_open, section, content): for line in content: @@ -70,7 +70,7 @@ content = [] found = 0 required = 2 - confirmed = re.compile("passwd:.*compat.*sss|group:.*compat.*sss", re.IGNORECASE) + confirmed = re.compile(r"passwd:.*compat.*sss|group:.*compat.*sss", re.IGNORECASE) if Core.isFileActive(file_open): if Core.getRegExSection(file_open, section, content): for line in content: @@ -90,7 +90,7 @@ found = {} required = 3 config_section = '' - confirmed = re.compile("default_realm.*=.*[a-zA-Z0-9]|default_ccache_name.*=.*[a-zA-Z0-9]|admin_server.*=.*[a-zA-Z0-9]", re.IGNORECASE) + confirmed = re.compile(r"default_realm.*=.*[a-zA-Z0-9]|default_ccache_name.*=.*[a-zA-Z0-9]|admin_server.*=.*[a-zA-Z0-9]", re.IGNORECASE) if Core.isFileActive(file_open): if Core.getRegExSection(file_open, section, content): for line in content: @@ -155,7 +155,7 @@ file_open = "sssd.txt" section = "/ldap_child.log" content = [] - confirmed = re.compile("Failed to init credentials:.*Client", re.IGNORECASE) + confirmed = re.compile(r"Failed to init credentials:.*Client", re.IGNORECASE) if Core.isFileActive(file_open): if Core.getRegExSection(file_open, section, content): for line in content: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp4/drbdresdir-000020749.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp4/drbdresdir-000020749.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp4/drbdresdir-000020749.py 2022-10-25 17:01:20.985741875 +0200 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp4/drbdresdir-000020749.py 2025-06-05 18:21:27.417438953 +0200 @@ -51,7 +51,7 @@ file_open = "ha.txt" section = "/crm configure show" content = [] - confirmed = re.compile("primitive.*ocf:linbit:drbd", re.IGNORECASE) + confirmed = re.compile(r"primitive.*ocf:linbit:drbd", re.IGNORECASE) configured = False in_state = False if Core.isFileActive(file_open): @@ -72,8 +72,8 @@ file_open = "drbd.txt" section = "/drbdadm dump" content = [] - confirmed = re.compile("^resource .* {", re.IGNORECASE) - handlers = re.compile(" fence-peer .* /lib/drbd/| after-resync-target .* /lib/drbd/", re.IGNORECASE) + confirmed = re.compile(r"^resource .* {", re.IGNORECASE) + handlers = re.compile(r" fence-peer .* /lib/drbd/| after-resync-target .* /lib/drbd/", re.IGNORECASE) status = False in_state = False this_resource= '' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp4/kabi-000021148.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp4/kabi-000021148.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp4/kabi-000021148.py 2023-09-01 01:07:24.188131281 +0200 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp4/kabi-000021148.py 2025-06-05 18:21:27.417438953 +0200 @@ -48,7 +48,7 @@ def third_party_driver(): file_open = "modules.txt" content = {} - confirmed = re.compile("external|no", re.IGNORECASE) + confirmed = re.compile(r"external|no", re.IGNORECASE) Core.listSections(file_open, content) for line in content: modcmd = content[line] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp4/scaphp8-000020687.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp4/scaphp8-000020687.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp4/scaphp8-000020687.py 2022-07-05 20:28:58.332287499 +0200 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp4/scaphp8-000020687.py 2025-06-05 18:21:27.417438953 +0200 @@ -52,21 +52,21 @@ CONFIGURED = True content = [] section = "/etc/sca/sdbroker.conf" - CONFIRMED = re.compile("Run setup-sdbroker", re.IGNORECASE) + CONFIRMED = re.compile(r"Run setup-sdbroker", re.IGNORECASE) if Core.getRegExSection(fileOpen, section, content): for line in content: if CONFIRMED.search(line): CONFIGURED = False content = [] section = "/etc/sca/sdagent.conf" - CONFIRMED = re.compile("Run sdagent-config", re.IGNORECASE) + CONFIRMED = re.compile(r"Run sdagent-config", re.IGNORECASE) if Core.getRegExSection(fileOpen, section, content): for line in content: if CONFIRMED.search(line): CONFIGURED = False content = [] section = "/etc/sca/sdp.conf" - CONFIRMED = re.compile("Run setup-sdp", re.IGNORECASE) + CONFIRMED = re.compile(r"Run setup-sdp", re.IGNORECASE) if Core.getRegExSection(fileOpen, section, content): for line in content: if CONFIRMED.search(line): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp4/sssdad-000020793.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp4/sssdad-000020793.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp4/sssdad-000020793.py 2022-10-25 17:05:09.727414966 +0200 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp4/sssdad-000020793.py 2025-06-05 18:21:27.417438953 +0200 @@ -51,7 +51,7 @@ content = [] found = 0 required = len(package_list) - confirmed = re.compile("", re.IGNORECASE) + confirmed = re.compile(r"", re.IGNORECASE) if Core.isFileActive(file_open): if Core.getRegExSection(file_open, section, content): for line in content: @@ -70,7 +70,7 @@ content = [] found = 0 required = 2 - confirmed = re.compile("passwd:.*compat.*sss|group:.*compat.*sss", re.IGNORECASE) + confirmed = re.compile(r"passwd:.*compat.*sss|group:.*compat.*sss", re.IGNORECASE) if Core.isFileActive(file_open): if Core.getRegExSection(file_open, section, content): for line in content: @@ -90,7 +90,7 @@ found = {} required = 3 config_section = '' - confirmed = re.compile("default_realm.*=.*[a-zA-Z0-9]|default_ccache_name.*=.*[a-zA-Z0-9]|admin_server.*=.*[a-zA-Z0-9]", re.IGNORECASE) + confirmed = re.compile(r"default_realm.*=.*[a-zA-Z0-9]|default_ccache_name.*=.*[a-zA-Z0-9]|admin_server.*=.*[a-zA-Z0-9]", re.IGNORECASE) if Core.isFileActive(file_open): if Core.getRegExSection(file_open, section, content): for line in content: @@ -155,7 +155,7 @@ file_open = "sssd.txt" section = "/ldap_child.log" content = [] - confirmed = re.compile("Failed to init credentials:.*Client", re.IGNORECASE) + confirmed = re.compile(r"Failed to init credentials:.*Client", re.IGNORECASE) if Core.isFileActive(file_open): if Core.getRegExSection(file_open, section, content): for line in content: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp5/vmwgfx-000021151.py new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp5/vmwgfx-000021151.py --- old/sca-patterns-sle15-1.5.8/patterns/SLE/sle15sp5/vmwgfx-000021151.py 2023-09-01 01:07:24.188131281 +0200 +++ new/sca-patterns-sle15-1.5.9/patterns/SLE/sle15sp5/vmwgfx-000021151.py 2025-06-05 18:21:27.417438953 +0200 @@ -57,8 +57,8 @@ def vmware_guest(): virtualization = SUSE.getBasicVirtualization() - vmhyp = re.compile("VMware", re.IGNORECASE) - vmid = re.compile("Virtual Machine", re.IGNORECASE) + vmhyp = re.compile(r"VMware", re.IGNORECASE) + vmid = re.compile(r"Virtual Machine", re.IGNORECASE) if vmhyp.search(virtualization['Hypervisor']): if vmid.search(virtualization['Identity']): return True