Commit graph

1973 commits

Author SHA1 Message Date
WilliButz 2e54c90c38
Merge pull request #73939 from flokli/nixos-test-port-gitlab
nixosTests.gitlab: port to python
2019-11-22 23:54:27 +01:00
Florian Klink 1d65113d41 nixosTests.gitlab: port to python 2019-11-22 23:08:06 +01:00
Florian Klink 5121706951 nixosTests.mpd: port to python 2019-11-22 21:21:05 +01:00
Florian Klink 86a947297a nixosTests.mongodb: port to python 2019-11-22 20:56:43 +01:00
Jan Hrnko bc1d542f09 nixos/miniflux: port test to python 2019-11-22 20:38:56 +01:00
Jan Hrnko 32ef9dbfea nixos/jackett: port test to python 2019-11-22 20:38:56 +01:00
Jan Hrnko caa0cadaed nixos/minidlna: port test to python 2019-11-22 20:38:56 +01:00
Jan Hrnko 1e70152489 nixos/incron: port test to python 2019-11-22 20:38:56 +01:00
Jan Hrnko 35f16042a2 nixos/icingaweb2: port test to python 2019-11-22 20:38:56 +01:00
Jan Hrnko e4e1eea625 nixos/handbrake: port test to python 2019-11-22 20:38:56 +01:00
Jan Hrnko 98b28a776a nixos/hound: port test to python 2019-11-22 20:38:56 +01:00
Jan Hrnko 66c9911264 nixos/hibernate: port test to python 2019-11-22 20:38:56 +01:00
Jan Hrnko c999eab3e7 nixos/fluentd: port test to python 2019-11-22 20:38:56 +01:00
Jan Hrnko a0a07e3936 nixos/fish: port test to python 2019-11-22 20:38:56 +01:00
Jan Hrnko 541e2ca6d3 nixos/firewall: port test to python 2019-11-22 20:38:56 +01:00
Jan Hrnko 05163ec981 nixos/clickhouse: port test to python 2019-11-22 20:38:56 +01:00
Jan Hrnko 103f128dbb nixos/deluge: port test to python 2019-11-22 20:38:56 +01:00
Jan Hrnko e31441ba9e nixos/fancontrol: port test to python 2019-11-22 20:38:56 +01:00
Florian Klink ce139ed229
Merge pull request #73411 from gazally/yggdrasil-python-test
nixosTests.yggdrasil: port to python
2019-11-22 20:30:39 +01:00
Florian Klink 0b0da4c944
Merge pull request #73699 from NinjaTrappeur/wg-test-python
tests/systemd-networkd-wireguard: migrate to python test runner
2019-11-22 20:25:25 +01:00
Maximilian Bosch e292be76fc
roundcube: 1.4.0 -> 1.4.1
https://github.com/roundcube/roundcubemail/releases/tag/1.4.1

Also fixed the test which got broken during #71407, most likely due to a
merge issue.
2019-11-22 17:13:41 +01:00
Florian Klink 758efb9348
Merge pull request #73190 from flokli/ceph-tests-python
WIP: nixos/ceph: port tests to python
2019-11-21 20:13:41 +01:00
Florian Klink 0f2635b7d4
Merge pull request #73827 from tfc/mosquitto-test-python
Mosquitto test python
2019-11-21 20:13:11 +01:00
markuskowa 196880d28c
Merge pull request #73568 from markuskowa/prt-rxe-test
nixosTests.rxe: port to python
2019-11-20 22:27:43 +01:00
Markus Kowalewski f2564a4008
nixosTests.rxe: cleanup with loop serveral protocols 2019-11-20 20:47:45 +01:00
Jacek Galowicz 432f8a424b nixos/mosquitto: Refactor integration test code 2019-11-20 19:13:01 +01:00
Jacek Galowicz 855eb6f264 nixos/mosquitto: Port integration test to python 2019-11-20 19:08:18 +01:00
Florian Klink 6815017dcd nixosTests.ceph-multi-node: port to python 2019-11-20 17:38:20 +01:00
Florian Klink a796dbead5 nixosTests.ceph-single-node: port to python 2019-11-20 17:38:20 +01:00
Frederik Rietdijk 65edeb8633 Merge master into staging-next 2019-11-20 10:01:49 +01:00
Robin Gloster 5f7bcffe21
Merge pull request #71407 from f--t/fix/roundcube
roundcube: fix -- quoting string env variable
2019-11-20 09:25:10 +01:00
worldofpeace a72f8a36de nixosTests.xfce: port to python 2019-11-19 19:21:58 -05:00
worldofpeace b64a77de32 nixosTests: remove xfce4-14 test 2019-11-19 18:47:02 -05:00
f--t 4c18309ca6
Merge branch 'master' into fix/roundcube 2019-11-19 13:16:16 -08:00
Frederik Rietdijk f6b39f852e Merge master into staging-next 2019-11-19 10:53:44 +01:00
Félix Baylac-Jacqué fe12d5df42
tests/systemd-networkd-wireguard: migrate to make-test-python
Updating `systemd-networkd-wireguard` to use the python test runner.

This change was purely syntactic. This migration did not require any
semantic change.
2019-11-18 18:56:00 +01:00
Lassulus ce52d6b6ae
Merge pull request #73188 from blitz/spike
spike: init at 1.0.0
2019-11-17 19:19:17 +01:00
Markus Kowalewski f880347b17 nixosTests.rxe: port to python 2019-11-17 15:11:31 +01:00
Frederik Rietdijk 3864800226 Merge master into staging-next 2019-11-17 10:31:52 +01:00
rnhmjoj f6a8eb2d00
nixos/tests/magnetico: port to python 2019-11-16 22:14:46 +01:00
rnhmjoj 6823199dbe
nixos/tests/magnetico: check for different web port 2019-11-16 22:02:41 +01:00
Emery Hemingway 7a1b4d1964 nixos/yggdrasil: remove /etc effects
Use of the /etc directory should be avoided for software without
hardcoded configuration paths.
2019-11-16 16:36:17 +01:00
Frederik Rietdijk be7125dde7 Merge master into staging-next 2019-11-16 11:45:07 +01:00
Robin Gloster ab99684408
Merge pull request #73169 from Ma27/bump-roundcube
roundcube: 1.3.10 -> 1.4.0
2019-11-15 18:09:43 +01:00
worldofpeace 4583e293fd
Merge pull request #73251 from worldofpeace/remove-slim
nixos/slim: remove
2019-11-15 15:56:48 +00:00
Sascha Grunert 7f358a5f3b
nixos/kubernetes: Module and test compatibility with kubernetes 1.16
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-11-15 05:58:35 +01:00
Jan Tojnar da76deffd1
Merge branch 'master' into staging-next 2019-11-14 23:25:36 +01:00
Gemini Lasswell 45c1be7cae nixosTests.yggdrasil: port to python 2019-11-14 09:50:38 -08:00
Leonhard Markert ceccff3439 lorri: init at version unstable-2019-10-30
Includes user service (nixos/modules/services/development/lorri) that
starts on demand.
2019-11-14 16:06:27 +01:00
Frederik Rietdijk c6e31d0767 Merge master into staging-next 2019-11-14 13:31:39 +01:00
Franz Pletz e84840117b
Merge pull request #71510 from asymmetric/wg-ns
Add namespace support to Wireguard module
2019-11-14 01:24:59 +00:00
Florian Klink 01e280aa44
Merge pull request #73064 from minijackson/jellyfin-things
jellyfin: update to 10.4.1, port test to python
2019-11-13 22:15:37 +01:00
Franz Pletz 4d9899ef13
nixos/tests: fix mpd test 2019-11-13 16:44:44 +01:00
Franz Pletz 7d1731186e
nixos/tests: fix prometheus-exporter formatting 2019-11-13 16:39:46 +01:00
markuskowa 6928cb22e9
Merge pull request #73179 from markuskowa/fix-slurm
nixos/slurm: fix test and X11 options
2019-11-12 21:49:29 +01:00
worldofpeace cf74d290ae nixosTests.sddm: make regex case insensitive
I read the q/select your user/i as q/select your user/
not noticing it needed to be case insensitive.
2019-11-12 12:46:30 -05:00
worldofpeace ce26b3eaf0 nixos/slim: remove
The SLIM project is abandoned and their last release was in 2013.
Because of this it poses a security risk to systems, no one is working
on it or picked up maintenance. It also lacks compatibility with systemd
and logind sessions. For users, there liikely isn't anything like slim
that's as lightweight in terms of dependencies.
2019-11-11 17:10:41 -05:00
Jan Tojnar 1569632bf8
Merge branch 'staging-next' into staging 2019-11-11 22:28:32 +01:00
worldofpeace deb125271c
Merge pull request #73137 from worldofpeace/port-xmonad-test
nixosTests.xmonad: port to python
2019-11-11 20:23:41 +00:00
Florian Klink 60390c81dc
Merge pull request #72603 from flokli/ceph-tmpfiles
nixos/ceph: run unprivileged, use state directories, handle non-initialized clusters without config switch
2019-11-11 13:42:54 +01:00
Frederik Rietdijk 73b88e17dd Merge staging-next into staging 2019-11-11 12:09:26 +01:00
Florian Klink 848399f448
Merge pull request #72390 from flokli/bump-opensmtpd
opensmtpd: 6.4.2p1 -> 6.6.1p1
2019-11-11 01:56:24 +01:00
Julian Stecklina e750461511 spike: init at 1.0.0
Spike is the RISC-V ISA simulator from the RISC-V project.
2019-11-11 00:46:05 +01:00
worldofpeace ea288463db
Merge pull request #73136 from worldofpeace/port-sddm-test
nixosTests.sddm: port to python
2019-11-10 23:06:21 +00:00
worldofpeace 8cf9315425
Merge pull request #73135 from worldofpeace/port-lightdm-test
nixosTests.lightdm: port to python
2019-11-10 23:05:51 +00:00
Markus Kowalewski 9b28dbd36a
nixos/slurm: convert test from perl to python 2019-11-10 23:07:08 +01:00
Markus Kowalewski 472e165b56
nixos/slurm: add option for external slurmdbd.conf
Slurmdbd requires a password database which is stored in slurmdbd.conf.
A seperate config file avoids that the password ends up in the nix store.

Slurmdbd does 19.5 does not support MySQL socket conections.
Adapated the slurm test to provide username and password.
2019-11-10 21:28:09 +01:00
Maximilian Bosch d75c296dc2
roundcube: 1.3.10 -> 1.4.0
https://roundcube.net/news/2019/11/09/roundcube-1.4.0-released

* `curl` cmd in the test can fail as roundcube returns a http/401 if
  unauthorized (and we're explicitly requesting the login form). By
  checking if the `persistent_login` plugin is loaded, the assertion is
  still valid)

* Use `$argv[0]` to determine install path in the installer script. I'm
  not exactly sure why, but it seems as `__DIR__` now resolves symlinks
  which breaks the installer if roundcube is in a `buildEnv` with
  third-party plugins.
2019-11-10 18:41:26 +01:00
Aaron Andersen d2d009f4a6
Merge pull request #73080 from flokli/nixos-samba-python-tmpfiles
nixos/samba: use tmpfiles, port test to python
2019-11-09 21:05:50 -05:00
Daniel Kuehn 1972904fc6 nixos/ceph: Clarify comments in tests and add source reference for the bootstraping method 2019-11-09 23:35:30 +01:00
worldofpeace 488e6b7a23
Merge pull request #73059 from flokli/nixos-test-port-tinydns
nixos/tinydns: port test to python
2019-11-09 21:53:07 +00:00
worldofpeace 4f2daa7b29 nixosTests.xmonad: port to python 2019-11-09 15:24:41 -05:00
worldofpeace b2fc25fe3c nixosTests.sddm: port to python 2019-11-09 15:20:20 -05:00
worldofpeace 1132f037a1 nixosTests.lightdm: port to python 2019-11-09 15:14:56 -05:00
Peter Hoeg 954e234b98 nixos/haproxy: support hot-reload without dropping packets 2019-11-09 10:11:57 -08:00
Florian Klink ffd0060869 nixos/ceph: use ConditionPathExists to delay ceph daemon start
This prevents services to be started before they're initialized, and
renders the `systemd.targets.ceph.wantedBy = lib.mkForce [];` hack in
the vm tests obsolete - The config now starts up ceph after a reboot,
too.

Let's take advantage of that, crash all VMs, and boot them up again.
2019-11-09 16:13:13 +01:00
Florian Klink 67e0777f62 nixos/ceph: run unprivileged, use StateDirectory and tmpfiles, don't pass extraServiceConfig
Don't pass user and group to ceph, and rely on it to drop ceps, but let
systemd handle running it as the appropriate user.

This also inlines the extraServiceConfig into the makeService function,
as we have conditionals depending on daemonType there anyways.

Use StateDirectory to create directories in
/var/lib/ceph/${daemonType}/${clusterName}-${daemonId}.

There previously was a condition on daemonType being one of mds,mon,rgw
or mgr. We only instantiate makeServices with these types, and "osd" was
special.
In the osd case, test examples suggest it'd be in something like
/var/lib/ceph/osd/ceph-${cfg.osd0.name} - so it's not special at all,
but exactly like the pattern for the others.

During initialization, we also need these folders, before the unit is
started up. Move the mkdir -p commands in the vm tests to the line
immediately before they're required.
2019-11-09 16:02:53 +01:00
Florian Klink 64c9c08302 nixos/ceph: create /etc/ceph and /var/lib/ceph via tmpfiles
We seem to be relying on those being present during runtime anyways.
2019-11-09 15:27:45 +01:00
Lorenzo Manacorda 412f6a967d wireguard: add creation and destination namespaces
The two new options make it possible to create the interface in one namespace
and move it to a different one, as explained at https://www.wireguard.com/netns/.
2019-11-09 11:59:14 +01:00
Florian Klink ece9c41343 nixos/samba: port test to python 2019-11-08 23:30:09 +01:00
Florian Klink 3928e7f6b1
Merge pull request #73063 from minijackson/shiori-things
shiori: update modSha256, update test to python, do more tests
2019-11-08 23:06:06 +01:00
worldofpeace 1d3da3befc
Merge pull request #73060 from flokli/nixos-test-port-powerdns
nixos/powerdns: port test to python
2019-11-08 20:48:34 +00:00
worldofpeace 9cc610c576
Merge pull request #73057 from flokli/nixos-test-port-smokeping
nixos/smokeping: port test to python
2019-11-08 20:47:40 +00:00
Minijackson 26acc9e63d
nixos/tests: add shiori to all-tests.nix 2019-11-08 18:17:08 +01:00
Minijackson 4029748015
nixos/jellyfin: port test to python (#72828) 2019-11-08 18:03:40 +01:00
Minijackson 725168064d
nixos/shiori: port test to python, do more tests 2019-11-08 17:54:49 +01:00
Florian Klink caac0964bb nixos/tinydns: port test to python 2019-11-08 17:26:34 +01:00
Florian Klink b0e081549e nixos/powerdns: port test to python 2019-11-08 17:19:23 +01:00
Florian Klink 85bf23bb12 nixos/smokeping: port test to python
cc #72828
2019-11-08 17:13:48 +01:00
Florian Klink 24b540d3ce nixos/pppd: port test to python 2019-11-08 17:11:11 +01:00
Florian Klink 1c5bfddbc9 nixos/opensmtpd: convert test to python 2019-11-08 15:19:43 +01:00
Florian Klink dd439bc01f
Merge pull request #72935 from marijanp/port-tests-python
Port tests to Python
2019-11-08 14:50:04 +01:00
Florian Klink cbb8b6d40a
Merge pull request #72897 from JohnAZoidberg/python-port-cassandra-test
nixos/cassandra: Port test to python
2019-11-08 14:41:22 +01:00
Daniel Schaefer 25c2506095 nixos/cassandra: Port test to python 2019-11-07 22:40:15 +01:00
Marek Mahut 1a65fc1041
Merge pull request #72887 from 1000101/master
Port tests to Python
2019-11-07 19:57:50 +01:00
WilliButz d7b18bcb37
Merge pull request #72904 from WilliButz/nixosTests/port-to-python
nixos/tests: port some tests to python (loki, grafana, pgjwt, initrd-ssh, exporters)
2019-11-07 16:14:17 +01:00
worldofpeace 65b2a768bb
Merge pull request #72979 from worldofpeace/more-gnome-installed-test-cleanup
More gnome installed test cleanup
2019-11-07 14:34:28 +00:00
worldofpeace 4dc696be90
Merge pull request #72525 from r-ryantm/auto-update/gcab
gcab: 1.2 -> 1.3
2019-11-07 13:52:48 +00:00
worldofpeace 9693d3922b all-tests.nix: remove gjs.nix 2019-11-07 08:09:26 -05:00
worldofpeace 9b99912d82 nixosTests.libgdata: port to python, move to installed-tests 2019-11-07 08:07:51 -05:00
Jan Tojnar e253d015a1
gcab: run & install tests
also add nixosTests.installed-tests.gcab for running the installed tests
2019-11-07 14:07:19 +01:00
Marijan Petricevic 2c3785a6ae nixos/docker-edge: port test to python 2019-11-07 14:06:40 +01:00
worldofpeace 75a8cd9930 all-tests.nix: remove libxmlb 2019-11-07 08:03:58 -05:00
worldofpeace 85251b3c24 nixosTests.libxmlb: port to python 2019-11-07 08:02:33 -05:00
WilliButz 426b467af8
nixos/tests/prometheus-exporters: port to python 2019-11-07 11:30:55 +01:00
WilliButz 34755fb5e4
nixos/tests/grafana: port to python 2019-11-07 11:30:54 +01:00
WilliButz 9a7101c999
nixos/tests/initrd-ssh: port to python 2019-11-07 11:30:02 +01:00
WilliButz 336bffae6d
nixos/tests/pgjwt: port to python 2019-11-07 11:30:02 +01:00
WilliButz ff4e86f4a5
nixos/tests/loki: port to python 2019-11-07 11:30:01 +01:00
Marijan f04daa6f38 nixos/dnscrypt-proxy: port test to python 2019-11-07 10:55:15 +01:00
Marijan dd188ae2dc nixos/couchdb: port test to python 2019-11-07 10:55:15 +01:00
Marijan bf816e44c4 nixos/documize: port test to python 2019-11-07 10:55:15 +01:00
Marijan e2c20c6230 nixos/docker: port test to python 2019-11-07 10:55:15 +01:00
Marijan 3695e600cc nixos/cjdns: port test to python 2019-11-07 10:55:15 +01:00
Marijan 30d1dfef4b nixos/cloud-init: port test to python 2019-11-07 10:55:15 +01:00
Marijan e05f546f3a nixos/cfssl: port test to python 2019-11-07 10:51:04 +01:00
Marijan 63cb143801 nixos/certmgr: port test to python 2019-11-07 10:51:04 +01:00
Marijan 349c14f950 nixos/cadvisor: port test to python 2019-11-07 10:51:04 +01:00
Marijan 2f7199af21 nixos/caddy: port test to python 2019-11-07 10:51:04 +01:00
worldofpeace 3780b9e69c
Merge pull request #72835 from tfc/nixos-integration-test-ports
Nixos integration test ports
2019-11-07 01:05:36 +00:00
worldofpeace a46c78142e
Merge pull request #72860 from worldofpeace/port-gnome3y-tests
Port gnome3 like tests to python and udisks2
2019-11-07 00:43:58 +00:00
worldofpeace d7c8ad7d69 nixosTests.flatpak: fix eval
optionalPackages are deprecated.
2019-11-06 19:18:28 -05:00
worldofpeace eee5986ac3 nixos/tests: add gnome-installed-tests with builder function
The test script is also ported to python.
2019-11-06 19:18:28 -05:00
worldofpeace ceec19f682 nixosTests.udisks2: port to python 2019-11-06 19:18:28 -05:00
worldofpeace 7d331eae2e nixosTests.packagekit: port to python 2019-11-06 19:18:28 -05:00
Aaron Andersen c22e76e450
Merge pull request #71605 from aanderse/redmine-cleanup
redmine: drop 3.4.x package, 4.0.4 -> 4.0.5
2019-11-06 18:02:48 -05:00
Jan Tojnar 3f2a425da3
Merge branch 'staging-next' into staging 2019-11-06 18:10:57 +01:00
Jan Hrnko 8920cbc8aa nixos/signal-desktop: port test to python 2019-11-06 16:38:26 +01:00
Jan Hrnko 4ffdd43d2d nixos/rss2email: port test to python 2019-11-06 16:18:24 +01:00
Jan Hrnko 71824d769c nixos/roundcube: port test to python 2019-11-06 16:07:18 +01:00
Jan Hrnko 6868807c2f nixos/redis: port test to python 2019-11-06 15:57:56 +01:00
Jan Hrnko 9ca60eda5a nixos/radarr: port test to python 2019-11-06 15:56:04 +01:00
Marijan af117c388b nixos/borgbackup: port test to python 2019-11-06 12:46:24 +01:00
Marijan 54cc018b1e nixos/boot-stage1: port test to python 2019-11-06 12:46:24 +01:00
Marijan 44e6c84ea1 nixos/bind: port test to python 2019-11-06 12:46:24 +01:00
Marijan db54622145 nixos/beanstalkd: port test to python 2019-11-06 12:46:24 +01:00
Marijan f794de4e31 nixos/bcachefs: port test to python 2019-11-06 12:46:24 +01:00
Marijan 0f96f9f038 nixos/avahi: port test to python 2019-11-06 12:46:24 +01:00
Marijan e86b9b9f08 nixos/atd: port test to python 2019-11-06 12:46:24 +01:00
Jan Hrnko 3803abae68 nixos/snapper: port test to python 2019-11-06 12:44:51 +01:00
Jan Hrnko 1b6ca29f6d nixos/strongswan-swanctl: port test to python 2019-11-06 12:43:08 +01:00
Jan Hrnko c0c04737ed nixos/telegraf: port test to python 2019-11-06 12:40:43 +01:00
Jan Hrnko 8060e76037 nixos/xautolock: port test to python 2019-11-06 12:30:29 +01:00
Jan Hrnko 6ea7ba4d69 nixos/moodle: port test to python 2019-11-06 12:27:14 +01:00
Jan Hrnko 650ccb604b nixos/morty: port test to python 2019-11-06 07:58:22 +01:00
Jan Hrnko 38b2e18faa nixos/upnp: port test to python 2019-11-06 07:54:45 +01:00
Jan Hrnko 13febec464 nixos/zookeeper: port test to python 2019-11-06 07:54:37 +01:00
Jan Hrnko 49914d7d8b nixos/yabar: port test to python 2019-11-06 07:54:16 +01:00
Jan Hrnko 274fb7e0b9 nixos/trickster: port test to python 2019-11-06 07:17:39 +01:00
worldofpeace 5efe49ce67 nixosTests.fontconfig-default-fonts: port to python 2019-11-05 19:51:48 -05:00