Bug 16468

Summary: AB-INT: SyntaxWarning: invalid escape sequence '\\s'
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Mathieu Dubois-Briand <mathieu.dubois-briand>
Component: coreAssignee: Unassigned <unassigned>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Undecided CC: meta.mr.watcher, meta.watcher
Version: unspecified   
Target Milestone: 0.0.0   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Mathieu Dubois-Briand 2026-10-27 08:41:06 UTC
We can see some new warnings during the build on the autobuilder:

/srv/pokybuild/yocto-worker/qemuarm64-tc/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/bblock.py:38: SyntaxWarning: invalid escape sequence '\s'
  'SIGGEN_LOCKEDSIGS_.+\s\+=\s"%s:%s:.*"' % (recipe, task),

/srv/pokybuild/yocto-worker/qemuarm64-tc/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/bblock.py:65: SyntaxWarning: invalid escape sequence '\s'
  'SIGGEN_LOCKEDSIGS_.+\s\+=\s"%s:%s:.*"' % (recipe, task),

/srv/pokybuild/yocto-worker/qemuarm64-tc/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/buildhistory.py:58: SyntaxWarning: invalid escape sequence '\('
  error = "ERROR:.*QA Issue: Package version for package %s went backwards which would break package feeds \(from .*-r1.* to .*-r0.*\)" % target

/srv/pokybuild/yocto-worker/qemuarm64-tc/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/prservice.py:40: SyntaxWarning: invalid escape sequence '\.'
  self.assertTrue(find_pr, "No PKG revision found via regex 'PKGR: r[0-9]+\.([0-9]+)' in %s" % package_data_file)

/srv/pokybuild/yocto-worker/qemuarm64-tc/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/signing.py:36: SyntaxWarning: invalid escape sequence '\|'
  runCmd('gpg --agent-program=`which gpg-agent`\|--auto-expand-secmem --batch --homedir %s --import %s %s' % (self.gpg_dir, self.pub_key_path, self.secret_key_path), native_sysroot=nsysroot)

This did appear first on master, so it might be a configuration change on the workers.