summary refs log tree commit diff
path: root/nixos/tests
Commit message (Collapse)AuthorAge
* nixos/tests.chromium: actually notice the tab crashMichael Raskin2018-04-09
| | | | | | Argh, debugging NixOS tests takes forever… (cherry picked from commit 1afb6e790a6a28a4fc5f310a2b0e5e012eb416fd)
* nixos/iftop: add moduleMaximilian Bosch2018-04-07
| | | | | | | | | | | | | | This patch is heavily inspired by bd0d8ed807d29faa3deee96bafcbbd76c8fa4060 which added a setcap wrapper for `mtr` in order to allow running `mtr` without `sudo`. The need for the capability `cap_net_raw` that can be registered using `setcap` has been documented in the Arch Wiki: https://wiki.archlinux.org/index.php/Capabilities#iftop A simple testcase has been added which starts two machines, one with a setcap wrapper for `iftop`, one without. Both testcases monitor the bandwidth usage of the machine using the options `-t -s 1` once, the machine with setcap wrapper is expected to succeed, the `iftop` on the machine without setcap wrapper is expected to return a non-zero exit code.
* nixos/transmission: add basic nixos testCorey O'Connor2018-04-05
|
* Merge pull request #37218 from cstrahan/kube-test-fixCharles Strahan2018-04-04
|\ | | | | nixos: kubernetes fixes
| * nixos: kubernetes fixesCharles Strahan2018-03-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix reference CNI plugins * The plugins were split out of the upstream cni repo around version 0.6.0 * Fix RBAC and DNS tests * Fix broken apiVersion fields * Change plugin linking to look in ${package}/bin rather than ${package.plugins} * Initial work towards a working e2e test * Test still fails, but at least the expression evaluates now Continues @srhb's work in #37199 Fixes #37199
* | nixos/tests/openldap: Fix nameTuomas Tynkkynen2018-04-04
| |
* | nixos.tests.containers-imperative: fix impurity failureVladimír Čunát2018-04-02
| | | | | | | | | | I can't claim to fully understand this, but the change seems safe, and it fixes the test on my machine.
* | nixos/containers-physical_interfaces: use new bond option interfaceJörg Thalheim2018-03-31
|/
* Merge pull request #37507 from xeji/p/test-atdFranz Pletz2018-03-28
|\ | | | | nixos/tests/atd : remove non-deterministic test of batch command
| * nixos/tests/atd : remove test of batch commandxeji2018-03-21
| | | | | | | | | | "batch" executes jobs based on system load. test was not deterministic.
* | nixos/tests/misc: Fix on aarch64Tuomas Tynkkynen2018-03-25
| | | | | | | | | | | | The psmouse module is for PS/2 mouse only, which doesn't exist outside x86. But we can test for the mousedev module just as well which is used for the '-device usb-tablet' emulated by QEMU.
* | nixos/tests/installer: Give eval failure on unsupported boot methodsTuomas Tynkkynen2018-03-24
| |
* | Merge pull request #36459 from NeQuissimus/zfh_openldapMatthew Justin Bauer2018-03-23
|\ \ | | | | | | openldap: Fix test
| * | openldap: Fix testTim Steinbach2018-03-07
| | |
* | | Merge pull request #32960 from florianjacob/prosody-0.10Robin Gloster2018-03-22
|\ \ \ | | | | | | | | Prosody 0.10.0
| * | | nixos/prosody: add a basic testFlorian Jacob2018-03-21
| |/ /
* | / nixos/tests: Make simpleUefiGrub test work on AArch64Tuomas Tynkkynen2018-03-21
| |/ |/| | | | | Needs more refactoring for the AArch64 '-enable-kvm' stuff some day...
* | Merge pull request #36927 from dotlambda/borg-moduleRobert Schütz2018-03-19
|\ \ | | | | | | nixos/borgbackup: init
| * | nixos/borgbackup: initRobert Schütz2018-03-19
| | |
* | | vault: Fix testTim Steinbach2018-03-18
| | |
* | | Merge commit '3ab2949' from staging into masterTuomas Tynkkynen2018-03-15
|\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: pkgs/development/compilers/llvm/6/llvm.nix pkgs/servers/home-assistant/component-packages.nix
| * \ \ Merge remote-tracking branch 'upstream/master' into stagingTuomas Tynkkynen2018-03-13
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: pkgs/development/tools/build-managers/conan/default.nix
| * \ \ \ Merge branch 'master' into stagingJan Malakhovski2018-03-10
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolved the following conflicts (by carefully applying patches from the both branches since the fork point): pkgs/development/libraries/epoxy/default.nix pkgs/development/libraries/gtk+/3.x.nix pkgs/development/python-modules/asgiref/default.nix pkgs/development/python-modules/daphne/default.nix pkgs/os-specific/linux/systemd/default.nix
| * | | | Merge remote-tracking branch 'upstream/master' into HEADFrederik Rietdijk2018-03-01
| |\ \ \ \
| * \ \ \ \ Merge remote-tracking branch 'upstream/master' into stagingTuomas Tynkkynen2018-03-01
| |\ \ \ \ \
| * | | | | | cups service: fix client socketsNikolay Amiantov2018-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use systemd to create the directory for UNIX socket. Also use localhost instead of 127.0.0.1 as is done in default cupsd.conf so that IPv6 is enabled when available.
* | | | | | | Merge pull request #36706 from Ma27/xautolock-testcaseGraham Christensen2018-03-13
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | | xautolock: implement basic test to confirm functionality
| * | | | | | xautolock: implement basic test to confirm functionalityMaximilian Bosch2018-03-13
| | |_|_|/ / | |/| | | |
* | | | | | nixos/tests/virtualbox: Work around test failuresaszlig2018-03-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I've started digging into the actual cause of the problem a week ago but didn't continue fixing this. The reason why the tests are failing is because torvalds/linux/commit/72f5e08dbba2d01aa90b592cf76c378ea233b00b has remapped the location of the TSS into the CPU entry area and we did update our default kernel to version 4.14 in NixOS/nixpkgs@88530e02b6fa. Back to VirtualBox: The guru meditation happens in selmRCGuestTssPostWriteCheck, which I think is only a followup error. I believe the right location couldn't be determined by VirtualBox and thus the write check function triggers that panic because it's reading from the wrong location. So the actual problem *only* surfaces whenever we use software virtualization, which we do for our tests because we don't have nested virtualization available. Our tests are also for testing the functionality of VirtualBox itself and not certain kernel versions or kernel features, so for the time being and until this is fixed, let's actually use kernel version 4.9 for the guests within the VM tests. Kernel 4.9 didn't have the mentioned change of the TSS location and thus the tests succeed. Signed-off-by: aszlig <aszlig@nix.build> Cc: @dtzWill
* | | | | | tests/docker-tools: add onTopOfPulledImage testAntoine Eiche2018-03-13
| | | | | |
* | | | | | grafana: 5.0.0 -> 5.0.1WilliButz2018-03-12
| | | | | |
* | | | | | nixos/tests/containers-tmpfs: fix test nameFranz Pletz2018-03-12
| | | | | |
* | | | | | nixos/tests/acme: use mail-test-srv tls certs from sourceSarah Brofeldt2018-03-08
| | | | | |
* | | | | | nixos/tests/acme: go compat update, unvendor pkcs11Sarah Brofeldt2018-03-08
|/ / / / /
* | | | | nixos/tests/keymap: Remove OCR-friendly SLiM themeaszlig2018-03-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test doesn't use OCR, so we actually don't need an OCR-friendly theme here. Signed-off-by: aszlig <aszlig@nix.build>
* | | | | Merge pull request #32248 from awakesecurity/parnell/fetchdockerFranz Pletz2018-03-04
|\ \ \ \ \ | | | | | | | | | | | | Support fetching docker images from V2 registries
| * \ \ \ \ Merge remote-tracking branch 'upstream/master' into parnell/fetchdockerParnell Springmeyer2018-02-13
| |\ \ \ \ \
| * \ \ \ \ \ Merge remote-tracking branch 'upstream/master' into parnell/fetchdockerParnell Springmeyer2018-01-10
| |\ \ \ \ \ \
| * | | | | | | hocker: Don't check package and wrap the binaries with PATH to nixParnell Springmeyer2017-12-02
| | | | | | | |
| * | | | | | | fetchdocker: Integration test exercising hocker and fetchdockerParnell Springmeyer2017-12-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds a simple integration test exercising the fetchdocker Nix code and hocker utilities for the simple `hello-world` docker container. We exercise: - Fetching the docker image configuration json - Fetching the docker image layers - Building a compositor script - Loading the `hello-world` docker image into docker using the compositor script and `docker load` - Running that loaded container
* | | | | | | | Merge #35454: nixos/pump.io: removeVladimír Čunát2018-03-04
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ |/| | | | | | |
| * | | | | | | nixos/pump.io: removeRodney Lorrimar2018-02-27
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | This would probably be better maintained in a separate repo as an external NixOS module which gets imported into user's configuration.
* | | | | | | Merge pull request #36249 from Ekleog/openldap-module-declarative-contentsJörg Thalheim2018-03-03
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Openldap module declarative contents
| * | | | | | | nixos/openldap: add testJörg Thalheim2018-03-03
| | | | | | | |
* | | | | | | | Merge branch 'master' into nix-2.0Vladimír Čunát2018-03-03
|\ \ \ \ \ \ \ \
| * | | | | | | | systemd: Update to latest NixOS branchaszlig2018-03-03
| | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated to the latest version of the nixos-v237 branch, which fixes two things: * Make sure that systemd looks in /etc for configuration files. https://github.com/NixOS/systemd/pull/15 * Fix handling of the x-initrd.mount option. https://github.com/NixOS/systemd/pull/16 I've added NixOS VM tests for both to ensure we won't run into regressions. The newly added systemd test only tests for that and is by no means exhaustive, but it's a start. Personally I only wanted to fix the former issue, because that's the one I've been debugging. After sending in a pull request for our systemd fork (https://github.com/NixOS/systemd/pull/17) I got a notice from @Mic92, that he already fixed this and his fix was even better as it's even suitable for upstream (so we hopefully can drop that patch someday). The reason why the second one came in was simply because it has been merged before the former, but I thought it would be a good idea to have tests for that as well. In addition I've removed the sysconfdir=$out/etc entry to make sure the default (/etc) is used. Installing is still done to $out, because those directories that were previously into sysconfdir now get into factoryconfdir. Quote from commit NixOS/systemd@98067cc806ae0d2759cdd2334f230cd8548e531: By default systemd should read all its configuration from /etc. Therefore we rely on -Dsysconfdir=/etc in meson as default value. Unfortunately this would also lead to installation of systemd's own configuration files to `/etc` whereas we are limited to /nix/store. To counter that this commit introduces two new configuration variables `factoryconfdir` and `factorypkgconfdir` to install systemd's own configuration into nix store again, while having executables looking up files in /etc. Tested this change against all of the NixOS VM tests we have in nixos/release.nix. Between this change and its parent no new tests were failing (although a lot of them were flaky). Signed-off-by: aszlig <aszlig@nix.build> Cc: @Mic92, @tk-ecotelecom, @edolstra, @fpletz Fixes: #35415 Fixes: #35268
| * | | | | | | nixos/ceph: init module (#35299)lejonet2018-03-01
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | All 5 daemon types can be enabled and configured through the module and the module both creates the ceph.conf required but also creates and enables specific services for each daemon, based on the systemd service files that upstream provides.
| * | | | | | nixos: nix.sshServe: Support ssh-ng.Shea Levy2018-02-28
| | |/ / / / | |/| | | |
| * | | | | Revert "cups service: fix client sockets"Nikolay Amiantov2018-02-23
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit cf4c07734364e7e59414f486381360b42a9f88ea.
| * | | | | cups service: fix client socketsNikolay Amiantov2018-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use systemd to create the directory for UNIX socket. Also use localhost instead of 127.0.0.1 as is done in default cupsd.conf so that IPv6 is enabled when available.