<?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>14514</bug_id>
          
          <creation_ts>2021-08-17 10:28:50 +0000</creation_ts>
          <short_desc>sstate_cache: files in wrong dir</short_desc>
          <delta_ts>2021-08-17 10:55:45 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>5</classification_id>
          <classification>Infrastructure</classification>
          <product>Infrastructure General</product>
          <component>infrastructure-general</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>14511</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Frans Meulenbroeks">fransmeulenbroeks</reporter>
          <assigned_to name="Michael Halstead">mhalstead</assigned_to>
          
          
          
          <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>91195</commentid>
    <comment_count>0</comment_count>
    <who name="Frans Meulenbroeks">fransmeulenbroeks</who>
    <bug_when>2021-08-17 10:28:50 +0000</bug_when>
    <thetext>While inspecting our sstate-cache I found that of the roughly 100.000 siginfo files I had, two were present in two different directories.

This one is good:
-rwxrwxrwx 2 1000 pokyuser 152515 Aug 10 06:49 sstate-cache/e3/8e/sstate:packagegroup-core-boot:jetson_xavier_nx_devkit_emmc-sorama-linux:1.0:r17:jetson_xavier_nx_devkit_emmc:3:e38e75d208a25e2ab119169477b01a0b7a889532e42853185d6a155e0aeee5c5_package.tgz.siginfo

But the same file ended up in the f9/fc folder which is obviously wrong as the two dirs are based upon the first 4 chars of the hash 
-rwxrwxrwx 1 1000 pokyuser 152515 Aug 10 06:47 sstate-cache/f9/fc/sstate:packagegroup-core-boot:jetson_xavier_nx_devkit_emmc-sorama-linux:1.0:r17:jetson_xavier_nx_devkit_emmc:3:e38e75d208a25e2ab119169477b01a0b7a889532e42853185d6a155e0aeee5c5_package.tgz.siginfo

This one is wrong
-rwxrwxrwx 2 1000 pokyuser 1963 Jul 28 09:25 sstate-cache/a0/be/sstate:soramawebinterface-l642vx::1.0+gitAUTOINC+d1d4664093:r0::3:e4976edcbecd740ebf0d35355641d29600328bec5a569d4ef7546ff282a4fe24_fetch.tgz.siginfo

and this one is as expected
-rwxrwxrwx 1 1000 pokyuser 1963 Jul 28 06:34 sstate-cache/e4/97/sstate:soramawebinterface-l642vx::1.0+gitAUTOINC+d1d4664093:r0::3:e4976edcbecd740ebf0d35355641d29600328bec5a569d4ef7546ff282a4fe24_fetch.tgz.siginfo

it might be that there are more files in a wrong dir

I have no idea what could have caused this to happen. Maybe parallelism caused interference/overwriting of a var.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91196</commentid>
    <comment_count>1</comment_count>
    <who name="Frans Meulenbroeks">fransmeulenbroeks</who>
    <bug_when>2021-08-17 10:54:38 +0000</bug_when>
    <thetext>accidentally entered this one twice

*** This bug has been marked as a duplicate of bug 1411 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91198</commentid>
    <comment_count>2</comment_count>
    <who name="Frans Meulenbroeks">fransmeulenbroeks</who>
    <bug_when>2021-08-17 10:55:45 +0000</bug_when>
    <thetext>oops mistyped number of duplicate

*** This bug has been marked as a duplicate of bug 14511 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>