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
Eelco Dolstra
ee4e004cc4
* Add a test for the firewall.
...
svn path=/nixos/trunk/; revision=26276
2011-03-11 13:38:52 +00:00
Eelco Dolstra
416c60550e
* Delete some obsolete installation tests.
...
svn path=/nixos/trunk/; revision=26272
2011-03-11 12:18:01 +00:00
Eelco Dolstra
53bc6d3efa
* NAT module: support active FTP.
...
svn path=/nixos/trunk/; revision=26247
2011-03-10 13:03:47 +00:00
Eelco Dolstra
9bf4ac079e
* Add a module for doing Network Address Translation.
...
svn path=/nixos/trunk/; revision=26246
2011-03-10 12:08:39 +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
b70ba07ec1
* Add a test of IPv6 support.
...
svn path=/nixos/trunk/; revision=26036
2011-02-19 19:21:19 +00:00
Eelco Dolstra
5bdc1a9db7
* Fix the Subversion test.
...
svn path=/nixos/trunk/; revision=26017
2011-02-17 15:41:28 +00:00
Eelco Dolstra
8f5f70b292
* We don't really need a display manager on the installation CD. Just
...
log in as root automatically.
svn path=/nixos/trunk/; revision=26014
2011-02-17 14:38: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
Sander van der Burg
e995f317ae
Fixed NFS mount to storage machine
...
svn path=/nixos/trunk/; revision=25773
2011-02-04 13:33:52 +00:00
Eelco Dolstra
2ac09578c0
* runInMachine: properly evaluate the machine configuration.
...
svn path=/nixos/trunk/; revision=25536
2011-01-13 11:39:03 +00:00
Eelco Dolstra
06a239a699
* runInMachine: use buildVM rather than buildVirtualNetwork since
...
there is only one machine.
* Add a simple test case for runInMachine.
svn path=/nixos/trunk/; revision=25535
2011-01-13 10:54:07 +00:00
Eelco Dolstra
fd48855284
* No wonder the OpenSSH test was so unreliable: it didn't wait for the
...
sshd Upstart job to finish.
svn path=/nixos/trunk/; revision=25524
2011-01-12 17:36:15 +00:00
Eelco Dolstra
60b6eb7579
* Add a method Machine::sleep to sleep N seconds in virtual (guest)
...
time rather than host real time.
svn path=/nixos/trunk/; revision=25491
2011-01-10 14:41:16 +00:00
Eelco Dolstra
7e3873f75e
* Use the dedicated server.
...
svn path=/nixos/trunk/; revision=25488
2011-01-10 12:25:13 +00:00
Eelco Dolstra
261430df54
* Flush the coverage data by doing a shutdown.
...
svn path=/nixos/trunk/; revision=25481
2011-01-09 22:33:21 +00:00
Eelco Dolstra
ef82cd9c48
* Coverage report: propagate the build products of the VM test run.
...
* Run the Quake 3 with coverage instrumentation.
svn path=/nixos/trunk/; revision=25480
2011-01-09 22:21:22 +00:00
Eelco Dolstra
7adc21218f
* Simulate connection interruptions.
...
svn path=/nixos/trunk/; revision=25470
2011-01-09 18:17:17 +00:00
Eelco Dolstra
e343a16a36
* Improved logging in the test driver.
...
* Support subtests.
svn path=/nixos/trunk/; revision=25451
2011-01-06 17:28:35 +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
c8bca42355
* Update the Bittorrent test for Transmission 2.
...
svn path=/nixos/trunk/; revision=25422
2011-01-05 11:52:45 +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
6039c22da4
svn path=/nixos/trunk/; revision=25141
2010-12-15 12:10:17 +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
9def3a8dbc
* Use mkOverride.
...
svn path=/nixos/trunk/; revision=24255
2010-10-12 22:04:10 +00:00
Eelco Dolstra
52a8a529b3
* Fix indentation.
...
svn path=/nixos/trunk/; revision=24254
2010-10-12 22:03:50 +00:00
Ludovic Courtès
5e6186418e
Avahi test: Use getent hosts' instead of
ping -c1'.
...
svn path=/nixos/trunk/; revision=24151
2010-10-07 20:10:45 +00:00
Ludovic Courtès
2b2b7820a9
Add an Avahi (mDNS/DNS-SD) and NSS-mDNS test.
...
svn path=/nixos/trunk/; revision=24148
2010-10-07 16:58:07 +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
Eelco Dolstra
0fccd7bb49
* Add a trivial test that just starts a machine and shuts it down.
...
svn path=/nixos/trunk/; revision=23765
2010-09-13 16:06:07 +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
b9282b1752
* Test whether the build hook automatically skips unavailable slaves.
...
(This is in fact currently broken.)
svn path=/nixos/trunk/; revision=23398
2010-08-24 14:01:19 +00:00
Eelco Dolstra
bfb2e304dd
* Test using multiple build machines in parallel.
...
svn path=/nixos/trunk/; revision=23396
2010-08-24 13:56:18 +00:00
Eelco Dolstra
3f10cf70f6
* Regression test for the build hook mechanism.
...
svn path=/nixos/trunk/; revision=23395
2010-08-24 13:27:28 +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
Eelco Dolstra
ea1ba40374
svn path=/nixos/trunk/; revision=23056
2010-08-09 11:58:26 +00:00
Eelco Dolstra
3a0f295337
* The swraid installer test needs more disk space
...
(http://hydra.nixos.org/build/494390 ).
svn path=/nixos/trunk/; revision=22692
2010-07-21 21:20:42 +00:00
Eelco Dolstra
575950aa5d
svn path=/nixos/trunk/; revision=22609
2010-07-15 13:28:36 +00:00
Eelco Dolstra
2a6819e03d
* swraid test: Fix the alignment of the first logical partition. GNU
...
parted 2.3 barfs on this (http://hydra.nixos.org/build/484788 ),
while 2.2 accepts it.
svn path=/nixos/trunk/; revision=22576
2010-07-13 11:57:12 +00:00
Eelco Dolstra
ddf6dae895
* Urgh, we do need to wait after each parted call
...
(http://hydra.nixos.org/build/483571 ).
svn path=/nixos/trunk/; revision=22558
2010-07-12 12:35:25 +00:00
Eelco Dolstra
d43d321e86
* Sync with the trunk.
...
svn path=/nixos/branches/boot-order/; revision=22349
2010-06-20 20:54:31 +00:00
Eelco Dolstra
eab091cc11
* Remove some redundant calls to `udevadm settle'.
...
svn path=/nixos/branches/boot-order/; revision=22345
2010-06-20 16:15:30 +00:00
Eelco Dolstra
1371f4e6c8
* Apparantly GRUB 2 cannot boot from a software RAID partition, so use
...
a separate /boot.
svn path=/nixos/branches/boot-order/; revision=22344
2010-06-20 16:05:15 +00:00
Eelco Dolstra
a65b5ec81c
* Added an option boot.loader.grub.extraConfig to add commands to
...
grub.cfg before the menu entries. (This could also be done using
`extraEntriesBeforeNixOS', but then you can't have entries *after*
the main entry anymore.)
* In the installer test, redirect GRUB output to the serial port.
svn path=/nixos/branches/boot-order/; revision=22300
2010-06-16 22:18:26 +00:00
Eelco Dolstra
a5c433696c
* Put all of /var/run (not just /var/run/nscd) on a tmpfs to simplify
...
shutdown. (Portmap and statd are needed during shutdown to unmount
NFS volumes but have open files in /var/run.)
* In the shutdown job, don't kill PIDs belonging to Upstart jobs that
are still running. If they don't stop on the "starting shutdown"
event, then they're needed during shutdown (such as portmap and
statd).
* NFS test: test whether the shutdown quickly unmounts NFS volumes
(i.e. whether portmap and statd are still running).
svn path=/nixos/branches/boot-order/; revision=22204
2010-06-09 22:29:06 +00:00
Eelco Dolstra
e519b0652a
* Test whether locks survive a reboot of the server.
...
svn path=/nixos/branches/boot-order/; revision=22201
2010-06-09 15:11:46 +00:00
Eelco Dolstra
b56b4c22d5
* Test whether clients release their locks when they reboot.
...
svn path=/nixos/branches/boot-order/; revision=22199
2010-06-09 13:46:18 +00:00
Eelco Dolstra
6e27ce8e8e
* Test whether distributed locking works on NFS.
...
svn path=/nixos/branches/boot-order/; revision=22197
2010-06-09 13:18:49 +00:00
Eelco Dolstra
5ddaf9b963
* Set `services.nfsKernel.client.enable' automatically if there is a
...
filesystem with type "nfs" or "nfs4".
svn path=/nixos/branches/boot-order/; revision=22189
2010-06-08 16:14:41 +00:00
Eelco Dolstra
2678f947fb
* Add a test for the NFS server/client.
...
svn path=/nixos/branches/boot-order/; revision=22188
2010-06-08 16:02:22 +00:00
Eelco Dolstra
48255afa61
* This passwd doesn't have a --stdin flag.
...
svn path=/nixos/trunk/; revision=22110
2010-06-02 21:59:19 +00:00
Eelco Dolstra
046af078bb
* We don't need Linux 2.6.27 anymore in the tests to get a writable
...
Nix store. AUFS2 on 2.6.32 seems to work.
svn path=/nixos/trunk/; revision=22034
2010-05-28 07:10:17 +00:00
Eelco Dolstra
77a4004df1
* The installer test lost the QEMU flags to set up the NIC to talk to
...
the web server somewhere, so put them back in
(http://hydra.nixos.org/build/424923 ).
svn path=/nixos/trunk/; revision=22003
2010-05-27 12:20:37 +00:00
Eelco Dolstra
894435ce5e
* Slight cleanup.
...
svn path=/nixos/trunk/; revision=21998
2010-05-27 10:05:17 +00:00
Eelco Dolstra
fa89713c78
* Rename apply' and
call'.
...
svn path=/nixos/trunk/; revision=21944
2010-05-23 12:02:54 +00:00
Eelco Dolstra
dd81311714
* Optionally pass the computed `nodes' to the test script as a
...
function argument, so that the test script can refer to computed
values such as the assigned IP addresses of the virtual machines.
svn path=/nixos/trunk/; revision=21939
2010-05-21 14:31:05 +00:00
Eelco Dolstra
fa183e5472
* Expose networking.interfaces as an attribute set keyed on the
...
interface name through the derived option networking.ifaces. This
makes it easier to get information about specific interfaces
(e.g. `nodes.router.config.networking.ifaces.eth2.ipAddress').
Really networking.interfaces should be an attribute set.
svn path=/nixos/trunk/; revision=21938
2010-05-21 14:12:03 +00:00
Eelco Dolstra
3c7a6eb53c
* Make the Bittorrent test more interesting by putting one client
...
behind a NAT router and verifying that another client can connect to
it through the NAT (using a UPnP-IGD mapping created automatically
by miniupnpd).
svn path=/nixos/trunk/; revision=21932
2010-05-20 23:07:21 +00:00