summary refs log tree commit diff
path: root/nixos/tests
Commit message (Collapse)AuthorAge
* home-assistant: 0.75.2 -> 0.76.1Robert Schütz2018-08-21
| | | | | Also simplify the way overrides are defined for better readability and use the opportunity to introduce a packageOverrides option.
* Merge remote-tracking branch 'origin/master' into vbox-extpack(cdep)illabout2018-08-16
|\
| * Merge pull request #44841 from Ma27/bump-hydralewo2018-08-14
| |\ | | | | | | hydra: 2017-11-21 -> 2018-08-07
| | * hydra: 2017-11-21 -> 2018-08-07Maximilian Bosch2018-08-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This bumps Hydra to the latest revision available. As Hydra doesn't have a release model (and therefore no tags) ATM, the derivation will pin against the actual git revision and the date of the commit in the derivation name. Additionally the following changes have been made: * Dropped `postUnpack` phase. It is useful when working with the Hydra source (and no dirty changes shall be used in `release.nix`, but is has no use in `nixpkgs`). * Added myself as maintainer to have more folks available in case of future breakage. * Implemented support for Nix 2.0 and `unstable` (currently 2.1): Since 1672bcd230447f1ce0c3291950bdd9a662cee974 in NixOS/nix the evaluator differentiates between `settings` and `evalSettings`. Previously `restrictEval` in `hydra-eval-jobs.cc` has been set in `settings`, this doesn't work anymore in Nix 2.1 and is therefore incompatible to Nix 2.0 on an API level. To resolve this, the flag `isGreaterNix20` parses the version string of `pkgs.nix` and applies a patch if nix.version<=2.0. Furthermore the Hydra build with Nix 2.1 requires `boost` as build input which is not needed for Nix 2.0. To avoid unnecessary increase in the closure size this library will only used as build input for nix.version>2.0. * Fixed the NixOS test for `hydra`: disabled binary cache to allow sandbox builds (otherwise it would query `cache.nixos.org` during the Hydra build inside the test). Additionally the trivial.nix jobset required simplification (as done in NixOS/hydra, e.g. tests/api-test.nix) as bash is not available in the build sandbox as builder (even when adding pkgs.bash to systemPackages). The easiest workaround to confirm a the functionality of a jobset without importing nixpkgs is to use the default shell /bin/sh which is mounted from `pkgs.busybox` into the build env (https://github.com/NixOS/nixpkgs/pull/44841#discussion_r209751972) in the VM and a named pipe to create $out. Closes #44044
| * | nixos/tests/luksroot: Fix OCR of passphrase promptaszlig2018-08-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since a9d69a74d6edb6bcca29b1189d4bc3b203ecaf25, the passphrase prompt now no longer starts with "Enter passphrase for" but now it's just "Passphrase for", which causes the luksroot installer test to fail. I've tested this on a x86_64-linux machine and the test now succeeds. Signed-off-by: aszlig <aszlig@nix.build> Cc: @oxij, @samueldr Issue: #29441
| * | Merge pull request #44870 from symphorien/tests-evalxeji2018-08-10
| |\ \ | | | | | | | | Fix evaluation of two tests
| | * | nixos/tests/yabar: fix evaluationSymphorien Gibol2018-08-10
| | | |
| * | | Merge pull request #44556 from johanot/certmgr-module-initSilvan Mosberger2018-08-10
| |\ \ \ | | |_|/ | |/| | nixos/certmgr: init
| | * | nixos/certmgr: initJohan Thomsen2018-08-10
| | | |
* | | | virtualbox: Add tests for the VirtualBox Extension Pack.(cdep)illabout2018-08-15
|/ / /
* / / cassandra: rewrote service from scratchThomas Bach2018-08-07
|/ / | | | | | | | | Adds a replacement for the previously broken `services.database.cassandra` with tests for a multi-node setup.
* | simp_le: use python3Packages (#44476)Robert Schütz2018-08-05
| |
* | netdata: 1.9.0 -> 1.10.0 (#44472)Jesper2018-08-05
| | | | | | | | | | | | | | | | | | | | | | | | The web_access.patch would no longer apply. It disabled a check that required the static files for the web UI to be owned by the user the daemon runs as (not root, so it doesn't work well with nix). Besides updating netdata, this commit removes that patch, changes the netdata service config to set the "web files owner/group" option to "root" and adds a test that checks that the web UI is being served. This allows the web files to be owned by root without patching.
* | Merge pull request #44127 from johanot/nixos-cfsslSilvan Mosberger2018-08-03
|\ \ | | | | | | nixos/cfssl: Add new module for cfssl
| * | nixos/cfssl: initJohan Thomsen2018-08-03
| | | | | | | | | | | | | | | | | | | | | - based on module originally written by @srhb - complies with available options in cfssl v1.3.2 - uid and gid 299 reserved in ids.nix - added simple nixos test case
* | | Merge pull request #43992 from jtojnar/upstream-sessionsJan Tojnar2018-08-03
|\ \ \ | | | | | | | | Upstream sessions
| * | | nixos/tests/gnome3: Explicitly set default desktopManagerTor Hedin Brønner2018-08-01
| | |/ | |/| | | | | | | | | | Sessions from `extraSessionFilePackages` isn't picked automatically as the default session.
* | | graphite: 1.0.2 -> 1.1.3 & moved dependencies to python-modules (#44276)Bas van Dijk2018-08-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #30891 * Upgrade `graphite-web`, `carbon` and `whisper` from 1.0.2 -> 1.1.3. * Replaced the deprecated `pythonPackages.graphite_influxdb` with `pythonPackages.influxgraph.` * Renamed `pythonPackages.graphite_web` to `pythonPackages.graphite-web` to be consistent with the Python package name. * Replaced the unmaintained `pythonPackages.graphite_pager` with `pythonPackages.graphitepager` * Moved all new packages from `python-packages.nix` to `pkgs/development/python-modules`
* | | tests/containers-imperative: Disable useSandboxaszlig2018-08-02
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since 4f6df27aee0a3f620d65280c7b6644d5cce094ae, nix.useSandbox defaults to true which causes the Nix build within the containers-imperative test to fail while trying to hardlink files into the chroot: link("/nix/store/foo", "/nix/store/bar.drv.chroot/nix/store/foo") = -1 EPERM (Operation not permitted) The reason this happens is that the hosts store is mounted using 9p and an overlayfs is mounted on top, so even if we would disable the tmpfs for the upper directory the hardlink would still cross filesystem boundaries, which then fails with the above error code. I haven't yet seen any other test which fails in a similar way, which might be because building within VM tests is not very common and the installer tests build in a separate store, so they're not affected. Signed-off-by: aszlig <aszlig@nix.build> Issue: https://github.com/NixOS/nix/issues/2324 Cc: @aristidb, @edolstra, @chaoflow, @kampfschlaefer
* | Merge pull request #44038 from LumiGuide/elk-6.3.0Bas van Dijk2018-07-28
|\ \ | | | | | | elk: 6.2.4 -> 6.3.2
| * | elk: 6.2.4 -> 6.3.2Bas van Dijk2018-07-28
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * The ELK stack is upgraded to 6.3.2. * `elasticsearch6`, `logstash6` and `kibana6` now come with X-Pack which is a suite of additional features. These are however licensed under the unfree "Elastic License". * Fortunately they also provide OSS versions which are now packaged under: `elasticsearch6-oss`, `logstash6-oss` and `kibana6-oss`. Note that the naming of the attributes is consistent with upstream. * The test `nix-build nixos/tests/elk.nix -A ELK-6` will test the OSS version by default. You can also run the test on the unfree ELK using: `NIXPKGS_ALLOW_UNFREE=1 nix-build nixos/tests/elk.nix -A ELK-6 --arg enableUnfree true`
* / Revert "nixos: rename system.{stateVersion,defaultChannel} -> system.nixos.\1"Tuomas Tynkkynen2018-07-28
|/ | | | | | | | | | | This reverts commit 095fe5b43def40279a243e663c662b02caac5318. Pointless renames considered harmful. All they do is force people to spend extra work updating their configs for no benefit, and hindering the ability to switch between unstable and stable versions of NixOS. Like, what was the value of having the "nixos." there? I mean, by definition anything in a NixOS module has something to do with NixOS...
* fix build with allowAliases=falsevolth2018-07-23
|
* [bot] nixos/*: remove unused arguments in lambdasvolth2018-07-20
|
* Merge pull request #43857 from volth/unusedFrederik Rietdijk2018-07-20
|\ | | | | [bot] treewide: remove unreferenced code
| * [bot]: remove unreferenced codevolth2018-07-20
| |
* | treewide: remove aliases in nixpkgsMatthew Bauer2018-07-18
|/ | | | | | | | | | | | | | | | | | This makes the command ‘nix-env -qa -f. --arg config '{skipAliases = true;}'’ work in Nixpkgs. Misc... - qtikz: use libsForQt5.callPackage This ensures we get the right poppler. - rewrites: docbook5_xsl -> docbook_xsl_ns docbook_xml_xslt -> docbook_xsl diffpdf: fixup
* nixos/flatpak: slim down test enviroment a bitJan Tojnar2018-07-15
|
* 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