Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package sca-patterns-sle12 for openSUSE:Factory checked in at 2025-06-14 16:17:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sca-patterns-sle12 (Old) and /work/SRC/openSUSE:Factory/.sca-patterns-sle12.new.19631 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sca-patterns-sle12" Sat Jun 14 16:17:32 2025 rev:33 rq:1285547 version:1.5.8 Changes: -------- --- /work/SRC/openSUSE:Factory/sca-patterns-sle12/sca-patterns-sle12.changes 2024-01-30 18:25:46.266712736 +0100 +++ /work/SRC/openSUSE:Factory/.sca-patterns-sle12.new.19631/sca-patterns-sle12.changes 2025-06-14 16:17:50.654551990 +0200 @@ -1,0 +2,6 @@ +Thu Jun 5 15:58:23 UTC 2025 - jason.rec...@suse.com + +- Changes to version 1.5.8 + + Fixed pattern re syntax errors bsc#1243153 + +------------------------------------------------------------------- Old: ---- sca-patterns-sle12-1.5.7.tar.gz New: ---- sca-patterns-sle12-1.5.8.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sca-patterns-sle12.spec ++++++ --- /var/tmp/diff_new_pack.0gCBzO/_old 2025-06-14 16:17:51.214575095 +0200 +++ /var/tmp/diff_new_pack.0gCBzO/_new 2025-06-14 16:17:51.214575095 +0200 @@ -1,7 +1,7 @@ # # spec file for package sca-patterns-sle12 # -# 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-sle12 -Version: 1.5.7 +Version: 1.5.8 Release: 0 Summary: Supportconfig Analysis Patterns for SLE12 License: GPL-2.0-only ++++++ sca-patterns-sle12-1.5.7.tar.gz -> sca-patterns-sle12-1.5.8.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12all/apparmor-7015867.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/apparmor-7015867.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12all/apparmor-7015867.py 2023-06-30 13:44:34.900775955 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/apparmor-7015867.py 2025-05-15 21:21:45.029705292 +0200 @@ -45,7 +45,7 @@ PRIMARY_LINK = "META_LINK_TID1" OVERALL = Core.TEMP OVERALL_INFO = "NOT SET" -OTHER_LINKS = "META_LINK_TID1=https://www.suse.com/support/kb/doc.php?id=7015867|META_LINK_TID2=http://www.suse.com/support/kb/doc.php?id=7006073|Docs=https://www.suse.com/documentation/sles-12/book_security/data/part_apparmor.html" +OTHER_LINKS = "META_LINK_TID1=https://www.suse.com/support/kb/doc.php?id=7015867|META_LINK_TID2=http://www.suse.com/support/kb/doc.php?id=7006073|META_LINK_Docs=https://www.suse.com/documentation/sles-12/book_security/data/part_apparmor.html" Core.init(META_CLASS, META_CATEGORY, META_COMPONENT, PATTERN_ID, PRIMARY_LINK, OVERALL, OVERALL_INFO, OTHER_LINKS) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12all/azurenetaccel-000020694.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/azurenetaccel-000020694.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12all/azurenetaccel-000020694.py 2023-06-30 13:44:34.900775955 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/azurenetaccel-000020694.py 2025-06-05 18:15:31.930765599 +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-sle12-1.5.7/patterns/SLE/sle12all/bhc-scc-registered.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/bhc-scc-registered.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12all/bhc-scc-registered.py 2023-06-30 13:44:34.900775955 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/bhc-scc-registered.py 2025-06-05 18:15:31.930765599 +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-sle12-1.5.7/patterns/SLE/sle12all/blacklist-000019607.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/blacklist-000019607.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12all/blacklist-000019607.py 2023-06-30 13:44:34.900775955 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/blacklist-000019607.py 2025-06-05 18:15:31.930765599 +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-sle12-1.5.7/patterns/SLE/sle12all/boot-space-7018350.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/boot-space-7018350.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12all/boot-space-7018350.py 2023-06-30 13:44:34.900775955 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/boot-space-7018350.py 2025-06-05 18:15:31.930765599 +0200 @@ -58,7 +58,7 @@ FILE_OPEN = "updates.txt" SECTION = "/var/log/zypp/history" CONTENT = [] - FAILED_UPDATE = re.compile("installing package.*needs.*on.*/boot filesystem", re.IGNORECASE) + FAILED_UPDATE = re.compile(r"installing package.*needs.*on.*/boot filesystem", re.IGNORECASE) if Core.getRegExSectionRaw(FILE_OPEN, SECTION, CONTENT): for LINE in CONTENT[::-1]: #reverse the list order if FAILED_UPDATE.search(LINE): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12all/coredumpctl-000018634.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/coredumpctl-000018634.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12all/coredumpctl-000018634.py 2024-01-29 19:35:59.100892673 +0100 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/coredumpctl-000018634.py 2025-06-05 18:15:31.930765599 +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-sle12-1.5.7/patterns/SLE/sle12all/hotmem-7015086.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/hotmem-7015086.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12all/hotmem-7015086.py 2023-06-30 13:44:34.900775955 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/hotmem-7015086.py 2025-06-05 18:15:31.930765599 +0200 @@ -55,9 +55,9 @@ err1Found = False err2Found = False err3Found = False - err1 = re.compile("acpi_memhotplug.*probe.*failed with error") - err2 = re.compile("API:memory_.*add_memory failed") - err3 = re.compile("ACPI:memory_hp:Error in acpi_memory_enable_device") + err1 = re.compile(r"acpi_memhotplug.*probe.*failed with error") + err2 = re.compile(r"API:memory_.*add_memory failed") + err3 = re.compile(r"ACPI:memory_hp:Error in acpi_memory_enable_device") sections = ['/var/log/warn', '/var/log/messages'] for section in sections: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12all/iscsimnts-000019648.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/iscsimnts-000019648.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12all/iscsimnts-000019648.py 2023-06-30 13:44:34.900775955 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/iscsimnts-000019648.py 2025-06-05 18:15:31.930765599 +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-sle12-1.5.7/patterns/SLE/sle12all/login-7014706.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/login-7014706.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12all/login-7014706.py 2023-06-30 13:44:34.900775955 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/login-7014706.py 2025-06-05 18:15:31.930765599 +0200 @@ -55,7 +55,7 @@ section = "rpm -V pam" content = {} if Core.getSection(fileOpen, section, content): - securettyMode = re.compile(".*M.*/etc/securetty") + securettyMode = re.compile(r".*M.*/etc/securetty") for line in content: if securettyMode.search(content[line]): # print content[line] @@ -67,7 +67,7 @@ section = "/var/log/warn" content = {} if Core.getSection(fileOpen, section, content): - failure = re.compile("login.*pam_securetty.*/etc/securetty.*writable") + failure = re.compile(r"login.*pam_securetty.*/etc/securetty.*writable") for line in content: if failure.search(content[line]): return True diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12all/mce-msg-7003695.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/mce-msg-7003695.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12all/mce-msg-7003695.py 2023-06-30 13:44:34.900775955 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/mce-msg-7003695.py 2025-06-05 18:15:31.930765599 +0200 @@ -57,8 +57,8 @@ MCE_ERRORS = False NOT_DONE = True -hardwareFailure = re.compile("\[Hardware Error\]:", re.IGNORECASE) -mceFailure = re.compile("MC\d:.*MCE|MC\d:.*Machine Check Event|MC\d:.*Machine Check Exception", re.IGNORECASE) +hardwareFailure = re.compile(r"\[Hardware Error\]:", re.IGNORECASE) +mceFailure = re.compile(r"MC\d:.*MCE|MC\d:.*Machine Check Event|MC\d:.*Machine Check Exception", re.IGNORECASE) FILE_OPEN = "boot.txt" SECTION = "/bin/dmesg" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12all/mceedac-000020932.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/mceedac-000020932.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12all/mceedac-000020932.py 2023-06-30 13:44:44.284870367 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/mceedac-000020932.py 2025-06-05 18:15:31.930765599 +0200 @@ -59,7 +59,7 @@ file_open = "boot.txt" section = "dmesg -T" content = [] - mcevent = re.compile("mce:.*Hardware Error.*Machine check events logged", re.IGNORECASE) + mcevent = re.compile(r"mce:.*Hardware Error.*Machine check events logged", re.IGNORECASE) if Core.isFileActive(file_open): if Core.getRegExSection(file_open, section, content): for line in content: @@ -72,7 +72,7 @@ file_open = "messages.txt" section = "/var/log/warn" content = [] - confirmed = re.compile("EDAC.*CE memory scrubbing error on.*DIMM|EDAC.*CE memory read error on.*DIMM", re.IGNORECASE) + confirmed = re.compile(r"EDAC.*CE memory scrubbing error on.*DIMM|EDAC.*CE memory read error on.*DIMM", 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-sle12-1.5.7/patterns/SLE/sle12all/nmiconfig-000020754.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/nmiconfig-000020754.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12all/nmiconfig-000020754.py 2023-06-30 13:44:34.900775955 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/nmiconfig-000020754.py 2025-06-05 18:15:31.930765599 +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-sle12-1.5.7/patterns/SLE/sle12all/numa-7015827.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/numa-7015827.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12all/numa-7015827.py 2023-06-30 13:44:34.900775955 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/numa-7015827.py 2025-06-05 18:15:31.930765599 +0200 @@ -57,8 +57,8 @@ section = "Virtualization" content = {} STATE = False - MAN = re.compile("^Manufacturer:.*VMware", re.IGNORECASE) - ID = re.compile("^Identity:.*Virtual Machine", re.IGNORECASE) + MAN = re.compile(r"^Manufacturer:.*VMware", re.IGNORECASE) + ID = re.compile(r"^Identity:.*Virtual Machine", re.IGNORECASE) if Core.getSection(fileOpen, section, content): for line in content: if( STATE ): @@ -73,7 +73,7 @@ section = "/proc/cpuinfo" content = {} COUNT = 0 - CPU = re.compile("^processor\s*:") + CPU = re.compile(r"^processor\s*:") if Core.getSection(fileOpen, section, content): for line in content: if CPU.search(content[line]): @@ -87,7 +87,7 @@ content = {} INFO = {'Enabled': False, 'MaxNode': -1} NODE_COUNT = 0 - NODE = re.compile("^node \d cpus:") + NODE = re.compile(r"^node \d cpus:") if Core.getSection(fileOpen, section, content): for line in content: # print "Checking => " + str(content[line]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12all/postfix-000020356.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/postfix-000020356.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12all/postfix-000020356.py 2023-06-30 13:44:34.900775955 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/postfix-000020356.py 2025-06-05 18:15:31.930765599 +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-sle12-1.5.7/patterns/SLE/sle12all/resolve-7015868.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/resolve-7015868.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12all/resolve-7015868.py 2023-06-30 13:44:34.900775955 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/resolve-7015868.py 2025-06-05 18:15:31.930765599 +0200 @@ -56,7 +56,7 @@ section = "nsswitch.conf" content = {} MSG_SEVERITY = Core.WARN -DNS_USED = re.compile("^hosts:\s*.*\sdns", re.IGNORECASE) +DNS_USED = re.compile(r"^hosts:\s*.*\sdns", re.IGNORECASE) if Core.getSection(fileOpen, section, content): for line in content: if DNS_USED.search(content[line]): @@ -66,7 +66,7 @@ content = {} SEARCH_COUNT = 0 SEARCH_FORMAT = False -INVALID = re.compile("search.*\s\s+\S|search.*\S,\S", re.IGNORECASE) +INVALID = re.compile(r"search.*\s\s+\S|search.*\S,\S", re.IGNORECASE) if Core.getSection(fileOpen, section, content): for line in content: if content[line].lower().startswith('search'): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12all/scaschema-000020689.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/scaschema-000020689.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12all/scaschema-000020689.py 2023-06-30 13:44:34.900775955 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/scaschema-000020689.py 2025-06-05 18:15:31.930765599 +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-sle12-1.5.7/patterns/SLE/sle12all/softlock-000018705.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/softlock-000018705.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12all/softlock-000018705.py 2023-06-30 13:44:34.900775955 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/softlock-000018705.py 2025-06-05 18:15:31.930765599 +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-sle12-1.5.7/patterns/SLE/sle12all/systemd-failure-logged-7017137.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/systemd-failure-logged-7017137.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12all/systemd-failure-logged-7017137.py 2023-06-30 13:44:34.900775955 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/systemd-failure-logged-7017137.py 2025-06-05 18:15:31.930765599 +0200 @@ -62,7 +62,7 @@ IDX_UNIT_NAME = -4 #find any systemd units that have failed if Core.getRegExSection(FILE_OPEN, SECTION, CONTENT): - failedState = re.compile("systemd.*Unit .* entered failed state", re.IGNORECASE) + failedState = re.compile(r"systemd.*Unit .* entered failed state", re.IGNORECASE) for LINE in CONTENT: if failedState.search(LINE): SERVICE_FOUND = LINE.split()[IDX_UNIT_NAME] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12all/traceprintk-000020680.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/traceprintk-000020680.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12all/traceprintk-000020680.py 2023-06-30 13:44:34.900775955 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/traceprintk-000020680.py 2025-06-05 18:15:31.930765599 +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-sle12-1.5.7/patterns/SLE/sle12all/unknown-module-7022033.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/unknown-module-7022033.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12all/unknown-module-7022033.py 2023-06-30 13:44:34.900775955 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/unknown-module-7022033.py 2025-06-05 18:15:31.930765599 +0200 @@ -53,8 +53,8 @@ # Main Program Execution ############################################################################## -MISSING_MODULE = re.compile("PAM unable to dlopen\(.*\): .*cannot open shared object file: No such file or directory", re.IGNORECASE) -FAILED_LOGIN = re.compile("FAILED LOGIN SESSION.*Module is unknown", re.IGNORECASE) +MISSING_MODULE = re.compile(r"PAM unable to dlopen\(.*\): .*cannot open shared object file: No such file or directory", re.IGNORECASE) +FAILED_LOGIN = re.compile(r"FAILED LOGIN SESSION.*Module is unknown", re.IGNORECASE) FILE_OPEN = "messages.txt" MODULES = {} FAILED = False diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12all/zerologon-000019713.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/zerologon-000019713.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12all/zerologon-000019713.py 2023-06-30 13:44:34.900775955 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/zerologon-000019713.py 2025-06-05 18:15:31.930765599 +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-sle12-1.5.7/patterns/SLE/sle12all/zypproxy-000020275.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/zypproxy-000020275.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12all/zypproxy-000020275.py 2023-06-30 13:44:34.900775955 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12all/zypproxy-000020275.py 2025-06-05 18:15:31.930765599 +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-sle12-1.5.7/patterns/SLE/sle12sp0/suseconnect-s390-7016361.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp0/suseconnect-s390-7016361.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp0/suseconnect-s390-7016361.py 2023-06-30 13:44:34.916776117 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp0/suseconnect-s390-7016361.py 2025-06-05 18:15:31.930765599 +0200 @@ -57,7 +57,7 @@ fileOpen = "updates.txt" section = "/zypper.*repos" content = {} - repo = re.compile("SLE.12-Updates", re.IGNORECASE) + repo = re.compile(r"SLE.12-Updates", re.IGNORECASE) if Core.getSection(fileOpen, section, content): for line in content: if repo.search(content[line]): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp0/systemd-coredump-7017378.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp0/systemd-coredump-7017378.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp0/systemd-coredump-7017378.py 2023-06-30 13:44:34.916776117 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp0/systemd-coredump-7017378.py 2025-06-05 18:15:31.930765599 +0200 @@ -55,7 +55,7 @@ SERVER = SUSE.getHostInfo() RPM_NAME = 'systemd' -SLE = re.compile("SUSE Linux Enterprise", re.IGNORECASE) +SLE = re.compile(r"SUSE Linux Enterprise", re.IGNORECASE) if SLE.search(SERVER['Distro']): if( SERVER['DistroVersion'] == 12 ): if( SERVER['DistroPatchLevel'] == 0 ): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp0/systemd-current-failed-7017137.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp0/systemd-current-failed-7017137.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp0/systemd-current-failed-7017137.py 2023-06-30 13:44:34.916776117 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp0/systemd-current-failed-7017137.py 2025-06-05 18:15:31.930765599 +0200 @@ -60,7 +60,7 @@ IDX_UNIT_NAME = 0 #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-sle12-1.5.7/patterns/SLE/sle12sp1/ntp-hostname-943017.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp1/ntp-hostname-943017.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp1/ntp-hostname-943017.py 2023-06-30 13:44:34.928776238 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp1/ntp-hostname-943017.py 2025-06-05 18:15:31.930765599 +0200 @@ -56,7 +56,7 @@ fileOpen = "sysconfig.txt" section = "/etc/sysconfig/ntp" content = [] - regresults = re.compile("CHROOTED.*yes", re.IGNORECASE) + regresults = re.compile(r"CHROOTED.*yes", re.IGNORECASE) if Core.getRegExSection(fileOpen, section, content): for line in content: if regresults.search(line): @@ -67,7 +67,7 @@ fileOpen = "ntp.txt" section = "/etc/ntp.conf" content = [] - regresults = re.compile("^(server|fudge|restrict)[ \t][a-zA-Z0-9\.]*[a-zA-Z]", re.IGNORECASE) + regresults = re.compile(r"^(server|fudge|restrict)[ \t][a-zA-Z0-9\.]*[a-zA-Z]", re.IGNORECASE) if Core.getRegExSection(fileOpen, section, content): for line in content: if regresults.search(line): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp1/orarun-7017965.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp1/orarun-7017965.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp1/orarun-7017965.py 2023-06-30 13:44:34.928776238 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp1/orarun-7017965.py 2025-06-05 18:15:31.930765599 +0200 @@ -55,7 +55,7 @@ def errorMessagesFound(): FILE_OPEN = "messages.txt" - ERROR_MSG = re.compile("OraInstall.*libmawt.so.*cannot open shared object file.*No such file or directory", re.IGNORECASE) + ERROR_MSG = re.compile(r"OraInstall.*libmawt.so.*cannot open shared object file.*No such file or directory", re.IGNORECASE) SECTION = "/var/log/warn" CONTENT = [] if Core.getRegExSection(FILE_OPEN, SECTION, CONTENT): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp1/systemd-coredump-7017378.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp1/systemd-coredump-7017378.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp1/systemd-coredump-7017378.py 2023-06-30 13:44:34.932776278 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp1/systemd-coredump-7017378.py 2025-06-05 18:15:31.930765599 +0200 @@ -55,7 +55,7 @@ SERVER = SUSE.getHostInfo() RPM_NAME = 'systemd' -SLE = re.compile("SUSE Linux Enterprise", re.IGNORECASE) +SLE = re.compile(r"SUSE Linux Enterprise", re.IGNORECASE) if SLE.search(SERVER['Distro']): if( SERVER['DistroVersion'] == 12 ): if( SERVER['DistroPatchLevel'] == 0 ): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp1/systemd-current-failed-7017137.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp1/systemd-current-failed-7017137.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp1/systemd-current-failed-7017137.py 2023-06-30 13:44:34.932776278 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp1/systemd-current-failed-7017137.py 2025-06-05 18:15:31.930765599 +0200 @@ -60,7 +60,7 @@ IDX_UNIT_NAME = 0 #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-sle12-1.5.7/patterns/SLE/sle12sp2/crosstalk_122-000019643.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp2/crosstalk_122-000019643.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp2/crosstalk_122-000019643.py 2023-06-30 13:44:34.932776278 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp2/crosstalk_122-000019643.py 2025-06-05 18:15:31.930765599 +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-sle12-1.5.7/patterns/SLE/sle12sp2/saddns-000019786_122.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp2/saddns-000019786_122.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp2/saddns-000019786_122.py 2023-06-30 13:44:34.944776399 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp2/saddns-000019786_122.py 2025-06-05 18:15:31.930765599 +0200 @@ -65,7 +65,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-sle12-1.5.7/patterns/SLE/sle12sp2/systemd-current-failed-7017137.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp2/systemd-current-failed-7017137.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp2/systemd-current-failed-7017137.py 2023-06-30 13:44:34.948776438 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp2/systemd-current-failed-7017137.py 2025-06-05 18:15:31.930765599 +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-sle12-1.5.7/patterns/SLE/sle12sp2/ucodeintel_122-000019635.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp2/ucodeintel_122-000019635.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp2/ucodeintel_122-000019635.py 2023-06-30 13:44:34.948776438 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp2/ucodeintel_122-000019635.py 2025-06-05 18:15:31.930765599 +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-sle12-1.5.7/patterns/SLE/sle12sp3/crosstalk_123-000019643.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp3/crosstalk_123-000019643.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp3/crosstalk_123-000019643.py 2023-06-30 13:44:34.948776438 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp3/crosstalk_123-000019643.py 2025-06-05 18:15:31.930765599 +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-sle12-1.5.7/patterns/SLE/sle12sp3/mpiofindpaths-000019511.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp3/mpiofindpaths-000019511.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp3/mpiofindpaths-000019511.py 2023-06-30 13:44:34.956776519 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp3/mpiofindpaths-000019511.py 2025-06-05 18:15:31.930765599 +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-sle12-1.5.7/patterns/SLE/sle12sp3/panic-7023575.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp3/panic-7023575.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp3/panic-7023575.py 2023-06-30 13:44:34.960776560 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp3/panic-7023575.py 2025-06-05 18:15:31.930765599 +0200 @@ -54,7 +54,7 @@ ############################################################################## def panicDetected(): - PANIC = re.compile("exception RIP.*update_group_capacity", re.IGNORECASE) + PANIC = re.compile(r"exception RIP.*update_group_capacity", re.IGNORECASE) FILE_OPEN = "boot.txt" SECTION = "dmesg" CONTENT = [] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp3/saddns-000019786_123.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp3/saddns-000019786_123.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp3/saddns-000019786_123.py 2023-06-30 13:44:34.960776560 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp3/saddns-000019786_123.py 2025-06-05 18:15:31.930765599 +0200 @@ -65,7 +65,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-sle12-1.5.7/patterns/SLE/sle12sp3/systemd-current-failed-7017137.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp3/systemd-current-failed-7017137.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp3/systemd-current-failed-7017137.py 2023-06-30 13:44:34.960776560 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp3/systemd-current-failed-7017137.py 2025-06-05 18:15:31.930765599 +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-sle12-1.5.7/patterns/SLE/sle12sp3/ucodeintel_123-000019635.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp3/ucodeintel_123-000019635.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp3/ucodeintel_123-000019635.py 2023-06-30 13:44:34.964776600 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp3/ucodeintel_123-000019635.py 2025-06-05 18:15:31.930765599 +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-sle12-1.5.7/patterns/SLE/sle12sp4/btrfscrash-124-000019638.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp4/btrfscrash-124-000019638.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp4/btrfscrash-124-000019638.py 2023-06-30 13:44:34.964776600 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp4/btrfscrash-124-000019638.py 2025-06-05 18:15:31.930765599 +0200 @@ -51,7 +51,7 @@ fileOpen = "fs-btrfs.txt" section = "btrfs filesystem show" content = {} - CONFIRMED = re.compile("Label:", re.IGNORECASE) + CONFIRMED = re.compile(r"Label:", re.IGNORECASE) if Core.getSection(fileOpen, section, content): for line in content: if CONFIRMED.search(content[line]): @@ -62,7 +62,7 @@ fileOpen = "crash.txt" section = "/var/crash" content = {} - CONFIRMED = re.compile("dmesg.txt", re.IGNORECASE) + CONFIRMED = re.compile(r"dmesg.txt", 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-sle12-1.5.7/patterns/SLE/sle12sp4/cronlimit-000020338.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp4/cronlimit-000020338.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp4/cronlimit-000020338.py 2023-06-30 13:44:34.964776600 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp4/cronlimit-000020338.py 2025-06-05 18:15:31.930765599 +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-sle12-1.5.7/patterns/SLE/sle12sp4/crosstalk_124-000019643.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp4/crosstalk_124-000019643.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp4/crosstalk_124-000019643.py 2023-06-30 13:44:34.964776600 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp4/crosstalk_124-000019643.py 2025-06-05 18:15:31.930765599 +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-sle12-1.5.7/patterns/SLE/sle12sp4/mpiofindpaths-000019511.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp4/mpiofindpaths-000019511.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp4/mpiofindpaths-000019511.py 2023-06-30 13:44:34.972776681 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp4/mpiofindpaths-000019511.py 2025-06-05 18:15:31.930765599 +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-sle12-1.5.7/patterns/SLE/sle12sp4/nobarrier-000020240.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp4/nobarrier-000020240.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp4/nobarrier-000020240.py 2023-06-30 13:44:34.972776681 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp4/nobarrier-000020240.py 2025-06-05 18:15:31.930765599 +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-sle12-1.5.7/patterns/SLE/sle12sp4/plymouth-000019595.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp4/plymouth-000019595.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp4/plymouth-000019595.py 2023-06-30 13:44:34.972776681 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp4/plymouth-000019595.py 2025-06-05 18:15:31.930765599 +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-sle12-1.5.7/patterns/SLE/sle12sp4/saddns-000019786_124.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp4/saddns-000019786_124.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp4/saddns-000019786_124.py 2023-06-30 13:44:34.972776681 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp4/saddns-000019786_124.py 2025-06-05 18:15:31.930765599 +0200 @@ -65,7 +65,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-sle12-1.5.7/patterns/SLE/sle12sp4/sdagentconfig-000020301.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp4/sdagentconfig-000020301.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp4/sdagentconfig-000020301.py 2023-06-30 13:44:34.976776721 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp4/sdagentconfig-000020301.py 2025-06-05 18:15:31.930765599 +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-sle12-1.5.7/patterns/SLE/sle12sp4/systemd-current-failed-7017137.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp4/systemd-current-failed-7017137.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp4/systemd-current-failed-7017137.py 2023-06-30 13:44:34.976776721 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp4/systemd-current-failed-7017137.py 2025-06-05 18:15:31.930765599 +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-sle12-1.5.7/patterns/SLE/sle12sp4/ucodeintel_124-000019635.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp4/ucodeintel_124-000019635.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp4/ucodeintel_124-000019635.py 2023-06-30 13:44:34.976776721 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp4/ucodeintel_124-000019635.py 2025-06-05 18:15:31.930765599 +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-sle12-1.5.7/patterns/SLE/sle12sp4/vmtools-000004682.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp4/vmtools-000004682.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp4/vmtools-000004682.py 2023-06-30 13:44:34.976776721 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp4/vmtools-000004682.py 2025-06-05 18:15:31.930765599 +0200 @@ -54,8 +54,8 @@ VMSERVER = False content = [] - HYPERVM = re.compile("Manufacturer.*VMware.*Inc", re.IGNORECASE) - VM = re.compile("Identity.*Virtual Machine", re.IGNORECASE) + HYPERVM = re.compile(r"Manufacturer.*VMware.*Inc", re.IGNORECASE) + VM = re.compile(r"Identity.*Virtual Machine", 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-sle12-1.5.7/patterns/SLE/sle12sp5/btrfscrash-125-000019638.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp5/btrfscrash-125-000019638.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp5/btrfscrash-125-000019638.py 2023-06-30 13:44:34.976776721 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp5/btrfscrash-125-000019638.py 2025-06-05 18:15:31.930765599 +0200 @@ -51,7 +51,7 @@ fileOpen = "fs-btrfs.txt" section = "btrfs filesystem show" content = {} - CONFIRMED = re.compile("Label:", re.IGNORECASE) + CONFIRMED = re.compile(r"Label:", re.IGNORECASE) if Core.getSection(fileOpen, section, content): for line in content: if CONFIRMED.search(content[line]): @@ -62,7 +62,7 @@ fileOpen = "crash.txt" section = "/var/crash" content = {} - CONFIRMED = re.compile("dmesg.txt", re.IGNORECASE) + CONFIRMED = re.compile(r"dmesg.txt", 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-sle12-1.5.7/patterns/SLE/sle12sp5/cronlimit-000020338.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp5/cronlimit-000020338.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp5/cronlimit-000020338.py 2023-06-30 13:44:34.980776760 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp5/cronlimit-000020338.py 2025-06-05 18:15:31.930765599 +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-sle12-1.5.7/patterns/SLE/sle12sp5/crosstalk_125-000019643.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp5/crosstalk_125-000019643.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp5/crosstalk_125-000019643.py 2023-06-30 13:44:34.980776760 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp5/crosstalk_125-000019643.py 2025-06-05 18:15:31.930765599 +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-sle12-1.5.7/patterns/SLE/sle12sp5/intelpstate_125-000020273.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp5/intelpstate_125-000020273.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp5/intelpstate_125-000020273.py 2023-06-30 13:44:34.980776760 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp5/intelpstate_125-000020273.py 2025-06-05 18:15:31.930765599 +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-sle12-1.5.7/patterns/SLE/sle12sp5/lscpu-000019784-12.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp5/lscpu-000019784-12.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp5/lscpu-000019784-12.py 2023-06-30 13:44:34.984776802 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp5/lscpu-000019784-12.py 2025-06-05 18:15:31.930765599 +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.2-4.6.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-sle12-1.5.7/patterns/SLE/sle12sp5/nfstimeout_125-000019943.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp5/nfstimeout_125-000019943.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp5/nfstimeout_125-000019943.py 2023-06-30 13:44:34.988776842 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp5/nfstimeout_125-000019943.py 2025-06-05 18:15:31.930765599 +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-sle12-1.5.7/patterns/SLE/sle12sp5/nobarrier-000020240.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp5/nobarrier-000020240.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp5/nobarrier-000020240.py 2023-06-30 13:44:34.988776842 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp5/nobarrier-000020240.py 2025-06-05 18:15:31.930765599 +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-sle12-1.5.7/patterns/SLE/sle12sp5/saddns-000019786_125.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp5/saddns-000019786_125.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp5/saddns-000019786_125.py 2023-06-30 13:44:34.992776881 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp5/saddns-000019786_125.py 2025-06-05 18:15:31.930765599 +0200 @@ -65,7 +65,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-sle12-1.5.7/patterns/SLE/sle12sp5/sdagentconfig-000020301.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp5/sdagentconfig-000020301.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp5/sdagentconfig-000020301.py 2023-06-30 13:44:34.992776881 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp5/sdagentconfig-000020301.py 2025-06-05 18:15:31.930765599 +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-sle12-1.5.7/patterns/SLE/sle12sp5/systemd-current-failed-7017137.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp5/systemd-current-failed-7017137.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp5/systemd-current-failed-7017137.py 2023-06-30 13:44:34.992776881 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp5/systemd-current-failed-7017137.py 2025-06-05 18:15:31.930765599 +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-sle12-1.5.7/patterns/SLE/sle12sp5/ucodeintel_125-000019635.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp5/ucodeintel_125-000019635.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp5/ucodeintel_125-000019635.py 2023-06-30 13:44:34.992776881 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp5/ucodeintel_125-000019635.py 2025-06-05 18:15:31.930765599 +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-sle12-1.5.7/patterns/SLE/sle12sp5/vmtools-000004682.py new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp5/vmtools-000004682.py --- old/sca-patterns-sle12-1.5.7/patterns/SLE/sle12sp5/vmtools-000004682.py 2023-06-30 13:44:34.992776881 +0200 +++ new/sca-patterns-sle12-1.5.8/patterns/SLE/sle12sp5/vmtools-000004682.py 2025-06-05 18:15:31.930765599 +0200 @@ -54,8 +54,8 @@ VMSERVER = False content = [] - HYPERVM = re.compile("Manufacturer.*VMware.*Inc", re.IGNORECASE) - VM = re.compile("Identity.*Virtual Machine", re.IGNORECASE) + HYPERVM = re.compile(r"Manufacturer.*VMware.*Inc", re.IGNORECASE) + VM = re.compile(r"Identity.*Virtual Machine", re.IGNORECASE) if Core.isFileActive(fileOpen): if Core.getRegExSection(fileOpen, section, content): for line in content: