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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>278941</bug_id>
          
          <creation_ts>2024-08-30 12:26:41 -0700</creation_ts>
          <short_desc>[ews] unsafe-merge-queue sometimes fails with exception in retrieve-pr-data-from-label-webkit-webkit step</short_desc>
          <delta_ts>2024-10-25 08:53:35 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Aakash Jain">aakash_jain</reporter>
          <assigned_to name="Brianna Fan">bfan2</assigned_to>
          <cc>bfan2</cc>
    
    <cc>jbedard</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2056649</commentid>
    <comment_count>0</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2024-08-30 12:26:41 -0700</bug_when>
    <thetext>[ews] unsafe-merge-queue sometimes fails with exception in retrieve-pr-data-from-label-webkit-webkit step.

e.g.: https://ews-build.webkit.org/#/builders/40/builds/31144

Traceback (most recent call last):
  File &quot;/usr/local/lib/python3.9/site-packages/twisted/internet/defer.py&quot;, line 662, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File &quot;/usr/local/lib/python3.9/site-packages/twisted/internet/defer.py&quot;, line 1514, in gotResult
    current_context.run(_inlineCallbacks, r, g, status)
  File &quot;/usr/local/lib/python3.9/site-packages/twisted/internet/defer.py&quot;, line 1443, in _inlineCallbacks
    result = current_context.run(result.throwExceptionIntoGenerator, g)
  File &quot;/usr/local/lib/python3.9/site-packages/twisted/python/failure.py&quot;, line 500, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
--- &lt;exception caught here&gt; ---
  File &quot;/usr/local/lib/python3.9/site-packages/buildbot/process/buildstep.py&quot;, line 628, in startStep
    self.results = yield self.run()
  File &quot;/usr/local/lib/python3.9/site-packages/twisted/internet/defer.py&quot;, line 1443, in _inlineCallbacks
    result = current_context.run(result.throwExceptionIntoGenerator, g)
  File &quot;/usr/local/lib/python3.9/site-packages/twisted/python/failure.py&quot;, line 500, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File &quot;/var/buildbot/OpenSource/Tools/CISupport/ews-build/steps.py&quot;, line 2466, in run
    num_prs = yield self.get_number_of_prs_with_label(self.label)
  File &quot;/usr/local/lib/python3.9/site-packages/twisted/internet/defer.py&quot;, line 1445, in _inlineCallbacks
    result = current_context.run(g.send, result)
  File &quot;/var/buildbot/OpenSource/Tools/CISupport/ews-build/steps.py&quot;, line 262, in get_number_of_prs_with_label
    num_prs = response[&apos;data&apos;][&apos;repository&apos;][&apos;pullRequests&apos;][&apos;totalCount&apos;]
builtins.KeyError: &apos;data&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2056653</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-08-30 12:39:06 -0700</bug_when>
    <thetext>&lt;rdar://problem/135033550&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2056654</commentid>
    <comment_count>2</comment_count>
    <who name="Brianna Fan">bfan2</who>
    <bug_when>2024-08-30 12:41:46 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/32962</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2069853</commentid>
    <comment_count>3</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2024-10-22 13:06:57 -0700</bug_when>
    <thetext>*** Bug 281908 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2070574</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-10-25 08:53:33 -0700</bug_when>
    <thetext>Committed 285701@main (ad8966f8e9de): &lt;https://commits.webkit.org/285701@main&gt;

Reviewed commits have been landed. Closing PR #32962 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>