Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sysinst failing to extract misc.tgz (in anita)



I modified my local copy of anita some time ago, with

        hard-disk size  increased from 512M to 1024M
        memory size     increased from  32M to  128M
        atf-run timeout increased from 3600 to 7200

{118} more ANITA/anita.py.fix.diff
--- anita.py.orig       2011-01-30 07:58:16.000000000 -0800
+++ anita.py.fix        2011-02-09 16:28:32.000000000 -0800
@@ -428,7 +428,7 @@
        # Set the default disk size if none was given.
        # 384M is sufficient for i386 but not for amd64.
         if disk_size is None:
-           disk_size = "512M"
+           disk_size = "1024M"
        self.disk_size = disk_size

        self.qemu = arch_qemu_map.get(dist.arch())
@@ -446,7 +446,7 @@

     def start_qemu(self, qemu_args, snapshot_system_disk):
         child = pexpect.spawn(self.qemu, [
-           "-m", "32",
+           "-m", "128",
             "-drive", "file=%s,index=0,media=disk,snapshot=%s" %
                (self.wd0_path(), ("off", "on")[snapshot_system_disk]),
             "-nographic"
@@ -843,7 +843,7 @@
                 "tar cf /dev/rwd1d atf; "+
             "}; " +
            "sh -c 'exit `cat /tmp/atf/test.status`'",
-            3600)
+            7200)
        # We give tar an explicit path to extract to guard against
        # the possibility of an arbitrary file overwrite attack if
        # anita is used to test an untrusted virtual machine.

On Tue, 29 Mar 2011, Andreas Gustafsson wrote:

Julio Merino wrote:
Spot on.  The root disk is running out of space.  Should the
defaults be bumped?

If this is the result of normal and expected growth in features rather
than some bug causing a sudden and unexpected increase in disk usage,
then sure.

BTW, there is a typo in the help string for --disk-size!

Already fixed in the CVS tree.
--
Andreas Gustafsson, gson%NetBSD.org@localhost

!DSPAM:4d9222b92449616116430!




-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index