about summary refs log tree commit diff
path: root/nixos/tests
Commit message (Collapse)AuthorAge
* 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)
| * nixos/tests/hardened: fix test (#40745)xeji2018-05-19
| | | | | | | | failed because `pgrep -u` segfaults when accesss to proc info is denied on a hardened system.
* | Merge remote-tracking branch 'upstream/master' into stagingJohn Ericson2018-05-18
|\|
| * nixos/tests/home-assistant: ignore "Timer got out of sync" error (#40735)Robert Schütz2018-05-18
| |
| * nixos/xss-lock: add module (#40619)Maximilian Bosch2018-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `xsslock` (which was originally packaged in 6cb1d1aaaf02a72329bedf9c6960e54fea6f5c6e) is a simple screensaver which connects a given screen locker (e.g. `i3lock`) with `logind`. Whenever `loginctl lock-sessions` is invoked the locker will be used to lock the screen. This works with its power management features (e.g. `lid switch`) as well, so the PC can be locked automatically when the lid is closed. The module can be used like this: ``` { services.xserver.enable = true; programs.xss-lock.enable = true; programs.xss-lock.lockerCommand = "i3lock"; } ```
* | Merge remote-tracking branch 'upstream/master' into stagingTuomas Tynkkynen2018-05-18
|\| | | | | | | | | Conflicts: pkgs/top-level/all-packages.nix
| * kafka: Add 1.1Tim Steinbach2018-05-16
| |
* | Merge remote-tracking branch 'upstream/master' into stagingJohn Ericson2018-05-16
|\| | | | | | | | | Keep the dontCheck because the test suite fails, get rid of the LDFLAGS hack because we don't need it!
| * nixos/statsd: refactor test (#40554)Maximilian Bosch2018-05-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `statsd` is a daemon written in `node` to gather statistics over UDP. The current test ensures that a port is open, but the basic functionality isn't sufficiently tested. This patch contains the following changes: * Simplified port scanning (`waitForOpenPort` rather than `netcat` magic). * Issue a TCP command to check the health of the `statsd` server. * Simple script to check if `statsd` receives data over UDP and confirms the basic functionality of the TCP interface on `8126` for admin purposes.
* | Merge remote-tracking branch 'upstream/master' into stagingTuomas Tynkkynen2018-05-16
|\| | | | | | | | | | | Conflicts: pkgs/tools/networking/telnet/default.nix pkgs/top-level/aliases.nix
| * nixos/tests/installer: Add lndir to extraDepsaszlig2018-05-15
| | | | | | | | | | | | | | | | | | | | | | | | | | In commit 17dd7bcd89d568596f52356624be82201ea84779 the systemd unit generator now uses lndir instead of "ln -s", so we need to have lndir available in the Nix store for the installer tests to be able to build the units and thus the whole system. This should fix the installer tests, although I have only tested it with the "simple" subtest. Signed-off-by: aszlig <aszlig@nix.build> Cc: @jtojnar, @xeji, @edolstra
| * Merge pull request #33371 from jtojnar/flatpakJan Tojnar2018-05-15
| |\ | | | | | | Flatpak
| | * nixos/xdg-desktop-portal: add testJan Tojnar2018-05-15
| | |
| | * nixos/flatpak: add testJan Tojnar2018-05-15
| | |
| * | nexus: fix setup and nixos test (#40522)Maximilian Bosch2018-05-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The original `nexus` derivation required `/run/sonatype-work/nexus3` which explicitly depended on the NixOS path structure. This would break `nexus` for everyone using `nixpkgs` on a non-NixOS system, additionally the module never created `/run/sonatype-work`, so the systemd unit created in `services.nexus` fails as well. The issue wasn't actively known as the `nixos/nexus` test wasn't registered in Hydra (see #40257). This patch contains the following changes: * Adds `tests.nexus` to `release.nix` to run the test on Hydra. * Makes JVM parameters configurable: by default all JVM options were located in `result/bin/nexus.vmoptions` which made it quite hard to patch these parameters. Now it's possible to override all parameters by running `VM_OPTS_FILE=custom-nexus.vmoptions ./result/bin/nexus run` (after patching the `nexus` shell script), additionally it's possible to override these parameters with `services.nexus.vmoptions`. * Bumped Nexus from 3.5.1 to 3.11.0 * Run the `nexus` test on Hydra with `callTest` in `nixos/release.nix`, furthermore the test checks if the UI is available on the specified port. * Added myself as maintainer for the NixOS test and the package to have some more people in case of further breakage. * Added sufficient disk space to the `nexus` test, otherwise the service fails with the following errors: ``` com.orientechnologies.orient.core.exception.ODatabaseException: Cannot create database 'accesslog' com.orientechnologies.orient.core.exception.OLowDiskSpaceException: Error occurred while executing a write operation to database 'accesslog' due to limited free space on the disk (242 MB). The database is now working in read-only mode. Please close the database (or stop OrientDB), make room on your hard drive and then reopen the database. The minimal required space is 256 MB. Required space is now set to 256MB (you can change it by setting parameter storage.diskCache.diskFreeSpaceLimit) . ``` /cc @ironpinguin @xeji
* | | Merge remote-tracking branch 'upstream/master' into stagingJohn Ericson2018-05-14
|\| |
| * | nixos/tests: prevent stateVersion warnings in evalUli Baum2018-05-15
| | | | | | | | | | | | | | | ... introduced by 1f0b6922d3c continuation of 88fa50c2f2bbc472fe7169eac8f2a1b2312ef03b
* | | Merge remote-tracking branch 'upstream/master' into stagingJohn Ericson2018-05-14
|\| |
| * | nixos/tests/acme: fix on i686, improve timing (#40410)xeji2018-05-13
| | | | | | | | | ... to prevent non-deterministic failures
| * | Merge pull request #40373 from xeji/fix-mesos-testxeji2018-05-13
| |\ \ | | | | | | | | nixos/mesos: fix non-deterministic service and test failure
| | * | nixos/tests/mesos: wait for all services and portsUli Baum2018-05-11
| | | | | | | | | | | | | | | | | | | | to be available before sending requests. Avoids non-deterministic test failure.
* | | | Merge master into stagingFrederik Rietdijk2018-05-13
|\| | |