Marek Mahut
0ff1bdb7c0
Merge pull request #90884 from mmahut/wasabi
...
nixos/wasabibackend: init 1.1.11.1
2020-06-20 15:30:32 +02:00
Symphorien Gibol
4593482d4e
nixos: add test for sslh
2020-06-20 13:24:19 +02:00
Antoine Eiche
7d994ad445
nixos/nextcloud: add occ internal option
...
This option exposes the prefconfigured nextcloud-occ
program. nextcloud-occ can then be used in other systemd services or
added in environment.systemPackages.
The nextcloud test shows how it can be add in
environment.systemPackages.
2020-06-20 09:59:27 +02:00
Marek Mahut
75e1819394
tests/wasabibackend: init
2020-06-19 16:44:21 +02:00
Robert Hensing
06469493de
Merge pull request #91085 from hercules-ci/fix-dockerTools-nix-symlinks
...
Fix docker tools nix symlinks
2020-06-19 12:01:47 +02:00
Robert Hensing
caf47063b4
dockerTools: test that tar keeps nix binary symlinks intact
2020-06-19 10:08:34 +02:00
John Ericson
1a26ee315f
Merge pull request #90693 from obsidiansystems/ipfs-socket-unit-precision
...
IPFS NixOS module: Socket unit file more precise
2020-06-18 10:36:49 -04:00
WilliButz
57a3249994
Merge pull request #90662 from srhb/redis-exporter
...
prometheus-redis-exporter: init at 1.7.0
2020-06-18 11:25:23 +02:00
Sarah Brofeldt
344e64a4d9
nixos/prometheus-redis-exporter: init
2020-06-18 11:13:25 +02:00
Niklas Hambüchen
b3b27ed008
consul.passthru.tests: Add 2 more tests
2020-06-18 03:06:24 +02:00
Niklas Hambüchen
bcdac2e2fd
consul.passthru.tests: Refactor: Extract function
2020-06-18 03:05:54 +02:00
Niklas Hambüchen
811bcbe74a
consul.passthru.tests: Use correct server health test.
...
From: https://github.com/hashicorp/consul/issues/8118#issuecomment-645330040
2020-06-18 02:49:27 +02:00
Niklas Hambüchen
701c0eb489
consul.passthru.tests: Refactor into functions.
...
For better naming and commentary.
2020-06-18 02:49:27 +02:00
Niklas Hambüchen
a59a972413
consul.passthru.tests: Fix failure on current consul. Fixes #90613 .
...
Done by setting `autopilot.min_quorum = 3`.
Techncially, this would have been required to keep the test correct since
Consul's "autopilot" "Dead Server Cleanup" was enabled by default (I believe
that was in Consul 0.8). Practically, the issue only occurred with our NixOS
test with releases >= `1.7.0-beta2` (see #90613 ). The setting itself is
available since Consul 1.6.2.
However, this setting was not documented clearly enough for anybody to notice,
and only the upstream issue https://github.com/hashicorp/consul/issues/8118
I filed brought that to light.
As explained there, the test could also have been made pass by applying the
more correct rolling reboot procedure
-m.wait_until_succeeds("[ $(consul members | grep -o alive | wc -l) == 5 ]")
+m.wait_until_succeeds(
+ "[ $(consul operator raft list-peers | grep true | wc -l) == 3 ]"
+)
but we also intend to test that Consul can regain consensus even if
the quorum gets temporarily broken.
2020-06-18 02:22:31 +02:00
Niklas Hambüchen
25d665634a
consul.passthru.tests: Refactor: Extract variable
2020-06-18 02:22:29 +02:00
Niklas Hambüchen
777d1c0944
consul.passthru.tests: Refactor let bindings
2020-06-18 02:22:26 +02:00
Niklas Hambüchen
f795df26cf
consul.passthru.tests: Refactor: Extract variable
2020-06-18 02:22:23 +02:00
John Ericson
4044d81d5c
IPFS NixOS module: Socket unit file more precise
...
The systemd socket unit files now more precisely track the IPFS
configuration, by including any multaddr they can make a `ListenStream`
for. (The daemon doesn't currently support anything which would use
`ListDatagram`, so we don't need to worry about that.)
The tests use some of these features.
2020-06-17 21:43:04 +00:00
Maximilian Bosch
650617253e
maintainers/teams: add matrix team
2020-06-17 21:55:29 +02:00
Aaron Andersen
b6108e021b
Merge pull request #89327 from mweinelt/go-neb-module
...
nixos/go-neb: init
2020-06-16 06:30:29 -04:00
Florian Klink
ac7a5f3685
Merge pull request #90386 from danielfullmer/systemd-bootctl-update
...
nixos/systemd-boot: update bootloader if needed
2020-06-16 11:33:48 +02:00
Daniel Fullmer
5cd28326db
nixos/systemd-boot: add test for updating
2020-06-15 20:22:45 -04:00
Arian van Putten
0952336d1d
nixos/acme: Move regression test into acme.nix
2020-06-15 11:05:00 +02:00
Arian van Putten
681cc105ce
nixos/acme: Make sure nginx is running before certs are requested
...
This fixes https://github.com/NixOS/nixpkgs/issues/81842
We should probably also fix this for Apache, which recently also learned
to use ACME.
2020-06-15 11:04:59 +02:00
Arian van Putten
60247e8560
nixos/acme: Add regression test for #81842
2020-06-15 11:02:31 +02:00
Arian van Putten
61f834833b
nixos/acme: turn around test probes' dependencies
...
Reads a bit more naturally, and now the changes to the
acme-${cert}.service actually reflect what would be needed were you to
do the same in production.
e.g. "for dns-01, your service that needs the cert needs to pull in the
cert"
2020-06-15 11:02:30 +02:00
Silvan Mosberger
00e448172f
Merge pull request #89781 from mdlayher/mdl-corerad-settings
2020-06-14 16:48:54 +02:00
Matt Layher
f1a4b100fd
nixos/corerad: add settings option to supersede configFile
...
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-14 10:07:16 -04:00
rnhmjoj
14aa8d9b75
nixos/tests/ncdns: add test
2020-06-14 01:09:33 +02:00
John Ericson
1c4480e931
Merge pull request #90157 from obsidiansystems/socket-based-ipfs
...
Add socket-based IPFS support
2020-06-12 18:31:01 -04:00
Matthew Bauer
982a17a48e
nixos/ipfs: always expose sockets
2020-06-12 17:15:34 -05:00
Jörg Thalheim
8df5edc153
Merge pull request #87178 from hax404/teeworlds-module-test
...
nixos/{modules,tests}/teeworlds: init
2020-06-12 19:52:06 +01:00
Martin Milata
876bf3abc9
nixos/prometheus-lnd-exporter: init
2020-06-11 18:23:54 +02:00
Matthew Bauer
656783a3d1
Merge pull request #89540 from Patryk27/fixes/lxd-lxcfs
...
Fix `lxd`, so that it works with `lxcfs`
2020-06-11 10:49:40 -05:00
WilliButz
3190ba12f7
Merge pull request #90077 from mdlayher/mdl-nixos-apcupsd
...
nixos/prometheus-apcupsd-exporter: new module
2020-06-11 15:23:33 +02:00
WilliButz
016a538f71
Merge pull request #89810 from mdlayher/mdl-keylight-exporter
...
prometheus-keylight-exporter: init at 0.1.1
2020-06-11 15:14:17 +02:00
Matt Layher
e45146d94b
nixos/prometheus-apcupsd-exporter: new module
...
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-10 17:33:41 -04:00
Matt Layher
e77426822f
nixos/prometheus-keylight-exporter: new module
...
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-10 13:12:43 -04:00
Eelco Dolstra
51e8a82f1e
Merge pull request #89297 from Ma27/bump-hydra
...
hydra-unstable: 2020-04-16 -> 2020-06-01
2020-06-09 11:19:47 +02:00
Patryk Wychowaniec
8ae7ac9e8c
lxd: Add tests
2020-06-08 21:35:47 +02:00
Florian Klink
3590f02e7d
Merge pull request #88574 from JJJollyjim/qemu-vm-qboot-opt
...
nixos/qemu-vm: add option to use qboot
2020-06-08 10:46:11 +02:00
Jamie McClymont
55912f3535
nixos/qemu-vm: add option to use a non-standard BIOS
...
I'd like to change the default on x86 platforms to qboot at some point, since it
saves a fair bit of startup time.
2020-06-08 11:21:53 +12:00
Georg Haas
6d1ca7db4a
nixos/{modules,tests}/teeworlds: init
...
add module and test
2020-06-06 17:06:23 +02:00
Florian Klink
47d4cd2c31
Merge pull request #87878 from Izorkin/mariadb-update
...
mariadb: 10.4.12 -> 10.4.13
2020-06-05 15:15:36 +02:00
David Izquierdo
eafecc8d51
tests: transmission is now tested with apparmor
2020-06-05 11:57:36 +02:00
Martin Weinelt
d72a7360c2
nixos/tests/go-neb: init
...
Simple test to start the unit with a dummy client and a dummy service
and check if it can receive webhooks.
2020-06-04 01:44:33 +02:00
Symphorien Gibol
11d6318a01
Revert "Revert "ibus: fix dconf db installation""
...
This reverts commit ee5cba24c3
.
2020-06-02 22:34:59 +02:00
Maximilian Bosch
c18016cfbf
hydra-unstable: 2020-04-16 -> 2020-06-01
2020-06-02 15:39:42 +02:00
Jamie McClymont
44007dec5c
nixos/nginx: ensure all variants have a basic level of testing
2020-06-02 21:55:48 +12:00
Florian Klink
09a7612cbe
Merge pull request #88434 from pstch/patch-2
...
nixos/haproxy: add reloading support, use upstream service hardening
2020-05-31 23:11:44 +02:00
Hugo Geoffroy
c784d3ab76
nixos/haproxy: add reloading support, use upstream service hardening
...
Refactor the systemd service definition for the haproxy reverse proxy,
using the upstream systemd service definition. This allows the service
to be reloaded on changes, preserving existing server state, and adds
some hardening options.
2020-05-31 22:35:27 +02:00
Elis Hirwing
a4bf2cc166
unit: Expose PHP expressions used so it can easily be accessed for configs
2020-05-30 18:52:41 +02:00
Jörg Thalheim
8f01823046
Merge pull request #86055 from Ma27/wireguard-kernel-versions
2020-05-28 23:07:29 +01:00
Michele Guerini Rocco
a4f9e8bf68
Merge pull request #85900 from rnhmjoj/dnscrypt
...
nixos/dnscrypt-wrapper: use dnscrypt-proxy1
2020-05-27 19:52:53 +02:00
Marek Mahut
8f1c621b4e
Merge pull request #88881 from mmahut/ergo
...
ergo: init at 3.2.5
2020-05-27 11:34:24 +02:00
José Romildo Malaquias
d4fc8a16a2
Merge pull request #88603 from romildo/upd.enlightenment
...
enlightenment.enlightenment: 0.23.1 -> 0.24.0, cleanup and fixes
2020-05-26 20:43:00 -03:00
Marek Mahut
cd5f626544
tests/ergo: init
2020-05-26 21:47:31 +02:00
José Romildo Malaquias
7add03458e
nixos/tests/enlightenment: fix some steps in the first time wizard
2020-05-25 09:50:24 -03:00
Julian Stecklina
837ec31493
nixos/tests/hostname: init (check system's host name)
...
NixOS currently has issues with setting the FQDN of a system in a way
where standard tools work. In order to help with experimentation and
avoid regressions, add a test that checks that the hostname is
reported as the user wanted it to be.
Co-authored-by: Michael Weiss <dev.primeos@gmail.com>
2020-05-25 18:13:14 +02:00
rnhmjoj
cb8975f5b0
nixos/tests/dnscrypt-wrapper: init
2020-05-25 09:16:23 +02:00
Kim Lindberger
825e20ff46
Merge pull request #82753 from Kloenk/feature/engelsystem
...
engelsystem: init at 3.1.0
2020-05-24 16:31:23 +02:00
talyz
1e343d1638
nixos/engelsystem: Add test
2020-05-24 15:45:22 +02:00
Florian Klink
75e18ab323
nixosTests.nextcloud: Add davfs2 example to the VM test
...
Some people use davfs2 to mount a NextCloud instance, so make sure this
works as well.
2020-05-24 01:07:56 +02:00
Izorkin
0342862b91
nixos/tests/mysql80: add check with unix auth
2020-05-23 16:44:02 +03:00
Izorkin
5653677f0a
nixos/tests/mysql57: add check with unix auth
2020-05-23 16:32:54 +03:00
David Terry
8724c96e71
nixos/bazarr: init
2020-05-22 11:23:31 +02:00
Lassulus
d84d8e802e
Merge pull request #79175 from helsinki-systems/init/sogo
...
sogo: init at 4.3.2
2020-05-22 11:04:39 +02:00
Jörg Thalheim
fa186cd82c
Merge pull request #88461 from mweinelt/home-assistant
2020-05-21 17:29:12 +01:00
Emery Hemingway
ac97b19a2a
nixos/yggdrasil: change config priority, persistentKeys
...
Favor the configuration in "configFile" over "config" to allow
"configFile" to override "config" without a system rebuild.
Add a "persistentKeys" option to generate keys and addresses that
persist across service restarts. This is useful for self-configuring
boot media.
2020-05-21 12:11:13 +05:30
Martin Weinelt
feeec71609
home-assistant: 0.109.6 → 0.110.0
2020-05-21 00:01:24 +02:00
zowoq
277b1da2ea
nixos/podman: add crun to test
2020-05-19 10:38:49 +10:00
Florian Klink
fd49155848
nixosTests.systemd-binfmt: init
...
This adds a simple test running GNU Hello cross-compiled for armv7l and
aarch64 inside a x86_64 VM with configured binfmt.
We already build the cross toolchains in other invocations, and building
hello itself is small.
2020-05-18 11:28:03 +02:00
Daniel Fullmer
4f35b7ec5f
nixos/zoneminder: add minimal test
2020-05-17 14:14:30 -04:00
lewo
98a723e6b3
Merge pull request #87253 from utdemir/dockertools-preserve-env
...
Preserve environment variables from the parent image on dockerTools.buildImage
2020-05-15 09:59:00 +02:00
Dmitry Kalinkin
9943fd1a1d
Merge pull request #76653 from alexarice/agda-rework
...
Agda rework
2020-05-14 18:02:50 -04:00
Manuel Bärenz
b78a5a0e79
agda: Added test
2020-05-14 20:54:12 +01:00
Florian Klink
3c911d48cc
Merge pull request #87820 from nhey/port-kubernetes-test
...
nixosTests.kubernetes: port tests to python
2020-05-14 20:02:31 +02:00
Izorkin
f52700fc14
nixos/tests/mysql-replication: fix test script
...
MariaDB 10.4 introduces a number of changes to the authentication
process, intended to make things easier and more intuitive.
2020-05-14 17:29:40 +03:00
Izorkin
90f30032f3
nixos/tests/mariadb-galera-rsync: fix test script
...
MariaDB 10.4 introduces a number of changes to the authentication
process, intended to make things easier and more intuitive.
2020-05-14 17:29:40 +03:00
Izorkin
963259d4ed
nixos/tests/mariadb-galera-mariabackup: fix test script
...
MariaDB 10.4 introduces a number of changes to the authentication
process, intended to make things easier and more intuitive.
2020-05-14 17:29:40 +03:00
Izorkin
a40a811b17
mariadb-galera: 25.3.27 -> 26.4.3
2020-05-14 17:29:40 +03:00
Nikolaj Hey Hinnerskov
496bd1c706
nixosTests.kubernetes: port tests to python
2020-05-14 15:14:02 +02:00
Jörg Thalheim
6c437ef1bb
Merge pull request #85567 from Izorkin/nginx-sandbox
2020-05-13 10:34:02 +01:00
Linus Heckemann
db010c5537
Merge pull request #85687 from mayflower/privacyidea
...
Init privacyIDEA packages and modules
2020-05-13 09:08:57 +02:00
Izorkin
94391fce1d
nixos/nginx: add option enableSandbox
2020-05-12 20:03:29 +03:00
Izorkin
c7106610f1
nixos/tests: add nginx-sandbox test
2020-05-12 20:03:29 +03:00
Izorkin
af6d0095f7
nixos/tests: fix nginx-pubhtml test
2020-05-12 20:03:29 +03:00
ajs124
e001f5760e
nixosTests.sogo: init test
2020-05-12 18:49:43 +02:00
Jacek Galowicz
11f49fb94d
Merge pull request #79966 from chkno/bcache
...
nixos/bcache: Installer test for / on bcache
2020-05-12 18:21:44 +02:00
Jacek Galowicz
efe0051a9d
Merge pull request #87632 from chkno/installer-test-machine-name-fix
...
nixos/tests/installer: Fix machine name
2020-05-12 09:32:44 +02:00
Chuck
f9091581e8
nixos/tests/installer: Fix machine name
2020-05-11 15:41:18 -07:00
Jörg Thalheim
11c18faa4e
Merge pull request #85862 from Izorkin/nginx-paths
2020-05-11 11:17:04 +01:00
Andreas Rammhold
a432f832bf
nixos/tests/gitdaemon: fix spurious test failures due to flaky network
...
This test is sometimes flaky on hydra as at the time of the `git clone`
the network isn't really configured yet[1]. That problem doesn't seem to
occur locally but if you run it on a machine with high enough load (such
as hydra build machines). Hopefully this will make the test not flaky
anymore.
[1] https://hydra.nixos.org/build/118710378/nixlog/21/raw
2020-05-10 15:58:54 +02:00
adisbladis
68ee2396f6
Merge pull request #86488 from cole-h/doas
...
nixos/doas: init
2020-05-10 10:33:29 +02:00
Robin Gloster
f1f0e82c50
privacyidea: address reviews
2020-05-09 12:11:44 +02:00
Mario Rodas
72654dc57e
Merge pull request #87210 from Frostman/prom-2.18.0
...
prometheus: 2.17.2 -> 2.18.1
2020-05-08 14:03:15 -05:00
0x4A6F
79df7e6d94
nixosTests.xandikos: fix route-prefix
2020-05-08 19:00:00 +02:00
Sergey Lukjanov
742e5bff36
prometheus: 2.17.2 -> 2.18.1
2020-05-08 07:40:38 -07:00
Pavol Rusnak
6abf4a43ad
treewide: per RFC45, remove more unquoted URLs
2020-05-08 15:20:47 +02:00
Jörg Thalheim
ddef88772e
Merge pull request #86242 from lordcirth/ipfs05
2020-05-08 10:51:21 +01:00
Utku Demir
f5a90a7aab
dockerTools.buildImage: Preserve environment variables from the parent image
2020-05-08 21:49:16 +12:00
Jörg Thalheim
8b5707b547
nixos/ipfs: convert tests to python driver & simplify
2020-05-08 10:48:47 +01:00
Jörg Thalheim
c880c7b592
Merge pull request #84136 from Izorkin/mariadb-galera-test
...
nixos/tests: add check mariadb galera cluster
2020-05-07 15:51:17 +01:00
José Romildo Malaquias
9e1975bebd
Merge pull request #86519 from romildo/upd.efl
...
enlightenment.efl: 1.23.3 -> 1.24.0; new test module
2020-05-07 10:52:52 -03:00
Florian Klink
c698c7ed0d
Merge pull request #87084 from flokli/nixos-tests-partition.nix
...
nixos/tests/partition.nix: remove
2020-05-06 21:34:39 +02:00
Florian Klink
50aba11b97
Merge pull request #87004 from flokli/nixos-tests-remove-ldap
...
nixosTests.ldap: remove
2020-05-06 19:48:58 +02:00
Izorkin
300c3f9990
nixos/tests: add check mariadb galera cluster with rsync-based SST
2020-05-06 16:42:31 +03:00
Izorkin
db71f2e306
nixos/tests: add check mariadb galera cluster with mariabackup-based SST
2020-05-06 16:42:31 +03:00
Izorkin
8af9c97c0d
nixos/tests: move mysql tests to subfolder
2020-05-06 16:42:29 +03:00
Florian Klink
450f8a44f9
nixosTests.ldap: remove
...
This seems to have worked in 15f105d41f
(5
months ago) but broke somewhere in the meantime.
The current module doesn't seem to be underdocumented and might need a
serious refactor. It requires quite some hacks to get it to work (see
https://github.com/NixOS/nixpkgs/issues/86305#issuecomment-621129942 ),
or how the ldap.nix test used systemd.services.openldap.preStart and
made quite some assumptions on internals.
Mic92 agreed on being added as a maintainer for the module, as he uses
it a lot and can possibly fix eventual breakages. For the most basic
startup breakages, the remaining openldap.nix test might suffice.
2020-05-06 14:56:21 +02:00
Florian Klink
8b8e91647c
nixos/tests/partition.nix: remove
...
This is still written in perl, wasn't part of all-tests.nix, and fails
even to build its dependencies (blivet, nixpart).
2020-05-06 13:14:23 +02:00
Izorkin
ca2145bdfc
nixos/tests: add unit-php test
2020-05-06 13:21:59 +03:00
Daniel Fullmer
37676e77cb
nixos/systemd-boot: Add basic test
2020-05-05 14:18:18 -04:00
José Romildo Malaquias
24b1e92d3d
nixos/tests: add enlightenment desktop environment
2020-05-05 08:47:20 -03:00
Cole Helbling
446fb0097a
nixos/doas: init
...
`doas` is a lighter alternative to `sudo` that "provide[s] 95% of the
features of `sudo` with a fraction of the codebase" [1]. I prefer it to
`sudo`, so I figured I would add a NixOS module in order for it to be
easier to use. The module is based off of the existing `sudo` module.
[1] https://github.com/Duncaen/OpenDoas
2020-05-04 15:56:06 -07:00
Izorkin
7b368b3072
nixos/tests/service-runner: change paths to nginx logs and cache
2020-05-04 16:36:38 +03:00
adisbladis
2f7747526c
nixos/docker-containers: Rename to virtualisation.oci-containers.containers.
...
And allow the runtime to be configurable via the
`virtualisation.oci-containers.backend` option.
Valid choices are "podman" and "docker".
2020-05-04 13:47:25 +01:00
Florian Klink
dd38a549f8
Merge pull request #86649 from mmilata/prosody-muc-extraconfig
...
nixos/prosody: add MUC extraConfig + fixes
2020-05-04 11:47:45 +02:00
Pavol Rusnak
7b0167204d
treewide: use https for nixos.org and hydra.nixos.org
...
tarballs.nixos.org is omitted from the change because urls from there
are always hashed and checked
2020-05-03 22:14:21 -07:00
Martin Milata
96146a9476
nixosTests.prosodyMysql: fix
...
Since 8aea5288
xmpp-sendmessage.nix tests MUC and HTTP upload,
change the test to reflect this.
2020-05-04 00:14:42 +02:00
Mario Rodas
bb7b63ac0b
nixosTests.minio: update minio-client command
2020-05-02 04:20:00 -05:00
Florian Klink
e148a72377
Merge pull request #86067 from NinjaTrappeur/nin-sane-prosody-defaults
...
nixos/prosody: make module defaults comply with XEP-0423
2020-05-01 20:07:13 +02:00
Andreas Rammhold
47529bcf7f
nixos/tests: add systemd-networkd-ipv6-prefix-delegation
...
This is a follow-up to the PR #82026 that contains the promised tests.
In this test I am testing if we can properly propagate prefixes received
via DHCPv6 PD with the networkd options in our module system.
The comments in the test should be sufficient to follow the idea and
what is going on.
2020-05-01 16:55:53 +02:00
Aaron Andersen
5445b8d8d0
Merge pull request #83436 from mmilata/mediawiki-default-extensions
...
nixos/mediawiki: allow using default extensions
2020-04-30 21:03:15 -04:00
Félix Baylac-Jacqué
8aea528872
nixos/prosody: make defaults comply with XEP-0423
...
Setting up a XMPP chat server is a pretty deep rabbit whole to jump in
when you're not familiar with this whole universe. Your experience
with this environment will greatly depends on whether or not your
server implements the right set of XEPs.
To tackle this problem, the XMPP community came with the idea of
creating a meta-XEP in charge of listing the desirable XEPs to comply
with. This meta-XMP is issued every year under an new XEP number. The
2020 one being XEP-0423[1].
This prosody nixos module refactoring makes complying with XEP-0423
easier. All the necessary extensions are enabled by default. For some
extensions (MUC and HTTP_UPLOAD), we need some input from the user and
cannot provide a sensible default nixpkgs-wide. For those, we guide
the user using a couple of assertions explaining the remaining manual
steps to perform.
We took advantage of this substential refactoring to refresh the
associated nixos test.
Changelog:
- Update the prosody package to provide the necessary community
modules in order to comply with XEP-0423. This is a tradeoff, as
depending on their configuration, the user might end up not using them
and wasting some disk space. That being said, adding those will
allow the XEP-0423 users, which I expect to be the majority of
users, to leverage a bit more the binary cache.
- Add a muc submodule populated with the prosody muc defaults.
- Add a http_upload submodule in charge of setting up a basic http
server handling the user uploads. This submodule is in is
spinning up an HTTP(s) server in charge of receiving and serving the
user's attachments.
- Advertise both the MUCs and the http_upload endpoints using mod disco.
- Use the slixmpp library in place of the now defunct sleekxmpp for
the prosody NixOS test.
- Update the nixos test to setup and test the MUC and http upload
features.
- Add a couple of assertions triggered if the setup is not xep-0423
compliant.
[1] https://xmpp.org/extensions/xep-0423.html
2020-04-30 20:39:54 +02:00
Maximilian Bosch
41bd6d2614
nixos/wireguard: test against multiple kernel versions
...
When testing WireGuard updates, I usually run the VM-tests with
different kernels to make sure we're not introducing accidental
regressions for e.g. older kernels.
I figured that we should automate this process to ensure continuously
that WireGuard works fine on several kernels.
For now I decided to test the latest LTS version (5.4) and
the latest kernel (currently 5.6). We can add more kernels in the
future, however this seems to significantly slow down evaluation and
time.
The list can be customized by running a command like this:
nix-build nixos/tests/wireguard --arg kernelVersionsToTest '["4.19"]'
The `kernelPackages` argument in the tests is null by default to make
sure that it's still possible to invoke the test-files directly. In that
case the default kernel of NixOS (currently 5.4) is used.
2020-04-29 23:10:53 +02:00
Elis Hirwing
3e10bd8762
nixosTests.php: Add maintainer team as maintainers
2020-04-29 20:17:08 +02:00
Elis Hirwing
410c38f317
Revert "PHP maintainer team"
2020-04-29 19:56:37 +02:00
Elis Hirwing
3b21abb3d3
Merge pull request #85575 from etu/php-maintainer-team
...
PHP maintainer team
2020-04-29 19:56:03 +02:00
Bas van Dijk
e26ec76d0d
Merge pull request #86321 from basvandijk/fix-elk-test
...
nixos/tests/elk.nix: fix issue in the elasticsearch-curator
2020-04-29 17:06:57 +02:00
Bas van Dijk
dcb01353b3
nixos/tests/elk.nix: fix issue in the elasticsearch-curator
...
The elasticsearch-curator was not deleting indices because the indices
had ILM policies associated with them. This is now fixed by
configuring the elasticsearch-curator with `allow_ilm_indices: true`.
Also see: https://github.com/elastic/curator/issues/1490
2020-04-29 15:23:50 +02:00
Florian Klink
21da5c4f6f
nixos/oslogin: put mockuser and mockadmin in constants, rename
...
This allows us to change them easily without search/replacing.
Afterwards, we rename them to look a bit more like they are on GCP.
2020-04-29 14:36:35 +02:00
Florian Klink
f38e45c2e0
nixos/google-oslogin: improve mock server
...
some slightly better error handling for nonexistent users, less parsing
of URLs and query strings by hand.
2020-04-29 14:36:35 +02:00
worldofpeace
10bf212b4f
Merge pull request #85589 from emilazy/add-acme-maintainers-team
...
Add ACME maintainers team
2020-04-28 18:38:12 -04:00
Jacek Galowicz
002b553b14
Merge pull request #85781 from blitz/spike-test
...
Add spike integration test to nixosTests
2020-04-25 15:50:38 +02:00
worldofpeace
ee5cba24c3
Revert "ibus: fix dconf db installation"
2020-04-24 18:22:59 -04:00
worldofpeace
78a9359b2a
Merge pull request #85892 from symphorien/ibus-db
...
ibus: fix dconf db installation
2020-04-24 15:49:01 -04:00
Symphorien Gibol
5b7ffe6140
nixos/tests/ibus: fix test
2020-04-24 12:00:00 +00:00
adisbladis
67a61fbd34
nixos/podman: Add rootless containers to test
2020-04-24 10:50:17 +01:00
Benjamin Staffin
f09b8be73d
installer test: Fix grub extraConfig syntax
...
It looks like `terminal_output.serial` is incorrect, according to the
grub documentation:
https://www.gnu.org/software/grub/manual/grub/html_node/Serial-terminal.html
Related PR: #79406
2020-04-22 20:30:19 -04:00
Florian Klink
32516e4fee
Merge pull request #80103 from tfc/port-systemd-confinement-test
...
nixosTests.systemd-confinement: Port to Python
2020-04-23 01:00:51 +02:00
Julian Stecklina
a33ce7e4fb
spike: add test to nixosTests
2020-04-22 14:45:12 +02:00
Jacek Galowicz
0b1bef70a9
nixosTests.redmine: Port to python
2020-04-22 08:36:27 +02:00
Elis Hirwing
9be2cbf27b
nixosTests.php: Add maintainer team as maintainers
2020-04-22 06:48:06 +02:00
Jan Tojnar
b231ac2101
Merge pull request #85402 from jtojnar/httpd-php
2020-04-22 04:23:24 +02:00
adisbladis
2d91da909e
Merge pull request #85604 from adisbladis/podman-module
...
nixos/virtualisation.podman: Init module
2020-04-21 23:48:48 +02:00
Robin Gloster
134c66b584
privacyidea module: init
2020-04-21 16:54:51 +02:00
Tom Fitzhenry
0a49d329cb
systemd-networkd: add DHCPServer test
2020-04-22 00:12:00 +10:00
adisbladis
f0a92ef1d9
nixos/podman: Add maintainer team & add myself to podman team
2020-04-21 10:03:22 +01:00
adisbladis
b512a788a4
nixos/virtualisation.podman: Init module
2020-04-21 10:03:18 +01:00
Marek Mahut
60100a7c92
Merge pull request #83769 from dadada/nixos/dokuwiki-multi-server
...
nixos/dokuwiki: add support for multi-site, additional plugins and templates
2020-04-20 19:39:48 +02:00
adisbladis
ab37d7e7ea
nixos-containers: Add support for custom nixpkgs argument
2020-04-20 07:33:46 +01:00
Emily
bfffee9364
nixos/tests/acme: set maintainers to acme team
2020-04-20 01:39:31 +01:00
Florian Klink
ab0da25762
Merge pull request #85503 from emilazy/acme-test-cleanups
...
ACME test cleanups
2020-04-19 23:57:03 +02:00
Florian Klink
a88d17bc69
Merge pull request #83301 from evils/tuptime
...
Tuptime: Init Package, Module and Test
2020-04-19 23:38:53 +02:00
worldofpeace
f882896cc8
Merge pull request #73934 from flokli/nixos-test-port-cockroachdb
...
nixosTests.cockroachdb: port to python
2020-04-19 16:30:45 -04:00
Yegor Timoshenko
6f1165a0cb
Merge pull request #84522 from emilazy/add-linux-hardened-patches
...
linux_*_hardened: use linux-hardened patch set
2020-04-19 20:01:35 +03:00
dadada
2d86cca35e
nixos/dokuwiki: change default of aclFile and usersFile
...
`aclFile` and `usersFile` will be set to a default value if `aclUse` is
specified and aclFile is not overriden by `acl`.
2020-04-18 23:37:19 +02:00
dadada
af6a7a0486
nixos/dokuwiki: add plugins and templates options
...
Adds support for additional plugins and templates similarly to how
wordpress.nix does it.
Plugins and templates need to be packaged as in the example.
2020-04-18 23:37:18 +02:00
dadada
dc7ed06615
nixos/dokuwiki: add <name?> option
...
Enables multi-site configurations.
This break compatibility with prior configurations that expect options
for a single dokuwiki instance in `services.dokuwiki`.
2020-04-18 23:37:18 +02:00
Vladimír Čunát
e233a9d4dd
Merge #84442 : staging-next branch
2020-04-18 23:11:00 +02:00
Jan Tojnar
09c4736405
Merge pull request #83755 from jtojnar/jcat-0.1
2020-04-18 20:38:24 +02:00
Vladimír Čunát
d96487b9ca
Merge branch 'master' into staging-next
...
Hydra nixpkgs: ?compare=1582510
2020-04-18 07:42:26 +02:00
Emily
21f183a3fe
nixos/tests/common/acme: don't set nameservers for client
...
The resolver is mainly useful for the ACME server, and acme.nix uses its
own DNS server to test DNS-01 challenges.
2020-04-18 05:15:47 +01:00
Emily
e6d5e83cf1
nixos/tests/common/acme: enable Pebble strict mode
...
This lets us get early warning about any bugs or backwards-compatibility
hazards in lego.
Pebble will default to this in the future, but doesn't currently;
see https://github.com/letsencrypt/pebble/blob/v2.3.0/README.md#strict-mode .
2020-04-18 05:15:47 +01:00
Emily
695fd78ac4
nixos/tests/acme: use CAP_NET_BIND_SERVICE
2020-04-18 05:15:47 +01:00
Emily
d0f04c1623
nixos/tests/acme: use *.test domains
...
Shimming out the Let's Encrypt domain name to reuse client configuration
doesn't work properly (Pebble uses different endpoint URL formats), is
recommended against by upstream,[1] and is unnecessary now that the ACME
module supports specifying an ACME server. This commit changes the tests
to use the domain name acme.test instead, and renames the letsencrypt
node to acme to reflect that it has nothing to do with the ACME server
that Let's Encrypt runs. The imports are renamed for clarity:
* nixos/tests/common/{letsencrypt => acme}/{common.nix => client}
* nixos/tests/common/{letsencrypt => acme}/{default.nix => server}
The test's other domain names are also adjusted to use *.test for
consistency (and to avoid misuse of non-reserved domain names such
as standalone.com).
[1] https://github.com/letsencrypt/pebble/issues/283#issuecomment-545123242
Co-authored-by: Yegor Timoshenko <yegortimoshenko@riseup.net>
2020-04-18 05:15:47 +01:00
Emily
352e30df8a
nixos/tests/acme: don't restrict to x86_64
...
This was added in aade4e577b
, but the
implementation of the ACME module has been entirely rewritten since
then, and the test seems to run fine on AArch64.
2020-04-18 05:15:47 +01:00
Milan Pässler
16a4332d60
nixos/deluge: support 2.x
2020-04-18 02:00:04 +02:00
Emily
fe031d07f8
nixos/tests/hardened: add latestKernel argument
2020-04-17 16:13:39 +01:00
Emily
ad9bfe2254
nixos/hardened: enable user namespaces for root
...
linux-hardened sets kernel.unprivileged_userns_clone=0 by default; see
anthraxx/linux-hardened@104f44058f .
This allows the Nix sandbox to function while reducing the attack
surface posed by user namespaces, which allow unprivileged code to
exercise lots of root-only code paths and have lead to privilege
escalation vulnerabilities in the past.
We can safely leave user namespaces on for privileged users, as root
already has root privileges, but if you're not running builds on your
machine and really want to minimize the kernel attack surface then you
can set security.allowUserNamespaces to false.
Note that Chrome's sandbox requires either unprivileged CLONE_NEWUSER or
setuid, and Firefox's silently reduces the security level if it isn't
allowed (see about:support), so desktop users may want to set:
boot.kernel.sysctl."kernel.unprivileged_userns_clone" = true;
2020-04-17 16:13:39 +01:00
Euan Kemp
bc138f407f
nixos/k3s: add initial k3s service
...
* nixos/k3s: simplify config expression
* nixos/k3s: add config assertions and trim unneeded bits
* nixos/k3s: add a test that k3s works; minor module improvements
This is a single-node test. Eventually we should also have a multi-node
test to verify the agent bit works, but that one's more involved.
* nixos/k3s: add option description
* nixos/k3s: add defaults for token/serveraddr
Now that the assertion enforces their presence, we dont' need to use the typesystem for it.
* nixos/k3s: remove unneeded sudo in test
* nixos/k3s: add to test list
2020-04-17 16:39:54 +02:00
Jan Tojnar
23a6903bb7
nixosTests.php.fpm: Clean up to match httpd test
2020-04-17 14:41:20 +02:00
Jan Tojnar
b69556c580
nixosTests.php.pcre: Clean up
...
And add assertion messages
2020-04-17 14:41:20 +02:00
Jan Tojnar
aac9832b96
nixosTests.php.httpd: init
2020-04-17 14:40:12 +02:00
Jan Tojnar
3d8e436917
Merge branch 'master' into staging-next
2020-04-16 10:09:43 +02:00
Maximilian Bosch
5e124e5abd
nixos/tests: fix inclusion of hydra test
2020-04-16 02:17:25 +02:00
Jan Tojnar
1fade973fc
libjcat: init at 0.1.1
2020-04-15 20:30:06 +02:00
Florian Klink
28ef43824b
nixosTests.flannel: port to python, unbreak
...
For reasons yet unknown, the vxlan backend doesn't work (at least inside
the qemu networking), so this is moved to the udp backend.
Note changing the backend apparently also changes the interface name,
it's now `flannel0`, not `flannel.1`
fixes #74941
2020-04-14 23:56:42 +02:00
Michele Guerini Rocco
86d71ddbed
Merge pull request #85170 from flokli/networking-virtual
...
nixos/networking: fix setting MAC Address and MTU in networkd, fix tests
2020-04-14 14:20:49 +02:00
worldofpeace
57b862bb53
Merge pull request #85125 from iblech/patch-iodine-test
...
iodine: improve test in view of #58806
2020-04-14 08:03:23 -04:00
Florian Klink
d1edd8b2f6
nixosTests.networking: test setting MTU and MAC Address
...
Both the scripted and networkd backend now support setting MTU and MAC
Address, so do this in a test to ensure it doesn't break.
2020-04-13 22:03:35 +02:00
Florian Klink
5150378c2f
nixosTests.networking.virtual: fix with networkd
...
We only need to wait for network.target to get up, and the
network-addresses-${interfaceName} units are scripted networking only.
2020-04-13 22:03:35 +02:00
Florian Klink
1e1945319c
nixosTests.networking: make routing table comparison more reliable
...
This was whitespace-sensitive, kept fighting with my editor and broke
the tests easily. To fix this, let python convert the output to
individual lines, and strip whitespace from them before comparing.
2020-04-13 22:03:35 +02:00
Jan Tojnar
a04625379a
Merge branch 'master' into staging-next
2020-04-13 18:50:35 +02:00
Ingo Blechschmidt
f379e74f1e
iodine: improve test in view of #58806
2020-04-13 06:22:27 +02:00
Ioannis Koutras
9360e3723d
nixos/traefik: add test
2020-04-12 22:50:36 +02:00
Graham Christensen
35d8514a91
Merge pull request #81848 from grahamc/nested-specialisation
...
specialisation: replace nesting with named configurations
2020-04-12 08:56:11 -04:00
Graham Christensen
ec2d28e323
specialisation: replace nesting with named configurations
...
Co-authored-by: worldofpeace <worldofpeace@protonmail.ch>
2020-04-12 08:12:50 -04:00
Maximilian Bosch
c9504b0b68
Merge pull request #84940 from symphorien/rouncube-spell
...
roundcube: use pspell for spellchecking
2020-04-11 14:33:43 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs
2020-04-10 17:54:53 +01:00
Symphorien Gibol
9e417bc9e3
roundcube: use pspell for spellchecking
...
By default, upstream enables a third party service in the cloud:
https://github.com/roundcube/roundcubemail/blob/1.4.3/config/defaults.inc.php#L790-L798
2020-04-10 12:00:00 +00:00
Jan Tojnar
1ab03c3a76
Merge branch 'master' into staging-next
2020-04-10 12:12:56 +02:00
Maximilian Bosch
e8a4b9fe9b
Merge pull request #84501 from Ma27/bump-hydra
...
hydra: 2020-03-24 -> 2020-04-07
2020-04-08 20:08:29 +02:00
Jörg Thalheim
0b5d6d9e39
Merge pull request #84556 from Mic92/runtime-shell
...
treewide: use runtimeShell in nixos/
2020-04-08 16:34:55 +01:00
Michael Bishop
8b7e843dab
nixos: kafka test: fix building for other arches
2020-04-07 12:50:58 -03:00
Maximilian Bosch
0f5c38feed
hydra: 2020-03-24 -> 2020-04-07
...
Also removed `pkgs.hydra-flakes` since flake-support has been merged
into master[1]. Because of that, `pkgs.hydra-unstable` is now compiled
against `pkgs.nixFlakes` and currently requires a patch since Hydra's
master doesn't compile[2] atm.
[1] https://github.com/NixOS/hydra/pull/730
[2] https://github.com/NixOS/hydra/pull/732
2020-04-07 14:11:12 +02:00
Jörg Thalheim
cf3328e7e3
treewide: use runtimeShell in nixos/
...
This is needed for cross-compilation.
2020-04-07 07:26:47 +01:00
Frederik Rietdijk
2420184727
Merge staging into staging-next
2020-04-06 08:54:28 +02:00
Sarah Brofeldt
b256b2253c
Merge pull request #83749 from srhb/ceph-14.2.8
...
ceph: 14.2.7 -> 14.2.8
2020-04-06 07:44:02 +02:00
Elis Hirwing
3b6539896b
Merge pull request #83896 from etu/slim-down-default-php-v3
...
PHP: Make the default package more sane [v3]
2020-04-05 20:00:03 +02:00
Elis Hirwing
0dc95728ba
nixos/php: Move the pcre tests to the php test attribute
2020-04-05 16:44:59 +02:00
Elis Hirwing
29e1f0d169
nixos/php: Add tests for phpfpm
...
This test checks that we evaluate PHP properly and that certain
extensions are actually loaded.
2020-04-05 16:44:54 +02:00
Frederik Rietdijk
edaa972160
Merge staging-next into staging
2020-04-03 21:55:10 +02:00
Frederik Rietdijk
92124ed660
Merge master into staging-next
2020-04-03 21:54:40 +02:00
Evils
b7b99c93f5
nixosTests.tuptime: init test
2020-04-03 17:30:35 +02:00
Florian Klink
fe6dd71f72
nixosTests.cockroachdb: set ConditionPathExists=/dev/ptp0 to chronyd
2020-04-03 00:34:18 +02:00
Florian Klink
98906dfdef
nixosTests.cockroachdb: bump memory
...
cockroachdb complained about not enough memory available.
2020-04-03 00:34:18 +02:00
Florian Klink
e7e05ad957
nixosTests.cockroachdb: port to python
2020-04-03 00:34:18 +02:00
Florian Klink
8e9e77ee7d
nixosTests.cockroachdb: add to all-tests.nix
2020-04-03 00:34:18 +02:00
Sarah Brofeldt
6ccd347e46
nixos/tests/ceph: Fix pg number to power of 2
2020-04-02 21:11:45 +02:00
Jan Tojnar
15002f1cfd
tree-wide: Switch from gnome3.maintainers to lib.teams.gnome
2020-04-01 14:41:43 +02:00
Léo Gaspard
a3ee24b2ff
Merge pull request #83894 from symphorien/unbreak-os-prober-test
...
Unbreak os prober test
2020-03-31 22:17:27 +02:00
Jan Tojnar
3e0f4e202f
Merge branch 'master' into staging-next
2020-03-31 21:32:15 +02:00
Florian Klink
a3d67bfd42
Merge pull request #83765 from Izorkin/mariadb-test
...
nixos/mysql: add test mariadb with tokudb plugin
2020-03-31 20:23:45 +02:00
Izorkin
6af90a3df8
nixos/mysql: add test mariadb with rocksdb plugin
2020-03-31 14:46:04 +03:00
Marek Mahut
af75bb17b9
nixos/tests: add magic-wormhole-mailbox-server
2020-03-30 16:15:15 +02:00
Izorkin
ba55f84b5d
nixos/mysql: add test mariadb with tokudb plugin
2020-03-30 13:42:51 +03:00
Florian Klink
f4f8921f97
nixos/gerrit: stop setting jvmPackage ( #83696 )
...
jdk12_headless disappeared in d00559ebb8
,
and just using the default in the VM test should be fine IMHO.
2020-03-29 18:50:19 +00:00
Symphorien Gibol
6a2f64a542
nixos/tests/os-prober.nix: fix out of memory
2020-03-29 15:30:33 +02:00
Maximilian Bosch
2c133fbb4b
nixos/tests/mongodb: also test mongodb-3_4
2020-03-29 01:09:53 +01:00
Jan Tojnar
fa4e1bbe07
Merge branch 'master' into staging-next
...
Fix eval of nixos/nginx
2020-03-29 00:35:29 +01:00
Graham Christensen
4d226bad77
Merge pull request #83600 from Ma27/hydra-two-stage-deploy
...
hydra: 2020-02-06 -> 2020-03-{24,27}
2020-03-28 19:18:10 -04:00
Maximilian Bosch
bd5324c4fc
hydra: 2020-02-06 -> 2020-03-{24,27}
...
Upgrades Hydra to the latest master/flake branch. To perform this
upgrade, it's needed to do a non-trivial db-migration which provides a
massive performance-improvement[1].
The basic ideas behind multi-step upgrades of services between NixOS versions
have been gathered already[2]. For further context it's recommended to
read this first.
Basically, the following steps are needed:
* Upgrade to a non-breaking version of Hydra with the db-changes
(columns are still nullable here). If `system.stateVersion` is set to
something older than 20.03, the package will be selected
automatically, otherwise `pkgs.hydra-migration` needs to be used.
* Run `hydra-backfill-ids` on the server.
* Deploy either `pkgs.hydra-unstable` (for Hydra master) or
`pkgs.hydra-flakes` (for flakes-support) to activate the optimization.
The steps are also documented in the release-notes and in the module
using `warnings`.
`pkgs.hydra` has been removed as latest Hydra doesn't compile with
`pkgs.nixStable` and to ensure a graceful migration using the newly
introduced packages.
To verify the approach, a simple vm-test has been added which verifies
the migration steps.
[1] https://github.com/NixOS/hydra/pull/711
[2] https://github.com/NixOS/nixpkgs/pull/82353#issuecomment-598269471
2020-03-28 23:33:25 +01:00
worldofpeace
b1bffdf67f
Merge pull request #83425 from xfix/mark-hibernation-test-as-broken-on-aarch
...
nixos/tests/hibernate: disable for platforms other than x86_64
2020-03-28 18:22:08 -04:00
Frederik Rietdijk
a36be028f5
Merge staging-next into staging
2020-03-28 21:15:15 +01:00
Maximilian Bosch
63e81053b0
Merge pull request #74504 from xwvvvvwx/wg-quick-tests
...
tests/wireguard: init wg-quick
2020-03-28 16:26:43 +01:00
Konrad Borowski
d85fb28414
nixos/tests/hibernate: disable for platforms other than x86_64
...
Due to 9pnet_virtio bugs, /nix is no longer available after
hibernation. It happens to work on x86_64, but not on other
platforms.
2020-03-28 09:31:36 +01:00
Yegor Timoshenko
5626cb9486
Merge pull request #82603 from emilazy/nixos-initrd-openssh
...
nixos/initrd-ssh: switch from Dropbear to OpenSSH
2020-03-28 09:22:02 +01:00
Marek Mahut
42d03aabbd
Merge pull request #83309 from mmahut/quorum
...
nixos/quorum: init
2020-03-28 09:04:12 +01:00
aszlig
e1d63ada02
nginx: Fix ETag patch to ignore realpath(3) error
...
While our ETag patch works pretty fine if it comes to serving data off
store paths, it unfortunately broke something that might be a bit more
common, namely when using regexes to extract path components of
location directives for example.
Recently, @devhell has reported a bug with a nginx location directive
like this:
location ~^/\~([a-z0-9_]+)(/.*)?$" {
alias /home/$1/public_html$2;
}
While this might look harmless at first glance, it does however cause
issues with our ETag patch. The alias directive gets broken up by nginx
like this:
*2 http script copy: "/home/"
*2 http script capture: "foo"
*2 http script copy: "/public_html/"
*2 http script capture: "bar.txt"
In our patch however, we use realpath(3) to get the canonicalised path
from ngx_http_core_loc_conf_s.root, which returns the *configured* value
from the root or alias directive. So in the example above, realpath(3)
boils down to the following syscalls:
lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/$1", 0x7ffd08da6f60) = -1 ENOENT (No such file or directory)
During my review[1] of the initial patch, I didn't actually notice that
what we're doing here is returning NGX_ERROR if the realpath(3) call
fails, which in turn causes an HTTP 500 error.
Since our patch actually made the canonicalisation (and thus additional
syscalls) necessary, we really shouldn't introduce an additional error
so let's - at least for now - silently skip return value if realpath(3)
has failed.
However since we're using the unaltered root from the config we have
another issue, consider this root:
/nix/store/...-abcde/$1
Calling realpath(3) on this path will fail (except if there's a file
called "$1" of course), so even this fix is not enough because it
results in the ETag not being set to the store path hash.
While this is very ugly and we should fix this very soon, it's not as
serious as getting HTTP 500 errors for serving static files.
I added a small NixOS VM test, which uses the example above as a
regression test.
It seems that my memory is failing these days, since apparently I *knew*
about this issue since digging for existing issues in nixpkgs, I found
this similar pull request which I even reviewed:
https://github.com/NixOS/nixpkgs/pull/66532
However, since the comments weren't addressed and the author hasn't
responded to the pull request, I decided to keep this very commit and do
a follow-up pull request.
[1]: https://github.com/NixOS/nixpkgs/pull/48337
Signed-off-by: aszlig <aszlig@nix.build>
Reported-by: @devhell
Acked-by: @7c6f434c
Acked-by: @yorickvP
Merges: https://github.com/NixOS/nixpkgs/pull/80671
Fixes: https://github.com/NixOS/nixpkgs/pull/66532
2020-03-28 02:57:21 +01:00
Marek Mahut
870a6e262d
nixos/quorum: init
2020-03-27 19:31:01 +01:00
Martin Milata
9bbd1037ec
nixos/mediawiki: allow using default extensions
2020-03-26 18:26:07 +01:00
Maximilian Bosch
2934f04641
nixos/tests/mongodb: rewrite with python
...
perl-based VM tests are deprecated.
2020-03-26 14:02:49 +01:00
Nathan Smyth
44641ed00b
nixos/tests/mongodb: test against mongodb versions 3.4, 3.6, 4.0
...
Now has tests for 3.4, 3.6, 4.0. Has some duplication, but it appears to
work on my machine.
2020-03-26 14:02:49 +01:00
zimbatm
d8f0c5407e
Merge pull request #82929 from zimbatm/nixos-gerrit
...
nixos gerrit module
2020-03-26 12:47:15 +01:00
zimbatm
d37a0dca13
nixos: add gerrit module
...
Co-authored-by: edef <edef@edef.eu>
Co-authored-by: Florian Klink <flokli@flokli.de>
2020-03-26 09:28:42 +01:00
Michael Weiss
216a7e7a98
nixosTests.installer: Don't wait for the nixos-manual service
...
The nixos-manual service was removed in #83199 but we missed the check
in this test which prevents the "tested" job from succeeding [0][1].
[0]: https://hydra.nixos.org/build/115472896
[1]: https://hydra.nixos.org/build/115472896/nixlog/94/tail
2020-03-26 01:21:34 +01:00
Emily
d930466b77
nixos/initrd-ssh: switch from Dropbear to OpenSSH
...
Dropbear lags behind OpenSSH significantly in both support for modern
key formats like `ssh-ed25519`, let alone the recently-introduced
U2F/FIDO2-based `sk-ssh-ed25519@openssh.com` (as I found when I switched
my `authorizedKeys` over to it and promptly locked myself out of my
server's initrd SSH, breaking reboots), as well as security features
like multiprocess isolation. Using the same SSH daemon for stage-1 and
the main system ensures key formats will always remain compatible, as
well as more conveniently allowing the sharing of configuration and
host keys.
The main reason to use Dropbear over OpenSSH would be initrd space
concerns, but NixOS initrds are already large (17 MiB currently on my
server), and the size difference between the two isn't huge (the test's
initrd goes from 9.7 MiB to 12 MiB with this change). If the size is
still a problem, then it would be easy to shrink sshd down to a few
hundred kilobytes by using an initrd-specific build that uses musl and
disables things like Kerberos support.
This passes the test and works on my server, but more rigorous testing
and review from people who use initrd SSH would be appreciated!
2020-03-25 08:26:50 +00:00
Jan Tojnar
986fbf4799
Merge branch 'staging-next' into staging
2020-03-24 01:51:55 +01:00
Orivej Desh (NixOS)
aa049c802b
Merge pull request #83042 from aanderse/mysql-fixup
...
nixos/mysql: fix service so it works with mysql80 package
2020-03-23 16:37:58 +00:00
Lancelot SIX
37ffa6ea51
nixos/griphite: Migrate to python3, drop graphite-pager
2020-03-22 22:47:53 -07:00
Orivej Desh
1b89aa3f7a
Merge branch 'master' into staging
2020-03-23 00:53:16 +00:00
markuskowa
a9d7a1ee5b
Merge pull request #81277 from markuskowa/upd-rdma-core
...
nixos/rdma-core: 27.0 -> 28.0, update RXE module
2020-03-22 18:01:09 +01:00
Aaron Andersen
6c47902e01
nixos/mysql: test with mysql80 package
2020-03-21 15:47:38 -04:00
Josef Kemetmüller
bffc749210
nixosTests.fenics: Add basic test
2020-03-19 21:48:27 -07:00
Florian Klink
355c58e485
nixos/networkd: respect systemd.network.links also with disabled systemd-networkd
...
This mirrors the behaviour of systemd - It's udev that parses `.link`
files, not `systemd-networkd`.
This was originally applied in 36ef112a47
,
but was reverted due to 1115959a8d
causing
evaluation errors on hydra.
2020-03-19 14:15:32 +01:00
Léo Gaspard
a0307bad46
Merge pull request #79120 from symphorien/iodine
...
Iodine: ipv6 support, updates, hardening, nixos test....
2020-03-16 23:42:12 +01:00
Maximilian Bosch
8be61f7a36
matrix-synapse: 1.9.1 -> 1.11.1
...
https://github.com/matrix-org/synapse/releases/tag/v1.10.0
https://github.com/matrix-org/synapse/releases/tag/v1.10.1
https://github.com/matrix-org/synapse/releases/tag/v1.11.0
https://github.com/matrix-org/synapse/releases/tag/v1.11.1
2020-03-15 17:09:51 +01:00
Vladimír Čunát
0729b8c55e
Revert Merge #82310 : nixos/systemd: apply .link
...
...even when networkd is disabled
This reverts commit ce78f3ac70
, reversing
changes made to dc34da0755
.
I'm sorry; Hydra has been unable to evaluate, always returning
> error: unexpected EOF reading a line
and I've been unable to reproduce the problem locally. Bisecting
pointed to this merge, but I still can't see what exactly was wrong.
2020-03-13 22:05:33 +01:00
Michele Guerini Rocco
7b15d6cee4
Merge pull request #81241 from thefloweringash/nesting-system
...
nixos/activation: propagate system to nested configurations
2020-03-13 09:58:10 +01:00
Florian Klink
ce78f3ac70
Merge pull request #82310 from flokli/systemd-network-link-no-networkd
...
nixos/systemd: apply .link even when networkd is disabled
2020-03-12 15:47:59 -07:00
Markus Kowalewski
2c7f8d56dc
nixos/rxe: use iproute instead of rdma-core
...
The rdma-core packages dropped rxe_cfg in favour
of iproute's rdma utility (see https://github.com/linux-rdma/rdma-core/pull/678/files )
2020-03-12 22:32:44 +01:00
Florian Klink
2220060133
Merge pull request #82148 from devhell/tests_signal-desktop
...
tests: Fix signal-desktop
2020-03-11 17:52:48 -07:00
Florian Klink
36ef112a47
nixos/networkd: respect systemd.network.links also with disabled systemd-networkd
...
This mirrors the behaviour of systemd - It's udev that parses `.link`
files, not `systemd-networkd`.
2020-03-11 10:21:37 +01:00
Félix Baylac-Jacqué
1115959a8d
tests/networking: remove pkgs.lib usages.
2020-03-11 10:21:37 +01:00
Sarah Brofeldt
9093928444
Merge pull request #81941 from volth/patch-390
...
tests/kubernetes: remove unreferenced variable and import from inexisting file
2020-03-11 07:45:33 +01:00
Ben Wolsieffer
733acfa140
nixos/syncoid: automatically setup privilege delegation
2020-03-09 16:04:31 -04:00
devhell
534f1337c1
tests: Fix signal-desktop
...
This test fails due to OOM on the VM. Setting the memory of the VM to
1024 lets the test succeed.
Cc: @flokli
2020-03-09 13:13:51 +00:00
Domen Kožar
508a2c6849
Merge pull request #80921 from hercules-ci/buildLayeredImage-allow-empty-store
...
buildLayeredImage: Allow empty store, no paths to add
2020-03-08 23:05:27 +01:00
volth
78ee22041a
tests/kubernetes: remove unreferenced variable and import from inexsisting file
2020-03-07 00:21:11 +00:00
Martin Milata
421a18f42b
nixos/prometheus-mikrotik-exporter: init
2020-03-06 10:39:05 +01:00
WilliButz
0d832ee98e
nixos/tests/prometheus-exporters: increase memory for rspamd
...
Before this, the test failed because rspamd did invoke the oom-killer.
2020-03-06 10:17:22 +01:00
Martin Milata
e7ed7901a8
nixos/prometheus-mail-exporter: misc fixes
...
- Fix misspelled option. mkRenamedOptionModule is not used because the
option hasn't really worked before.
- Add missing cfg.telemetryPath arg to ExecStart.
- Fix mkdir invocation in test.
2020-03-06 01:44:05 +01:00
Maximilian Bosch
7f9131f260
Merge pull request #81405 from NinjaTrappeur/nin-networkd-policy-rules
...
nixos/networkd: add RoutingPolicyRules-related options
2020-03-04 12:29:29 +01:00
Florian Klink
407be0a577
Merge pull request #81327 from flokli/add-cage
...
nixos/cage: init
2020-03-03 12:04:33 -08:00
Robert Hensing
6734e58da3
Merge pull request #81292 from hercules-ci/fix-service-runner-quotes
...
nixos/service-runner.nix: Allow quotes in commands + test
2020-03-03 14:31:00 +01:00
Andreas Rammhold
f8325b6ce6
Merge pull request #81060 from andir/opensmtpd-timeout
...
nixos/tests/opensmtpd: bump test (&build) timeout to 30m from 30s
2020-03-03 11:14:49 +01:00
Florian Klink
d6587c0444
Merge pull request #80096 from tfc/port-rsyslogd-test
...
nixosTests.rsyslogd: Port to python
2020-03-02 14:16:51 -08:00
Matthew Bauer
e0e4d591cc
nixos/cage: init
...
Add a cage module to nixos. This can be used to make kiosk-style
systems that boot directly to a single application. The user (demo by
default) is automatically logged in by this service and the
program (xterm by default) is automatically started.
This is useful for some embedded, single-user systems where we want
automatic booting. To keep the system secure, the user should have
limited privileges.
Based on the service provided in the Cage wiki here:
https://github.com/Hjdskes/cage/wiki/Starting-Cage-on-boot-with-systemd
Co-Authored-By: Florian Klink <flokli@flokli.de>
2020-03-02 13:43:20 -08:00
WilliButz
eaef96093a
prometheus-nginx-exporter: 0.5.0 -> 0.6.0 ( #81285 )
...
* prometheus-nginx-exporter: 0.5.0 -> 0.6.0
* nixos/prometheus-nginx-exporter: update for 0.6.0
Added new option constLabels and updated virtualHost name in the
exporter's test.
2020-03-02 14:48:40 -05:00
Maximilian Bosch
70325e63d8
Merge pull request #79532 from NixOS/fix-predictable-ifnames-in-initrd
...
nixos/stage-1: fix predictable interface names in initrd
2020-03-02 17:14:06 +01:00
Félix Baylac-Jacqué
9897d83f58
nixos/networkd: test routingPolicyRules with a nixos vm test
2020-03-02 15:37:40 +01:00
worldofpeace
21c971a732
Merge pull request #81118 from tilpner/gitdaemon-usercreation
...
nixos/git-daemon: only create git user if it will be used
2020-03-01 13:40:57 +00:00
Ben Wolsieffer
07727dbd16
buildbot: 2.6.0 -> 2.7.0 ( #81406 )
2020-02-29 18:24:02 -05:00
Robert Hensing
6dab1b50a6
buildLayeredImage: Allow empty store, no paths to add
...
This is useful when buildLayeredImage is called in a generic way
that should allow simple (base) images to be built, which may not
reference any store paths.
2020-02-28 14:59:04 +01:00
Robert Hensing
43521ac965
nixos/service-runner.nix: Allow quotes in commands + test
2020-02-28 14:26:29 +01:00
worldofpeace
2e89e0d0cd
Merge pull request #80048 from tfc/port-docker-tools-test
...
nixosTests.docker-tools: Port to Python
2020-02-28 11:22:09 +00:00
Jacek Galowicz
0a49699499
nixosTests.docker-tools: Port to Python
2020-02-27 17:15:31 +01:00
Jacek Galowicz
1320f23a6b
nixosTests.systemd-confinement: Port to Python
2020-02-27 16:58:59 +01:00
Jacek Galowicz
cb3b472b14
nixosTests.rsyslogd: Port to python
2020-02-27 16:43:45 +01:00
Andrew Childs
98791845cb
nixosTests.nesting: fix subtest scoping
2020-02-27 23:57:36 +09:00
tilpner
6df119a6ec
nixos/git-daemon: only create git user if it will be used
2020-02-26 15:04:36 +01:00
Andreas Rammhold
1464a412ff
nixos/tests/opensmtpd: bump test (&build) timeout to 30m from 30s
...
I am not sure how this ever passed on hydra but 30s is barely enough to
pass the configure phase of opensmtpd. It is likely the package was
built as part of another jobset. Whenever it is built as part of the
test execution the timeout propagates and 30s is clearly not enough for
that.
2020-02-25 23:08:32 +01:00
Maximilian Bosch
58c7a952a1
nixos/networkd: disable vrf sub-test which tests the behavior of tcp-packets
...
The subtest was mainly written to demonstrate the VRF-issues with a
5.x-kernel. However this breaks the entire test now as we have 5.4 as
default kernel. Disabling the test for now, I still need to find some
time to investigate.
2020-02-25 19:54:57 +01:00
Danylo Hlynskyi
9336b084ae
Merge pull request #79736 from Ma27/minor-imperative-container-fixes
...
nixos-container: minor fixes
2020-02-22 21:26:04 +02:00
Sergey Lukjanov
c8a873560f
nixos/tinydns: use local dns server to fix test
2020-02-19 12:27:29 -08:00
Konrad Borowski
a803234213
nixos/acme: Fix a.example.com test
2020-02-19 15:46:14 +01:00
David Wood
60a3d9dd6b
nixos/jirefeau: add services.jirafeau
module
...
Signed-off-by: David Wood <david.wood@codeplay.com>
2020-02-18 09:37:44 -08:00
worldofpeace
c4de30cce1
Merge pull request #80099 from tfc/port-run-in-machine-test
...
nixosTests.run-in-machine: Port to Python
2020-02-18 12:03:16 -05:00
Danylo Hlynskyi
69efb5cd34
Merge pull request #80346 from rnhmjoj/loaof
...
tests: fix more loaOf deprecation warnings
2020-02-17 21:03:40 +02:00
rnhmjoj
d7bc3a7534
tests: fix more loaOf deprecation warnings
2020-02-17 09:57:35 +01:00
Danylo Hlynskyi
56c4800e7f
postgresql-wal-receiver: fix test for Pg12 ( #80268 )
...
Fixes https://github.com/NixOS/nixpkgs/issues/80060
2020-02-16 22:58:34 +02:00
Jörg Thalheim
466c1df3e2
Merge pull request #79266 from Mic92/knot
...
nixos/knot: add keyFiles option
2020-02-15 11:15:03 +00:00
worldofpeace
2eb87c0bf7
Merge pull request #80049 from tfc/port-docker-containers-test
...
nixosTests.docker-containers: Port to python
2020-02-14 14:15:21 -05:00
worldofpeace
5bb3eaa223
Merge pull request #80130 from tfc/port-krb5-test
...
nixosTests.krb5: Port to python
2020-02-14 14:09:54 -05:00
Jacek Galowicz
965c1785d0
nixosTests.run-in-machine: Port to python
2020-02-14 19:05:03 +01:00
Jacek Galowicz
32e3d15638
nixosTests.krb5: Add to all-tests.nix
2020-02-14 09:56:43 +01:00
Jacek Galowicz
0c0a338d20
nixosTests.krb5: Port to python
2020-02-14 09:56:32 +01:00
Antoine Eiche
baa78de594
nixosTests.docker-tools: add bulk-layer test
...
A regression test for https://github.com/NixOS/nixpkgs/issues/78744 .
2020-02-14 09:26:26 +01:00
Florian Klink
591fca255e
Merge pull request #80065 from tfc/port-nsd-test
...
nixosTests.nsd: Port to python
2020-02-14 00:26:16 +01:00
worldofpeace
a07a8b473c
Merge pull request #80063 from tfc/port-solr-test
...
nixosTests.solr: Port to python
2020-02-13 17:58:03 -05:00
Jacek Galowicz
acef369bc3
nixosTests.plotinus: Port to Python
2020-02-13 23:36:13 +01:00
Jacek Galowicz
36b808de5f
nixosTests.solr: Port to python
2020-02-13 22:40:47 +01:00
Jacek Galowicz
de9bac3b86
nixosTests.nsd: Port to python
2020-02-13 16:34:02 +01:00
Jacek Galowicz
967daec1ee
nixosTests.docker-containers: Port to python
2020-02-13 12:01:38 +01:00
Marek Mahut
004b379cd5
Merge pull request #79016 from mayflower/nixos/openarena-test
...
nixos/tests/openarena: run real openarena clients
2020-02-13 10:01:54 +01:00
Chuck
f6e9deee3c
nixos/bcache: Installer test for / on bcache
2020-02-12 17:40:05 -08:00
Jörg Thalheim
e2ef8b439f
knot: add keyFiles option
...
This useful to include tsig keys using nixops without adding those
world-readable to the nix store.
2020-02-12 16:36:42 +00:00
Maximilian Bosch
93943acbc5
nixos/nixos-container: ensure that the state-dir is cleaned up if a build fails
2020-02-11 14:42:30 +01:00
Andreas Rammhold
7a625e7453
nixos/tests/firefox: support running the test with the firefox ESR version
...
Also adds this to the release jobset.
2020-02-11 08:58:13 +01:00
worldofpeace
09f7e376c2
Merge pull request #79416 from jtojnar/flatpak-1.6
...
flatpak: 1.4.2 → 1.6.1
2020-02-10 12:57:19 -05:00
Jan Tojnar
f1aa8416d7
xdg-desktop-portal: 1.4.2 → 1.6.0
...
* https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.6.0
* https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.5.4
* https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.5.3
* https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.5.2
* https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.5.1
* https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.5.0
2020-02-10 12:55:25 -05:00
Jan Tojnar
102fa4aaec
malcontent: init at 0.4.0
2020-02-10 12:55:24 -05:00
Jan Tojnar
ea06e0055e
glib-testing: init at 0.1.0
2020-02-10 12:55:24 -05:00
Yorick van Pelt
f003810989
nixos/buildkite-agents: support multiple buildkite agents
2020-02-10 13:35:14 +01:00
Florian Klink
4e0fea3fe2
Merge pull request #77578 from m1cr0man/master
...
Replace simp-le with lego and support DNS-01 challenge
2020-02-10 11:47:30 +01:00
Matt Layher
065ec9a28c
nixos/corerad: update advertisement argument
2020-02-09 18:09:22 -08:00
Silvan Mosberger
637bb9fa98
Merge pull request #72060 from lopsided98/sanoid-init
...
sanoid: add package, NixOS module and test
2020-02-10 01:28:41 +01:00
Silvan Mosberger
b9d7f1fe24
Merge pull request #65397 from mmilata/sympa
...
sympa: init at 6.2.52 + NixOS module
2020-02-10 01:23:45 +01:00
Ben Wolsieffer
7684537e33
nixos/sanoid, nixos/syncoid: init module and test
2020-02-10 01:12:39 +01:00
Maximilian Bosch
c2f2366f5c
Merge pull request #79485 from Ma27/grocy
...
grocy: init at 2.6.0
2020-02-09 23:11:46 +01:00
Maximilian Bosch
13f7b75553
nixos/grocy: init module
...
Co-authored-by: elseym <elseym@me.com>
2020-02-09 21:55:27 +01:00
Lucas Savva
75fa8027eb
nixos/acme: Update release note, remove redundant requires
...
Merge remote-tracking branch 'remotes/upstream/master'
2020-02-09 16:31:07 +00:00
Lucas Savva
636eb23157
nixos/acme: Fix b.example.com test
2020-02-09 11:34:17 +00:00
Lucas Savva
ac983cff48
nixos/acme: add dns-01 test, fix cert locating bug
2020-02-09 02:09:34 +00:00
Florian Klink
dd5f92f20b
Merge pull request #78670 from tfc/port-installer-test
...
nixosTests.installer: Port installer and ZFS test to python
2020-02-08 15:36:28 +01:00
Franz Pletz
ea7d02406b
nixos/initrd-network: flush interfaces before stage 2
...
Depending on the network management backend being used, if the interface
configuration in stage 1 is not cleared, there might still be some old
addresses or routes from stage 1 present in stage 2 after network
configuration has finished.
2020-02-08 14:04:02 +01:00
Franz Pletz
44e289f93b
nixos/stage-1: fix predictable interfaces names
...
This makes predictable interfaces names available as soon as possible
with udev by adding the default network link units to initrd which are read
by udev. Also adds some udev rules that are needed but which would normally
loaded from the udev store path which is not included in the initrd.
2020-02-08 14:04:02 +01:00
Martin Milata
097ab90850
nixos/sympa: init module
2020-02-07 22:54:27 +01:00
Jörg Thalheim
341241b1c8
Merge pull request #78886 from Mic92/restic-fixes
...
Restic fixes: pruning, process substitution (take 2)
2020-02-07 14:14:16 +00:00
Jacek Galowicz
942f0fd7c0
nixosTests.zfs: Add to all-tests.nix
2020-02-07 13:24:16 +01:00
Jacek Galowicz
3bb2941e73
nixosTests.zfs: Refactor
2020-02-07 13:24:16 +01:00
Jacek Galowicz
059845b11d
nixosTests.installer: Port to python
2020-02-07 13:24:16 +01:00
Bruno Bigras
42adda1ec4
nixos/tests/restic.nix: add test
2020-02-07 10:36:53 +00:00
Jan Tojnar
07281f23b6
Merge pull request #79371 from jtojnar/hughsie-pkgs
...
fwupd: split daemon again
2020-02-07 00:35:27 +01:00
Jan Tojnar
e5f7dacc93
nixos/fwupd: disable test plugins implicitly
...
invalid test was introduced in 297d1598ef
and it is disabled in the shipped daemon.conf.
I forgot to reflect that in the module, which caused the daemon to print the following on start-up:
FuEngine invalid has incorrect built version invalid
and the command to warn:
WARNING: The daemon has loaded 3rd party code and is no longer supported by the upstream developers!
To reduce the change of this happening in the future, I moved the list of default disabled plug-ins to the package expression.
I also set the value of the NixOS module option in the config section of the module instead of the default value used previously,
which will allow users to not care about these plug-ins.
2020-02-06 22:32:13 +01:00
Jacek Galowicz
2e7d406b11
nixosTests.chromium: Port to Python
2020-02-06 15:51:38 +01:00
Jacek Galowicz
bc7444384f
nixosTests.printing: Port to Python
2020-02-06 11:29:23 +01:00
Frederik Rietdijk
419bc0a4cd
Revert "Revert "Merge master into staging-next""
...
In 87a19e9048
I merged staging-next into master using the GitHub gui as intended.
In ac241fb7a5
I merged master into staging-next for the next staging cycle, however, I accidentally pushed it to master.
Thinking this may cause trouble, I reverted it in 0be87c7979
. This was however wrong, as it "removed" master.
This reverts commit 0be87c7979
.
2020-02-05 19:41:25 +01:00
Frederik Rietdijk
0be87c7979
Revert "Merge master into staging-next"
...
I merged master into staging-next but accidentally pushed it to master.
This should get us back to 87a19e9048
.
This reverts commit ac241fb7a5
, reversing
changes made to 76a439239e
.
2020-02-05 19:18:35 +01:00
Leonhard Markert
42a2668eb0
lorri: unstable-2020-01-09 -> 1.0
2020-02-05 12:12:02 +01:00
Symphorien Gibol
b7f27cb61a
nixos/iodine: add test
2020-02-04 20:54:29 +01:00
Florian Klink
136c0e4249
Merge pull request #79141 from thefloweringash/openstack-tests
...
nixos/tests/openstack-image: add stdenv to image for nixos-rebuild
2020-02-03 18:17:02 +01:00
Andrew Childs
6e40a8e484
nixosTests.openstack-image-userdata: re-enable
2020-02-04 02:07:57 +09:00
worldofpeace
74e4cb7ea4
Merge pull request #78543 from Atemu/dnscrypt-proxy2-service
...
nixos/dnscrypt-proxy2: init
2020-02-02 23:02:06 -05:00
worldofpeace
4c3166b006
nixosTests.dnscrypt-proxy2: init
...
This removes the old dnscrypt-proxy test.
2020-02-02 21:51:19 -05:00
Andrew Childs
e0a734ef6b
nixos/tests/openstack-image: add stdenv to image for nixos-rebuild
...
Fixes #79100
2020-02-03 10:44:53 +09:00
Florian Klink
7870644286
Merge pull request #79064 from worldofpeace/port-misc
...
nixosTests.misc: port to python
2020-02-03 00:13:50 +01:00
Vladimír Čunát
1af60850c5
nixosTests.misc: fix blkio sub-test with newer kernels
...
The blkio.sectors file is no longer provided; by quick search:
https://issues.apache.org/jira/browse/MESOS-9848
so hopefully it's sufficient to test existence of this other file:
https://www.kernel.org/doc/html/v5.4/admin-guide/cgroup-v1/blkio-controller.html#common-files-among-various-policies
Originally this sub-test was added in 58e40f84
.
2020-02-02 13:20:03 +01:00
Jacek Galowicz
5ae9820ea4
nixosTests.keymap: Port to python
2020-02-02 10:46:54 +01:00
Jacek Galowicz
8f6f418e42
nixosTests.ihatemoney: Port to python
2020-02-02 10:43:38 +01:00
Jacek Galowicz
afc3d25824
nixosTests.buildbot: Port to python
2020-02-02 10:43:38 +01:00
John Ericson
14fbd4146d
Merge pull request #59855 from volth/qemu-cpu-passthru
...
runInLinuxVM, test-driver: pass host's cpu type to guest vm
2020-02-01 22:59:37 -05:00
worldofpeace
f350a6f42c
nixosTests.misc: port to python
2020-02-01 20:59:42 -05:00
Franz Pletz
9f1c76f514
nixos/tests/openarena: run real openarena clients
...
The old Quake3 NixOS test was removed in
50ea99cbc1
which served as a nice demo to
showcase what NixOS tests are capable of. This commit adds the same
functionality to run real openarena clients.
2020-02-01 16:09:30 +01:00
rnhmjoj
1d9538d77a
nixos/tests/networking: use new tempAddress option
2020-02-01 11:38:40 +01:00
Andreas Rammhold
355b31c98e
Merge pull request #78476 from Ma27/networkd-vrf-options
...
nixos/networkd: add vrfConfig option for netdevs, add simple test
2020-01-31 13:28:22 +01:00
worldofpeace
3103ba2ce8
Merge pull request #78927 from worldofpeace/blivet-mark-broken
...
nixosTests.blivet: remove
2020-01-30 19:34:00 -05:00
worldofpeace
758b1b9a04
Merge pull request #74124 from filalex77/nixosTests.riak-python
...
nixosTests.riak: port to python
2020-01-30 19:21:37 -05:00
worldofpeace
e8e946a060
Merge pull request #76562 from nh2/graphite-test-python
...
nixosTests.graphite: port to python and mark as broken
2020-01-30 19:17:05 -05:00
worldofpeace
b36f4c81dc
Merge pull request #78239 from andrew-d/andrew/networking-proxy-tests-python
...
nixosTests.networkingProxy: port to Python
2020-01-30 19:14:13 -05:00
Andrew Dunham
36d1141acd
nixosTests.networkingProxy: port to Python
2020-01-30 19:13:30 -05:00
worldofpeace
85fcf3d7a8
nixosTests.blivet: remove
...
These have been broken since 2017-07-24, and the package
is hopelessly out of date as well.
2020-01-30 18:14:14 -05:00
worldofpeace
30bfbe7e81
Merge pull request #76157 from worldofpeace/port-gnome3-test
...
nixosTests.gnome3: port to python
2020-01-30 18:10:08 -05:00
worldofpeace
7651fcfe48
nixosTests.gnome3: wait_for_wayland at login
...
This prevents the default.target check from just failing.
Blaming it on using systemctl in wait_for_unit (and it's particularly
buggy for user units).
2020-01-30 17:51:01 -05:00
worldofpeace
9888b30924
nixosTests.gnome3: port to python
2020-01-30 17:51:00 -05:00
lewo
86f8732194
Merge pull request #78834 from nlewo/fix-two-layers-image
...
Fix dockerTools.buildLayerImage with 2 layers
2020-01-30 21:10:52 +01:00
Antoine Eiche
283bcc1003
dockerTools.buildLayeredImage: fix image with only 2 layers
...
A test is also added to ensure an image with 2 layers can be built.
2020-01-30 21:09:44 +01:00
Silvan Mosberger
2118cddc82
nixos/freeswitch: init ( #76821 )
...
nixos/freeswitch: init
2020-01-30 16:45:47 +01:00
misuzu
0a43e431ca
nixos/freeswitch: init
2020-01-30 17:16:49 +02:00
Silvan Mosberger
32718c9992
VictoriaMetrics: init at v1.32.5, add module, tests ( #78038 )
...
VictoriaMetrics: init at v1.32.5, add module, tests
2020-01-30 14:02:42 +01:00
worldofpeace
b46a1b5dec
Merge pull request #78241 from andrew-d/andrew/systemd-tests-python
...
nixosTests.systemd: port to Python
2020-01-30 03:10:39 -05:00
worldofpeace
c95612a5a2
nixos/display-managers/auto: remove
...
This module allows root autoLogin, so we would break that for users, but
they shouldn't be using it anyways. This gives the impression like auto
is some special display manager, when it's just lightdm and special pam
rules to allow root autoLogin. It was created for NixOS's testing
so I believe this is where it belongs.
2020-01-29 19:05:46 -05:00
Yorick van Pelt
4b7d28b0f9
victoriametrics: add module, tests
2020-01-29 19:52:14 +01:00
Yorick
508343962e
nixos/docker-containers: add imageFile and dependsOn options
...
- the `imageFile` option allows to load an image from a derivation
- the `dependsOn` option can be used to specify dependencies between container systemd units.
Co-authored-by: Christian Höppner <mkaito@users.noreply.github.com>
2020-01-28 22:00:54 +01:00
worldofpeace
839be38cca
Merge pull request #78555 from tfc/limesurvey-utf8
...
nixosTests.limesurvey: port to python and drop badly utf encoded characters
2020-01-26 19:09:31 -05:00
worldofpeace
92c91c0923
Merge pull request #77570 from thefloweringash/nixos-tests-ec2
...
nixos/tests/ec2: return to passing state
2020-01-26 19:04:54 -05:00
Jacek Galowicz
ee2acd6c6c
nixosTests.proxy: Port to python
2020-01-26 17:12:03 +01:00
Jacek Galowicz
4df1df986d
nixosTests.limesurvey: Port to python
2020-01-26 17:11:59 +01:00
Maximilian Bosch
a0fd819a4a
nixos/networkd: add test for VRF configurations
2020-01-25 17:38:15 +01:00
Aaron Andersen
0e0b8f2feb
Merge pull request #77983 from aanderse/solr
...
solr: 8.4.0 -> 8.4.1
2020-01-25 11:11:13 -05:00
Marek Mahut
942568b8ea
Merge pull request #77830 from 1000101/dokuwiki
...
nixos/dokuwiki: init module
2020-01-25 10:08:14 +01:00
Jan Hrnko
8bab2dec10
nixos/dokuwiki: init module at 2018-04-22b
2020-01-24 13:27:10 +01:00
Andrew Dunham
2c9bff9f6f
nixosTests.systemd: port to Python
2020-01-22 16:11:15 -08:00
Matt Layher
50c661c447
nixos/corerad: update test for new configuration
2020-01-22 01:19:35 -08:00
Florian Klink
0daae2e08c
nixos/buildkite: drop user option ( #78160 )
...
* nixos/buildkite: drop user option
This reverts 8c6b1c3eaa
.
Turns out, buildkite-agent has logic to write .ssh/known_hosts files and
only really works when $HOME and the user homedir are in sync.
On top of that, we provision ssh keys in /var/lib/buildkite-agent, which
doesn't work if that other users' homedir points elsewhere (we can cheat
by setting $HOME, but then getent and $HOME provide conflicting
results).
So after all, it's better to only run the system-wide buildkite agent as
the "buildkite-agent" user only - if one wants to run buildkite as
different users, systemd user services might be a better fit.
* nixosTests.buildkite-agent: add node with separate user and no ssh key
2020-01-21 13:21:57 +00:00
Florian Klink
a208e6eb99
nixosTests.buildkite: add test
2020-01-20 10:30:24 +01:00
Florian Klink
5ed3474ca5
Merge pull request #77540 from singron/fix-certmgr-test
...
nixos/tests/certmgr: Fix file permissions
2020-01-19 19:50:41 +01:00
Aaron Andersen
acd9e87ebe
solr: drop 7.x series
2020-01-18 08:50:35 -05:00
Matt Layher
5089214a3d
nixos/corerad: init
2020-01-16 12:38:36 -08:00
volth
2bd296a7e9
runInLinuxVM, test-driver: pass host's cpu type to guest vm
...
'kvm64' is the most generic CPU, which does not support SSE4.2, AVX and other ISA extentions.
2020-01-15 23:35:00 +00:00
Nikola Knezevic
900e288d22
Enable elasticsearch-curator on elasticsearch 7
...
The current nixpkgs use elasticsearch-curator 5.8.1. As of version 5.7.0,
elasticsearch-curator supports elasticsearch 7, thus this change enables tests
with ES 7.
2020-01-15 10:12:19 +01:00
Jacek Galowicz
adf5642ba6
nixosTests.bittorrent: Refactor declarative part
2020-01-14 10:22:46 +01:00
Jacek Galowicz
e1b1f5a484
nixosTests.bittorrent: Fix declarative httpd description
2020-01-14 10:11:57 +01:00
Silvan Mosberger
55b0129a14
Merge pull request #76178 from 0x4A6F/master-xandikos
...
xandikos: add tests and module
2020-01-13 23:48:22 +01:00
Andrew Childs
e4fa8192da
nixos/tests/ec2: return to passing state
...
Updates required:
- Use vpc image format (new default, supported by Amazon)
- Pass full image filename to makeEc2Test
- Increase memory allocation for nixos-rebuild
- Set a networking.hostName for services.httpd
- Add appropriate escaping in literal userdata
While I'm here, try to make it fail fast.
2020-01-13 15:52:37 +09:00
Eric Culp
dc6451f08c
nixos/tests/certmgr: Fix file permissions
...
This test has been broken since 2a413da57e
, which stopped running the
nginx master process as root.
2020-01-11 16:18:10 -08:00
0x4A6F
78aec9cfcb
nixosTests.xandikos: init
2020-01-11 16:08:44 +01:00
Tim Steinbach
ada59cfd43
kafka: Add 2.4
2020-01-10 21:02:03 -05:00
Florian Klink
47e0ce7f1a
Merge pull request #77303 from tfc/port-elk-initdb-kafka
...
Port elk initdb kafka
2020-01-10 17:05:04 +01:00
Jacek Galowicz
abebf8cdb3
nixosTests.initdb: Move code to existing postgres test
2020-01-09 23:21:51 +01:00
Jacek Galowicz
fff1c2867f
nixosTests.postgres: Refactor code
2020-01-09 23:21:08 +01:00
Florian Klink
2603d15a4d
Merge pull request #77167 from srhb/ceph-14_2_5
...
ceph: 14.2.4 -> 14.2.5
2020-01-09 18:39:05 +01:00
Oleksii Filonenko
25b75b8fb5
nixosTests.home-assistant: port to python
2020-01-09 10:39:50 +00:00
Sarah Brofeldt
59233d67b1
nixos/tests/ceph: Use 3 osds, the default minimum
2020-01-09 08:00:19 +01:00
Léo Gaspard
b31660e5bb
Merge branch 'master' into ihatemoney
2020-01-09 03:49:03 +01:00
worldofpeace
a408bcbe44
Merge pull request #73938 from worldofpeace/port-gnome3-xorg-test
...
nixosTests.gnome3-xorg: port to python/rewrite
2020-01-08 09:38:29 -05:00
Jacek Galowicz
f7b274d957
nixosTests.kafka: port to python
2020-01-08 10:51:57 +01:00
Jacek Galowicz
8ecd07f9e3
nixosTests.elk: port to python
2020-01-08 10:51:57 +01:00
Jacek Galowicz
c44331dd5d
nixosTests.initdb: port to python
2020-01-07 20:52:24 +01:00
Rickard Nilsson
6edbe844b2
nixos/tests/chromium: Fix nixos-hex.svg hash
2020-01-07 19:42:52 +01:00
Symphorien Gibol
665fee312a
nixos/tests/ihatemoney.nix: run nixpkgs-fmt
...
now indentation is perfect
2020-01-05 12:00:00 +00:00
symphorien
b8b9e7be6d
Update nixos/tests/ihatemoney.nix
...
Co-Authored-By: Léo Gaspard <github@leo.gaspard.ninja>
2020-01-05 22:04:42 +00:00
symphorien
54b0ab0ac6
Update nixos/tests/ihatemoney.nix
...
Co-Authored-By: Léo Gaspard <github@leo.gaspard.ninja>
2020-01-05 22:04:32 +00:00
Danylo Hlynskyi
cef68c4580
nixos/nginx: don't hide nginx config errors on nixos-rebuild --switch with reload enabled ( #76179 )
...
nixos/nginx: don't hide nginx config errors on nixos-rebuild --switch
with reload enabled
Closes https://github.com/NixOS/nixpkgs/issues/73455
2020-01-05 00:39:23 +02:00
aszlig
845e92835d
Merge Last-Modified fix for nginx ( #76697 )
...
This fixes the patch for nginx to clear the Last-Modified header if a
static file is served from the Nix store.
So far we only used the ETag from the store path, but if the
Last-Modified header is always set to "Thu, 01 Jan 1970 00:00:01 GMT",
Firefox and Chrome/Chromium seem to ignore the ETag and simply use the
cached content instead of revalidating.
Alongside the fix, this also adds a dedicated NixOS VM test, which uses
WebDriver and Firefox to check whether the content is actually served
from the browser's cache and to have a more real-world test case.
2020-01-02 21:41:59 +01:00
Florian Klink
03212a7f03
Merge pull request #76606 from flokli/mysql-tests
...
nixosTests.mysql: add more tests
2020-01-02 21:30:55 +01:00
misuzu
9980eb8734
nixosTests.3proxy: port test to python
2020-01-02 14:25:20 +02:00
Florian Klink
2393fa23f2
Merge pull request #76560 from nh2/kexec-test-python
...
nixosTests.kexec: port to python and mark as broken
2020-01-01 19:05:09 +01:00
Jörg Thalheim
a82f07cecf
netdata: 1.18.1 -> 1.19.0 ( #75173 )
...
netdata: 1.18.1 -> 1.19.0
2020-01-01 12:52:29 +00:00
Silvan Mosberger
fd7a019c70
nixosTests.haka: port to python ( #76707 )
...
nixosTests.haka: port to python
2020-01-01 03:31:11 +01:00
David Terry
c9a3e1f99c
tests/wireguard: init wg-quick
...
- Duplicate and adapt the existing default wireguard test for wg-quick
- Pull common setup code out into a seperate file
2019-12-30 22:44:00 +01:00
Aaron Andersen
66bf75415f
Merge pull request #76551 from symphorien/nagios2
...
nagios: various improvements
2019-12-30 14:21:03 -05:00
Oleksii Filonenko
ab63902d1f
nixosTests.haka: port to python
2019-12-30 17:57:00 +02:00
Symphorien Gibol
cb38bf33e7
nagios: add nixos test
2019-12-30 16:41:18 +01:00
aszlig
ccf55bead1
nginx: Clear Last-Modified if ETag is from store
...
This is what I've suspected a while ago[1]:
> Heads-up everyone: After testing this in a few production instances,
> it seems that some browsers still get cache hits for new store paths
> (and changed contents) for some reason. I highly suspect that it might
> be due to the last-modified header (as mentioned in [2]).
>
> Going to test this with last-modified disabled for a little while and
> if this is the case I think we should improve that patch by disabling
> last-modified if serving from a store path.
Much earlier[2] when I reviewed the patch, I wrote this:
> Other than that, it looks good to me.
>
> However, I'm not sure what we should do with Last-Modified header.
> From RFC 2616, section 13.3.4:
>
> - If both an entity tag and a Last-Modified value have been
> provided by the origin server, SHOULD use both validators in
> cache-conditional requests. This allows both HTTP/1.0 and
> HTTP/1.1 caches to respond appropriately.
>
> I'm a bit nervous about the SHOULD here, as user agents in the wild
> could possibly just use Last-Modified and use the cached content
> instead.
Unfortunately, I didn't pursue this any further back then because
@pbogdan noted[3] the following:
> Hmm, could they (assuming they are conforming):
>
> * If an entity tag has been provided by the origin server, MUST
> use that entity tag in any cache-conditional request (using If-
> Match or If-None-Match).
Since running with this patch in some deployments, I found that both
Firefox and Chrome/Chromium do NOT re-validate against the ETag if the
Last-Modified header is still the same.
So I wrote a small NixOS VM test with Geckodriver to have a test case
which is closer to the real world and I indeed was able to reproduce
this.
Whether this is actually a bug in Chrome or Firefox is an entirely
different issue and even IF it is the fault of the browsers and it is
fixed at some point, we'd still need to handle this for older browser
versions.
Apart from clearing the header, I also recreated the patch by using a
plain "git diff" with a small description on top. This should make it
easier for future authors to work on that patch.
[1]: https://github.com/NixOS/nixpkgs/pull/48337#issuecomment-495072764
[2]: https://github.com/NixOS/nixpkgs/pull/48337#issuecomment-451644084
[3]: https://github.com/NixOS/nixpkgs/pull/48337#issuecomment-451646135
Signed-off-by: aszlig <aszlig@nix.build>
2019-12-30 14:30:36 +01:00
lewo
885c4cc97c
Merge pull request #76151 from Ma27/bump-hydra
...
hydra: 2019-08-30 -> 2019-11-13
2019-12-29 10:28:44 +01:00
Florian Klink
bf7841aae1
nixosTests.mysql: add additional test{db,user}2
...
Test that other users are not able to access the mysql database, and
unix socket auth actually works.
2019-12-28 15:31:12 +01:00
Florian Klink
7d64f7a534
nixosTests.mysql: add missing () to start_all()
...
Because mysql.wait_for_unit() starts the vm as well, we didn't notice
that.
2019-12-28 15:31:12 +01:00
Niklas Hambüchen
ad339ad445
nixosTests.graphite: port to python.
...
The test did not succeed for me before this commit because
the dependencies fail their tests (see added comment).
2019-12-27 01:23:45 +01:00
Niklas Hambüchen
12e35035f6
nixosTests.kexec: port to python.
...
The test did not succeed for me before this commit
(the Perl test hung forever), and this translation exhibits
the same problem.
2019-12-27 01:22:35 +01:00
Maximilian Bosch
c5c7ccf022
nixos/nginx: fix test
...
When using format-strings, curly brackets need to be escaped using `{{`
to avoid errors from python.
And apparently, Perl's `==` is used to compare substrings[1] which is why
the translation to `assert http_code == "304"` failed as the string
contains several headers from curl.
[1] Just check `perl <(echo 'die "alarm" if "foo\n304" == 304')`
2019-12-26 18:50:38 +01:00
Maximilian Bosch
495b0b581c
nixos/tests/nginx-sso: add subtests for each assertion
2019-12-26 17:59:25 +01:00
Robin Gloster
abbce768dc
nixosTests.nginx*: review fixes
...
Co-Authored-By: Florian Klink <flokli@flokli.de>
2019-12-26 17:59:25 +01:00
Robin Gloster
1c2781d39c
nixosTests.nginx*: port to python
2019-12-26 17:59:25 +01:00
Aaron Andersen
4d2dd15546
Merge pull request #73113 from aanderse/httpd-vhost
...
nixos/httpd: support overridable virtual hosts
2019-12-26 08:09:08 -05:00
Maximilian Bosch
ec253e16cd
Merge pull request #76410 from nh2/mumble-test-python
...
nixosTests.mumble: port to python
2019-12-26 02:33:43 +01:00
Jörg Thalheim
89c55c0a6d
net-snmp: split outputs ( #76155 )
...
net-snmp: split outputs
2019-12-25 06:27:55 +00:00
Aaron Andersen
79215f0df1
nixos/httpd: limit serving web content to virtual hosts, convert virtualHosts option type from listOf to attrsOf, add ACME integration
2019-12-24 20:27:48 -05:00
markuskowa
0b41391890
Merge pull request #76425 from r-ryantm/auto-update/slurm
...
slurm: 19.05.4.1 -> 19.05.5.1
2019-12-24 20:19:50 +01:00
Markus Kowalewski
5041e1d848
nixos/slurm: fix perl->python conversion bug
2019-12-24 19:51:18 +01:00
Niklas Hambüchen
c6a032ecf6
nixosTests.mumble: port to python
2019-12-24 16:10:34 +01:00
Florian Klink
eeaf1f702d
Merge pull request #75103 from sternenseemann/spacecookie
...
services/spacecookie: init
2019-12-23 11:09:52 +01:00
Aaron Andersen
086d1ad906
Merge pull request #75047 from kampka/trilium-server
...
Add trilium server and module
2019-12-22 20:26:57 -05:00
Christian Kampka
ebf3f1fe78
trilium: Pin platforms to x86_64 linux
2019-12-22 15:04:09 +01:00
Maximilian Bosch
7675c0b2a9
nixos/tests/hydra: port to python
2019-12-22 14:36:11 +01:00
Jörg Thalheim
aadfcc0900
nixos/keepalived: add test
2019-12-22 08:52:56 +00:00
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
Florian Klink
4273a6adcc
Merge pull request #74081 from flokli/osquery
...
osquery: remove
2019-11-25 00:17:46 +01:00
Martin Milata
e290dd881c
nixosTests.wordpress: fix assertions
2019-11-25 00:01:51 +01:00
Florian Klink
02f869ff30
osquery: remove
...
osquery was marked as broken since April.
If somebody steps up to fix it, we can always revive it from the
histroy, but there's not much value in shipping completely broken things
in current master.
cc @ma27
2019-11-24 22:38:07 +01:00
Robin Gloster
3e3918d02a
Merge pull request #74055 from tfc/nixos-test-port-prometheus
...
nixos/prometheus: Port prometheus test to python
2019-11-24 21:59:45 +01:00
Florian Klink
013b9a853b
Merge pull request #74076 from filalex77/nixosTests.sudo-python
...
nixosTests.sudo: port to python
2019-11-24 21:48:24 +01:00
Oleksii Filonenko
1043b55e4b
nixosTests.sudo: port to python
2019-11-24 22:11:04 +02:00
Robin Gloster
dde45712a7
nixosTests.jenkins: port to python
2019-11-24 20:54:10 +01:00
Robin Gloster
4572821435
Merge pull request #74069 from flokli/nixos-test-port-influxdb
...
nixosTests.influxdb: port to python
2019-11-24 20:46:49 +01:00
Florian Klink
aa5f701e88
nixosTests.influxdb: port to python
2019-11-24 20:21:06 +01:00
Robin Gloster
b86d62006d
nixosTests.minio: port to python
2019-11-24 20:20:32 +01:00
Robin Gloster
f58069eb8e
Merge pull request #74063 from flokli/nixos-test-port-gitolite
...
nixosTests.gitolite: port to python
2019-11-24 20:08:45 +01:00
Robin Gloster
a76eae4220
Merge pull request #74061 from flokli/nixos-test-port-uwsgi
...
nixosTests.uwsgi: port to python
2019-11-24 20:04:50 +01:00
Florian Klink
84e32f6d9c
nixosTests.gitolite: port to python
2019-11-24 19:27:34 +01:00
Florian Klink
e6d71e498f
nixosTests.uwsgi: port to python
2019-11-24 19:12:14 +01:00
Florian Klink
ca12e08caa
nixosTests.bees: port to python
2019-11-24 18:49:35 +01:00
Robin Gloster
2d49ee8727
Merge pull request #73993 from flokli/nixos-test-port-wordpress
...
nixosTests.wordpress: port to python
2019-11-24 18:41:04 +01:00
Jacek Galowicz
e20e12442e
nixos/prometheus: Port prometheus test to python
2019-11-24 17:53:18 +01:00
Florian Klink
2b9773f91e
nixos/tests/beegfs: remove
...
This was broken for quite some time.
cc https://github.com/NixOS/nixpkgs/issues/73998
2019-11-24 17:32:55 +01:00
Florian Klink
069364f348
nixosTests.wordpress: add flokli and mmilata
2019-11-24 17:24:31 +01:00
Florian Klink
ec16d5c3ba
nixosTests.wordpress: port to python
2019-11-24 17:11:50 +01:00
Robin Gloster
c383268e11
Merge pull request #74040 from Ma27/port-graylog-test
...
nixos/graylog: port test to python test-driver
2019-11-24 16:43:50 +01:00
Robin Gloster
c2d9d6146a
Merge pull request #74036 from Ma27/port-codimd-test
...
nixos/codimd: port test to python test-driver
2019-11-24 15:30:27 +01:00
Robin Gloster
4e007fb1f6
Merge pull request #74033 from Ma27/port-docker-registry-test
...
nixos/docker-registry: port test to python test-driver
2019-11-24 15:23:49 +01:00
Robin Gloster
17e20a03ff
Merge pull request #74034 from Ma27/port-gotify-test
...
nixos/gotify-server: port test to python test-driver
2019-11-24 15:19:18 +01:00
Maximilian Bosch
7ca619018f
nixos/graylog: port test to python test-driver
2019-11-24 14:50:00 +01:00
Maximilian Bosch
a1e6e5145b
nixos/codimd: port test to python test-driver
2019-11-24 14:19:36 +01:00
worldofpeace
16296a571f
Merge pull request #74031 from mayflower/prosody-tests-python
...
nixosTests.prosody*: port to python
2019-11-24 13:13:36 +00:00
Maximilian Bosch
2403c1a88d
nixos/gotify-server: port test to python test-driver
2019-11-24 13:49:04 +01:00
Maximilian Bosch
3b218e8570
nixos/docker-registry: port test to python test-driver
2019-11-24 13:46:09 +01:00
Robin Gloster
433972d65b
nixosTests.prosody*: port to python
2019-11-24 13:04:11 +01:00
Robin Gloster
7c23496e46
Merge pull request #74002 from flokli/nixos-test-port-google-oslogin
...
nixosTests.google-oslogin: port to python
2019-11-24 12:44:31 +01:00
Robin Gloster
0a724f9e5d
Merge pull request #74005 from flokli/nixos-test-port-etcd
...
nixosTests.etcd*: port to python
2019-11-24 11:52:04 +01:00
Robin Gloster
a9ef2dedeb
Merge pull request #73994 from flokli/nixos-test-port-nix-ssh-serve
...
nixosTests.nix-ssh-serve: port to python
2019-11-24 11:49:25 +01:00
Robin Gloster
76ad040bb1
Merge pull request #73992 from flokli/nixos-test-port-mysql
...
nixosTests.mysql*: port to python
2019-11-24 11:46:27 +01:00
worldofpeace
22cbd24409
Merge pull request #73990 from flokli/nixos-test-port-systemd-nspawn
...
nixosTests.systemd-nspawn: convert test to python
2019-11-24 10:26:07 +00:00
Florian Klink
8e85fec810
Merge pull request #74004 from mayflower/py-tests/dovecot
...
nixosTests.dovecot: port test to python
2019-11-24 02:20:04 +01:00
Florian Klink
6e60f849db
Merge pull request #74003 from nh2/nixos-tests-port-glusterfs
...
nixosTests.glusterfs: port to python
2019-11-24 02:03:22 +01:00
Niklas Hambüchen
3a38343576
nixosTests.glusterfs: port to python
...
Also fix a hardcoded sleep.
2019-11-24 02:00:50 +01:00
Florian Klink
65e3bf8267
Merge pull request #73961 from kwohlfahrt/kerberos-tests-python
...
nixos/kerberos: port tests to python
2019-11-24 02:00:29 +01:00
Florian Klink
6bd28271dc
nixosTests.etcd-cluster: port to python
2019-11-24 01:38:51 +01:00
Florian Klink
39e8f9a312
nixosTests.etcd: port to python
2019-11-24 01:38:24 +01:00
Franz Pletz
b118137d43
nixosTests.dovecot: port test to python
2019-11-24 01:36:49 +01:00
Florian Klink
cfaaa524e3
nixosTests.google-oslogin: port to python
...
also use a .ssh/config instead of passing the same options over and over
again
2019-11-24 01:27:22 +01:00
Florian Klink
ba77344400
nixosTests.nix-ssh-serve: port to python
2019-11-24 00:15:39 +01:00
Florian Klink
132b703271
nixosTests.mysqlBackup: port to python
2019-11-23 23:48:55 +01:00
Florian Klink
ced69719cd
nixosTests.mysqlReplication: port to python
2019-11-23 23:48:55 +01:00
Florian Klink
56718763e9
nixosTests.mysql: port to python
2019-11-23 23:48:55 +01:00
Florian Klink
c47da6bd48
nixosTests.neo4j: port test to python
...
also, switch to wait_for_open_port instead of just waiting 20s.
2019-11-23 23:16:23 +01:00
Florian Klink
a8a552da53
nixosTests.systemd-nspawn: convert test to python
...
also fix a wrong test name ;-)
2019-11-23 23:08:46 +01:00
Kai Wohlfahrt
d28fd8f8da
nixos/kerberos: port tests to python
2019-11-23 19:45:46 +00:00
WilliButz
be5dcb4606
Merge pull request #73933 from flokli/nixos-test-port-mongodb
...
nixosTests.mongodb: port to python
2019-11-22 23:58:41 +01:00
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
misuzu
08eb63b5ac
nixos/3proxy: init
2019-11-11 16:15:29 +02: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