<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>15736</bug_id>
          
          <creation_ts>2025-02-05 21:25:31 +0000</creation_ts>
          <short_desc>Patchtest false positive for inline Python expression</short_desc>
          <delta_ts>2026-10-29 15:16:47 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Patchwork/Patchtest</product>
          <component>Patchwork</component>
          <version>5.1.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>6.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tom Hochstein">tom.hochstein</reporter>
          <assigned_to name="Trevor Gamblin">tgamblin</assigned_to>
          <cc>randy.macleod</cc>
    
    <cc>tgamblin</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>100846</commentid>
    <comment_count>0</comment_count>
    <who name="Tom Hochstein">tom.hochstein</who>
    <bug_when>2025-02-05 21:25:31 +0000</bug_when>
    <thetext>A commit with an inline Python expression, e.g.,
`${@oe.utils.contains...}`, triggers a patchtest failure.

FAIL: test commit message user tags: Mbox includes one or more GitHub-style username tags. Ensure that any &quot;@&quot; symbols are stripped out of usernames (test_mbox.TestMbox.test_commit_message_user_tags)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100847</commentid>
    <comment_count>1</comment_count>
    <who name="Tom Hochstein">tom.hochstein</who>
    <bug_when>2025-02-05 21:35:05 +0000</bug_when>
    <thetext>I played with this a bit from the command line. With grep, I was able to reproduce the issue by enabling Perl compatibility.

$ grep -Pz &apos;\B@([a-z0-9](?:-(?=[a-z0-9])|[a-z0-9]){0,38}(?&lt;=[a-z0-9]))&apos; ~/0001-uboot-config-Fix-devtool-modify.patch

Replacing \B with \s fixes this as far as I can tell via grep.

$ grep -Pz &apos;\s@([a-z0-9](?:-(?=[a-z0-9])|[a-z0-9]){0,38}(?&lt;=[a-z0-9]))&apos; ~/0001-uboot-config-Fix-devtool-modify.patch</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>