about summary refs log tree commit diff
path: root/nixos/tests
Commit message (Collapse)AuthorAge
...
| * | | | | | | | Merge branch 'master' into closure-sizeLuca Bruno2015-12-11
| |\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ Merge remote-tracking branch 'origin/master' into closure-sizeLuca Bruno2015-11-25
| |\ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ Merge staging into closure-sizeVladimír Čunát2015-11-20
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The most complex problems were from dealing with switches reverted in the meantime (gcc5, gmp6, ncurses6). It's likely that darwin is (still) broken nontrivially.
| * | | | | | | | | | | curl: split into multiple outputsVladimír Čunát2015-10-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also use pkgconfig to be safer and fix (some) referrers.
* | | | | | | | | | | | Add a regression test for #14623Eelco Dolstra2016-04-12
| | | | | | | | | | | |
* | | | | | | | | | | | Fix X11 tests broken by the removal of -acEelco Dolstra2016-04-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Probably missed a few. Also adding xauth to the system path (it was already in the closure).
* | | | | | | | | | | | nixos: add optional process information hidingJoachim Fasting2016-04-10
| |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This module adds an option `security.hideProcessInformation` that, when enabled, restricts access to process information such as command-line arguments to the process owner. The module adds a static group "proc" whose members are exempt from process information hiding. Ideally, this feature would be implemented by simply adding the appropriate mount options to `fileSystems."/proc".fsOptions`, but this was found to not work in vmtests. To ensure that process information hiding is enforced, we use a systemd service unit that remounts `/proc` after `systemd-remount-fs.service` has completed. To verify the correctness of the feature, simple tests were added to nixos/tests/misc: the test ensures that unprivileged users cannot see process information owned by another user, while members of "proc" CAN. Thanks to @abbradar for feedback and suggestions.
* | | | | | | | | | | nixos/tests: Add a test for keyboard layoutsaszlig2016-03-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I had the basic version of this laying around for some while but didn't continue on it. Originally it was for testing support for the Neo layout introduced back then (8cd6d53). We only test the first three Neo layers, because the last three layers are largely comprised of special characters and in addition to that the support for the VT keymap seems to be limited compared to the Xorg keymap. Yesterday @NicolasPetton on IRC had troubles with the Colemak layout (IRC logs: http://nixos.org/irc/logs/log.20160330, starting at 16:08) and I found that test again, so I went for improving and adding to <nixpkgs>. While the original problem seemed to be related to GDM, we can still add another subtest that checks whether GDM correctly applies the keyboard layout. However I don't have a clue how to properly configure the keyboard layout on GDM, at least not within the NixOS configuration. The main goal of this test is not to test a complete set of all key mappings but to check whether the keymap is loaded and working at all. It also serves as an example for NixOS keyboard configurations. The list of keyboard layouts is by no means complete, so everybody is free to add their own to the test or improve the existing ones. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* | | | | | | | | | | Fix the boot-ec2-config testEelco Dolstra2016-03-30
| | | | | | | | | | |
* | | | | | | | | | | Fix the EC2 testEelco Dolstra2016-03-30
| |_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We now generate a qcow2 image to prevent hitting Hydra's output size limit. Also updated /root/user-data -> /etc/ec2-metadata/user-data. http://hydra.nixos.org/build/33843133
* | | | | | | | | | nixos.tests.installer.swraid: mdadm verbosityGraham Christensen2016-03-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These two steps seem to fail intermittently with exit code 1. It isn't clear to me why, or what the issue is. Adding the `--verbose` option, hoping to capture some debugging information which might aid stabilization. Also: I was unable to replicate the failure locally.
* | | | | | | | | | nixos/tests: implement a trivial test for sudoJoachim Fasting2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an alternative to NixOS/nixpkgs#6721, with improvements suggested by @edolstra
* | | | | | | | | | dnscrypt-proxy vmtest: more specific waitForUnitJoachim Fasting2016-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test sometimes times out waiting for multi-user.target; this should be more robust.
* | | | | | | | | | remove elrangR15 and riak 1.3.0 as they're outdatedDomen Kožar2016-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit 4452a68425e4eaf9db95e0fc5ac8474a2b19bc71) Signed-off-by: Domen Kožar <domen@dev.si>
* | | | | | | | | | nixos/tests/chromium: Propagate "system" to pkgsaszlig2016-03-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Assigning the channelMap by the function attrset argument at the top-level of the test expression file may reference a different architecture than we need for the tests. So if we get the pkgs attribute by auto-calling, this will lead to test failure because we have a different architecture for the test than for the browser. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* | | | | | | | | | nixos/tests/chromium: Allow overriding channel mapaszlig2016-03-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This has been the case before e45c211, but it turns out that it's very useful to override the channel packages so we can run tests with different Chromium build options. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* | | | | | | | | | nixos/tests: fix docker testJoachim Fasting2016-03-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The docker service is socket activated by default; thus, `waitForUnit("docker.service")` before any docker command causes the unit test to time out. Instead, do `waitForUnit("sockets.target")` to ensure that sockets are setup before running docker commands.
* | | | | | | | | | nixos/tests/firewall.nix: ping now succeeds in the firewall's default ↵Peter Simons2016-03-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | configuration
* | | | | | | | | | 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.