summary refs log tree commit diff
path: root/nixos/tests
Commit message (Collapse)AuthorAge
* mysql test: test replication persists between slave stop / start cycleGraham Christensen2017-04-25
|
* mysql test: use OpenPort check over blind sleepGraham Christensen2017-04-25
|
* nixos: Add a VM test for the SLiM display manageraszlig2017-04-23
| | | | | | | | | | | | | This is currently our default display manager, so I'm adding this to the "tested" job as well to ensure we don't ship broken revisions where X is most likely not working. The test uses a custom SLiM theme that's specifically tailored for good OCR results (mainly white background and black fonts without anything else), because our default NixOS theme has a very small contrast between background and fonts in some places. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* nixos/tests/misc: check hidepid mount via /proc/mountsJoachim Fasting2017-04-23
|
* Refactor nixos-install to separate out filesystem build logicDan Peebles2017-04-16
| | | | | | | | | | | The key distinction I'm drawing is that there's a component that deals with the store of the machine being built, and another component for the store building it. The inner part of it assumes nothing from the builder (doesn't need chroot or root powers) so it can run comfortably inside a Nix build, as well as nixos-rebuild. I have some upcoming work that will use that to significantly speed up and streamline image builds for NixOS, especially on virtualized hosts like EC2, but it's also a reasonable speedup on native hosts.
* Revert "sddm: Fix test."aszlig2017-04-11
| | | | | | | | | | | | | | This reverts commit 0a6a06346a3c928a3115dfd700993c5c06b0a1e9. The commit replaced the text to search for from ALICE to BOB, because our OCR detection only caught "BOB FOOBAR" but missed "ALICE FOOBAR" completely. With the improvements to our OCR system this no longer is the case and the test passes successfully with this reverted. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @shlevy
* Merge branch 'master' into postgresql-testsTomasz Czyż2017-04-07
|\
| * sddm: Fix test.Shea Levy2017-04-06
| | | | | | | | | | | | | | | | | | | | | | | | For whatever reason, the OCR code is not detecting ALICE but is BOB. OCR output from login screen (blank lines omitted): > Session none + icewm > 08:41 < > Thursday, April 6, 2017 > BOB FOOBAR > Select your user and enter password
| * docker: test for socket permissionsGraham Christensen2017-04-03
| |
| * nixos hibernate test: Use waitForOpenPortTuomas Tynkkynen2017-04-02
| | | | | | | | | | | | | | | | | | | | | | | | | | There was one confusing recent failure of this: http://cache.nixos.org/log/myla8bc17j8spmifdxmrz9jswxwsf5w6-vm-test-run-hibernate.drv I don't have any real ideas on what could cause the problem but there is at least one theoretical one: the system starts hibernating before the listener process manages to open the TCP port for listening, and it can't open it after resuming because not enough pages from the netcat binary have been paged in (and as the 9p filesystem holding it is now toast, they can't be loaded anymore).
| * panomatic: removeRobin Gloster2017-03-30
| |
| * nixos/dnscrypt-proxy test: exercise plugin loadingJoachim Fasting2017-03-30
| |
| * nixos/tests/virtualbox: Fix @shell@ expansionaszlig2017-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This has surfaced since f803270b7e00fa7124282809838d5652083b6aad. The commit bumped bash to version 4.4, which caused to change the order of --subst-var flags in substituteAll, which this test was relying on, because it added a @shell@ to boot.initrd.postMountCommands. Our substituter is currently working a bit like this: original.replace('@var1@', 'val1').replace('@var2@', 'val2')... Unfortunately, this means that if @var2@ occurs within @var1@ it is replaced by the new value, so the order of the substvars actually matter. I highly doubt that we want a behaviour like this and I'm wondering why it didn't occur to me as a problem while writing the initial implementation of the VirtualBox tests. Whether to get rid of this and disallowing substitution of substvars within substvars is another topic which I think needs discussion in a different place. As for now, I'm using stdenv.shell, because the closure size of this should fit within the initrd, so it's fine especially because it's just a test. Tested with the net-hostonlyif and systemd-detect-virt tests and they both succeed with this change. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Reported-by: @globin on IRC
| * network-interfaces: reload bridges on conf changesArnold Krille2017-03-26
| | | | | | | | | | | | | | | | | | | | | | And adopt the tests to add an interface and remove it again. It should work when deactivating rstp, it will not work when activating rstp for the first bridge as then the userspace daemon is not yet available. But once one bridge is active with stp, it should work with the reload for any further bridge. Fixes #21745. Also see #22547.
| * nixos/sddm: test automatic and manual loginThomas Tuegel2017-03-24
| |
| * nixos/plasma5: also test SDDM themeThomas Tuegel2017-03-24
| |
| * nixos/sddm: improve testThomas Tuegel2017-03-23
| | | | | | | | Disable SDDM auto-login to improve testing for SDDM themes. See #24246.
| * munin: fix tests by replacing cron with systemd timerJörg Thalheim2017-03-22
| |
| * Merge pull request #23279 from mbbx6spp/make-nginx-module-less-grossFranz Pletz2017-03-20
| |\ | | | | | | nginx service: add commonHttpConfig option
| | * nginx service: add commonHttpConfig optionSusan Potter2017-02-28
| | |
| * | nixos: tests: firefox: make more comprehensiveMichael Raskin2017-03-15
| | | | | | | | | | | | | | | | | | Run Firefox inside an XTerm, it doesn't crash mysteriously this way. Also try opening developer tools and checking that Firefox doesn't crash in the process.
| * | wordpress: security upgrade: 4.7.2 -> 4.7.3 & other improvements (#23837)Bas van Dijk2017-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Moved the wordpress sources derivation to the attribute pkgs.wordpress. This makes it easier to override. * Also introduce the `package` option for the wordpress virtual host config which defaults to pkgs.wordpress. * Also fixed the test in nixos/tests/wordpress.nix.
| * | pump.io: fix testsJörg Thalheim2017-03-12
| | | | | | | | | | | | fixes #23568
| * | networking/bonds: fix examplesProfpatsch2017-03-08
| | | | | | | | | | | | | | | | | | | | | After the change of the bonding options, the examples were not quite correct. The diff is over-the top because the new `let` needs everything indented. Also add a small docstring to the `networkd` attr in the networking test.
| * | buildbot: 0.9.3 -> 0.9.4Fernando J Pando2017-03-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | - adds jwt - adds module tests - master.cfg as path in module - fix systemd worker config - builds on darwin - tested on nixos
| * | nixos/tests/leaps.nix: fixed race conditionJoachim Schiele2017-03-06
| | |
| * | nixos/tests/trac: fix renaming warningThomas Tuegel2017-03-03
| | |
| * | nixos/tests/phabricator: fix renaming warningThomas Tuegel2017-03-03
| | |
| * | nixos/tests/plasma5: fix test nameThomas Tuegel2017-03-03
| | |
| * | nixos/tests: fix Plasma 5 testThomas Tuegel2017-03-02
| | |
| * | samba test: fix race conditionNikolay Amiantov2017-03-01
| |/
| * amazon-init.service: fix starting services at startupDan Peebles2017-02-27
| | | | | | | | | | | | | | | | | | | | We now make it happen later in the boot process so that multi-user has already activated, so as to not run afoul of the logic in switch-to-configuration.pl. It's not my favorite solution, but at least it works. Also added a check to the VM test to catch the failure so we don't break in future. Fixes #23121
| * pgjwt: init at 0.0.1 (#22644)Tomasz Czyż2017-02-26
| |
| * Merge pull request #22822 from Mic92/iputilsJörg Thalheim2017-02-22
| |\ | | | | | | iputils: 20151218 -> 20161105
| | * replace ping6 with pingJörg Thalheim2017-02-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | reason: after the upgrade of iputils from 20151218 to 20161105 functionality of ping6 and tracepath6 was merged into ping and tracepath. Ping is now mostly a drop-in replacment for ping6, except that selecting a specific interface is done by encoding it into the address (ex.: fe80::1%eth0) rather then specifing it with the `-I` flag.
| * | nixos/tests/taskserver: Add test for manual configaszlig2017-02-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This subtest actually serves two purposes: 1. Test manual PKI configuration 2. Test changing of configuration files In order to only test manual PKI configuration it would have been enough to just add another server with a manual config. But as the switch from automatic PKI config to manual config is probably one of the most fundamental changes in configuration, so it serves *very* well to also check whether changes in the NixOS configuration actually have an impact in the real system. So instead of adding another server, we now create a dummy "newServer" machine, which is the new configuration for "server" and use switch-to-configuration to switch "server" to the config of "newServer". Signed-off-by: aszlig <aszlig@redmoonstudios.org>
| * | networking.bonds: add support for arbitrary driverOptionsProfpatsch2017-02-16
| |/ | | | | | | | | | | | | | | | | Until now the four attributes available very selectively provided a small subset, while copying upstream documentation. We make driver options an arbitrary key-value set and point to kernel documentation, which is always up-to-date. This way every option can be set. The four already existing options are deprecated with a warning.
| * nixos-container: added test for port forwarding ( ↵Ian-Woo Kim2017-02-15
| | | | | | | | nixos/tests/containers-portforward.nix )
| * Merging against upstream masterParnell Springmeyer2017-02-13
| |\
| | * pam_oath: require OATH and pam_unix credentials to be validGraham Christensen2017-02-12
| | |
| | * kdm: drop serviceGraham Christensen2017-02-11
| | |
| * | Getting rid of the var indirection and using a bin path insteadParnell Springmeyer2017-01-29
| | |
| * | Addressing PR feedbackParnell Springmeyer2017-01-28
| | |
| * | Merging against master - updating smokingpig, rebase was going to be messyParnell Springmeyer2017-01-26
| |\ \
| * | | More fixes and improvementsParnell Springmeyer2017-01-26
| | | |
* | | | test all postgresql versions, test server restart (#1735)Tomasz Czyż2017-02-21
| |_|/ |/| |
* | | nixos: update default cases from KDM/KDE4 to SDDM/KDE5Graham Christensen2017-02-09
| | |
* | | grsecurity test: adapt to changes in tinycc outputsJoachim Fasting2017-02-09
| | |
* | | nixos/tests/chromium: Run tests as normal useraszlig2017-02-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The tests have failed because Chromium has started up displaying the following error message in a dialog window: Chromium can not be run as root. Please start Chromium as a normal user. If you need to run as root for development, rerun with the --no-sandbox flag. So let's run as user "alice" and pass all commands using the small helper function "ru" (to keep it short, it's for "Run as User"). Tested it by running the "stable" test on x86_64-linux. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Reported-by: @globin
* | | nfs tests: fix nfs server unit nameNikolay Amiantov2017-02-05
| | |