about summary refs log tree commit diff
path: root/nixos/tests
Commit message (Collapse)AuthorAge
* Merge branch 'staging-next' into stagingVladimír Čunát2019-09-08
|\
| * Merge master into staging-nextFrederik Rietdijk2019-09-08
| |\
| | * Merge pull request #66274 from talyz/gitlabFlorian Klink2019-09-07
| | |\ | | | | | | | | nixos/gitlab: Add support for secure secrets and more
| | | * nixos/gitlab: Add support for storing secrets in filestalyz2019-09-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for storing secrets in files outside the nix store, since files in the nix store are world-readable and secrets therefore can't be stored safely there. The old string options are kept, since they can potentially be handy for testing purposes, but their descriptions now state that they shouldn't be used in production. The manual section is updated to use the file options rather than the string options and the tests now test both.
* | | | nixos/tests/login: fix the seat test by loading sound driversAndreas Rammhold2019-09-08
|/ / / | | | | | | | | | | | | | | | | | | It turned out that /dev/snd/* always exists even if there are no sound drivers loaded at all. Loading `snd` and `snd_timer` fixes that situation. It is probably fair to assume someone that wants to use sound also enables that in the NixOS configuration.
* | | Merge master into staging-nextFrederik Rietdijk2019-09-07
|\| |
| * | Merge pull request #66405 from NeQuissimus/virtualbox_6_0_10Florian Klink2019-09-06
| |\ \ | | | | | | | | virtualbox: 6.0.8 -> 6.0.10
| | * | tests/virtualbox: Clean up unnecessary things.Ambroz Bizjak2019-09-05
| | | | | | | | | | | | | | | | | | | | | | | | Always enable the UART because the VirtualBug bug that required running without the UART was fixed in 6.0.10. Stop using an old kernel version because the tests work with the default kernel. (cherry picked from commit ae93571e8d04cebd69491a789d902d6481e05d3f)
* | | | Merge staging into staging-nextFrederik Rietdijk2019-09-06
|\ \ \ \ | |/ / / |/| | |
| * | | Merge branch 'staging-next' into stagingJan Tojnar2019-09-06
| |\ \ \
| * \ \ \ Merge branch 'staging-next' into stagingJan Tojnar2019-09-06
| |\ \ \ \
| * \ \ \ \ Merge branch 'staging-next' into stagingVladimír Čunát2019-09-05
| |\ \ \ \ \
| * | | | | | libgdata.tests: add installedTestsJan Tojnar2019-09-03
| | | | | | |
| * | | | | | Merge pull request #67957 from jtojnar/glib-networking-cleanupworldofpeace2019-09-03
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | glib-networking: clean up & add installed tests
| | * | | | | | glib-networking: add installed testsJan Tojnar2019-09-03
| | | | | | | |
* | | | | | | | Merge master into staging-nextFrederik Rietdijk2019-09-06
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | | |
| * | | | | | | nixos/tests: remove prometheus_1 testWilliButz2019-09-06
| | | | | | | |
* | | | | | | | Merge branch 'master' into staging-nextJan Tojnar2019-09-06
|\| | | | | | | | |_|_|_|/ / / |/| | | | | |
| * | | | | | elk-5: Remove testsadisbladis2019-09-06
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | These packages are EOL and are about to be removed
| * | | | | ceph: 14.2.1 -> 14.2.3Johan Thomsen2019-09-05
| | | | | |
* | | | | | Merge branch 'master' into staging-nextJan Tojnar2019-09-06
|\| | | | | | |_|_|/ / |/| | | | | | | | | Fixed trivial conflicts caused by removing rec.
| * | | | Merge pull request #67563 from johanot/kubernetes-1.15-withmodulerevertSarah Brofeldt2019-09-05
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | kubernetes: 1.14.3 -> 1.15.3 Also reverts the module systemd dependencies
| | * | | | Revert "Merge pull request #56789 from mayflower/upstream-k8s-refactor"Johan Thomsen2019-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 7dc6e77bc2a03e660cab2c4cbf52f235bc52683e, reversing changes made to bce47ea9d5fa962736ddd4a254a27a5fd2cdee9a. Motivation for the revert in #67563
| * | | | | nixos/tests/quake3: Fix evaluation erroraszlig2019-09-05
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In c814d72b517bb201c8bbbfc64e386c7023352886, a bunch of packages were changed to use the pname attribute, among them were the quake3-demodata and quake3-pointrelease which we use for the quake3 test. Fortunately, having pname available means that we no longer need to match using a prefix, so fixing this eval error also simplifies our matching. I directly pushed this to master because the change is non-controversial and we can't break things that are already broken :-) Signed-off-by: aszlig <aszlig@nix.build>
| * | | | ceph: 13.2.4 -> 14.2.1Johan Thomsen2019-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * remove kinetic * release note * add johanot as maintainer nixos/ceph: create option for mgr_module_path - since the upstream default is no longer correct in v14 * fix module, default location for libexec has changed * ceph: fix test
| * | | | ceph: 12.2.7 -> 13.2.4Kristoffer2019-09-04
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * maintain only one version * ceph-client: init * include ceph-volume python tool in output nixos/ceph: extraConfig, fix test, wait for ceph-mgr to become active * run ceph with disk group permission * add extraConfig option for the global section needed per cluster * clear up how ceph.conf is generated * fix ceph testcase
* | / / Merge branch 'master' into staging-nextVladimír Čunát2019-09-04
|\| | | | |/ / |/| |
| * | maintainers: update my maintainer information (#67686)Christian Kampka2019-09-03
| | |
| * | Merge pull request #55510 from florianjacob/declarative-printersSilvan Mosberger2019-09-03
| |\ \ | | | | | | | | nixos/printers: declarative configuration
| | * | nixos/printers: declarative configurationFlorian Jacob2019-09-01
| | | |
* | | | Merge branch 'master' into stagingVladimír Čunát2019-09-02
|\| | | | |_|/ |/| |
| * | nixos: remove dependencies on local-fs.targetFlorian Klink2019-09-01
| | | | | | | | | | | | | | | | | | | | | Since https://github.com/NixOS/nixpkgs/pull/61321, local-fs.target is part of sysinit.target again, meaning units without DefaultDependencies=no will automatically depend on it, and the manual set dependencies can be dropped.
| * | nixos/redis: add testFlorian Klink2019-09-01
| |/
| * nixos.tests.fontconfig-default-fonts: initJan Tojnar2019-09-01
| | | | | | | | Make sure the fonts.enableDefaultFonts option works.
* | Merge staging-next into stagingFrederik Rietdijk2019-08-31
|\|
| * Merge master into staging-nextFrederik Rietdijk2019-08-31
| |\
| | * nixos/tests/systemd: Fix x-initrd-mount flakiness (#67798)aszlig2019-08-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It turns out that checking for the last mount time of an ext4 file system isn't a very reliable way to check whether the file system was properly unmounted. When creating that test in the first place (88530e02b6fa9b5429dc09972b), I was reluctant to inspect the file system when the VM is down and was searching for a way to check for a clean unmount *after* the file system was mounted again to make sure we don't need to create a 512 MB raw image on the host. Fortunately however, when converting from qcow2, qemu-img actually writes a sparse file, so for most file systems (that is, file systems supporting sparse files) this shouldn't waste a lot of disk space. So when investigating the flakiness, I found that whenever the test is failing, the unmount of /test-x-initrd-mount was done *before* the final step during which systemd remounts+unmounts all the remaining file systems. I haven't investigated why this is the case, but the test is a regression test for https://github.com/NixOS/nixpkgs/issues/35268, which actually didn't unmount the file system *at* *all*, so really all we need to take care here is whether the unmount has happened and not *how*. To make sure that checking the filesystem state is enough for this, I temporarily replaced the $machine->shutdown call with $machine->crash and verified that the file system state is "not clean". Signed-off-by: aszlig <aszlig@nix.build> Fixes: https://github.com/NixOS/nixpkgs/issues/67555
| | * Fix letsencrypt (#60219)Arian van Putten2019-08-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * nixos/acme: Fix ordering of cert requests When subsequent certificates would be added, they would not wake up nginx correctly due to target units only being triggered once. We now added more fine-grained systemd dependencies to make sure nginx always is aware of new certificates and doesn't restart too early resulting in a crash. Furthermore, the acme module has been refactored. Mostly to get rid of the deprecated PermissionStartOnly systemd options which were deprecated. Below is a summary of changes made. * Use SERVICE_RESULT to determine status This was added in systemd v232. we don't have to keep track of the EXITCODE ourselves anymore. * Add regression test for requesting mutliple domains * Deprecate 'directory' option We now use systemd's StateDirectory option to manage create and permissions of the acme state directory. * The webroot is created using a systemd.tmpfiles.rules rule instead of the preStart script. * Depend on certs directly By getting rid of the target units, we make sure ordering is correct in the case that you add new certs after already having deployed some. Reason it broke before: acme-certificates.target would be in active state, and if you then add a new cert, it would still be active and hence nginx would restart without even requesting a new cert. Not good! We make the dependencies more fine-grained now. this should fix that * Remove activationDelay option It complicated the code a lot, and is rather arbitrary. What if your activation script takes more than activationDelay seconds? Instead, one should use systemd dependencies to make sure some action happens before setting the certificate live. e.g. If you want to wait until your cert is published in DNS DANE / TLSA, you could create a unit that blocks until it appears in DNS: ``` RequiredBy=acme-${cert}.service After=acme-${cert}.service ExecStart=publish-wait-for-dns-script ```
| | * Merge pull request #64738 from rnhmjoj/magneticoSilvan Mosberger2019-08-28
| | |\ | | | | | | | | magnetico: init package and service
| | | * nixos/magnetico: add testrnhmjoj2019-08-28
| | | |
| | * | Merge pull request #66859 from worldofpeace/xfce4-14-moduleworldofpeace2019-08-27
| | |\ \ | | | | | | | | | | nixos/xfce4-14: init
| | | * | nixosTests.xfce4-14: initworldofpeace2019-08-21
| | | | | | | | | | | | | | | | | | | | This is pretty much identical to the xfce test we currently have.
* | | | | treewide: remove redundant recvolth2019-08-28
| | | | |
* | | | | Merge staging-next into stagingFrederik Rietdijk2019-08-28
|\| | | |
| * | | | Merge master into staging-nextFrederik Rietdijk2019-08-27
| |\| | |
| | * | | Merge pull request #66984 from flokli/systemd-cgroup-accountingFlorian Klink2019-08-27
| | |\ \ \ | | | | | | | | | | | | nixos/systemd: enable systemd cgroup accounting by default
| | | * | | nixos/systemd: add cgroup accounting testFlorian Klink2019-08-25
| | | | | |
| | * | | | Merge pull request #63634 from aanderse/moodleAaron Andersen2019-08-26
| | |\ \ \ \ | | | |/ / / | | |/| | | moodle: init at 3.7.1
| | | * | | nixos/moodle: init serviceAaron Andersen2019-08-25
| | | | | |
| | * | | | nixos/jormungandr: adding genesis testsMarek Mahut2019-08-25
| | |/ / /