<?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>4233</bug_id>
          
          <creation_ts>2013-04-09 18:20:34 +0000</creation_ts>
          <short_desc>Reduce number of build artifacts and image sizes</short_desc>
          <delta_ts>2015-01-29 09:29:24 +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>1.7</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.8 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Halstead">mhalstead</reporter>
          <assigned_to name="Beth Flanagan">elizabeth.flanagan</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>elizabeth.flanagan</cc>
    
    <cc>infras.ab.watcher</cc>
    
    <cc>Infras.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
          
          <qa_contact name="Ionut Chisanovici">ionutx.chisanovici</qa_contact>
          <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>31782</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2013-04-09 18:20:34 +0000</bug_when>
    <thetext>Our nightly builds currently create more than is strictly required. We may be able to reduce the number of build artifacts and our image sizes. Storage on the the autobuilder is always a concern and reducing disk consumed per build will help a lot.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42753</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2014-04-18 17:50:19 +0000</bug_when>
    <thetext>We talked recently about removing RPMs, .debs, and some machine images from nightly builds after a short delay. This would not reduce build sizes but would reduce storage needs. Most machine images are never downloaded. I can pull stats on that. RPMs and .debs aren&apos;t needed after the package feeds are tested.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43165</commentid>
    <comment_count>2</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2014-05-07 22:37:06 +0000</bug_when>
    <thetext>Michael, we had discussed a list of what is actually downloaded. Can we get that for daisy. That way we know where and what to trim.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43984</commentid>
    <comment_count>3</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2014-06-16 17:46:20 +0000</bug_when>
    <thetext>I&apos;m going to stop publishing RPMs and debs today. I doubt anyone will scream about it but if someone does, we now know about it. They&apos;re the least likely thing people will scream about. Halstead, any idea on download stats.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43989</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2014-06-16 22:25:17 +0000</bug_when>
    <thetext>I quick look through the logs shows:
 158 rpms and 38 debs downloaded in May from the releases

And from the nightly builds:

RPMs
2013-10: 554
2013-11: 618
2013-12: 238
2013-6: 208
2013-7: 611
2013-8: 311
2013-9: 231
2014-1: 209
2014-2: 172
2014-3: 249
2014-4: 347
2014-5: 204
2014-6: 131

Debs

2013-10: 1
2013-11: 65
2013-12: 20
2014-1: 135
2014-2: 189
2014-3: 6
2014-5: 5
2014-6: 1

It seems safe to stop producing RPMs and certainly safe to stop making Debs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47926</commentid>
    <comment_count>5</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2015-01-15 14:08:54 +0000</bug_when>
    <thetext>So, there isn&apos;t, at the time, much we can do for what we build out via the autobuilder. Some of that needs to be kicked over to QA and they need to go through and figure out what they absolutely need.

Where we have been able to reduce things is by:

Removing the rpm/deb directory in the release. Not needed.

note: preserve links when copying the machines dir
for x in `find . -name *.gz|grep -v p1022|grep core`; do rm -rf $x; done;
for x in `find . -name *.bz2|grep -v p1022|grep core`; do rm -rf $x; done;
for x in `find . -name *.ext3|grep -v qemu`; do rm -rf $x; done;

This gets us down to 191GB from 255GB

I&apos;m going to close this for now. We&apos;re at a 20% reduction in size and while we can keep going, at some point we&apos;re going to impact endusers by yanking something they need.

I&apos;m also going to remove the dependency on 3060. What was implemented here just needs to be reflected in that work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48371</commentid>
    <comment_count>6</comment_count>
    <who name="Ionut Chisanovici">ionutx.chisanovici</who>
    <bug_when>2015-01-29 09:29:24 +0000</bug_when>
    <thetext>Hi,

This feature cannot be tested by QA as it impact the public AB machines and the backend storage for which we don&apos;t have access.

As Beth changed status to Resolved we will assume that this issue was fixed.

Cheers,
Ionut C</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>