<?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>15631</bug_id>
          
          <creation_ts>2024-10-23 16:37:34 +0000</creation_ts>
          <short_desc>Patchtest branch handling causes issues in master-next</short_desc>
          <delta_ts>2025-02-13 16:05:11 +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>Patchtest</component>
          <version>5.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>5.2 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Trevor Gamblin">tgamblin</reporter>
          <assigned_to name="Trevor Gamblin">tgamblin</assigned_to>
          <cc>randy.macleod</cc>
    
    <cc>yoann.congal</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>99977</commentid>
    <comment_count>0</comment_count>
    <who name="Trevor Gamblin">tgamblin</who>
    <bug_when>2024-10-23 16:37:34 +0000</bug_when>
    <thetext>See: https://valkyrie.yoctoproject.org/#/builders/71/builds/292/steps/12/logs/stdio 

and the corresponding patch in master-next: 

https://git.openembedded.org/openembedded-core/commit/?h=master-next&amp;id=81c2c4700be3f3291dc44636f78d5b46d01c2153

Patchtest works by identifying the current branch and checking out a new test branch based on the current PID to test patches. However, this isn&apos;t working correctly when e.g. testing new selftests on the AB. This is probably due to the code resetting to the master branch, rather than whatever branch it began with (i.e. master-next), when testing for a single patch is complete.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100940</commentid>
    <comment_count>1</comment_count>
    <who name="Trevor Gamblin">tgamblin</who>
    <bug_when>2025-02-13 16:05:11 +0000</bug_when>
    <thetext>Should be fixed by: https://git.yoctoproject.org/poky/commit/?id=4ed3c83240b3a761af71a3d10e295b4e5e356f00</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>