summary refs log tree commit diff
path: root/nixos/tests
Commit message (Collapse)AuthorAge
* nixos/tests/networking: Clean up and attempt to make more reliableWilliam A. Kennington III2015-04-10
|
* tests/misc.nix: Ensure that the Nix DB is initialised correctlyEelco Dolstra2015-04-07
|
* nixos/tests/vbox: Make GUI startup more robust.aszlig2015-04-04
| | | | | | | | | | | Sometimes, keys aren't properly recognized the first time, so in order to make sure they get through, always resend the key again on retry. In this case the worst that could happen is that the VM is started over and over again, but never in parallel, so that's fine because we're checking for successful startup 10 seconds after the keypress. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Add nfs4 testEelco Dolstra2015-04-02
|
* tests/chromium: Work around popup close flakiness.aszlig2015-04-02
| | | | | | | | | | It's not nice to send the escape key over and over again just to ensure the popup is closed, because even *if* it fails to close the popup 4 times in a row it's just very unlikely that it will be closed. But in order to make really sure, we might need to do a screenshot and detect visual changes. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* nixos/tests/swraid: Increase boot partition size.aszlig2015-04-01
| | | | | | | | | | I'm increasing it to 100MB to make sure, any bootloader will fit with all its stages. Of course, right now the reason why GRUB doesn't fit into the partition is because of mdadm 3.3.2 and thus the initrd taking all the space, but in order to avoid confusion on why the *boot* loader fails in the VM tests, I've increased the size. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Merge #4678: nixos iso-image: support USB bootingVladimír Čunát2015-03-31
|\ | | | | | | | | by using syslinux (i.e. support the dd-method in addition to unetbootin). @vcunat tidied the PR by squashing closely related changes together.
| * nixos: test: add tests for booting installation iso in various waysBob van der Linden2015-03-24
| |
* | nixos/initrd: Generic library copyingWilliam A. Kennington III2015-03-28
| |
* | Merge pull request #6919 from ehmry/cjdnsWilliam A. Kennington III2015-03-25
|\ \ | | | | | | cjdns: update pkg and fix nixos test
| * | nixos/tests/cjdns: do not build cjdns at evaluationEmery Hemingway2015-03-21
| |/ | | | | | | | | Putting hostnames in the cjdns configuration requires a utility be present to convert public keys to ip addresses
* / nixos/tests/printing: Fix CUPS service name (#6767)Jascha Geerds2015-03-25
|/
* kubernetes: update to 0.12.1, fix moduleJaka Hudoklin2015-03-18
|
* nixos: Add VM test for i3 window manager.aszlig2015-03-05
| | | | | | | | | | | | | Currently just makes sure that by default it's possible to open a terminal. And exactly this should be the main point that might confuse users of i3 in NixOS, because i3 doesn't print a warning/error if it is unable to start the terminal emulator. Thanks to @waaaaargh for reporting this issue. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* nixos/tests/chromium: Check new userns sandbox.aszlig2015-02-22
| | | | | | | | | | | | Since Chromium version 42, we have a new user namespaces sandbox in the upstream project. It's more integrated so the chrome://sandbox page reports it as "Namespace Sandbox" instead of SUID sandbox, which we were re-using (or abusing?) in our patch. So if either "SUID Sandbox" or "Namespace Sandbox" reports with "Yes", it's fine on our side. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* nixos/tests/installer: Add all bootloaders to the storeWilliam A. Kennington III2015-02-13
|
* nixos/tests: Fix installer test by providing a missing dependencyWilliam A. Kennington III2015-02-12
|
* nixos/tests/jenkins: increase timeout to 6 minutesBjørn Forsman2015-02-10
| | | | Fixes the test failure, at least on my system.
* panamax: simplify, refactor, add testJaka Hudoklin2015-02-07
|
* nixos/tests: fix printing after 0caae022fdVladimír Čunát2015-02-05
|
* nixos/tests/chromium: Increase VM memory size.aszlig2015-01-26
| | | | | | | | Chromium is quite memory hungry and we frequently get random crashes in the tests, so let's set it to 1024 MB because new releases of Chromium most probably won't consume *less* memory. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* ParanoiaEelco Dolstra2015-01-15
|
* nixos: add cadvisor serviceJaka Hudoklin2014-12-28
|
* nixos/mesos: Parameterize mesos slave attributesBenjamin Staffin2014-12-18
| | | | | | | | Added attributes to nixos/tests/mesos.nix to verify that mesos-slave attributes work. If the generated attributes are invalid, the daemon should fail to start. Change-Id: I5511245add30aba658b1af22cd7355b0bbf5d15c
* Fix container testEelco Dolstra2014-12-18
| | | | http://hydra.nixos.org/build/17989795
* nixos/tests/virtualbox: Disable debug logging.aszlig2014-12-18
| | | | | | | | | | | | Especially if the user isn't in the vboxusers group anymore, this gets VERY noisy, because the VBoxSVC process emits warnings for every single USB device noting that it's only possible to access it when the user is in the vboxusers group. So, we now have a debug attribute, where we can enable it when necessary. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* nixos/tests/virtualbox: Don't use vboxusers group.aszlig2014-12-18
| | | | | | | At least when we're running in hardening mode, because it's needed there only for USB support. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* nixos/tests/blivet: Fix by avoiding "nix-store".aszlig2014-12-18
| | | | | | | | | | | | The "nix-store" command within the VM test is running without NIX_REMOTE=daemon and since Nix 1.8 tries to open the store database in read-write mode even for nix-store -qR. Now, we're doing this properly and rely on setup hooks, which is the same method that's used when you're building a library which depends on blivet. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* nixos/tests/gitlab.nix: set TimeoutStartSec to 10minDomen Kožar2014-12-17
| | | | | (cherry picked from commit 5bafb9cf0fea00470be4ff9b342849339297eeb4) Signed-off-by: Domen Kožar <domen@dev.si>
* nixos/tests/virtualbox: Improve logging.aszlig2014-12-15
| | | | | | | This also makes showvminfo obsolete, as we get the same information from the hosts log. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* nixos/virtualbox/hostonlyif: Fix writing to /root.aszlig2014-12-15
| | | | | | | | Creates unnecessary cruft in the root users home directory, which we really don't need. Except the log, but therefore we now cat the log to stderr and the private temporary directory is cleaned up afterwards. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* nixos/tests/virtualbox: Add test for hostonlyif.aszlig2014-12-15
| | | | | | | | | | | | | | | | | | | | | | | Essentially adds two more VirtualBox VMs to the test and also increases the memory size of the qemu VM to 768 MB to make sure we don't run out of memory too soon. We're testing whether those two VMs can talk to either each other (currently via ICMP only) or to/from the host via TCP/IP. Also, this restructures the VM test a bit, so that we now pass in a custom stage2Init script that has access to the store via a private mount over the /nix/store that's already in the initrd. The reason why this is a private mount is that we don't want to shadow the Nix store of the initrd, essentially breaking cleanup functionality after the custom stage 2 script (currently this is only "poweroff -f"). Note that setting the hostname inside the VirtualBox VM is *not* for additional fanciness but to produce a different store path for the VM image, so that VirtualBox doesn't bail out when trying to use an image which is already attached to another VM. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* nixos/tests/virtualbox: Generalize expression.aszlig2014-12-15
| | | | | | | | We're going to create more than one VirtualBox VM, so let's dynamically generate subs specific to a particular VirtualBox VM, merging everything into the testScript and machine expressions. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* fix quake3 testDomen Kožar2014-12-14
| | | | | (cherry picked from commit fde7e1286e42a394328e56be36168942be94a578) Signed-off-by: Domen Kožar <domen@dev.si>
* nixos/kubernetes: fix test, make more deterministic by having more ramJaka Hudoklin2014-12-14
|
* Merge pull request #5323 from offlinehacker/gitlab_i686_fixDomen Kožar2014-12-14
|\ | | | | gitlab: fix i686-linux build and module
| * nixos/gitlab: imporove testsJaka Hudoklin2014-12-14
| |
* | nixos: Add VM test for VirtualBox.aszlig2014-12-13
|/ | | | | | | | | | | | | | | | | | Currently it pretty much tests starting up virtual machines and just shutting down afterwards, but for both VBoxManage and the VirtualBox GUI. This helps catching errors in hardened mode, however we still need to test whether networking works the way intended (and I fear that this is broken at the moment). The VirtualBox VM is _not_ using hardware virtualization support (thus we use system = "i686-linux", because x86_64 has no emulation support), because we're already within a qemu VM, which means it's going to be slow as hell (that's why I've written own subs just for testing startup/shutdown/whatnot with respective timeouts). Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* nixos/gitlab: fixesJaka Hudoklin2014-12-12
| | | | | | - fix timezone data not found - fix module, add simple test - allow to set port
* nixos/mesos: fix typoJaka Hudoklin2014-12-11
|
* nixos: move kubernetes & fleet to services/clusterJaka Hudoklin2014-12-11
|
* Use https://cache.nixos.orgEelco Dolstra2014-12-09
|
* nixos.tests.bittorrent: mark torrent as privateDomen Kožar2014-12-09
| | | | | Hopefully that resolves transient errors with DHT such as http://hydra.nixos.org/build/17784957
* Merge pull request #5255 from offlinehacker/nixos/fleetJaka Hudoklin2014-12-08
|\ | | | | nixos: add fleet module
| * nixos: add fleet moduleJaka Hudoklin2014-12-07
| |
* | installer tests: don't rely on swap.target until systemd bug is fixedDomen Kožar2014-12-07
|/
* nixos/kubernetes: fix testsJaka Hudoklin2014-12-07
|
* fix installer testsDomen Kožar2014-12-05
|
* nixos/installer: Fix swap device overrideWilliam A. Kennington III2014-12-04
|
* nixos/installer: Override swap devices so tests don't failWilliam A. Kennington III2014-12-03
| | | | | | | | This patch should be reverted if either: - systemd fixes the multi-swapon issue. https://bugs.freedesktop.org/show_bug.cgi?id=86930 - If we disable the autogeneration of swap and vfat units within systemd.