about summary refs log tree commit diff
path: root/nixos/tests
Commit message (Collapse)AuthorAge
* nixos/tests: implement dnscrypt-proxy testJoachim Fasting2016-03-11
| | | | | This test verifies that the daemon actually activates upon a user-initiated ping, when using the recommended configuration.
* Merge pull request #13548 from joelmo/nixos-unstablejoachifm2016-03-02
|\ | | | | avahi: fix test
| * avahi: fix testJoel Moberg2016-02-28
| | | | | | | | Reflects module changes made by cdd7310a503481e3c40266be45b6b8256d95ecbd
* | Attempt to fix transient grub1 test kernel panicsDomen Kožar2016-03-02
| | | | | | | | Example: http://hydra.nixos.org/build/32469819/nixlog/26/raw
* | nixos/tests: Remove tests.boot.boot* prefixesaszlig2016-03-01
| | | | | | | | | | | | | | | | | | | | | | | | As @bobvanderlinden suggests in #13585: "Looks like that cleans things up quite a bit! Just one aesthetics note, the boot tests could now be renamed from boot.bootBiosCdrom to boot.biosCdrom in nixos/tests/boot.nix:L33. That makes them more consistent with the other tests." Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* | nixos/tests/chromium: Split up into subtestsaszlig2016-03-01
| | | | | | | | | | | | | | | | | | | | This makes it easier to test just a specific channel rather than to force testing all builds down the users/testers throat. Especially this makes it easier to test NixOS channel upgrades only against the Chromium stable channel instead of just removing the beta/dev channels from the tests entirely (as done in 69ec09f38aa1f1d37baec73ebdf9cf5f21050f94). Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* | nixos/tests/networking: Expose subtests via attrsaszlig2016-03-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So far the networking test expression only generated a single test depending on the passed "test" attribute. This makes it difficult to autodiscover the subtests with our shiny new callSubTests function. This change essentially doesn't change the behaviour of the subtests but rather exposes them as an attribute set instead of relying on a particular input argument. The useNetworkd argument still exists however. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @wkennington
* | nixos/tests/virtualbox: Split up subtestsaszlig2016-02-29
| | | | | | | | | | | | | | | | | | | | | | | | Now subtests are separate derivations, because the individual tests do not depend on state from previous test runs. This has the advantage that it's easier to run individiual tests and it's also easier to pinpoint individual tests that randomly fail. I ran all of these tests locally and they still succeed. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* | Revert "Add a way to pin a NixOS version within the module system."Eelco Dolstra2016-02-27
| | | | | | | | | | | | This reverts commit a5992ad61b314104aff7e28a41ce101a1b0e7c35. Motivation: https://github.com/NixOS/nixpkgs/commit/a5992ad61b314104aff7e28a41ce101a1b0e7c35#commitcomment-14986820
* | nixos.tests.printing: fix for new CUPS versionNikolay Amiantov2016-02-22
|/ | | | | | | | | | It looks like now queue is not immediately cleared from cancelled jobs. Instead, files like "c00001" are left alongside "d00001-001", and cleanup happens at some later point of time. Also, all new jobs are assigned consecutive numbers now (00002, 00003 etc.). So when original d00001 file is finally cleaned, it breaks the test. Fixed by checking for any "d*" file inside the queue and cleaning it by ourselves to ensure that each job works correctly.
* nixos/tests/simple.nix: Include minimal.nixEelco Dolstra2016-02-12
| | | | | This reduces the amount of rebuilds (particularly some X11 stuff) after changing some dependencies like systemd.
* filesystems: use list of strings for fs optionsAneesh Agrawal2016-02-06
| | | | | | | | | | | | Allow usage of list of strings instead of a comma-separated string for filesystem options. Deprecate the comma-separated string style with a warning message; convert this to a hard error after 16.09. 15.09 was just released, so this provides a deprecation period during the 16.03 release. closes #10518 Signed-off-by: Robin Gloster <mail@glob.in>
* Merge pull request #12560 from tvestelind/hakaRobin Gloster2016-02-06
|\ | | | | Haka: new package
| * haka: very basic testingTomas Vestelind2016-01-23
| |
* | Don't make chromium-beta/dev release blockersEelco Dolstra2016-02-03
| | | | | | | | | | | | | | Generally we shouldn't ship pre-release versions anyway, and we certainly don't want them to be release blockers. Also, chromium builds are just too slow to have them blocking the channel (see https://github.com/NixOS/nixpkgs/issues/12794).
* | boot.initrd.network: Support DHCPEelco Dolstra2016-02-02
| | | | | | | | This allows us to use it for EC2 instances.
* | grsecurity: add NixOS VM testDan Peebles2016-01-24
|/
* nixos: add test for postgresql, fixes #11146Rok Garbas2016-01-20
|
* nixos/tests/quake3: Don't quote +set argumentsaszlig2016-01-16
| | | | | | | | | | | | With the new upstream Git version of ioquake3 introduced in 7fc7502, the arguments to the quake3(server) binaries/wrappers may no longer be passed as full single arguments (like "+set foo bar") but rather as separate arguments (like "+set" "foo" "bar"), otherwise they will be completely ignored. Ran the x86_64-linux test on my machine and it now succeeds. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* nixos/tests/quake3: Fix eval due to unfree licenseaszlig2016-01-16
| | | | | | | | | | | | | | | | | | Regression introduced by 6b447a3c9bbee41389052d6fa9e08a53d8447656. In this commit the Quake 3 demo data now have a meta attribute which specifies the license as unfreeRedistributable. While I haven't found anything official about that on the web, let's just allow it to be used in the test because first of all, we have been using it for a long time (since 2009, introduced in 497760b) and second, because it will be quite some effort to rewrite the test with something like OpenArena (particularily because we need coverage data and need to use the ioquake3 version plus OpenArena-specific patches). Tested evaluation on my local system, but the VM test still fails. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* gnome3: default to gnome 3.18Luca Bruno2016-01-13
|
* correctly fix 313fa2ebc69aa9b49055c6242ae6d4b78e9f0467Domen Kožar2016-01-10
|
* nixos installer tests: use -A nix-env flag to prevent out of memoryDomen Kožar2016-01-10
|
* jobs -> systemd.servicesRobin Gloster2016-01-07
|
* tests.ec2-config: fix to not try to talk to the internet (which breaks on Hydra)Dan Peebles2016-01-07
|
* btrfsProgs -> canonical btrfs-progsTobias Geerinckx-Rice2016-01-03
|
* nixos/mathics: New service and testBenjamin Staffin2016-01-02
|
* slurm service: add testsLancelot SIX2015-12-25
|
* nixos/tests/networking: Add a test for loopbackaszlig2015-12-18
| | | | | | | | | | | | | | | | It serves as a regression test, because right now if you enable networking.useNetworkd the default loopback interface doesn't get assigned any IP addresses. To be sure, I have bisected this and it has been introduced with the update to systemd 228 in 1da87d4. Only the "scripted" networking tests have to succeed in order to trigger a channel update of nixos-unstable, so I'm leaving this test as broken and we have to figure out next what's the *exact* reason for the breakage. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* nixos/tests: test SDDM with KDE 5 enabledThomas Tuegel2015-12-11
|
* nixos tests: pump.io: initRodney Lorrimar2015-12-06
|
* Rename 'emery' maintainer handle to 'ehmry', fixes #11493Emery Hemingway2015-12-05
| | | | Communication happens on Github so names should be consistent.
* nixos/tests: increase ram from 768 to 1024Luca Bruno2015-12-01
| | | | | | | Fixes simpleProvided test failing on unionfs using more ram than available. cc @edolstra @wkennington
* nixos/tests/misc: start systemd-udev-settle manuallyLuca Bruno2015-12-01
| | | | | | | | systemd-udev-settle is not started by default anymore. Because checking for psmouse like that is considered legacy, we start systemd-udev-settle manually in the test. cc @edolstra
* tests-chromium: fix link to svg filePascal Wittmann2015-11-29
| | | | closes #11208
* add nixos/tests/sddmThomas Tuegel2015-11-23
|
* Add a way to pin a NixOS version within the module system.Nicolas B. Pierron2015-11-19
| | | | | This modification add a way to re-evaluate the module system with a different version of NixOS, or with a different set of arguments.
* Merge branch 'master.upstream' into staging.upstreamWilliam A. Kennington III2015-10-15
|\
| * gnome3 test: increase timeoutMathnerd3142015-10-05
| | | | | | | | | | The gnome3 test has been failing recently ([1](http://hydra.nixos.org/build/26608126/nixlog/1/raw) [2](http://hydra.nixos.org/build/26605926/nixlog/1/raw)); this is due to exit code 124 which is [the command timing out](https://www.gnu.org/software/coreutils/manual/html_node/timeout-invocation.html). This increases the timeout to 900, to align with the similar timeout in https://github.com/NixOS/nixpkgs/blob/master/nixos/lib/test-driver/Machine.pm#L222
| * nixos/docker: default storageDriver to "devicemapper"Bjørn Forsman2015-10-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 9bfe92ecee ("docker: Minor improvements, fix failing test") added the services.docker.storageDriver option, made it mandatory but didn't give it a default value. This results in an ugly traceback when users enable docker, if they don't pay enough attention to also set the storageDriver option. (An attempt was made to add an assertion, but it didn't work, possibly because of how "mkMerge" works.) The arguments against a default value were that the optimal value depends on the filesystem on the host. This is, AFAICT, only in part true. (It seems some backends are filesystem agnostic.) Also, docker itself uses a default storage driver, "devicemapper", when no --storage-driver=x options are given. Hence, we use the same value as default. Add a FIXME comment that 'devicemapper' breaks NixOS VM tests (for yet unknown reasons), so we still run those with the 'overlay' driver. Closes #10100 and #10217.
* | Merge branch 'master.upstream' into staging.upstreamWilliam A. Kennington III2015-09-30
|\|
| * nixos/tests/gnome3: wait for gnome shell to be started, for a better screenshotLuca Bruno2015-09-30
| |
* | Merge branch 'master.upstream' into staging.upstreamWilliam A. Kennington III2015-09-29
|\|
| * Remove superfluous root resizing testEelco Dolstra2015-09-28
| | | | | | | | This is done in the EC2 test now.
| * Test whether EC2 root volume resizing worksEelco Dolstra2015-09-28
| |
| * Fix the EC2 testEelco Dolstra2015-09-28
| |
| * nixos/tests/virtualbox: Don't parallelize VM boot.aszlig2015-09-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm not quite sure why the official Hydra gets a kernel panic in one of two VMs using the exact same kernels: https://hydra.nixos.org/build/26339384 Because the kernel panic happens before stage 1, let's wait for the first VM to boot up and after the bootup is done, start the second one in hope that it won't trigger the panic. Oddly enough, whenever I run the test on my own Hydra and on my local machines, I don't get anything like that. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
| * Add filesystem option to automatically grow to the maximum sizeEelco Dolstra2015-09-24
| | | | | | | | | | This is primarily for EC2 and other cloud environments, where the disk may be bigger than the original image.
| * nixos/tests/virtualbox: Destroy detectvirt VM.aszlig2015-09-24
| | | | | | | | | | | | | | I forgot to do this in da0e642. It shouldn't be a big problem but it's more clean to destroy the VM once we're done testing. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
| * nixos/tests/virtualbox: Give VMs more memory.aszlig2015-09-24
| | | | | | | | | | | | | | | | | | | | | | | | | | We previously had 1024 MB of memory to fit a VirtualBox VM with 512 MB plus the memory needed of the VirtualBox host VM. That obviously won't work for two VirtualBox VMs, which are used for testing networking between two VirtualBox guests. Now, we have 2048 MB on the qemu guest (the VirtualBox host) and 768 MB for each VirtualBox guest. That should be enough to fit in two VirtualBox guests (I hope). Signed-off-by: aszlig <aszlig@redmoonstudios.org>