<?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>14956</bug_id>
          
          <creation_ts>2022-11-03 10:28:54 +0000</creation_ts>
          <short_desc>AB-INT: buildperf: FileNotFoundError: [Errno 2] No such file or directory: &apos;hashserv.db-wal&apos;</short_desc>
          <delta_ts>2025-11-27 18:39:57 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Functional (self) Testing</product>
          <component>oe-selftest</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>AB-INT AB-HAVE-PLAN</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>6.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandre Belloni">alexandre.belloni</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>alexandre.belloni</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</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>94336</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2022-11-03 10:28:54 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/133/builds/786/steps/12/logs/stdio

ERROR: test3 (oeqa.buildperf.test_basic.Test3)
Bitbake parsing (bitbake -p)
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-worker/buildperf-alma8/build/meta/lib/oe/path.py&quot;, line 157, in remove
    os.unlink(name)
IsADirectoryError: [Errno 21] Is a directory: &apos;/home/pokybuild/build-perf-test/build-5200799866-20221002090025/cache&apos;
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-worker/buildperf-alma8/build/meta/lib/oeqa/buildperf/test_basic.py&quot;, line 82, in test3
    self.rm_cache()
  File &quot;/home/pokybuild/yocto-worker/buildperf-alma8/build/meta/lib/oeqa/buildperf/base.py&quot;, line 476, in rm_cache
    oe.path.remove(self.bb_vars[&apos;PERSISTENT_DIR&apos;], recurse=True)
  File &quot;/home/pokybuild/yocto-worker/buildperf-alma8/build/meta/lib/oe/path.py&quot;, line 160, in remove
    shutil.rmtree(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;hashserv.db-wal&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94344</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2022-11-03 14:44:05 +0000</bug_when>
    <thetext>Clean-up race?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94345</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2022-11-03 14:44:37 +0000</bug_when>
    <thetext>We fixed this for oe-selftest and others, we need to make sure hashserv is shut down before removing files.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97102</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-10-30 15:37:24 +0000</bug_when>
    <thetext>Build move to 5.0 -- ../Randy</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98108</commentid>
    <comment_count>4</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2024-02-01 18:26:20 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/132/builds/2474/steps/11/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98794</commentid>
    <comment_count>5</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-04-24 20:30:26 +0000</bug_when>
    <thetext>Bulk move from 5.0* to 5.99 to indicate that there isn&apos;t any one available to work on this issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102714</commentid>
    <comment_count>6</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2025-09-08 13:56:14 +0000</bug_when>
    <thetext>The wal file is created by sqlite as a journal and means there was still some process actively using the database which hadn&apos;t exited yet.

We need to audit the codepaths and work out which database file this was (bitbake hashserv?) and then add something to the cleanup code so that it waits for everything to exit before deleting.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102801</commentid>
    <comment_count>7</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2025-09-22 11:20:46 +0000</bug_when>
    <thetext>metrics rocky9-vk-3 scarthgap completed at 2025-09-20 06:34:47+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/103/builds/1888/steps/23/logs/stdio</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>