<?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>13537</bug_id>
          
          <creation_ts>2019-09-18 09:49:06 +0000</creation_ts>
          <short_desc>Hash server hangs if server can&apos;t be reached</short_desc>
          <delta_ts>2019-09-27 12:54:27 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BitBake</product>
          <component>bitbake</component>
          <version>3.0</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>High</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>2.8 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Joshua Watt">JPEWhacker</assigned_to>
          <cc>JPEWhacker</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</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>85002</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2019-09-18 09:49:06 +0000</bug_when>
    <thetext>The timeout is very long when trying to reach a hash server.  I accidentally did a build with BB_HASHSERVE = &quot;typhoon.yocto.io:8686&quot;.  Several minutes later it still wasn&apos;t reporting any messages and finally crashed with a stack trace

Traceback (most recent call last):
  File &quot;/home/ross/Yocto/poky/bitbake/lib/bb/runqueue.py&quot;, line 1523, in RunQueue.execute_runqueue():
             try:
    &gt;            return self._execute_runqueue()
             except bb.runqueue.TaskFailure:
  File &quot;/home/ross/Yocto/poky/bitbake/lib/bb/runqueue.py&quot;, line 1441, in RunQueue._execute_runqueue():
                                                                 [43, 967, 4, 3, 1, 5, 3, 7, 13, 1, 2, 1, 1, 246, 35, 1, 38, 1, 35, 2, 338, 204, 142, 3, 3, 37, 244])
    &gt;            if self.rqdata.prepare() == 0:
                     self.state = runQueueComplete
  File &quot;/home/ross/Yocto/poky/bitbake/lib/bb/runqueue.py&quot;, line 1173, in RunQueueData.prepare():
                         todeal.remove(tid)
    &gt;                    self.prepare_task_hash(tid)

  File &quot;/home/ross/Yocto/poky/bitbake/lib/bb/runqueue.py&quot;, line 1186, in RunQueueData.prepare_task_hash(tid=&apos;/home/ross/Yocto/poky/meta/recipes-devtools/gcc/gcc-source_9.2.bb:do_fetch&apos;):
             self.runtaskentries[tid].hash = bb.parse.siggen.get_taskhash(tid, procdep, self.dataCaches[mc_from_tid(tid)])
    &gt;        self.runtaskentries[tid].unihash = bb.parse.siggen.get_unihash(tid)

  File &quot;/home/ross/Yocto/poky/bitbake/lib/bb/siggen.py&quot;, line 443, in SignatureGeneratorOEEquivHash.get_unihash(tid=&apos;/home/ross/Yocto/poky/meta/recipes-devtools/gcc/gcc-source_9.2.bb:do_fetch&apos;):
                     bb.debug(2, &apos;No reported unihash for %s:%s from %s&apos; % (tid, taskhash, self.server))
    &gt;        except hashserv.HashConnectionError as e:
                 bb.warn(&apos;Error contacting Hash Equivalence Server %s: %s&apos; % (self.server, str(e)))
AttributeError: module &apos;hashserv&apos; has no attribute &apos;HashConnectionError&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85108</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Watt">JPEWhacker</who>
    <bug_when>2019-09-26 17:55:37 +0000</bug_when>
    <thetext>http://lists.openembedded.org/pipermail/bitbake-devel/2019-September/020348.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85120</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2019-09-27 12:54:27 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=1805574559c3862eaf1fd4ff9a9fc8a05556a8ce</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>