Commit Graph

76 Commits

Author SHA1 Message Date
Eelco Dolstra
639bb95d0a Test whether the transparent fetchurl cache (tarballs.nixos.org) works
Testing this is useful in any case, but it's necessary now because Nix
1.6 doesn't check the binary cache for fetchurl output anymore.

http://hydra.nixos.org/build/6144188
2013-09-16 13:30:34 +02:00
Eelco Dolstra
fbb40e0389 release.nix: Automatically include all of tests/default.nix 2013-09-16 13:30:33 +02:00
Eelco Dolstra
17457297cb Update all legacy-style modules
I.e., modules that use "require = [options]".  Nowadays that should be
written as

  {
    options = { ... };
    config = { ... };
  };

Also, use "imports" instead of "require" in places where we actually
import another module.
2013-09-04 13:05:09 +02:00
Eelco Dolstra
8499959c4a Give the webserver in the installer test still more memory
http://hydra.nixos.org/build/5510269
2013-07-12 15:17:35 +02:00
Eelco Dolstra
c75c539953 Installer test: Give the webserver more memory
Otherwise its unionfs may run into allocation failures.

http://hydra.nixos.org/build/5508805
2013-07-11 11:55:42 +02:00
Eelco Dolstra
fd14641ef5 Fix the sshd check in the rebuildCD test
Also reduce the amount of memory.
2013-07-09 16:12:34 +02:00
Eelco Dolstra
60f1424cde Fix the rebuildCD test
http://hydra.nixos.org/build/5500743
2013-07-09 15:29:29 +02:00
Eelco Dolstra
82de6feba6 Fix the installer test 2013-06-14 14:04:17 +02:00
Eelco Dolstra
97ae408e83 Merge remote-tracking branch 'origin/master' into systemd 2012-12-11 17:40:39 +01:00
Eelco Dolstra
13617b803b Use the binary cache in the installer
Also remove "nixos-rebuild pull".
2012-12-08 19:00:06 +01:00
Eelco Dolstra
2b4715d3ef Installer test: fix nix-push call
http://hydra.nixos.org/build/3331147
2012-12-08 18:33:00 +01:00
Eelco Dolstra
fe7b3b7f9b Installer test: fix nix-push call
http://hydra.nixos.org/build/3331147
2012-11-16 16:34:22 +01:00
Eelco Dolstra
074af5906e Use new-style fileSystems 2012-11-15 22:55:00 +01:00
Eelco Dolstra
08e6c0cb7c Update channel URLs 2012-11-12 09:19:25 +01:00
Eelco Dolstra
d5aae18587 installer test: Don't wait for getty@tty2 because it's started lazily 2012-11-12 09:19:25 +01:00
Eelco Dolstra
7a76bcd72a Fix the installer test
http://hydra.nixos.org/build/3253038
2012-10-30 15:00:51 +01:00
Eelco Dolstra
ecd7bc9310 Tests: global search/replace of obsolete functions 2012-10-24 18:22:53 +02:00
Eelco Dolstra
719aeb36ca Tests: Depend on ‘network.target’ 2012-10-24 12:58:58 +02:00
Eelco Dolstra
c8d04ab34c tests/installer.nix: Re-enable booting from LVM 2012-08-01 15:40:58 -04:00
Eelco Dolstra
87ae768665 Fix the LVM installer test
GRUB 2 doesn't want to boot off a LVM disk:

machine# installing the GRUB 2 boot loader on /dev/vda...
machine# Path `/boot/grub' is not readable by GRUB on boot. Installation is impossible. Aborting.
machine# /nix/store/7yc535h1lim1a5gkhjb3fr6c8193dv8w-install-grub.pl: installation of GRUB on /dev/vda failed

In theory GRUB 2 supports booting from LVM, but we probably need to
generate the right grub.conf (see
https://wiki.archlinux.org/index.php/GRUB2#LVM).

http://hydra.nixos.org/build/2904680
2012-07-26 16:02:33 -04:00
Eelco Dolstra
1a2b3cc5e4 Fix the tests.installer.grub1 test
GRUB 1 doesn't understand /dev/vda, so use a SCSI rather than virtio disk.
2012-07-26 16:02:33 -04:00
Eelco Dolstra
92515b288c Fix the installer tests
http://hydra.nixos.org/build/2904451
2012-07-26 09:42:05 -04:00
Eelco Dolstra
29ef89ac03 Fix the tests
http://hydra.nixos.org/build/2903932
2012-07-25 18:38:20 -04:00
Eelco Dolstra
6ba2899c18 * Run nixos-install twice to test idempotency.
svn path=/nixos/trunk/; revision=34234
2012-05-24 23:39:03 +00:00
Eelco Dolstra
6c1bb54483 * In the installation CD, make the NixOS/Nixpkgs available as if they
were obtained from the NixOS channel.  "nixos-install" copies this
  to the installed system as well.
* In the installation CD, set GC_INITIAL_HEAP_SIZE to a low value for
  the benefit of memory-constrained environments.

svn path=/nixos/trunk/; revision=33887
2012-04-23 00:41:37 +00:00
Eelco Dolstra
d8a6cddbd0 * Fix the installer test (http://hydra.nixos.org/build/2430122).
svn path=/nixos/trunk/; revision=33852
2012-04-20 09:44:27 +00:00
Eelco Dolstra
6ef5e0e5b3 * Fix the GRUB 1 installer test. Note that GRUB 1 doesn't
automatically detect /dev/vd* devices, so users have to fix
  /boot/grub/device.map manually.

svn path=/nixos/trunk/; revision=33832
2012-04-18 16:08:25 +00:00
Eelco Dolstra
9261d520ff * Fix the installer test.
svn path=/nixos/trunk/; revision=33828
2012-04-18 14:14:58 +00:00
Eelco Dolstra
375511eb33 * Add a installer test that uses GRUB 1 (it currently fails).
svn path=/nixos/trunk/; revision=33745
2012-04-11 09:42:53 +00:00
Eelco Dolstra
f9ac67c67f * Copying manifests is slightly tricky because
download-using-manifests expects that the files in
  /nix/var/nix/manifests are symlinks into the store.

svn path=/nixos/trunk/; revision=33727
2012-04-10 15:36:50 +00:00
Eelco Dolstra
1201116832 * Temporarily add "-cpu kvm64" to work around the GMP abort() bug that
has been fixed in the stdenv branch.

  http://hydra.nixos.org/build/2380676

svn path=/nixos/trunk/; revision=33718
2012-04-10 12:50:20 +00:00
Eelco Dolstra
b46e911012 * Fix some references to dhclient.
svn path=/nixos/trunk/; revision=33359
2012-03-22 13:02:42 +00:00
Eelco Dolstra
a22bdbaeda * I hate asynchronous commands.
svn path=/nixos/trunk/; revision=33310
2012-03-20 21:45:24 +00:00
Eelco Dolstra
9d72a2a606 * Wait for RAID resync to complete before rebooting. Booting off an
unsynced volume tends to fail.  (http://hydra.nixos.org/build/2310338)

svn path=/nixos/trunk/; revision=33307
2012-03-20 21:38:38 +00:00
Eelco Dolstra
4b153f989b * And another one.
svn path=/nixos/trunk/; revision=32786
2012-03-04 21:08:21 +00:00
Eelco Dolstra
0ecda32942 * Fix the installer.simple test.
svn path=/nixos/trunk/; revision=29780
2011-10-12 12:21:54 +00:00
Peter Simons
eb6e1310b8 strip trailing whitespace; no functional change
svn path=/nixos/trunk/; revision=29285
2011-09-14 18:20:50 +00:00
Eelco Dolstra
c430bf5cc3 * Add virtio_console to the CD because the backdoor requires it.
* The booted CD no longer requires "-net user".

svn path=/nixos/trunk/; revision=26427
2011-03-19 08:58:56 +00:00
Eelco Dolstra
0c6129bb90 * Hopefully fix the rebuildCD job.
svn path=/nixos/trunk/; revision=26155
2011-03-04 10:28:02 +00:00
Eelco Dolstra
10119c9abc * Give the installation VM a different MAC/IP from the fake nixos.org
VM.  MAC collisions don't work at all with VDE.

svn path=/nixos/trunk/; revision=26009
2011-02-17 13:00:55 +00:00
Eelco Dolstra
32aa967ee1 * Only add a VDE NIC if there is a webserver.
svn path=/nixos/trunk/; revision=25986
2011-02-16 10:07:28 +00:00
Eelco Dolstra
7378e17f74 * Test driver: write structured log info to $out/log.xml (not finished
yet).
* Machine->new -> createMachine (because VMs must be tracked in the
  %vms hash).

svn path=/nixos/trunk/; revision=25427
2011-01-05 15:27:21 +00:00
Eelco Dolstra
747e284e75 * Fix an evaluation error in tests.installer.rebuildCD.
svn path=/nixos/trunk/; revision=25193
2010-12-18 18:07:25 +00:00
Eelco Dolstra
47157986f2 * Unbreak the NixOS installer tests.
svn path=/nixos/trunk/; revision=25096
2010-12-13 08:53:43 +00:00
Eelco Dolstra
52a8a529b3 * Fix indentation.
svn path=/nixos/trunk/; revision=24254
2010-10-12 22:03:50 +00:00
Nicolas Pierron
6cc0032074 Installation CD: Check that the current system can be replaced.
svn path=/nixos/trunk/; revision=23920
2010-09-25 09:33:21 +00:00
Nicolas Pierron
1a232545a0 Test that CD configuration can be rebuild.
svn path=/nixos/trunk/; revision=23908
2010-09-25 09:32:22 +00:00
Nicolas Pierron
de1ba135ac Fix installer tests.
svn path=/nixos/trunk/; revision=23907
2010-09-25 09:18:42 +00:00
Nicolas Pierron
c9dc3651da Replace mkOverride by its alias mkOverrideTemplate to remove the unused
template argument of mkOverride later.

svn path=/nixos/trunk/; revision=23631
2010-09-03 19:10:59 +00:00
Eelco Dolstra
392275f185 * Move support for writable Nix stores to qemu-vm.nix.
svn path=/nixos/trunk/; revision=23393
2010-08-24 12:59:16 +00:00