Commit graph

198 commits

Author SHA1 Message Date
Shea Levy 1b615f460b Allow overriding all NixOS tests to run with the minimal kernel possible for that test's config(s) (based on requiredKernelConfig) 2012-08-04 09:45:26 -04:00
Shea Levy 3d20a308af tests/minimal-kernel: Add CIFS timeout patch 2012-08-01 23:36:48 -04:00
Shea Levy 9e300052bd Add test to check that a machine with a minimal kernel but all of the requiredKernelConfig options set boots and shuts down 2012-08-01 22:32:16 -04: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 97b81d7e6e * Test swapfile creation.
svn path=/nixos/trunk/; revision=34479
2012-06-12 14:05:11 +00: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 d587329615 * Turn users.extraGroups into an attribute set (using types.loaOf).
Also the gid is looked up in ids.gids if not specified.

svn path=/nixos/trunk/; revision=33860
2012-04-20 12:55:09 +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 fa50d105d7 * Pass -cpu kvm64 in NixOS VMs (and add a simple regression test for
GMP).

svn path=/nixos/trunk/; revision=33849
2012-04-19 18:56:35 +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 67a90c6d6f * Renamed services.nfsKernel to services.nfs. Unfortunately
rename.nix doesn't allow renaming sets of options...
* Renamed nfs-kernel.nix to nfsd.nix
* Move NFS client stuff from nfsd.nix to filesystems/nfs.nix.

svn path=/nixos/trunk/; revision=33174
2012-03-16 20:41:49 +00:00
Eelco Dolstra a395e46192 * Fix the NFS Upstart dependencies. Mountd is now started before
nfsd, as suggested by the nfs-utils README.

  Also, rather than relying on Upstart events (which have all sorts of
  problems, especially if you have jobs that have multiple
  dependencies), we know just let jobs start their on prerequisites.
  That is, nfsd starts mountd in its preStart script; mountd starts
  statd; statd starts portmap.  Likewise, mountall starts statd to
  ensure that it can mount NFS filesystems.  This means that doing
  something like "start nfsd" from the command line will Do The Right
  Thing and start the dependencies of nfsd.

svn path=/nixos/trunk/; revision=33172
2012-03-16 20:10:14 +00:00
Eelco Dolstra 4b153f989b * And another one.
svn path=/nixos/trunk/; revision=32786
2012-03-04 21:08:21 +00:00
Eelco Dolstra 29d84af677 * Remove the use of the NIXPKGS and NIXOS environment variables.
Instead use $NIX_PATH.  NIXOS_CONFIG is still supported.

svn path=/nixos/trunk/; revision=32739
2012-03-02 12:38:22 +00:00
Eelco Dolstra 5164ca570f * Test whether restarting Upstart jobs works properly if there are
dependent jobs with multiple dependencies (such as "started portmap
  and started nfs-kernel-exports").  This currently *doesn't* work
  (and frequently breaks the NFS server in the build farm :-) ).

svn path=/nixos/trunk/; revision=29826
2011-10-13 14:08:00 +00:00
Eelco Dolstra 0ecda32942 * Fix the installer.simple test.
svn path=/nixos/trunk/; revision=29780
2011-10-12 12:21:54 +00:00
Eelco Dolstra ce7b064a11 * Remove the remote building test.
svn path=/nixos/trunk/; revision=29756
2011-10-11 13:07:13 +00:00
Eelco Dolstra c04d1477de svn path=/nixos/trunk/; revision=29435 2011-09-22 08:27:29 +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 5925797672 * Make yet another test more reliable.
svn path=/nixos/trunk/; revision=29088
2011-09-07 17:25:16 +00:00
Eelco Dolstra 51006ffdc7 * Make some tests more robust. In particular, tests should make sure
that the network-interfaces job is up before accessing the network.

svn path=/nixos/trunk/; revision=28877
2011-08-29 14:23:26 +00:00
Sander van der Burg abfdab0d3e Added testcase for Tomcat, with HTTP proxy
svn path=/nixos/trunk/; revision=28824
2011-08-26 10:17:24 +00:00
Eelco Dolstra 27a54b1761 * Fix the runInMachine test.
svn path=/nixos/trunk/; revision=28428
2011-08-09 14:06:04 +00:00
Eelco Dolstra 80d817fcb7 * Verify whether Xfce users get ownership of devices.
svn path=/nixos/trunk/; revision=28396
2011-08-08 17:16:49 +00:00
Eelco Dolstra 9df53632ad * Stupid timing sensitivity...
svn path=/nixos/trunk/; revision=27987
2011-07-28 12:10:39 +00:00
Sander van der Burg 6034297c61 Removed some silly Nix expression language usage
svn path=/nixos/trunk/; revision=27780
2011-07-14 14:42:22 +00:00
Sander van der Burg c630e52873 Added MySQL replication support + 2 MySQL testcases (including replication)
svn path=/nixos/trunk/; revision=27771
2011-07-13 20:58:48 +00:00
Ludovic Courtès 488fd42041 Add missing file for the MPI test.
svn path=/nixos/trunk/; revision=27337
2011-05-31 15:09:56 +00:00
Ludovic Courtès cfce376628 Add an MPI test using two nodes.
svn path=/nixos/trunk/; revision=27335
2011-05-31 10:21:37 +00:00
Eelco Dolstra dc111c7425 svn path=/nixos/trunk/; revision=27077 2011-05-01 21:50:00 +00:00
Eelco Dolstra 150ff09a06 svn path=/nixos/trunk/; revision=26994 2011-04-27 14:03:06 +00:00
Eelco Dolstra 650d14be8d * Remove most references to the "services" tree.
svn path=/nixos/trunk/; revision=26990
2011-04-27 13:16:33 +00:00
Eelco Dolstra 69c4a662de * Fix the Bittorrent test.
svn path=/nixos/trunk/; revision=26443
2011-03-21 13:14:50 +00:00
Eelco Dolstra f10376611e * Fix the Avahi test: the start condition for the backdoor changed, so
it's now necessary to wait until networking is up.  Also, don't
  print to stderr.

svn path=/nixos/trunk/; revision=26441
2011-03-21 13:01:23 +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 c52aeacf1a * Factor out some test commonality.
svn path=/nixos/trunk/; revision=26394
2011-03-17 14:04:47 +00:00
Eelco Dolstra b1b36ec510 * KDM seems to die if we call xwininfo while it's starting (!). So
don't do that.

svn path=/nixos/trunk/; revision=26307
2011-03-15 07:23:37 +00:00
Eelco Dolstra ff458f3fc8 * Add a very basic test for Xfce.
svn path=/nixos/trunk/; revision=26284
2011-03-11 17:00:10 +00:00