<?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>15686</bug_id>
          
          <creation_ts>2024-12-09 11:28:15 +0000</creation_ts>
          <short_desc>AB-INT: metrics git error: cannot lock ref</short_desc>
          <delta_ts>2026-02-26 16:10:30 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>5</classification_id>
          <classification>Infrastructure</classification>
          <product>AutoBuilder</product>
          <component>autobuilder</component>
          <version>unspecified</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>AB-INT</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>5.3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mathieu Dubois-Briand">mathieu.dubois-briand</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>infras.ab.watcher</cc>
    
    <cc>Infras.watcher</cc>
    
    <cc>pidge</cc>
    
    <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>100388</commentid>
    <comment_count>0</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2024-12-09 11:28:15 +0000</bug_when>
    <thetext>Got the following error when the metrics autobuilder tried to push to the git:

&gt; remote: error: cannot lock ref &apos;refs/heads/master&apos;: is at 844def31c68bc9557b2cf1d3028fa527e5873b76 but expected e59c5b889cd834ba64323c4dd429d3140d6a5c26
&gt; To ssh://push.yoctoproject.org/yocto-metrics
&gt; ! [remote rejected]   master -&gt; master (failed to update ref)
&gt; error: failed to push some refs to &apos;ssh://push.yoctoproject.org/yocto-metrics&apos;

https://valkyrie.yoctoproject.org/#/builders/103/builds/308</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100389</commentid>
    <comment_count>1</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2024-12-09 11:32:31 +0000</bug_when>
    <thetext>metrics debian11-vk-3 dunfell completed at 2024-12-06T07:10:13Z
https://valkyrie.yoctoproject.org/#/builders/103/builds/308/steps/13/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100424</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-12-12 15:43:22 +0000</bug_when>
    <thetext>Put a retry around it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100696</commentid>
    <comment_count>3</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2025-01-20 08:39:07 +0000</bug_when>
    <thetext>metrics debian11-vk-3 dunfell completed at 2025-01-17T07:22:38Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/103/builds/519/steps/13/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101359</commentid>
    <comment_count>4</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2025-03-13 09:29:49 +0000</bug_when>
    <thetext>metrics alma9-vk-2 kirkstone completed at 2025-03-11T06:18:31Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/103/builds/785/steps/13/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101404</commentid>
    <comment_count>5</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2025-03-18 09:53:11 +0000</bug_when>
    <thetext>metrics alma8-vk-2 kirkstone completed at 2025-03-18T06:18:57Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/103/builds/820/steps/14/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102257</commentid>
    <comment_count>6</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2025-06-12 15:09:43 +0000</bug_when>
    <thetext>This hasn&apos;t happened for a while.  Moving to 5.3 but it is possible that better locking has been backported so we should close it in a few months if it doesn&apos;t replicate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104117</commentid>
    <comment_count>7</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2026-01-29 22:30:58 +0000</bug_when>
    <thetext>Posted the backport of the &quot;rebase before pushing&quot; patch for the kirkstone branch, hopefully will stop this rare race.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104420</commentid>
    <comment_count>8</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2026-02-26 16:10:30 +0000</bug_when>
    <thetext>Should be fixed for kirkstone in bb08d2608471e8cb48e84058a14e77705529093b.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>