[Bug 1087630] Re: server minimal virtual installations are bloated

Max Brustkern 1087630 at bugs.launchpad.net
Mon Dec 10 14:02:50 UTC 2012


As part of the preseed, we install openssh-server and gdebi-core.  APT
reports that 497K get fetched for that, 2024K are used afterwards.
After the installation, we install a custom version of python-
jsonschema, utah-common, and utah-client.  The packages for those three
add up to 112K.  The whole utah tree checked out from bzr including all
the provisioning is 2.4M.  Some of that won't be installed, but even if
we assume everything is, and double the size to account for .pyc files,
that still gives us under 5 MB for those packages, and under 8 total.

I ran minimal-virtual.run on a server, and checked the utah directories
afterwards.  /var/cache/utah contained 4K, and /var/lib/utah had 120K.
There may be some other issue with the preseeding we're doing, but the
parts in direct service of utah don't seem to be large enough to cause
the problem.  Do you still have that minimal-virtual install so we can
compare it to a utah minimal-virtual install?  If not, I can create one.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-meta in Ubuntu.
https://bugs.launchpad.net/bugs/1087630

Title:
  server minimal virtual installations are bloated

Status in Ubuntu Seeds:
  New
Status in “ubuntu-meta” package in Ubuntu:
  Confirmed

Bug description:
  Raring server minimal virtual installations report bloated
  installation sizes. Originally it was with i386 but from 20121209 the
  amd64 installations are also reporting larger than the expected
  maximum for the daily smoke tests.

  i386 installations are reporting 885560 against the expected maximum
  of 870400

  amd64 installations are showing 964812 against the expected maximum of
  912656

  i386 server (20121207) minimal virtual installations for raring with
  utah installation are reporting an installation size of 885560 against
  the expected maximum of 870400. The size was below the expected max
  until 20121206 for i386 server images and the bloating only happened
  with 20121207 i386 server images. For amd64 images the size was below
  the expected until 20121208 and the bloating only happened with
  20121209 images

  The corresponding test code is located,
  http://bazaar.launchpad.net/~ubuntu-server-dev/utah/server-tests-quantal/view/head:/testsuites/minimal-virtual/test_install_size/test.py
  The failure is

  ======================================================================
      FAIL: testInstallSize (__main__.MinimalVirtualTest)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "test.py", line 48, in testInstallSize
          self.assertTrue( used < max_install_size, "Used: %s" % (used))
      AssertionError: Used: 885560

  The impacted job is,
  https://jenkins.qa.ubuntu.com/view/Raring/view/Smoke%20Testing/job/raring-server-i386-smoke-minimal-virtual/20/

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-seeds/+bug/1087630/+subscriptions




More information about the foundations-bugs mailing list