<?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>15568</bug_id>
          
          <creation_ts>2024-07-31 22:18:24 +0000</creation_ts>
          <short_desc>Improve disk space checks on workers</short_desc>
          <delta_ts>2024-08-05 11:57:55 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>5</classification_id>
          <classification>Infrastructure</classification>
          <product>AutoBuilder</product>
          <component>autobuilder</component>
          <version>unspecified</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>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>5.1 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandre Belloni">alexandre.belloni</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>infras.ab.watcher</cc>
    
    <cc>Infras.watcher</cc>
    
    <cc>pidge</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>99481</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2024-07-31 22:18:24 +0000</bug_when>
    <thetext>Low disk space on a worker can have a catastrophic effect on builds. For example, this a-quick had plenty of failures because one worker had low space on disk:

https://autobuilder.yoctoproject.org/typhoon/#/builders/85/builds/2526

What happens is that the build fails but as the worker is still available, it will be selected to run the next build which fails for the same reason and so n...

Disk space checks need to be improved to avoid this situation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99482</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2024-08-01 08:37:55 +0000</bug_when>
    <thetext>I suspect we only monitor the space on one disk and we need to monitor it on all key partitions</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99489</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2024-08-04 11:38:40 +0000</bug_when>
    <thetext>Disk space code is here: https://git.yoctoproject.org/yocto-autobuilder2/tree/builders.py#n68</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99490</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2024-08-04 12:01:26 +0000</bug_when>
    <thetext>Looking at a recently failure, it is the main disk filling up:

https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/7021/steps/14/logs/warnings

although:

https://autobuilder.yoctoproject.org/typhoon/#/builders/85/builds/2526/steps/13/logs/warnings

shows it was /tmp that filled up.

I&apos;ve pushed https://git.yoctoproject.org/yocto-autobuilder2/commit/?id=d809e29a23d5614d8873c3f5f1fb7293da96cdd0 which should help and make it easier to add other mount points.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99492</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2024-08-05 11:57:55 +0000</bug_when>
    <thetext>I opened https://bugzilla.yoctoproject.org/show_bug.cgi?id=15569 for further work, closing this one as the multiple dirs issue has been fixed</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>