<?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>13542</bug_id>
          
          <creation_ts>2019-09-20 20:21:50 +0000</creation_ts>
          <short_desc>File not found error when running hashserve tests</short_desc>
          <delta_ts>2019-10-02 19:24:23 +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>normal</bug_severity>
          <target_milestone>2.8 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joshua Watt">JPEWhacker</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>akuster</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>85040</commentid>
    <comment_count>0</comment_count>
    <who name="Joshua Watt">JPEWhacker</who>
    <bug_when>2019-09-20 20:21:50 +0000</bug_when>
    <thetext>Occasionally when the hash equivalence server tests are run in bitbake the following error appears:

ERROR: test_hashserv_multiple_setscene (bb.tests.runqueue.RunQueueTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-centos/build/bitbake/lib/bb/tests/runqueue.py&quot;, line 313, in test_hashserv_multiple_setscene
    self.assertEqual(tasks.count(i), 1, &quot;%s not in task list once&quot; % i)
  File &quot;/usr/lib64/python3.6/tempfile.py&quot;, line 809, in __exit__
    self.cleanup()
  File &quot;/usr/lib64/python3.6/tempfile.py&quot;, line 813, in cleanup
    _shutil.rmtree(self.name)
  File &quot;/usr/lib64/python3.6/shutil.py&quot;, line 486, in rmtree
    _rmtree_safe_fd(fd, path, onerror)
  File &quot;/usr/lib64/python3.6/shutil.py&quot;, line 444, in _rmtree_safe_fd
    onerror(os.unlink, fullname, sys.exc_info())
  File &quot;/usr/lib64/python3.6/shutil.py&quot;, line 442, in _rmtree_safe_fd
    os.unlink(name, dir_fd=topfd)
FileNotFoundError: [Errno 2] No such file or directory: &apos;hashserve.sock&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85091</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Watt">JPEWhacker</who>
    <bug_when>2019-09-26 14:39:28 +0000</bug_when>
    <thetext>This appears to be caused by the hashserver being tardy in it&apos;s shutdown and racing with the test cleanup</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85109</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Watt">JPEWhacker</who>
    <bug_when>2019-09-26 19:24:27 +0000</bug_when>
    <thetext>http://lists.openembedded.org/pipermail/bitbake-devel/2019-September/020349.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85147</commentid>
    <comment_count>3</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-10-02 16:17:11 +0000</bug_when>
    <thetext>*** Bug 13564 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85151</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2019-10-02 19:24:23 +0000</bug_when>
    <thetext>The original fix didn&apos;t work but this one should http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=562de41ce7c576c96d55586637c156313c428ff4</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>