<?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>12086</bug_id>
          
          <creation_ts>2017-09-14 19:54:16 +0000</creation_ts>
          <short_desc>Create an autobuilder script to test for long path errors</short_desc>
          <delta_ts>2026-02-12 14:57:21 +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>OE-Core</product>
          <component>Scripts and Tools</component>
          <version>2.5</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard> </status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>6.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Randy MacLeod">randy.macleod</reporter>
          <assigned_to name="Sermsity Sunil Kumar Dora">SunilKumar.Dora</assigned_to>
          <cc>Deepthi.Hemraj</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
    
    <cc>sundeep.kokkonda</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>76862</commentid>
    <comment_count>0</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2017-09-14 19:54:16 +0000</bug_when>
    <thetext>We would like to check that oe-core can build with very long project path lengths. This should be automated and run periodically to check for regressions. 

The test would need to be a full source build rather than use sstate to be effective and that might be a problem for the YP build farm usage.

Rather than doing 10s of builds to binary search for the exact maximum path
length, we could manually determine and fix the code to adhere to a &apos;reasonable&apos; long path length of say 2-400 characters, then just look for regressions from that value. Then we could work on increasing the limit if needed.

I think it makes sense to run a check every day to pick up changed packages using sstate, then run a ~weekly test that does not use sstate. 

related defect: 
https://bugzilla.yoctoproject.org/show_bug.cgi?id=6986</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78271</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2017-11-17 05:55:16 +0000</bug_when>
    <thetext>I&apos;m not familiar with autobuilder, can anyone do it, please ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86807</commentid>
    <comment_count>2</comment_count>
    <who name="Anuj Mittal">anuj.mittal</who>
    <bug_when>2020-03-25 02:25:38 +0000</bug_when>
    <thetext>Is this something that can be closed? I have not seen any related issue in the recent past ... I am not sure what to do here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88689</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-11-30 13:35:00 +0000</bug_when>
    <thetext>Adding a path length test which tested out maximum level supported and maintained that limit would be desirable.

The way forward now would be to add a test to qa-extras or qa-extras2 in autobuilder-helper, or maybe add a test to oe-selftest. 

The open question is how much of the system to test under the max path length and whether its a build from scratch or uses sstate. If its from scratch, it would be quite a long running selftest (although reproducibility does something similar).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96854</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-10-24 14:24:30 +0000</bug_when>
    <thetext>Bulk move from 4.99 or 0.00 to 5.99</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102520</commentid>
    <comment_count>5</comment_count>
    <who name="Sermsity Sunil Kumar Dora">SunilKumar.Dora</who>
    <bug_when>2025-07-29 08:20:47 +0000</bug_when>
    <thetext>I am working on Implementing a test case under oe-selftest. I will update soon.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>