William A. Kennington III
4f096c044f
nixos/grub: Simplify detection of labels / uuids for provided device names
2014-08-28 13:35:36 -07:00
William A. Kennington III
6549bcff96
tests/installer: Fix provided test uuid and label mounts
2014-08-28 13:35:36 -07:00
William A. Kennington III
b651097d19
tests/installer: Swapspace should be larger
2014-08-28 13:35:36 -07:00
William A. Kennington III
7264941a46
tests/installer: Remove unneeded tests
2014-08-28 13:35:36 -07:00
William A. Kennington III
429f785135
tests/installer: Fix simple tests
2014-08-28 13:35:36 -07:00
William A. Kennington III
8ff4b3b780
tests/installer: Add swap to the new tests
2014-08-28 13:35:36 -07:00
William A. Kennington III
8b36bf5c59
tests/installer: fix mount
2014-08-28 13:35:36 -07:00
William A. Kennington III
62fedf6081
installer/btrfs: Typo in subvol
2014-08-28 13:35:35 -07:00
William A. Kennington III
2b703f82d5
tests/installer: Test for more grub configurations
2014-08-28 13:35:35 -07:00
William A. Kennington III
809caa87ab
tests/installer: Add btrfs tests for grub and nixos-generate-config
2014-08-28 13:35:35 -07:00
Eelco Dolstra
619f18956d
Bump the amount of memory for the installer test
...
It randomly OOMs.
http://hydra.nixos.org/build/13587153
2014-08-25 10:54:10 +02:00
Eelco Dolstra
a323d146b7
Add user attribute isNormalUser
...
This is shorthand for setting group, createHome, home, useDefaultShell
and isSystemUser.
2014-08-15 02:16:04 +02:00
Eelco Dolstra
c7ca46904f
tests/ipv6.nix: Fix race
...
http://hydra.nixos.org/build/13119647
2014-08-10 14:51:23 +02:00
Eelco Dolstra
f94f659a31
Don't require a device for tmpfs filesystems
2014-07-30 13:18:33 +02:00
Eelco Dolstra
19fc92a8ed
nixos/tests/containers.nix: Don't ping
...
This randomly fails with "Destination Host Unreachable". That
shouldn't happen, since all interfaces/routes should be up after
"nixos-container start" returns. Need more investigation...
2014-07-29 15:34:22 +02:00
Luca Bruno
cb41fecaa1
Try fixing the nixos mumble tests, again
2014-07-02 11:28:43 +02:00
Eelco Dolstra
b8cb960a58
Fix evaluation
2014-07-01 16:28:34 +02:00
Florian Friesdorf
9b7dbcc83e
name nixos tests, close #3078
2014-06-28 16:05:47 +02:00
aszlig
865787ef32
nixos/tests/openssh: Test configured auth keys.
...
So far the test only uses an authorized key that is copied over to the
target machine instead of being set by the target's configuration.
Now, we cover both cases.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-06-27 08:52:03 +02:00
William A. Kennington III
ef4ea24420
sudo: Always keepVisudo in order to simplify sudo build
2014-06-17 22:41:32 -05:00
Ricardo M. Correia
f8e108c865
nixos.tests.installer: Fix test failures due to network being disabled
2014-06-17 18:41:26 +02:00
Eelco Dolstra
13befa3979
Set session variables in the shell as well
2014-06-13 18:34:56 +02:00
Ricardo M. Correia
abd0b3f411
nixos.tests.installer: Attempt to fix race condition
...
Attempt to fix race condition in installer tests, especially the
grub1 test.
The latter was failing when running "parted /dev/sda ..." because
/dev/sda didn't exist yet.
2014-05-30 21:26:24 +02:00
Jaka Hudoklin
66456c0798
nixos: add influxdb module
2014-05-27 22:56:36 +02:00
Eelco Dolstra
0bc7ec6e28
Remove obsolete udisks test
...
Closes #2716 .
2014-05-22 12:11:53 +02:00
Luca Bruno
927b385cc9
Fix mumble test: wait for X windows to appear, not only sleep
2014-05-21 18:09:21 +02:00
Eelco Dolstra
f23231f198
Installer test: Don't wait for dhcpcd if we don't have a network
2014-05-21 15:55:50 +02:00
Eelco Dolstra
ca123bc274
Installer test: Get rid of a warning
2014-05-21 15:55:50 +02:00
Eelco Dolstra
35925d7a76
Fix installer test
...
The installer now asks the user to set a root password if stdin is a
tty, which doesn't work for an interactive test.
http://hydra.nixos.org/build/11130072
2014-05-21 11:04:45 +02:00
Luca Bruno
af3d1ad06d
Add gnome 3.12 test
2014-05-20 13:41:41 +02:00
Austin Seipp
2558fa587b
Merge pull request #2629 from letac/master
...
Phabricator, a web application, snapshot of 2014-05-12
2014-05-14 14:57:36 -05:00
Corey O'Connor
5112e6476b
resolve issue #2308
2014-05-13 11:11:34 +02:00
Strahinja Popovic
25e0d51a67
Phabricator, a web application, snapshot of 2014-05-12
2014-05-12 19:59:40 +02:00
Emery Hemingway
c96d5fe170
nixos: f2fs filesystem module support ( close #2085 )
2014-05-11 13:53:26 +02:00
Eelco Dolstra
fae135b871
Installer test: Increase amount of RAM
...
On x86_64, 384 MB is not enough anymore for running "nix-env -i".
http://hydra.nixos.org/build/10865007
2014-05-07 18:24:15 +02:00
Eelco Dolstra
27d47f3983
Fix the simple installer test
...
http://hydra.nixos.org/build/10712818
2014-04-30 15:07:34 +02:00
Eelco Dolstra
437962ebb2
Installer test: Unmount filesystems after installation
...
Hopefully fixes failures like:
http://hydra.nixos.org/build/10712833
This shouldn't be necessary, but it might be that the use of unionfs
is interfering with a clean shutdown.
2014-04-30 15:07:34 +02:00
Eelco Dolstra
9bb209a3bd
gummiboot: Automatically disable GRUB
2014-04-30 11:47:18 +02:00
Eelco Dolstra
e9be441b62
Merge the EFI test into tests/installer.nix
2014-04-30 11:26:39 +02:00
Eelco Dolstra
077ecf43e5
Installer test: Remove fileSystems argument
...
The config function unintentionally ignored its fileSystems
argument. However, things still worked thanks to the magic of
nixos-generate-config. Yay!
2014-04-30 11:26:39 +02:00
Eelco Dolstra
501d532188
Add a test for automounting
2014-04-29 15:34:55 +02:00
Eelco Dolstra
7ddcd7b6b6
Give the KDE test more memory
2014-04-25 17:27:05 +02:00
Eelco Dolstra
c52fb449f4
Urgh
...
Can't figure out why "hostname -s" keeps failing randomly :-(
http://hydra.nixos.org/build/10662142
2014-04-25 00:30:33 +02:00
Eelco Dolstra
b8d59765e1
cups: Add a listenAddresses option
2014-04-25 00:30:12 +02:00
Eelco Dolstra
23297b0edd
Make nscd startup synchronous
...
Nscd forks into the background before it's ready to accept
connections. So explicitly wait until it's ready.
http://hydra.nixos.org/build/10661767
2014-04-24 23:18:47 +02:00
Eelco Dolstra
d7a7f80aff
cups: Start after network.target
...
http://hydra.nixos.org/build/10661709
2014-04-24 23:18:16 +02:00
Eelco Dolstra
af817ae0d8
Try again
2014-04-24 18:32:32 +02:00
Eelco Dolstra
2b7e746c02
Make the misc test a bit more robust
2014-04-24 15:19:26 +02:00
Ricardo M. Correia
3ad27289fc
nixos/tests/avahi: Fix race condition on mDNS test
2014-04-21 19:54:16 +02:00
Eelco Dolstra
894e2dfb25
Add a test for udisks2
2014-04-19 14:37:05 +02:00
Eelco Dolstra
9f65e82b59
Make the login test a bit more robust
...
http://hydra.nixos.org/build/10397037
2014-04-18 01:22:38 +02:00
Eelco Dolstra
560a1103ad
Add option ‘systemd.tmpfiles.rules’
...
This allows specifying rules for systemd-tmpfiles.
Also, enable systemd-tmpfiles-clean.timer so that stuff is cleaned up
automatically 15 minutes after boot and every day, *if* you have the
appropriate cleanup rules (which we don't have by default).
2014-04-17 16:14:56 +02:00
Eelco Dolstra
518f710547
Fix module loading in systemd-udevd
2014-04-17 12:26:12 +02:00
Eelco Dolstra
eeb32fd82b
Hopefully fix random failure in cups test
...
http://hydra.nixos.org/build/10372895
2014-04-17 10:53:08 +02:00
Eelco Dolstra
c382ad1e17
Fix tests
...
Doing a =~ regexp check doesn't do anything in itself...
2014-04-16 16:09:32 +02:00
Eelco Dolstra
06edd48842
Fix the bittorrent test
...
This was broken since e8baaba044
,
because on the tracker, a DNS lookup for "tracker" returns ::1 due to
nss_myhostname. This apparently confused it.
2014-04-15 14:37:20 +02:00
Eelco Dolstra
269bd7ef83
Add missing file
2014-04-14 21:03:43 +02:00
Eelco Dolstra
4f2aa2f706
Fix installer test evaluation
2014-04-14 16:24:08 +02:00
Eelco Dolstra
abe218950c
Make it easier to run the tests
...
You can now run a test in the nixos/tests directory directly using
nix-build, e.g.
$ nix-build '<nixos/tests/login.nix>' -A test
This gets rid of having to add the test to nixos/tests/default.nix.
(Of course, you still need to add it to nixos/release.nix if you want
Hydra to run the test.)
2014-04-14 14:02:44 +02:00
Eelco Dolstra
13185280fe
Fix tests broken due to the firewall being enabled by default
2014-04-11 17:16:44 +02:00
Eelco Dolstra
d2155649af
Merge branch 'containers'
...
Fixes #2105 .
2014-04-10 15:55:51 +02:00
Eelco Dolstra
2f51ca9609
Add a regression test for udisks
2014-04-07 13:22:12 +02:00
Eelco Dolstra
819e7c9fbd
Add a test for NixOS containers
2014-04-03 16:36:24 +02:00
Austin Seipp
788354cc34
nixos: add mumble test
...
This tests that both the client and server work. With screenshots!
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2014-04-02 03:55:37 -05:00
Eelco Dolstra
c20383e756
Another fix to the installer tests
2014-03-31 11:10:56 +02:00
Eelco Dolstra
075168ca81
nixos-hardware-scan: Detect QEMU
2014-03-30 17:27:18 +02:00
Eelco Dolstra
1c192e1fea
Another attempt to fix the installer test
...
http://hydra.nixos.org/build/9904133
2014-03-30 16:53:23 +02:00
Jaka Hudoklin
227997d8ca
nixos/rabbitmq: rewrite
...
- rewrite from old jobs options to new services
- add simple test
- add dataDir option
2014-03-29 10:56:07 +01:00
Corey O'Connor
40de28afca
remove users.jenkins config start on slave config.
...
Uses standard NixOS user config merging.
Work in progress: The slave config does not actually start the slave agent. This just configures a
jenkins user if required. Bare minimum to enable a nice jenkins SSH slave.
2014-03-13 13:01:50 -07:00
Corey O'Connor
9b79d5b298
Add jenkins continuous integration server and user.
...
By default the jenkins server is executed under the user "jenkins". Which can be configured using
users.jenkins.* options. If a different user is requested by changing services.jenkins.user then
none of the users.jenkins options apply.
This patch does not include jenkins slave configuration. Some config options will probably change
when this is implemented.
Aspects like the user and environment are typically identical between slave and master. The service
configs are different. The design is for users.jenkins to cover the shared aspects while
services.jenkins and services.jenkins-slave cover the master and slave specific aspects,
respectively.
Another option would be to place everything under services.jenkins and have a config that selects
master vs slave.
2014-03-13 13:01:49 -07:00
Eelco Dolstra
497997cc38
Move generation of coverage reports from nixos/lib/testing to releaseTools
...
Also, turn some stdenv adapters into setup hooks.
2014-03-03 13:57:08 +01:00
Eelco Dolstra
1d9cd24d0b
Fix mysql-replication test
2014-02-28 16:18:31 +01:00
Eelco Dolstra
da2a336a3c
Remove tabs
2014-02-28 16:18:31 +01:00
Shea Levy
691f6c4c59
Fix mysql test evaluation
2014-02-28 06:16:57 -05:00
Shea Levy
258c7536be
Force a rebuild
2014-02-09 11:59:02 -05:00
Domen Kožar
028379be28
nixos: add most basic gnome3 test and take a screenshot
2014-02-08 21:47:39 +01:00
Domen Kožar
ee14f8da9a
remove references to isSystemUser and fix eval of tested job
2014-02-08 21:10:00 +01:00
Shea Levy
741cc62f75
Force a rebuild.
...
Sigh.
Signed-off-by: Shea Levy <shea@shealevy.com>
2014-02-04 08:43:45 -05:00
Shea Levy
51de280c0a
nixos X tests: wait for logind to link a session to the server
...
There seems to be some race causing failures if an X command gets in before slim starts the session
Signed-off-by: Shea Levy <shea@shealevy.com>
2014-01-22 14:23:56 -05:00
Shea Levy
30f7947031
Whitespace to force a build
...
Ugh
Signed-off-by: Shea Levy <shea@shealevy.com>
2014-01-19 15:07:35 -05:00
Shea Levy
9c1d3bfa9f
Whitespace to force a rebuild
...
Signed-off-by: Shea Levy <shea@shealevy.com>
2014-01-17 12:15:49 -05:00
Eelco Dolstra
e8baaba044
Add a regression test for hostname / nss_myhostname
...
Issue #1248 .
2013-11-26 18:52:34 +01:00
Domen Kožar
a623cc96e3
Merge pull request #1066 from offlinehacker/nixos/logstash/update
...
nixos/logstash: update and simplify to be fully compatible with new version
2013-11-08 11:44:17 -08:00
Eelco Dolstra
0d5ec076d2
Use default kernel for EFI-related stuff
2013-11-07 16:38:56 +01:00
Jaka Hudoklin
8b1ab6d912
nixos/logstash: add test
2013-11-01 17:18:57 +01:00
Shea Levy
cd9786eed2
Fold efi booting into the default livecd
...
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-11-01 11:29:36 -04:00
Eelco Dolstra
408b8b5725
Add lots of missing option types
2013-10-30 18:47:43 +01:00
Eelco Dolstra
adc1b38b85
Add a priority level for overrides in VM tests
...
Now that overriding fileSystems in qemu-vm.nix works again, it's
important that the VM tests that add additional file systems use the
same override priority. Instead of using the same magic constant
everywhere, they can now use mkVMOverride.
http://hydra.nixos.org/build/6695561
2013-10-29 13:14:30 +01:00
Eelco Dolstra
98ae32286f
Fix evaluation error in the tomcat test
2013-10-29 01:26:51 +01:00
Eelco Dolstra
30a36f9a80
Remove remaining uses of mkOverrideTemplate
2013-10-28 22:45:58 +01:00
Domen Kožar
aeff0028bf
munin: add test and fix a bug
2013-10-20 21:16:24 +02:00
aszlig
1fc7d6ddb2
nixos/tests: Temporarily deactivate nixpart tests.
...
Those tests are flapping and redundant to some degree, as two
configurations are tested in NixOps as well. So, let's deactivate them
until the 1.0 release of nixpart, which has a more general approach for
automatically partitioning NixOS installations.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2013-10-19 23:34:20 +02:00
Eelco Dolstra
8c047d4f2c
Test whether PAM resource limits work
2013-10-17 15:37:08 +02:00
Eelco Dolstra
b3debdc046
Fix test evaluation
2013-10-16 12:47:11 +02:00
Eelco Dolstra
756ca94e0c
Really fix the EFI installer test
...
http://hydra.nixos.org/build/6497361
2013-10-16 12:16:34 +02:00
Eelco Dolstra
ee72a0c386
Disable the trac test
...
It's been failing since forever.
2013-10-16 11:49:10 +02:00
Eelco Dolstra
6dafee8d67
Fix runInMachine
...
It requires a writable /nix/store to store the build result. Also,
wait until we've reached multi-user.target before doing the build, and
do a sync at the end to ensure all data to $out is properly written.
http://hydra.nixos.org/build/6496716
2013-10-16 11:37:38 +02:00
Shea Levy
50f4822888
Fix efi installer test
...
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-10-14 16:02:29 -04:00
Eelco Dolstra
903c5d4df9
Test nixos-option
2013-10-13 22:36:04 +02:00
Eelco Dolstra
de7083a495
Fix the misc test
...
http://hydra.nixos.org/build/6480163
2013-10-13 22:17:12 +02:00
Eelco Dolstra
647b0f5f5c
Update the installer tests for nixos-generate-config
2013-10-13 17:35:57 +02:00
Eelco Dolstra
5c1f8cbc70
Move all of NixOS to nixos/ in preparation of the repository merge
2013-10-10 13:28:20 +02:00