Commit Graph

2176 Commits

Author SHA1 Message Date
worldofpeace
228818c61f nixosTests.gnome3-xorg: port to python/rewrite
We've rewritten it use GDM, and we can now autologin
to the X11 session because of the accountsservice preStart
script for autologin. It should work similar to how the wayland
test works, just with a few nuanced differences for xorg.
2019-12-21 20:05:09 -05:00
worldofpeace
e2ea8152cc nixos/tests/user-account: add static uid for alice
A lot of tests assume that the alice user
will have a uid of 1000. Let's make that
a guarantee and be able to reference this value.
2019-12-21 19:37:21 -05:00
Maximilian Bosch
875ec0a707
nixos/hydra: also run test with pkgs.nixFlakes 2019-12-21 22:02:36 +01:00
Maximilian Bosch
f2915c1616
Merge pull request #75464 from mmilata/rspamd-python-test
nixosTests.rspamd: port to python
2019-12-21 01:25:18 +01:00
Dmitry Kalinkin
aa934faff2
Merge pull request #75703 from kampka/port-tests-3
Port NixOS tests to python
2019-12-20 09:52:33 -05:00
Florian Klink
dee7a7f301
Merge pull request #75721 from kampka/port-tests-networking
nixosTests.networking: Port tests to python
2019-12-19 21:10:37 +01:00
Michael Raskin
6210c15573
Merge pull request #67507 from misuzu/package-3proxy
3proxy: init at 0.8.13
2019-12-19 15:42:15 +00:00
Christian Kampka
9f97485399
trilium-server: Add nginx reverse proxy configuration to module 2019-12-19 10:14:13 +01:00
Christian Kampka
82f038d468
trilium-server: Add module 2019-12-19 10:14:12 +01:00
Frederik Rietdijk
f79e10061f Merge master into staging-next 2019-12-19 09:19:50 +01:00
Jan Tojnar
6be14ee97b
Merge pull request #53843 from hedning/session-default
nixos/displayManager: introduce defaultSession
2019-12-18 21:16:06 +01:00
Dmitry Kalinkin
9faa37cfdf
Merge pull request #75701 from kampka/port-tests-2
Port NixOS tests to python
2019-12-17 21:51:42 -05:00
Dmitry Kalinkin
fc47ec691f
Merge pull request #75695 from kampka/port-tests
Port NixOS tests to python
2019-12-17 21:45:59 -05:00
sternenseemann
25503db8e8 nixos/spacecookie: add service module and test 2019-12-17 14:17:03 +01:00
Christian Kampka
98d562f0b3
nixosTests.networking: Port tests to python 2019-12-17 11:22:28 +01:00
Christian Kampka
05587aba8b
nixosTests.hitch: Port tests to python 2019-12-17 09:37:07 +01:00
Christian Kampka
5cb7b2cf60
nixosTests.hadoop.yarn: Port tests to python 2019-12-17 09:37:06 +01:00
Christian Kampka
563eea492b
nixosTests.hadoop.hdfs: Port tests to python 2019-12-17 09:37:02 +01:00
Christian Kampka
a6ac3fd89f
nixosTests.initrd-network: Port tests to python 2019-12-16 12:52:34 +01:00
Christian Kampka
9fbb427f67
nixosTests.haproxy: Port tests to python 2019-12-16 12:52:33 +01:00
Christian Kampka
0de0b6a281
nixosTests.leaps: Port tests to python 2019-12-16 12:52:32 +01:00
Christian Kampka
40ed6896e3
nixosTests.lidarr: Port tests to python 2019-12-16 12:52:31 +01:00
Christian Kampka
1f2030fdcb
nixosTests.mailcatcher: Port tests to python 2019-12-16 12:52:30 +01:00
Christian Kampka
23d164edb4
nixosTests.wireguard.namespaces: Port test to python 2019-12-16 12:52:29 +01:00
Christian Kampka
229a0afb28
nixosTests.paperless: Port tests to python 2019-12-15 20:10:57 +01:00
Christian Kampka
d76ab647e6
nixosTests.pdns-recursor: Port tests not python 2019-12-15 20:08:02 +01:00
Christian Kampka
d58814ac5a
nixosTests.peerflix: Port tests to python 2019-12-15 20:08:01 +01:00
Christian Kampka
a20683acbe
nixosTests.pgmanage: Port tests to python 2019-12-15 20:08:00 +01:00
Christian Kampka
1bf1ec35bc
nixosTests.php-pcre: Port tests to python 2019-12-15 20:07:59 +01:00
Christian Kampka
d029e28b78
nixosTests.postgis: Port tests to python 2019-12-15 20:07:58 +01:00
Christian Kampka
e96802ccb2
nixosTests.quagga: Port tests to python 2019-12-15 20:07:52 +01:00
Christian Kampka
c811e76d82
nixosTests.mutable-users: Port tests to python 2019-12-15 19:53:17 +01:00
Christian Kampka
58cd46ba21
nixosTests.mxisd: Port tests to python 2019-12-15 19:46:53 +01:00
Christian Kampka
8c683b3b13
nixosTests.nesting: Port tests to python 2019-12-15 19:42:21 +01:00
Christian Kampka
e51673bb77
nixosTests.nghttpx: Port tests to python 2019-12-15 19:36:44 +01:00
Christian Kampka
1f3f9fd3a2
nixosTests.novacomd: Port tests to python 2019-12-15 19:35:33 +01:00
Christian Kampka
065770607e
nixosTests.nzbget: Port tests to python 2019-12-15 19:29:17 +01:00
Christian Kampka
57e8bd9ebe
nixosTest.orangefs: Port tests to python 2019-12-15 19:26:06 +01:00
Christian Kampka
862a7393f3
nixosTests.osrm-backend: Port tests to python 2019-12-15 19:19:11 +01:00
Christian Kampka
5ae92144ba
nixosTests.overlayfs: Port tests to python 2019-12-15 19:13:56 +01:00
Christian Kampka
bcf6aa5519
nixosTests.sonarr: Port tests to python 2019-12-15 18:24:45 +01:00
Christian Kampka
aeeabe0b89
nixosTests.switch-test: Port tests to python 2019-12-15 18:22:35 +01:00
Christian Kampka
69b1b0cff0
nixosTests.systemd-timesyncd: Port tests to python 2019-12-15 18:16:00 +01:00
Frederik Rietdijk
7266f3ad2b Merge staging-next into staging 2019-12-15 16:12:48 +01:00
Jan Tojnar
8dc5ff7dcf
nixos/displayManager: deprecate separate options for default wm/dm
The upstream session files display managers use have no concept of sessions being composed from
desktop manager and window manager. To be able to set upstream session files as default
session, we need a single option. Having two different ways to set default session would be confusing,
though, so we decided to deprecate the old method.

We also created separate script for each session, just like we already had a separate desktop
file for each one, and started using displayManager.sessionPackages mechanism to make the
session handling more uniform.
2019-12-15 04:16:20 +01:00
Tor Hedin Brønner
d25365c3c1
nixos/displayManager: introduce defaultSession
There's two ways of providing graphical sessions now:
- `displayManager.session` via. `desktopManager.session` and
  `windowManager.session`
- `displayManager.sessionPackages`

`sessionPackages` doesn't make a distinction between desktop and window
managers. This makes selecting a session provided by a package using
`desktopManager.default` nonsensical.

We therefor introduce `displayManager.defaultSession` which can select a session
from either `displayManager.session` or `displayManager.sessionPackages`.

It will default to `desktopManager.default + windowManager.default` as before.
If the dm default is "none" it will select the first provided session from
`sessionPackages`.
2019-12-15 04:16:20 +01:00
Jan Tojnar
aa3cb8b00e
Merge branch 'staging-next' into staging 2019-12-14 23:09:23 +01:00
Christian Kampka
c98d54a3e9
zsh-history: Add tests 2019-12-14 10:58:38 +01:00
Jan Tojnar
919297f369
nixosTests.xmonad: fix 2019-12-13 17:16:59 +01:00
WilliButz
6f0ec169fe
Merge pull request #75492 from Ma27/refactor-gitea-test
nixos/tests/gitea: test basic git workflow
2019-12-12 16:57:30 +01:00
Kai Wohlfahrt
b1c10bc8b2 nfs: set up request-key for id mapping
A patch is necessary upstream to support multiple configs via symlinks
in /etc/request-key.d

Once that is done, we can add support for CIFS as well
2019-12-12 15:42:44 +00:00
Kai Wohlfahrt
0dce66a6ec nixos/nfs: test nfs with kerberos authentication 2019-12-12 15:42:44 +00:00
Kai Wohlfahrt
59a0e58576 nixos/nfs: convert test to python 2019-12-12 12:23:30 +00:00
Maximilian Bosch
efd1d1a211
nixos/gitea: test creation and cloning of a repo via ssh 2019-12-12 12:13:17 +01:00
Florian Klink
b5c5ed2939
Merge pull request #74066 from 7c6f434c/add-systemd-analyze-test
Add systemd analyze test
2019-12-11 19:04:39 +01:00
Martin Milata
76a602dde4 nixosTests.rspamd: port to python 2019-12-11 00:17:51 +01:00
Florian Klink
b5e53a7fae
Merge pull request #74761 from mmilata/containers-python-test
nixosTests.containers*: port rest to python
2019-12-10 20:37:03 +01:00
Florian Klink
8772359957 nixosTests.containers-portforward: add to all-tests.nix 2019-12-10 20:34:37 +01:00
Martin Milata
6ebf84a3d6 nixosTests.ipv6: fix waiting for address
wait_for_address sometimes returned tentative address.
2019-12-08 19:51:00 +01:00
Michael Raskin
e365454066 nixos/tests: add systemd-analyze test 2019-12-08 19:02:20 +01:00
Martin Milata
ead22d1415 nixosTests.ipv6: port to python 2019-12-08 18:28:03 +01:00
Martin Milata
6fbb76cf76 nixosTests.containers*: port rest to python 2019-12-08 18:16:01 +01:00
Bruno Bigras
9314dc43b3 gitolite: wrap gitolite-shell
git wasn't found when used with services.fcgiwrap
for http auth
2019-12-08 12:26:02 +01:00
Izorkin
bfb42cd38f nixosTests.netdata: add a sleep before testing 2019-12-08 14:06:25 +03:00
Florian Klink
0c10431e4b
Merge pull request #75180 from flokli/nixos-test-port-pam-u2f
nixosTests.pam-u2f: port test to python
2019-12-07 23:57:14 +01:00
Florian Klink
6b1faaf684 nixosTests.pam-u2f: port test to python 2019-12-07 23:16:59 +01:00
Florian Klink
b665c387bc
Merge pull request #74935 from x123/x123-munin-test-python
nixos/tests/munin: port to python
2019-12-07 23:03:15 +01:00
Jan Tojnar
36de08ebe1
Merge pull request #71442 from jtojnar/ibus-fixes
Fix/clean up various ibus-engines
2019-12-07 12:10:44 +01:00
Jan Tojnar
f6afb29ee1
ibus: add installed tests 2019-12-07 00:58:30 +01:00
Jan Tojnar
973c2fcf3d
nixosTests.installed-tests: allow passing extra makeTest args
For example, extra meta tags.
2019-12-07 00:58:30 +01:00
Maximilian Bosch
8264d7ed4c
nixos/gitea: simplify test
This reduces the length of the gitea-test by creating a single
`makeGiteaTest` function which creates the configuration for a testcase
with a given database driver.
2019-12-06 18:59:37 +01:00
Florian Klink
04071c6a65
Merge pull request #74006 from nh2/nixos-tests-consul
nixosTests.consul: init
2019-12-06 10:21:56 +01:00
Jacek Galowicz
7e25be92b7 nixosTests.env: Port to Python 2019-12-06 08:21:34 +01:00
Jacek Galowicz
46fab2e289 nixosTests.ecryptfs: Port to Python 2019-12-06 08:21:33 +01:00
Jacek Galowicz
4a7ba2cdfe nixosTests.docker-tools-overlay: Port to Python 2019-12-06 08:21:33 +01:00
Jacek Galowicz
86a9d80b45 nixosTests.dhparams: Port to Python 2019-12-06 08:21:30 +01:00
Maximilian Bosch
8360a627fa nixos/consul: register test 2019-12-06 03:39:28 +01:00
Niklas Hambüchen
dfa7042eaf nixosTests.consul: init 2019-12-06 03:39:28 +01:00
x123
2cda20c12e nixos/tests/munin: port to python 2019-12-06 01:05:04 +01:00
x123
07be580889 nixos/tests/timezone: port to python 2019-12-06 00:45:30 +01:00
Florian Klink
ea9c3b9342
Merge pull request #74032 from ckauhaus/remove-networking.hostconf
Remove networking.hostConf option
2019-12-05 21:42:33 +01:00
Florian Klink
3140fa89c5
Merge pull request #73097 from andrew-d/andrew/gvisor-redux
gvisor: init at 2019-11-14
2019-12-05 01:28:43 +01:00
Marek Mahut
25f7bd7c4b
Merge pull request #74753 from mmilata/moinmoin-python-test
nixosTests.moinmoin: port to python
2019-12-05 00:13:41 +01:00
Jacek Galowicz
5d91b29e0d nixosTests.openldap: port test to python 2019-12-04 16:22:26 +01:00
Jacek Galowicz
15f105d41f nixosTests.ldap: port integration test to python 2019-12-04 16:22:13 +01:00
Florian Klink
746a888f86
Merge pull request #74898 from tfc/nixos-test-retry
nixos/test: Use retry() in all looping functions that need timeouts
2019-12-04 16:18:42 +01:00
Christian Kauhaus
8d36536c2e Rewrite test script
Thanks to @flokli and @tfc
2019-12-04 11:25:12 +01:00
Andrew Dunham
c37902dfd1 nixosTests.gvisor: add test for gvisor and gvisor as a Docker runtime 2019-12-03 23:55:24 -08:00
Florian Klink
b7c19e1b91
Merge pull request #74866 from x123/x123-test-tiddlywiki
nixos/tests/tiddlywiki: port to python
2019-12-04 01:05:00 +01:00
Florian Klink
f7a232297a
Merge pull request #74938 from x123/x123-i3wm-test-to-python
nixos/tests/i3wm: port to python
2019-12-04 00:50:31 +01:00
Florian Klink
b62c02ce04 nixosTests.gocd-agent: mark as broken 2019-12-04 00:35:07 +01:00
x123
b6d5e3844f nixos/tests/i3wm: port to python 2019-12-03 21:51:26 +01:00
x123
c0d5332ab3 remove duplicate test in tiddlywiki 2019-12-03 17:18:59 +01:00
Jacek Galowicz
a16695578b nixos/pam-oath-login: Port test to python 2019-12-03 17:06:04 +01:00
x123
2ad9a627de nixos/tests/tiddlywiki: port to python 2019-12-03 00:20:01 +01:00
Florian Klink
f8218178f7 nixosTests.gocd-server: port to python 2019-12-02 23:13:09 +01:00
Florian Klink
46daafa269 nixosTest.gocd-agent: port to python 2019-12-02 23:13:09 +01:00
x123
362e377154 nixos/tests/xrdp: port to python 2019-12-02 22:20:36 +01:00
Florian Klink
fdb65314fc
Merge pull request #74759 from mmilata/openarena-python-test
nixosTests.openarena: port to python
2019-12-02 20:29:04 +01:00
Florian Klink
9144d84a60
Merge pull request #74762 from mmilata/mediawiki-python-test
nixosTests.mediawiki: port to python
2019-12-02 20:28:31 +01:00
Florian Klink
85a345327f
Merge pull request #74764 from mmilata/radicale-python-test
nixosTests.radicale: port to python
2019-12-02 20:27:51 +01:00
Jörg Thalheim
7ee6319745
nixosTests.matomo: port to python (#74756)
nixosTests.matomo: port to python
2019-12-02 05:48:00 +00:00
Martin Milata
0168f41d70 nixosTests.moinmoin: port to python 2019-12-01 16:45:36 +01:00
Jörg Thalheim
7e6718e425
nixosTests.predictable-interface-names: port to python (#74765)
nixosTests.predictable-interface-names: port to python
2019-12-01 10:40:29 +00:00
Martin Milata
8d6bcf80a2 nixosTests.predictable-interface-names: python 2019-12-01 03:16:34 +01:00
Martin Milata
be911515eb nixosTests.radicale: port to python 2019-12-01 03:05:39 +01:00
Martin Milata
268062198d nixosTests.mediawiki: port to python 2019-12-01 02:44:49 +01:00
Jörg Thalheim
eabf256408
Merge pull request #74513 from Mic92/ferm
nixos/ferm: port test to python
2019-12-01 01:27:56 +00:00
Martin Milata
8f6bea4ae9 nixosTests.openarena: port to python 2019-12-01 01:34:37 +01:00
Martin Milata
1a5d3070ac nixosTests.matomo: port to python 2019-12-01 00:50:55 +01:00
Martin Milata
33ab6997cd nixosTests.nat: port to python 2019-12-01 00:20:28 +01:00
Christian Kauhaus
918c2ca01a Remove networking.hostConf option
This PR is part of the networking.* namespace cleanup. We feel that
networking.hostConf is rarely used and provides little value compared to
using environment.etc."host.conf" directly.

Provide sensible default: multi on
2019-11-29 12:08:34 +01:00
Oleksii Filonenko
085766fd63 nixosTests.netdata: port to python 2019-11-28 22:23:36 +01:00
Jörg Thalheim
189a345e22
nixos/ferm: port test to python
related to #72828
2019-11-28 16:50:51 +00:00
Florian Klink
4e8c2f08b0
Merge pull request #74048 from ckauhaus/ssmtp-named-ssmtp
ssmtp: use services.ssmtp not networking.defaultMailServer
2019-11-28 16:32:50 +01:00
Maximilian Bosch
a9a271792d
nixos/ndppd: port test to python test-driver 2019-11-27 20:22:16 +01:00
Robin Gloster
bf12ddebe8
Merge pull request #74254 from tfc/nixos-test-ejabberd
nixos/ejabberd: Port test to python
2019-11-27 17:38:45 +01:00
Robin Gloster
236b928a61
Merge pull request #74313 from filalex77/nixosTests.kernel-python
nixosTests.kernel-*: port to python
2019-11-27 17:34:30 +01:00
Robin Gloster
39022bc3e7
Merge pull request #74218 from tfc/nixos-test-containers-python-port
Nixos test containers python port
2019-11-27 17:28:07 +01:00
Robin Gloster
470f29cdd2
Merge pull request #74312 from filalex77/nixosTests.memcached-python
nixosTests.memcached: port to python
2019-11-27 17:11:13 +01:00
Oleksii Filonenko
af0f948c9e
nixosTests.memcached: port to python 2019-11-27 12:02:24 +02:00
Maximilian Bosch
6225fc5303
nixos/nextcloud: port tests to python test-driver 2019-11-27 10:51:21 +01:00
Jacek Galowicz
9de0a8a7b3 nixos/containers-imperative: Port test to python 2019-11-27 09:13:02 +01:00
Jacek Galowicz
07802f4d20 nixos/containers-ip: Test both ipv4 and ipv6 in the same script 2019-11-27 09:13:02 +01:00
Oleksii Filonenko
a610202cb6
nixosTests.kernel-*: port to python 2019-11-27 10:02:58 +02:00
Maximilian Bosch
88a40abc92
nixos/iftop: port test to python test-driver 2019-11-26 22:29:27 +01:00
Maximilian Bosch
696b44013e
nixos/xss-lock: port test to python test-driver
Also refactored the test script to have different subtests for different
configurations.
2019-11-26 21:58:30 +01:00
Maximilian Bosch
bf39cf8518
Merge pull request #74123 from filalex77/nixosTests.rabbitmq-python
nixosTests.rabbitmq: port to python
2019-11-26 19:37:29 +01:00
worldofpeace
406efdb934 nixosTests.pantheon: don't check bob username
From looking at
* https://hydra.nixos.org/build/107447356
it appears the subtest fails at this exact step.
OCR in the testing driver has been notoriously
flaky, so let's just match alice's user description.
This does have the downside of not verifying the
appearence of other user cards, which was an
issue with the greeter in the past.
2019-11-26 09:24:42 -05:00
Christian Kauhaus
dd87e9eb4d ssmtp: use services.ssmtp.* options
This PR is part of the networking.* namespace cleanup.

ssmtp used to be configured via `networking.defaultMailServer` which is
sort of misleading since it provides options only for ssmtp. Other
dumb mail relays like nullmailer have always been living under
services.

The intent of this PR is to align ssmtp's options with those of similar
services. Specifically, two renames have been done:

* Rename `networking.defaultMailHost` to `services.ssmtp`.
* Rename `directDelivery` to `enable` because this is what it basically does.
2019-11-26 11:08:44 +01:00
Jacek Galowicz
4e89f75ca6 nixos/containers-bridge: Port test to python 2019-11-26 10:06:06 +01:00
Jacek Galowicz
76605b2127 nixos/ejabberd: Port test to python 2019-11-26 10:03:34 +01:00
Jacek Galowicz
ab374b3056 nixos/containers-tmpfs: Port test to python 2019-11-25 22:20:14 +01:00
Jacek Galowicz
da39d2be5a nixos/containers-reloadable: Port test to python 2019-11-25 22:20:14 +01:00
Jacek Galowicz
e4abed35be nixos/containers-hosts: Port test to python 2019-11-25 21:57:46 +01:00
Jacek Galowicz
acb53c777c nixos/containers-ephemeral: Port test to python 2019-11-25 21:57:27 +01:00
Florian Klink
b16ddb977d
Merge pull request #73140 from worldofpeace/port-pantheon-test
nixosTests.pantheon: port to python
2019-11-25 21:08:25 +01:00
Florian Klink
e6aba99c54
Merge pull request #74084 from WilliButz/systemd-services/use-correct-groups
dont use nogroup for networkd, resolved and timesyncd
2019-11-25 20:05:25 +01:00
worldofpeace
c16df6bbac nixosTests.pantheon: use subtest 2019-11-25 12:03:51 -05:00
worldofpeace
a60daae733 nixosTests.pantheon: check for bob description 2019-11-25 11:54:37 -05:00
worldofpeace
e15c4e48a2 nixosTests.pantheon: port to python 2019-11-25 11:54:37 -05:00
worldofpeace
aa6fb602a0 nixosTests.pantheon: adjust test slightly 2019-11-25 11:54:37 -05:00
worldofpeace
87f3224765 nixosTests.plasma5: port to python 2019-11-25 09:31:19 -05:00
worldofpeace
e4962aa6a7 nixosTests.plasma5: drop sddm ocr theme
OCR in this test has been disabled.
2019-11-25 09:22:39 -05:00
Oleksii Filonenko
3b0a0ad3b1
nixosTests.riak: add filalex77 as a maintainer 2019-11-25 11:51:39 +02:00
Oleksii Filonenko
f5746f9c0b
nixosTests.riak: port to python 2019-11-25 11:51:22 +02:00
WilliButz
ec16f4fd5b
tests/systemd-networkd: add regression test for service group
Previously systemd-networkd.service ran as systemd-network:nogroup.
The wireguard private key file is now owned by root:systemd-network with
mode 0640. It is therefore required that the systemd-network user is in the group
with the same name, so that it is able to read the key file.
2019-11-25 10:47:31 +01:00
Oleksii Filonenko
248a3de948
nixosTests.rabbitmq: port to python 2019-11-25 11:35:19 +02:00
Andrew Dunham
7398211601 nixosTests.syncthing*: port to python 2019-11-25 00:36:37 -08:00
Maximilian Bosch
9a2c7caa43
nixos/nexus: port test to python test-driver 2019-11-25 00:18:04 +01:00