summaryrefslogtreecommitdiffstats
path: root/nixos/tests
AgeCommit message (Collapse)Author
2017-02-27amazon-init.service: fix starting services at startupDan Peebles
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
2017-02-26pgjwt: init at 0.0.1 (#22644)Tomasz Czyż
2017-02-22Merge pull request #22822 from Mic92/iputilsJörg Thalheim
iputils: 20151218 -> 20161105
2017-02-17nixos/tests/taskserver: Add test for manual configaszlig
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>
2017-02-17replace ping6 with pingJörg Thalheim
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.
2017-02-16networking.bonds: add support for arbitrary driverOptionsProfpatsch
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.
2017-02-15nixos-container: added test for port forwarding ( ↵Ian-Woo Kim
nixos/tests/containers-portforward.nix )
2017-02-13Merging against upstream masterParnell Springmeyer
2017-02-12pam_oath: require OATH and pam_unix credentials to be validGraham Christensen
2017-02-11kdm: drop serviceGraham Christensen
2017-02-09nixos: update default cases from KDM/KDE4 to SDDM/KDE5Graham Christensen
2017-02-09grsecurity test: adapt to changes in tinycc outputsJoachim Fasting
2017-02-07nixos/tests/chromium: Run tests as normal useraszlig
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
2017-02-05nfs tests: fix nfs server unit nameNikolay Amiantov
2017-01-31Remove myself from maintainersDamien Cassou
2017-01-29Getting rid of the var indirection and using a bin path insteadParnell Springmeyer
2017-01-28Addressing PR feedbackParnell Springmeyer
2017-01-26Merging against master - updating smokingpig, rebase was going to be messyParnell Springmeyer
2017-01-26More fixes and improvementsParnell Springmeyer
2017-01-26tests.bittorrent: use a file instead of a directoryRobin Gloster
nixUnstable.src is a directory, which made cp fail without -r
2017-01-25tests.installer: rely on swap.target in testsRobin Gloster
fixes #5258
2017-01-25nixos/tests/nat: add test for conntrack helper autoloadingFranz Pletz
2017-01-25firewall: disable conntrack helper autoloading by defaultFranz Pletz
This was disabled in the Linux kernel since 4.7 and poses a security risk if not configured properly. https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=486dcf43da7815baa615822f3e46883ccca5400f
2017-01-21Merge pull request #21416 from cstrahan/mesos-1.1.0Charles Strahan
mesos: 1.0.1 -> 1.1.0
2017-01-15Merge pull request #21882 from abbradar/dhcp6Nikolay Amiantov
DHCPv6 improvements
2017-01-15networking test: test IPv6 with RA and DHCPv6Nikolay Amiantov
2017-01-15kubernetes vm test: make dig and netcat availableMaarten Hoogendoorn
Dig could not be found in the test cases. Adding it as a global package fixes this.
2016-12-31nixos/glance: add testAntoine Eiche
The test starts the glance service, creates a nixos image and ensures Glance list it. Note the test also starts the Keystone service since it is required by Glance.
2016-12-29mesos: 1.0.1 -> 1.1.0Charles Strahan
2016-12-29openssh: test that startWhenNeeded worksGraham Christensen
2016-12-29nixos/tests/gnome3.nix: Speed up testEelco Dolstra
It turns out that "journalctl -f | grep -m 1 pattern" will block for one more line after "pattern" appears, which can take a long time.
2016-12-23docker: update service units from upstreamJörg Thalheim
All the new options in detail: Enable docker in multi-user.target make container created with restart=always to start. We still want socket activation as it decouples dependencies between the existing of /var/run/docker.sock and the docker daemon. This means that services can rely on the availability of this socket. Fixes #11478 #21303 wantedBy = ["multi-user.target"]; This allows us to remove the postStart hack, as docker reports on its own when it is ready. Type=notify The following will set unset some limits because overhead in kernel's ressource accounting was observed. Note that these limit only apply to containerd. Containers will have their own limit set. LimitNPROC=infinity LimitCORE=infinity TasksMax=infinity Upgrades may require schema migrations. This can delay the startup of dockerd. TimeoutStartSec=0 Allows docker to create its own cgroup subhierarchy to apply ressource limits on containers. Delegate=true When dockerd is killed, container should be not affected to allow `live restore` to work. KillMode=process
2016-12-21Work around slowness in the KDE 5 testEelco Dolstra
The use of unionfs-fuse (57a0f140643cde409022e297ed05e05f8d34d778) slows down the KDE 5 test enough that it hits Hydra timeouts. (E.g. on my laptop it went from ~5 min to ~30 min.) So disable it for the KDE test. http://hydra.nixos.org/build/45127422 (cherry picked from commit 3fcbcf25568cd629644a680562f47762d1ae15b2)
2016-12-20nixos: unbreak prometheus testBjørn Forsman
target_groups was renamed to static_configs in d459916504 ("prometheus service: rename values to match prometheus 1.0 naming."). Catch up.
2016-12-19nixos: Disable OCR for tests that do not use itaszlig
Found out during testing of the Tesseract upgrade the kde5 and sddm tests don't actually use OCR, so let's disable support for it. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @ttuegel
2016-12-16nixos/keystone: add test in release.nixAntoine Eiche
2016-12-16nixos/keystone: secrets can be read from filesAntoine Eiche
A secret can be stored in a file. It is written at runtime in the configuration file. Note it is also possible to write them in the nix store for dev purposes.
2016-12-16nixos/keystone: init at liberty versionAntoine Eiche
This commit introduces a nixos module for the Openstack Keystone service. It also provides a optional bootstrap step that creates some basic initial resources (tenants, endpoints,...). The provided test starts Keystone by enabling bootstrapping and checks if user creation works well. This commit is based on initial works made by domenkozar.
2016-12-13grsecurity test: refactoringJoachim Fasting
2016-12-12containers: fix broken /etc/hosts entries when localAddress contains a netmaskmontag451
2016-12-12Add macvlan support for declarative containersmontag451
2016-12-04Merge pull request #20770 from mguentner/more_ipfsFranz Pletz
services: IPFS: add test and more config parameters
2016-12-02ecryptfs test: use TTY output to stabilize testGraham Christensen
2016-11-30Merge pull request #20808 from grahamc/fancy-test-ttyGraham Christensen
login test: Create and use direct reads of the TTY contents.
2016-11-30login test: Create and use direct reads of the TTY contents.Graham Christensen
2016-11-28tests: added basic ipfs testMaximilian Güntner
$getter can be used once ipfs supports private/local networks and or internet gets routed to the VMs Signed-off-by: Maximilian Güntner <code@klandest.in>
2016-11-26Merge branch 'master' into stagingVladimír Čunát
2016-11-24Merge pull request #19023 from offlinehacker/kube-updateJaka Hudoklin
WIP: kubernetes update package and module
2016-11-24blivet test: use python2Frederik Rietdijk
2016-11-22containers module: Add tmpfs options (#20557)Christian Kampka
Allows one or more directories to be mounted as a read-only file system. This makes it convenient to run volatile containers that do not retain application state.