summary refs log tree commit diff
path: root/nixos/tests
Commit message (Collapse)AuthorAge
* nixos/tests/letsencrypt: Hardcode certs and keysaszlig2018-07-12
| | | | | | | | | | | | | | | | | | | | In 0c7c1660f78e4f6befe0a210e1a9efae783a1733 I have set allowSubstitutes to false, which avoided the substitution of the certificates. Unfortunately substitution may still happen later when the certificate is merged with the CA bundle. So the merged CA bundle might be substituted from a binary cache but the certificate itself is built locally, which could result in a different certificate in the bundle. So instead of adding just yet another workaround, I've now hardcoded all the certificates and keys in a separate file. This also moves letsencrypt.nix into its own directory so we don't mess up nixos/tests/common too much. This was long overdue and should finally make the dependency graph for the ACME test more deterministic. Signed-off-by: aszlig <aszlig@nix.build>
* nixos/tests/letsencrypt: Fix go source installaszlig2018-07-12
| | | | | | | | | | | | Since e95f17e2720e67e2eabd59d7754c814d3e27a0b2, Go packages no longer contain the source tree, however Boulder seems to need that as it generates a few files during build. Ideally we would only pick the files that are needed and put it into a separate output, but I currently don't have time for this so I'm marking this with XXX to get back to it later. Signed-off-by: aszlig <aszlig@nix.build>
* nixos/tests/taskserver: fix typos (#43284)Oliver Evans2018-07-11
|
* nixos/tests/taskserver: fix evalUli Baum2018-07-11
| | | | | | | | | | | | Since IP address options were changed for 18.03, eval has failed with: "The option `networking.interfaces.eth1.subnetMask' is used but not defined." although this option is not used at all in nixos anymore. The misleading error message seems to be generated from evaluating warnings for `mkRemovedOptionModule ["subnetMask"]` which apparently broke here when this test inherited network.interfaces from one VM config to another. Cc: @aszlig
* nixos.tests.containers-imperative: increase VM memoryVladimír Čunát2018-07-06
| | | | | Apparently merging #43021 1bdb1387103 did increase memory usage in some cases. 1 GiB for a VM memory seems still low enough to me.
* Merge pull request #42118 from emmanuelrosa/mpd-nixos-testsSilvan Mosberger2018-07-04
|\ | | | | mpd: add NixOS tests
| * mpd: add NixOS testsEmmanuel Rosa2018-06-19
| | | | | | | | | | | | | | | | | | | | | | | | This change adds NixOS tests for the MPD (Music Player Daemon) module. Tests include: - Playing audio locally using ALSA directly. - Playing audio locally using PulseAudio (backed by ALSA). - Playing audio from an external client. - Rejecting an external client when it's not explicitly allowed (default configuration). refs #41772
* | Merge pull request #42798 from flokli/users-usersMichael Raskin2018-07-02
|\ \ | | | | | | tree-wide: users.extraUsers -> users.users, users.extraGroups -> users.groups
| * | nixos/tests: users.(extraUsers|extraGroup->users|group)Florian Klink2018-06-30
| | |
* | | Merge pull request #41381 from aespinosa/hadoop-modulesMatthew Bauer2018-06-30
|\ \ \ | | | | | | | | nixos/hadoop: add hadoop module (hdfs, yarn)
| * | | nixos/hadoop: add hadoop module (hdfs, yarn)Allan Espinosa2018-06-29
| | | |
* | | | nixos/tests/letsencrypt: Don't substitute certsaszlig2018-06-30
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If one of the certificates of the chain gets substituted from a binary cache and the rest is generated locally it might turn out that we get invalid certificates, which in turn cause tests using this module to fail. So let's set allowSubstitutes to false for all derivations that are involved with certificate/key generation. Signed-off-by: aszlig <aszlig@nix.build>
* | | Merge pull request #42326 from Ekleog/opensmtpd-testMatthew Bauer2018-06-28
|\ \ \ | |/ / |/| | opensmtpd package and module: add nixos test
| * | opensmtpd package and module: add nixos testLéo Gaspard2018-06-21
| | |
* | | ostree: 2018.4 → 2018.6Jan Tojnar2018-06-24
| | | | | | | | | | | | Update, clean-up dependencies and add installed tests.
* | | installer tests: avoid udisks2Vladimír Čunát2018-06-22
| | | | | | | | | | | | This is a temporary hack to fix channel until we resolve #42324.
* | | Merge pull request #42327 from bkchr/fix_plasma5_testMatthew Justin Bauer2018-06-21
|\ \ \ | | | | | | | | tests.plasma5: Fixes OCR in sddm by providing a custom theme
| * | | tests.plasma5: Fixes OCR in sddm by providing a custom themeBastian Köcher2018-06-21
| | |/ | |/| | | | | | | | | | The custom theme just sets the old background colour that OCR works again.
* | | nixos/tests/tor: a minimal testJoachim Fasting2018-06-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For now check that the default client config boots. Ideas for the future: - Expand on control via netcat - Configure a circuit of nodes exercise various configs (e.g., check that a client node can access a hidden www service). Needs setting up authoritative directory servers &c.
* | | Merge pull request #42133 from markuskowa/pgbackupJörg Thalheim2018-06-20
|\ \ \ | |/ / |/| | nixos/pgbackup: Fix and refactor the postgres backup module
| * | nixos/pgbackup: add postgres backup to the postgres testMarkus Kowalewski2018-06-17
| | |
* | | nixos/tests/morty: fix non-deterministic failureUli Baum2018-06-13
| | | | | | | | | | | | ... due to improper timing
* | | nixos/tests/gnome3: switch to lightdm (#41742)xeji2018-06-09
| | |
* | | nixos/memcached: added simple set/get testAndreas Rammhold2018-06-09
| | | | | | | | | | | | The test ensures that the services comes up and accepts/provides values.
* | | nixos/munge: run munge as user munge instead of root. (#41509)markuskowa2018-06-09
| | | | | | | | | | | | | | | * Added a note in release notes (incompatibilities) * Adapt slurm test * Change user to munge in service.munge
* | | Merge pull request #41466 from andir/haproxy-1.8.9Andreas Rammhold2018-06-08
|\ \ \ | | | | | | | | Haproxy 1.8.9
| * | | nixos/tests; add haproxyAndreas Rammhold2018-06-08
| |/ /
* / / nixos/tests/hydra: build a trivial derivationAntoine Eiche2018-06-06
|/ / | | | | | | | | | | | | A script is used to create a project, and configure a jobset. This jobset fetches a local file containing a trivial Nix expression. The test script makes sure this derivation has been successfully built by Hydra.
* | Merge pull request #41377 from markuskowa/slurm-ext-prJoachim F2018-06-02
|\ \ | | | | | | nixos/slurm: Improve slurm configuration options and features.
| * | nixos/slurm: update test, add test for enableStoolsMarkus Kowalewski2018-06-02
| | | | | | | | | | | | | | | * Add pure submit host to test 'enableStools' * Disable client.enable on control machine
* | | Merge pull request #34886 from leenaars/mortyproxyJoachim F2018-06-02
|\ \ \ | |/ / |/| | morty: init -> 0.2.0
| * | morty: init as serviceMichiel Leenaars2018-05-30
| | |
* | | nixos/tests/iftop: fix non-deterministic failure (#41309)xeji2018-06-01
| | | | | | | | | | | | - make sure machines are fully booted before sending commands - test that capability setting in iftop module makes a difference
* | | tests/containers-imperative: Include stdenvNoCCaszlig2018-06-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While building the container there are a few occasions where stdenvNoCC is used underneath. During the last staging merge, some change now tries to build texinfo during the test while building stdenvNoCC. With this change, I'm adding stdenvNoCC to the closure to make sure that even when we have future stdenv changes, it doesn't break (well, except if we do have another variation like stdenvNoCC that overrides stdenv). I haven't bisected the exact change, but I'd suspect that it could be one of the commits in #39457. This fixes the test and it no longer fails with the following error: error: unable to download 'http://ftpmirror.gnu.org/texinfo/texinfo-6.5.tar.xz': Couldn't resolve host name (6) builder for '/nix/store/r7sf1wjbnimwgnv276jh59nfnzw40x30-texinfo-6.5.tar.xz.drv' failed with exit code 1 cannot build derivation '/nix/store/5w1pv788ayi1wahyy76i90yqv96ai4h5-texinfo-6.5.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/cnsfkf0j5xmm14zzm5a3a66pz66gbc82-stdenv-linux.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/11kkhk57ic8kfd7g197sqwgd0pzqfjhl-nixos-system-foo-0-18.09pre-git.drv': 1 dependencies couldn't be built error: build of '/nix/store/11kkhk57ic8kfd7g197sqwgd0pzqfjhl-nixos-system-foo-0-18.09pre-git.drv' failed /run/current-system/sw/bin/nixos-container: failed to build initial container configuration Signed-off-by: aszlig <aszlig@nix.build> Cc: @aristidb, @edolstra, @chaoflow, @kampfschlaefer
* | | nixos/bind: Allow to set extra optionsaszlig2018-05-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BIND doesn't allow the options section (or any section I'd guess) to be defined more than once, so whenever you want to set an additional option you're stuck using weird hacks like this: services.bind.forwarders = lib.mkForce [ "}; empty-zones-enable no; #" ]; This basically exploits the fact that values coming from the module options aren't escaped and thus works in a similar vain to how SQL injection works. Another option would be to just set configFile to a file that includes all the options, including zones. That obviously makes the configuration way less extensible and more awkward to use with the module system. To make sure this change does work correctly I added a small test just for that. The test could use some improvements, but better to have a test rather than none at all. For a future improvement the test could be merged with the NSD test, because both use the same zone file format. This change has been reviewed in #40053 and after not getting any opposition, I'm hereby adding this to master. Signed-off-by: aszlig <aszlig@nix.build> Cc: @peti, @edolstra Closes: #40053
* | | Merge remote-tracking branch 'upstream/master' into stagingTuomas Tynkkynen2018-05-26
|\| |
| * | Kubernetes tests: increase the size of the VM from 700MB to 1.5GBAlberto Berti2018-05-25
| | | | | | | | | | | | | | | | | | | | | VMs were starving, many of the daemons were unable to complete their tasks resulting in tests failures. Turned off verbose output from k8s components as it consumes even more resources, and useful error messages actually drown in debug-clutter
* | | Merge branch 'master' into stagingJan Malakhovski2018-05-26
|\| | | | | | | | | | | | | | | | | Fixed conflicts: - lib/systems/for-meta.nix: in favor of staging - pkgs/os-specific/darwin/xcode/default.nix: in favor of master
| * | Merge pull request #40947 from samueldr/fix/34779lewo2018-05-24
| |\ \ | | | | | | | | dockerTools: fixes extraCommands for mkRootLayer.
| | * | tests/docker-tools: Adds regression test for #34779Samuel Dionne-Riel2018-05-24
| | | |
| * | | Merge pull request #41016 from markuskowa/slurm-prxeji2018-05-24
| |\ \ \ | | | | | | | | | | nixos/slurm: fix default module parameters, update documenation
| | * | | nixos/slurm: enable munge by default, added note to slurm descriptionMarkus Kowalewski2018-05-24
| | |/ /
| * / / nixos mysql: make start-up more robust (#41010)Peter Hoeg2018-05-24
| |/ / | | | | | | | | | | | | | | | | | | 1) Change start-type to ```notify``` when running MariaDB so that we don't have to busy-wait for the socket to appear. 2) Do not manually create the directory under /run as we can get systemd to do that for us. This opens up the possibility later for not having to launch as root.
* | | Merge remote-tracking branch 'upstream/master' into stagingJohn Ericson2018-05-21
|\| |
| * | nixos/tests/mysql-replication: fix test (#40850)xeji2018-05-22
| | | | | | | | | | | | Failed non-deterministically on hydra because replcation sometimes was not finished yet when checking the results.
| * | nixos/xsslock: wait until `pgrep xlock` succeeds (#40810)Maximilian Bosch2018-05-20
| | | | | | | | | | | | | | | | | | | | | Please refer to the conversation in the original PR (#40619) for further reference: https://github.com/NixOS/nixpkgs/pull/40619#issuecomment-390437845 It takes some time after the standby to trigger the locker which might break the test on Hydra.
* | | Merge branch 'master' into stagingVladimír Čunát2018-05-20
|\| |
| * | nixos/dnscrypt-proxy: fix apparmor profile and testUli Baum2018-05-20
| | | | | | | | | | | | | | | | | | Test failed because of an incomplete apparmor profile. - fix apparmor profile - improve test timing, prevent non-deterministic failure
* | | Merge branch 'master' into stagingRobert Schütz2018-05-19
|\| |
| * | nixos/tests/nexus: fix for i686 (#40743)xeji2018-05-19
| | | | | | | | | | | | test failed because qemu-system-i386 can only simulate 2047M RAM (not 2048)