3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

4431 commits

Author SHA1 Message Date
Martin Weinelt 99e8065d4c
Merge pull request #147784 from m1cr0man/acme 2021-12-27 17:37:39 +01:00
github-actions[bot] ae39fad8d0
Merge master into staging-next 2021-12-27 12:08:21 +00:00
Philipp aecc901b4b
nixos/hydra: Removing self as maintainer 2021-12-27 12:38:09 +01:00
Lucas Savva 46cd06eb9d
nixos/acme: Add test for caddy
This test is technically broken since reloading caddy
does not seem to load new certs. This needs to be fixed
in caddy.
2021-12-26 21:12:40 +00:00
Lucas Savva 65f1b8c6ae
nixos/acme: Add test for lego's built-in web server
In the process I also found that the CapabilityBoundingSet
was restricting the service from listening on port 80, and
the AmbientCapabilities was ineffective. Fixed appropriately.
2021-12-26 16:49:59 +00:00
Lucas Savva 41fb8d71ab
nixos/acme: Add useRoot option 2021-12-26 16:49:57 +00:00
Lucas Savva 377c6bcefc
nixos/acme: Add defaults and inheritDefaults option
Allows configuring many default settings for certificates,
all of which can still be overridden on a per-cert basis.
Some options have been moved into .defaults from security.acme,
namely email, server, validMinDays and renewInterval. These
changes will not break existing configurations thanks to
mkChangedOptionModule.

With this, it is also now possible to configure DNS-01 with
web servers whose virtualHosts utilise enableACME. The only
requirement is you set `acmeRoot = null` for each vhost.

The test suite has been revamped to cover these additions
and also to generally make it easier to maintain. Test config
for apache and nginx has been fully standardised, and it
is now much easier to add a new web server if it follows
the same configuration patterns as those two. I have also
optimised the use of switch-to-configuration which should
speed up testing.
2021-12-26 16:44:10 +00:00
Lucas Savva a7f0001328
nixos/acme: Check for revoked certificates
Closes #129838

It is possible for the CA to revoke a cert that has not yet
expired. We must run lego to validate this before expiration,
but we must still ignore failures on unexpired certs to retain
compatibility with #85794

Also changed domainHash logic such that a renewal will only
be attempted at all if domains are unchanged, and do a full
run otherwises. Resolves #147540 but will be partially
reverted when go-acme/lego#1532 is resolved + available.
2021-12-26 16:44:09 +00:00
Jonathan Ringer 182e07f0d9
Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
	pkgs/development/libraries/webkitgtk/default.nix
	pkgs/development/python-modules/pylast/default.nix
	pkgs/development/python-modules/pymavlink/default.nix
2021-12-23 10:16:42 -08:00
Michael Hoang 2f0cfde482 tests/systemd-boot: Add tests for extraFiles 2021-12-23 11:44:29 +11:00
Guillaume Girol b55a253e15 nixos/collectd: add nixos test 2021-12-23 00:08:43 +01:00
Nikolay Amiantov ab64310a5e docker-rootless service: init 2021-12-22 14:23:23 +03:00
Florian Klink 60e571fa40
Merge pull request #150922 from ncfavier/systemd-tzdir
nixos/systemd: set TZDIR for PID 1
2021-12-22 11:52:27 +01:00
Elis Hirwing e3a7c62565
Merge pull request #147411 from drupol/php/php-8.1.0
php: Init at 8.1.1
2021-12-21 12:33:07 +01:00
Graham Christensen 3907d19260 services.prometheus.exporters.fastly: add a smoke test 2021-12-20 10:57:31 -05:00
Pol Dellaiera 3d3479f717
php81: init at 8.1.1 2021-12-20 15:51:00 +01:00
github-actions[bot] dd2f8bc91d
Merge staging-next into staging 2021-12-18 12:01:49 +00:00
0x4A6F 0b738b87db
Merge pull request #151145 from zhaofengli/unifi5-log4j-new-mitigation
unifi5: Follow new mitigation guidelines
2021-12-18 13:00:28 +01:00
Zhaofeng Li 8bbae8e558 unifi: Add NixOS tests 2021-12-18 00:19:04 -08:00
Andrew Brooks 57718902e3 nixos/tests/docker-tools: add test for pre-runAsRoot layer unpack order 2021-12-17 19:26:53 -06:00
github-actions[bot] a6adcc1edf
Merge staging-next into staging 2021-12-17 12:02:12 +00:00
Flakebi 368b22d09b powerdns-admin: fix and add module
- Add the migrations directory to the package
- Add postgres support to the package
- Add a service for powerdns-admin

Co-authored-by: Zhaofeng Li <hello@zhaofeng.li>
2021-12-17 10:33:40 +01:00
Alyssa Ross e07182012b
Merge remote-tracking branch 'nixpkgs/staging-next' into staging
Conflicts:
	pkgs/development/python-modules/pint/default.nix
2021-12-17 05:50:06 +00:00
Martin Weinelt 8086f8658e
Merge pull request #151029 from andir/snapcast-bind 2021-12-16 23:52:05 +01:00
Andreas Rammhold c9c93b0add
nixos/snapserver: use the correct bind address arguments
Snapserver expects the arguments `--tcp.bind_to_address` and
`--http.bind_to_address` instead of the `--tcp.address` (and http
equivalent) versions.

This caused the process to listen on `0.0.0.0` (for TCP and HTTP
sockets) regardless of the configuration value. It also never listend on
the IPv6 address `::` as our module system made the user believe.

This commit fixes the above issue and ensures that (at least for the TCP
socket) that our default `::` does indeed allow connections via IPv6
(to localhost aka ::1).
2021-12-16 23:27:56 +01:00
Kim Lindberger ebaa226853
elk7: 7.11.1 -> 7.16.1, 6.8.3 -> 6.8.21 + add filebeat module and tests (#150879)
* elk7: 7.11.1 -> 7.16.1

* nixosTests.elk: Improve reliability and compatibility with ELK 7.x

- Use comparisons in jq instead of grepping
- Match for `.hits.total.value` if version >= 7, otherwise it always
  passes
- Make curl fail if requests fails

* nixos/filebeat: Add initial module and test

Filebeat is an open source file harvester, mostly used to fetch logs
files and feed them into logstash.

This module can be used instead of journalbeat if used with
`filebeat7` and configured with the `journald` input.

* python3Packages.parsedmarc.tests: Fix breakage

- Don't use the deprecated elasticsearch7-oss package
- Improve jq query robustness and add tracing

* rl-2205: Note the addition of the filebeat service

* elk6: 6.8.3 -> 6.8.21

The latest version includes a fix for CVE-2021-44228.

* nixos/journalbeat: Add a loose dependency on elasticsearch

Avoid unnecssary back-off when elasticsearch is running on the same
host.
2021-12-17 00:20:52 +09:00
zowoq 014236e9c9 nixos/kubernetes: don't import <nixpkgs> 2021-12-16 21:47:12 +10:00
Naïm Favier 901d4f13a3
nixos/systemd: set TZDIR for PID 1
Fixes #105049
2021-12-16 04:09:07 +01:00
github-actions[bot] a292b5fe68
Merge staging-next into staging 2021-12-14 12:02:00 +00:00
ajs124 84ce6a6286
Merge pull request #149868 from lostnet/couchopts
couchdb3: add vm.args option and fix pkgs.couchdb reference
2021-12-14 10:48:56 +00:00
Bobby Rong bbfbcefb02
Merge pull request #149628 from Izorkin/fix-wsdd
nixos/tests/wsdd: fix test
2021-12-14 14:58:40 +08:00
github-actions[bot] b073a17f68
Merge staging-next into staging 2021-12-14 06:02:02 +00:00
zowoq d90103d112 Revert "kubernetes: disable rbac tests"
This reverts commit 91c6a97243.
2021-12-14 11:02:36 +10:00
Johan Thomsen 282b303e83 nixos/kubernetes: drop tty and stdin for execs in test pods 2021-12-14 11:02:07 +10:00
github-actions[bot] 75e029e297
Merge staging-next into staging 2021-12-14 00:02:27 +00:00
Julien Moutinho 5cf90a60e5 nixos/redis: cleanup tests 2021-12-13 14:42:19 -05:00
Bernardo Meurer f40283cf62
Merge pull request #149837 from helsinki-systems/feat/redo-activation-script-restarting
nixos/switch-to-configuration: Add a massive test and do a slight refactor
2021-12-13 11:37:20 -08:00
github-actions[bot] 1a2b61419f
Merge staging-next into staging 2021-12-13 18:01:54 +00:00
Jörg Thalheim afa3c99cd5
Merge pull request #148593 from veehaitch/sgx-psw
sgx-psw: init package and module
2021-12-13 14:16:26 +00:00
github-actions[bot] a1f533ecf6
Merge staging-next into staging 2021-12-12 12:01:57 +00:00
zowoq 91c6a97243 kubernetes: disable rbac tests
timed out on hydra
2021-12-12 19:56:19 +10:00
Dmitry Kalinkin 07a8ae0c5a
Merge branch 'staging-next' into staging
Conflicts:
	pkgs/development/libraries/log4cplus/default.nix
2021-12-11 14:01:19 -05:00
Vincent Haupert d6cc0ad96e nixosTests.aesmd: init 2021-12-10 10:18:31 +01:00
Will a6196bc8b2 couchdb3: add vm.args and fix pkgs.couchdb reference 2021-12-09 14:55:01 +00:00
Guillaume Girol b2ed7c36c1
Merge pull request #149642 from r-ryantm/auto-update/os-prober
os-prober: 1.78 -> 1.79
2021-12-09 13:48:46 +00:00
Guillaume Girol 6f2ed3cd1e nixosTests.os-prober: fix infinite recursion 2021-12-09 12:00:00 +00:00
Andreas Rammhold 6e69e537ff
Merge pull request #145183 from veehaitch/networkd-DHCPServerStaticLease
nixos/networkd: add `dhcpServerStaticLeaseConfig` option
2021-12-09 12:57:46 +01:00
Janne Heß efcdc01d62
nixos/switchTest: Massively extend the test 2021-12-09 12:30:48 +01:00
zowoq 79e66fce1c nixos/podman: sort files into directories
Makes codeowners, git history, etc. a bit simpler now that podman has expanded beyond the original single file module and test.
2021-12-09 13:03:16 +10:00
zowoq 4df7ad53c7 Revert "nixos/podman/tests: add workaround for broken import"
This reverts commit 9edf2e0ffd.

This seems to have been fixed.
2021-12-09 08:32:24 +10:00
Jörg Thalheim 8010ff0d54
Merge pull request #149504 from mattchrist/fix-brscan5-nixos-test
brscan5: fix nixos test
2021-12-08 15:06:17 +00:00
Janne Heß e36ceb65e6
Merge pull request #129449 from ddz/copy-initrd-secrets-after-early-mount-script
nixos/stage1: copy initrd secrets into place after special mounts
2021-12-08 15:38:02 +01:00
Izorkin 23d62decbb
nixos/tests/wsdd: fix test 2021-12-08 16:44:16 +03:00
Matt Christ 7b1d8bd182 brscan5: fix nixos test
import 're' so we can do regex stuff in this test
2021-12-07 20:35:50 -06:00
github-actions[bot] df0c1b8745
Merge staging-next into staging 2021-12-08 00:02:16 +00:00
Jonas Heinrich ecd88f91a0
nixos/maddy: Add module for maddy
Co-authored-by: Patrick Hilhorst <git@hilhorst.be>
2021-12-07 22:58:22 +01:00
Matthew Leach 5ce7061945 nixos/networking: add options for configuring a GRE tunnel
Add `networking.greTunnels` option that allows a GRE tunnel to be
configured in NixOS.
2021-12-07 15:44:00 +00:00
ajs124 a43c2c1e70 Revert "nixos/tests/installer: lvm: test lvm2-pvscan@ units"
This reverts commit 53a34361af.
2021-12-07 13:17:42 +01:00
Johannes Schleifenbaum 9f45c18515 sabnzbd: add simple test 2021-12-06 21:08:19 +01:00
Patrick Hilhorst 5e29d3ce2e
nixosTests.pulseAudio: init 2021-12-06 17:27:20 +01:00
Jörg Thalheim c7fa870f5a
Merge pull request #148535 from martinetd/bpf
bpf update: bcc remove linux kernel dep + devendor libbpf again, bpftrace 0.13.0 -> 0.14.0 + remove kernel dep, pahole 1.20 -> 1.22 + remove submodule, libbpf revert 0.6.0 -> 0.5.0 (unusable)
2021-12-06 08:33:14 +00:00
Ryan Mulligan 542e917e99
Merge pull request #148061 from astro/drbd_upstream
drbd: update, fix, add test
2021-12-05 09:10:22 -08:00
Martin Weinelt 0c008f9c0d
Merge pull request #147056 from mweinelt/smartctl-exporter 2021-12-05 03:00:48 +01:00
Martin Weinelt d94cec6ead
Merge pull request #148543 from mweinelt/knot-hardening 2021-12-05 02:44:28 +01:00
Thomas Gerbet 1a119b223c vault{,bin}: 1.8.4 -> 1.9.0
https://github.com/hashicorp/vault/blob/v1.9.0/CHANGELOG.md
2021-12-05 06:10:43 +10:00
Martin Weinelt 146ddee13b
nixos/tests/knot: add extra cpu core to master
This verifies that we allow setting affinity in multicore systems.
2021-12-04 16:53:31 +01:00
Martin Weinelt 893f7af236
nixos/tests/knot: log systemd unit hardening info 2021-12-04 16:53:31 +01:00
Robert Hensing 430c9173e4
Merge pull request #148363 from hercules-ci/add-dockerTools-fakechroot
dockerTools: Add fakechroot to fakeRootCommands
2021-12-04 15:13:37 +01:00
Maximilian Bosch 5ffc828912
Merge pull request #148301 from Kranzes/nextcloud
nextcloud23: init at 23.0.0
2021-12-04 14:54:25 +01:00
Robert Hensing 0e9bc9ffd1 dockerTools: Add fakechroot to fakeRootCommands 2021-12-04 13:49:10 +00:00
Dominique Martinet 559fe43665 nixos/tests: add bpf test
test bcc and bpftrace briefly
2021-12-04 21:12:07 +09:00
Martin Weinelt 42ae887b23
Merge pull request #148471 from Ma27/postfix-exporter-hardening 2021-12-03 20:26:10 +01:00
Maximilian Bosch 8e6d403e65
nixos/prometheus-postfix-exporter: whitelist addr-family AF_UNIX
Otherwise, `postfix_up{path="/var/lib/postfix/queue/public/showq"}` will
always be `0` indicating an postfix outage because this is a unix domain
socket that cannot be connected to:

    2021/12/03 14:50:46 Failed to scrape showq socket: dial unix /var/lib/postfix/queue/public/showq: socket: address family not supported by protocol
2021-12-03 19:01:19 +01:00
Jörg Thalheim 99c916dd8e
Merge pull request #148201 from Artturin/nixservesecret
nix-serve: fix NIX_SECRET_KEY_FILE
2021-12-03 17:50:27 +00:00
Artturin d87d5731d5 nixos/tests: fix nix-serve path
nixos/tests: rename nix-ssh-serve to nix-serve-ssh

nixos/tests/nix-serve-ssh: add --experimental-features

nixos-serve: add nix-serve-ssh to passthru.tests
2021-12-03 18:40:03 +02:00
github-actions[bot] 987163192b
Merge master into staging-next 2021-12-03 00:01:31 +00:00
ajs124 559552ea19
Merge pull request #145695 from mohe2015/step-ca-tests
nixos/tests: add step-ca test
2021-12-03 00:54:10 +01:00
Robert Hensing 66c19d856b
Merge pull request #148341 from hercules-ci/add-dockerTools-customization-layer-dependencies
dockerTools: Add store dependencies of the customization layer
2021-12-03 00:20:44 +01:00
Robert Hensing d0bcc212de nixosTests.docker-tools: Use unique binary in test case 2021-12-02 22:26:05 +00:00
Ilan Joselevich c0f4b20db7 nextcloud23: init at 23.0.0 2021-12-02 20:53:21 +02:00
Zhaofeng Li 9e5d0a9458 nixos/binfmt: Preserve argv[0] when using QEMU 2021-12-01 22:20:48 -08:00
github-actions[bot] 4746376a5f
Merge master into staging-next 2021-12-02 00:01:31 +00:00
Martin Weinelt 9e234eba80 nixos/tests/home-assistant: test hardening with extraComponents 2021-12-01 01:19:01 +01:00
Ryan Mulligan 7f4e071274 nixos/tests/drbd: init 2021-11-30 21:44:11 +01:00
Vincent Haupert ce81231420 nixos/networkd: add dhcpServerStaticLeaseConfig option
Add `systemd.network.networks.*.dhcpServerStaticLeaseConfig` to allow
for configuring static DHCP leases through the `[DHCPServerStaticLease]`
section. See systemd.network(5) of systemd 249 for details.

Also adds the NixOS test `systemd-networkd-dhcpserver-static-lease` to
test the assignment of static leases.
2021-11-30 09:58:33 +01:00
github-actions[bot] 18ca52de87
Merge master into staging-next 2021-11-30 06:01:26 +00:00
Artturin c19234d0df nixos/tests/installer: increase /boot sizes to 100MB 2021-11-30 03:53:14 +02:00
github-actions[bot] 941a6593c8
Merge master into staging-next 2021-11-30 00:01:51 +00:00
Kevin Cox b7caba7f59
Merge pull request #146902 from fgaz/vengi/init
vengi-tools: init at 0.0.14
2021-11-29 17:16:44 -05:00
github-actions[bot] 9c838c8b51
Merge master into staging-next 2021-11-28 00:02:51 +00:00
Artturi 16eb003524
Merge pull request #146467 from l0b0/test-pam-d-generation 2021-11-27 22:32:46 +02:00
Victor Engmark 3b2e6e72fa tests: Move all PAM tests into a separate directory
As per
<https://github.com/NixOS/nixpkgs/pull/146467#issuecomment-972743535>.
2021-11-27 20:36:50 +02:00
Michael Weiss 1cfecb636b
Revert "Merge pull request #141192 from helsinki-systems/feat/improved-socket-handling2"
This reverts commit 57961d2b83, reversing
changes made to b04f913afc.
(I.e. this reverts PR #141192.)

While well-intended, this change does unfortunately introduce very
serious regressions that are especially disruptive/noticeable on desktop
systems (e.g. users of Sway will loose their graphical session when
running "nixos-rebuild switch").

Therefore, this change has to be reverted ASAP instead of trying to fix
it in "production".
Note: An updated version should be extensively discussed, reviewed, and
tested before re-landing this change as an earlier version also had to
be reverted for the exact same issues [0].

Fix: #146727

[0]: https://github.com/NixOS/nixpkgs/pull/73871#issuecomment-559783752
2021-11-27 17:22:22 +01:00
Victor Engmark 595543a314 tests: Verify /etc/pam.d/chfn file contents 2021-11-27 15:55:46 +13:00
github-actions[bot] 588cccd6c5
Merge master into staging-next 2021-11-24 06:01:08 +00:00
Artturi c4851c0d71
Revert msize related commits (#147180) 2021-11-24 02:33:53 +02:00
Francesco Gazzetta 324e9f686e nixosTests.vengi-tools: init 2021-11-23 15:23:52 +01:00
Martin Weinelt 02316a4565
nixos/tests/prometheus.exporters.smartctl: init
Starts the exporter, checks it answers via HTTP, checks that it can't
detect the device type of the virtual disk.
2021-11-23 11:30:30 +01:00
Jonathan Ringer 4b73049ccc
Merge remote-tracking branch 'origin/staging' into staging-next
Conflicts:
	nixos/tests/custom-ca.nix
2021-11-22 21:33:23 -08:00
Jonathan Ringer 09e494f4c2
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/applications/window-managers/sway/default.nix
2021-11-21 14:40:40 -08:00
Artturin 03e8e5848b nixos/tests/installer: increase memorySize to 3G
and increase the memory flags too
2021-11-21 23:06:58 +02:00
github-actions[bot] 18ad263272
Merge master into staging-next 2021-11-21 18:01:07 +00:00
Artturi 53edfe1d1c
Merge pull request #146804 from Artturin/qemudefaultmem 2021-11-21 17:48:08 +02:00
Artturin 54ece050b8 nixos/qemu-vm: default memorySize 384 -> 1024
the default hasn't been changed since 2009
this can improve our test performances

nixos/tests: remove explicit memorySize <1024

1024MiB is now the default
2021-11-21 17:27:58 +02:00
Sandro 07f29d2db2
Merge pull request #146829 from r-burns/isx86 2021-11-21 14:20:12 +01:00
github-actions[bot] daffc694ef
Merge staging-next into staging 2021-11-21 06:01:53 +00:00
github-actions[bot] 6ad93ecdbb
Merge master into staging-next 2021-11-21 06:01:18 +00:00
Ryan Burns 2175b157ac treewide: refactor isi686 && isx86_64 -> isx86 2021-11-20 17:50:41 -08:00
github-actions[bot] 197135904f
Merge staging-next into staging 2021-11-21 00:02:25 +00:00
github-actions[bot] 43d088886e
Merge master into staging-next 2021-11-21 00:01:46 +00:00
Vladimír Čunát 60c5230968
nixosTests.installer: increase the VM memory
For me that fixes the i686 ZFS case:
https://hydra.nixos.org/build/158897777
I don't think it's worth chasing why RAM usage isn't very low here.
2021-11-20 23:00:43 +01:00
Artturin 471183f245 nixos/tests/hibernate: set memorySize to 2G 2021-11-20 22:21:39 +02:00
Sandro 79f22e571a
Merge pull request #146545 from rnhmjoj/pr-p11kit-fedora-staging 2021-11-20 19:38:58 +01:00
github-actions[bot] 2d03d542c7
Merge master into staging-next 2021-11-20 12:01:21 +00:00
Patrick Hilhorst 6b9977942a
nixosTests.vscodium: add comments 2021-11-20 11:26:30 +01:00
Patrick Hilhorst 7201052de2
nixosTests.vscodium: wait for different text 2021-11-19 23:04:53 +01:00
Patrick Hilhorst 2a04ae8b12
nixosTests.vscodium: rename machines 2021-11-19 23:04:26 +01:00
Patrick Hilhorst 7ed2f6e55d
nixos/tests/vscodium{,-wayland}: merge tests 2021-11-19 21:21:20 +01:00
Patrick Hilhorst 6ecb9a352f
nixos/tests/vscodium-wayland: init 2021-11-19 21:20:53 +01:00
Jonathan Ringer 6ede9cd761
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
  pkgs/applications/audio/hybridreverb2/default.nix
2021-11-19 08:44:33 -08:00
Francesco Gazzetta f3ece9f26c nixosTests.aseprite: init 2021-11-19 15:09:53 +01:00
github-actions[bot] c83cfc58e5
Merge master into staging-next 2021-11-19 00:01:26 +00:00
rnhmjoj a19b4efc77
nixos/tests/custom-ca: fix firefox test
- allocate more memory (yay!)
- fix processes not being really killed
- fix firefox process hanging
- remove the p11-kit log: it's not really useful
2021-11-18 22:38:22 +01:00
Sandro 4f0e1c04eb
Merge pull request #146123 from thiagokokada/libinput-module-fixes 2021-11-18 19:44:00 +01:00
Thiago Kenji Okada 63b4b8616b nixos/libinput: add module tests 2021-11-16 13:09:02 -03:00
github-actions[bot] 617d1d1f17
Merge staging-next into staging 2021-11-16 12:02:01 +00:00
TredwellGit c783c8d859 linux/hardened/patches/5.15: init at 5.15.2-hardened1 2021-11-15 19:38:09 +00:00
Alyssa Ross 4e1852096f
Merge remote-tracking branch 'nixpkgs/staging-next' into staging
Conflicts:
	pkgs/development/tools/parsing/flex/2.6.1.nix
2021-11-14 14:17:46 +00:00
github-actions[bot] 9b5a105856
Merge master into staging-next 2021-11-14 00:01:47 +00:00
Francesco Gazzetta df99f2326e nixosTests.domination: init 2021-11-13 23:00:20 +01:00
Alyssa Ross 26b89bcd16
Merge remote-tracking branch 'nixpkgs/staging-next' into staging 2021-11-13 15:30:01 +00:00
Moritz Hedtke 9d01ce82ac
nixos/tests: add step-ca test 2021-11-13 12:40:47 +01:00
sternenseemann 1a1e32f023 Merge remote-tracking branch 'origin/master' into staging-next
Conflicts were caused by 2043dbb6fa
interacting with b2767b69dd.
2021-11-13 12:35:55 +01:00
Graham Christensen fd1f8e1498
Merge branch 'master' into mjolnir-init 2021-11-12 20:56:14 -05:00
github-actions[bot] fd8fae936e
Merge staging-next into staging 2021-11-12 06:02:01 +00:00
github-actions[bot] 9a30ed0017
Merge master into staging-next 2021-11-12 06:01:24 +00:00
Maximilian Bosch 41068b4865
Merge pull request #144968 from vcunat/p/nixos-tests-seafile-unreachable
nixosTests.seafile: link the committed test
2021-11-12 01:30:53 +01:00
github-actions[bot] 679a57d577
Merge staging-next into staging 2021-11-11 06:01:37 +00:00
github-actions[bot] f0e180170d
Merge master into staging-next 2021-11-11 06:01:03 +00:00
Bernardo Meurer 9c1d31ce68
nixos/tests/installer: comment out nixos-option test for now 2021-11-10 15:57:18 -08:00
Bernardo Meurer 6a4d2207b1
nixos/test/boot: nix verify -> nix store verify 2021-11-10 15:57:00 -08:00
github-actions[bot] 9618986955
Merge staging-next into staging 2021-11-10 12:01:57 +00:00
github-actions[bot] 84d856a651
Merge master into staging-next 2021-11-10 12:01:22 +00:00
Bernardo Meurer 546d60c5e6
nixos/tests/misc: fix nix 2.4 support 2021-11-09 20:24:05 -08:00
github-actions[bot] 56736d0fbc
Merge staging-next into staging 2021-11-09 18:02:05 +00:00
github-actions[bot] 7414a16ee5
Merge master into staging-next 2021-11-09 18:01:23 +00:00
Bas van Dijk 8033c19932
Merge pull request #145093 from basvandijk/djbdns-softlimit-fix
djbdns: fix crash due to data ulimit
2021-11-09 18:41:14 +01:00
davidak 2103d78e0b
Merge pull request #144930 from artemist/bcachefs
linux_testing_bcachefs, bcachefs-tools: upgrade
2021-11-09 18:26:30 +01:00
github-actions[bot] b1d2f20ea8
Merge staging-next into staging 2021-11-09 00:02:13 +00:00
github-actions[bot] 707b006bf7
Merge master into staging-next 2021-11-09 00:01:30 +00:00
sternenseemann d14ae62671 nixos/terminfo: inherit TERMINFO* env vars also for doas
This should mirror the behavior we implement for sudo: The TERMINFO and
TERMINFO_DIRS variables are inherited from the normal user's
environment, so terminfo files installed in the user's profile can be
found by ncurses applications running as root.
2021-11-08 14:05:24 -08:00
Bas van Dijk b0a1847999 nixos/tests/tinydns.nix: test a few more queries 2021-11-08 21:35:29 +00:00
github-actions[bot] 9ecd6bf4df
Merge staging-next into staging 2021-11-08 18:02:05 +00:00
github-actions[bot] f14d7cb2f6
Merge master into staging-next 2021-11-08 18:01:24 +00:00
Bas van Dijk 7a8b4907e2 djbdns: fix crash due to data ulimit
This fixes: https://github.com/NixOS/nixpkgs/issues/119066.

When `djbdns` is repeatedly queried it will crash with:

```
mmap: tinydns (842): VmData 331776 exceed data ulimit 300000. Update limits or use boot option ignore_rlimit_data.
```

So we increase the softlimit from 300000 to 4500000 as suggested in
the issue.

The `tinydns` NixOS test has been extended with testing for the faulty
behaviour.
2021-11-08 17:28:41 +00:00
Bas van Dijk 0e4abb0df7 nixos/prometheus: remove services.prometheus.environmentFile
The option `services.prometheus.environmentFile` has been removed since it was causing [issues](https://github.com/NixOS/nixpkgs/issues/126083) and Prometheus now has native support for secret files.
2021-11-07 14:45:40 +00:00
Vladimír Čunát c504b01331
nixosTests.seafile: link the committed test
It succeeds for me.  Apparently this line was forgotten in PR #119719.
2021-11-07 09:05:36 +01:00
github-actions[bot] 8130cf6764
Merge staging-next into staging 2021-11-07 06:01:36 +00:00
github-actions[bot] 1093ddf273
Merge master into staging-next 2021-11-07 06:01:02 +00:00
Peter Hoeg c207be6591
handbrake: 1.3.3 -> 1.4.2 (#143654)
* handbrake: 1.3.3 -> 1.4.2
* handbrake: minor test cleanups
2021-11-07 09:03:58 +08:00
github-actions[bot] 8ddea08a85
Merge staging-next into staging 2021-11-07 00:02:20 +00:00
github-actions[bot] 9166210176
Merge master into staging-next 2021-11-07 00:01:38 +00:00
Artemis Tosini 8f4289267c
linux_testing_bcachefs, bcachefs-tools: unstable-2021-07-08 → unstable-2021-11-06
bcachefs now supports snapshots so we need the latest version to use
them. Additionally, it appears to build on AArch64 so I've removed the
x86 requirement.
2021-11-06 21:32:57 +00:00
Janne Heß d64f7a76fb
nixos/tests.plasma5: Fix after #142747 2021-11-06 21:51:08 +01:00
github-actions[bot] 64baf2593d
Merge staging-next into staging 2021-11-06 18:01:35 +00:00
github-actions[bot] eeb7e66e97
Merge master into staging-next 2021-11-06 18:01:01 +00:00
Vladimír Čunát 26e1daaa43
treewide: eliminate stdenv.lib usage
It was breaking evaluation on Hydra.
2021-11-06 17:20:11 +01:00
Robert Hensing 68f6d76684 nixosTests.chromium: Avoid blocking on xclip stdout 2021-11-06 13:46:51 +01:00
github-actions[bot] e57ae1d6b3
Merge staging-next into staging 2021-11-06 12:01:54 +00:00
github-actions[bot] 89ec09c858
Merge master into staging-next 2021-11-06 12:01:12 +00:00
Florian Klink 6ae271565d
Merge pull request #140046 from jrobsonchase/systemd-boot/fix-regexp
nixos/systemd-boot: Fix installed version regexp
2021-11-06 12:24:32 +01:00
Jörg Thalheim 185aeb4ab8
Merge pull request #142765 from pennae/mosquitto-fixes
nixos/mosquitto: restore checkPasswords=false from old module, add module doc chapter
2021-11-06 10:08:43 +00:00
github-actions[bot] a41ea4ced3
Merge master into staging-next 2021-11-06 06:01:07 +00:00
Bernardo Meurer cbc785a8b2
Merge pull request #144795 from hercules-ci/fix-issue-144613-nixosTest-wait-stdout-followup
nixosTests: followup stdout blocking fixes
2021-11-05 21:05:37 -07:00
github-actions[bot] 0d70d17925
Merge master into staging-next 2021-11-06 00:01:27 +00:00
Andreas Rammhold ea58baa275
Merge pull request #141189 from piegamesde/update-appservice-irc
matrix-appservice-irc 0.26.1 -> 0.30.0
2021-11-05 23:54:32 +01:00
Robert Hensing d659856747 nixosTests.service-runner: Redirect stdout to avoid blocking 2021-11-05 21:22:31 +01:00
Robert Hensing 1927b71928 nixosTests.xfce: Redirect stdout to avoid blocking 2021-11-05 21:13:47 +01:00
Robert Hensing 0fb806301d nixosTests.pantheon: Redirect stdout to avoid blocking 2021-11-05 21:13:36 +01:00
Robert Hensing edc67d3862 nixosTests.chromium: Redirect stdout to avoid blocking 2021-11-05 21:13:25 +01:00
github-actions[bot] 933da575d4
Merge master into staging-next 2021-11-05 18:01:07 +00:00
Josh Robson Chase 3efc2de6d1
nixos/systemd-boot: Use the correct version string from the bootctl --version output 2021-11-05 12:11:22 -04:00
Josh Robson Chase 4ddc78818e
nixos/systemd-boot: Re-add the verison check, but as equivalence-only 2021-11-05 12:11:21 -04:00
Josh Robson Chase 71ed9d096e
nixos/systemd-boot: Remove the installed version check altogether
bootctl does it as a part of its update process anyway, so we're just
duplicating code.
2021-11-05 12:11:20 -04:00
Josh Robson Chase f275d82a2f
nixos/systemd-boot: Update test for version regexp
This should fail since the regexp in systemd-boot-builder.py won't match
the '.' in the version string.
2021-11-05 12:11:18 -04:00
Bernardo Meurer 66c041e3bb
Merge pull request #144703 from lovesegfault/fix-owncast-tests 2021-11-05 08:22:13 -07:00
github-actions[bot] 2663e5b623
Merge master into staging-next 2021-11-05 12:01:17 +00:00
Vladimír Čunát 555a4016a2
Merge branch 'staging-next' into staging 2021-11-05 10:48:58 +01:00
Simon Bruder 59225ebaf1
deluge: fix test (#144718)
In 780135ad5c the nodes for testing Deluge
1.x were removed, but the test script still referred to it.

This removes the references in the test script and also renames the
nodes to drop the 2 suffix.
2021-11-05 10:44:25 +01:00
Bernardo Meurer 1403ce522d
Merge pull request #144239 from illustris/hadoop
nixos/hadoop: Add HA services and HTTPFS
2021-11-04 23:30:47 -07:00
Bernardo Meurer 86373221ae
Merge pull request #144679 from hercules-ci/fix-issue-144613-nixosTest-wait-stdout
nixosTest: document wait for stdout behavior, fix #144613
2021-11-04 22:57:06 -07:00
Bernardo Meurer 9bd3a51bba
nixos/tests/owncast: rewrite test 2021-11-04 22:30:45 -07:00
Robert Hensing 739c51ae4e nixosTests: Redirect stdout to stderr when detaching
Avoids blocking on stdout.
2021-11-05 02:41:26 +01:00
github-actions[bot] ac4cb43546
Merge staging-next into staging 2021-11-05 00:02:01 +00:00
Bernardo Meurer 98749ffa5f
nixos/tests/wine: syntax fix 2021-11-04 15:20:06 -07:00
Bernardo Meurer b3e7ddabfb
Merge pull request #125118 from chkno/wine
wine: gecko 2.47.1 -> 2.47.2 and add tests
2021-11-04 13:11:38 -07:00
github-actions[bot] 20bee66ec8
Merge staging-next into staging 2021-11-04 18:01:44 +00:00
Bas van Dijk 0140e239f3
Merge pull request #143147 from basvandijk/prometheus-reload
nixos/prometheus: optionally support reloading on config changes
2021-11-04 13:54:18 +01:00
github-actions[bot] cca97be2f0
Merge staging-next into staging 2021-11-04 12:01:39 +00:00
Robert Hensing 3bccce68d1
Merge pull request #144440 from SuperSandro2000/lib-fromJSON
treewide: switch ``builtins.fromJSON(builtins.readFile ./file.json)``…
2021-11-04 12:17:40 +01:00
Bas van Dijk f12e976ade module/prometheus: optionally support reloading on config changes
The new option `services.prometheus.enableReload` has been introduced
which, when enabled, causes the prometheus systemd service to reload
when its config file changes.

More specifically the following property holds: switching to a
configuration (`switch-to-configuration`) that changes the prometheus
configuration only finishes successully when prometheus has finished
loading the new configuration.

`enableReload` is `false` by default in which case the old semantics
of restarting the prometheus systemd service are in effect.
2021-11-04 11:15:21 +00:00
github-actions[bot] 7516a2e172
Merge staging-next into staging 2021-11-04 00:02:12 +00:00
Robert Hensing bbce1d9d60 nixosTests.elk.ELK-6: Fix evaluation 2021-11-03 15:15:47 -07:00
github-actions[bot] 3567177949
Merge staging-next into staging 2021-11-03 18:10:58 +00:00
illustris c3d147f507 nixos/hadoop: replace "enabled" options with "enable" options
The module has been using "enabled" in place of enable since init ( 0c10b2baa6 )
2021-11-03 22:44:25 +05:30
illustris 9ca4363191 nixos/hadoop: add HTTPFS 2021-11-03 22:44:25 +05:30
illustris 39c007ce9c nixos/hadoop: Add HA capabilities
- Add HDFS journalnode and ZKFC services
- Test failover of HDFS and YARN master services in full hadoop test
- Check if a minimal HDFS cluster works in the minimal HDFS test
2021-11-03 22:44:24 +05:30
Maciej Krüger cc10e135d4
Merge pull request #144442 from mkg20001/lxd-path 2021-11-03 15:07:32 +01:00
Maciej Krüger b4e153c4ce
Merge pull request #144174 from mkg20001/lxdimage 2021-11-03 15:07:10 +01:00
Maciej Krüger 3eaa28d3c4
nixosTests.lxd: fix test, nftables is now always loaded 2021-11-03 15:05:43 +01:00
Sandro Jäckel 8547db919a
treewide: switch `builtins.fromJSON(builtins.readFile ./file.json)` to lib.importJSON ./file.json 2021-11-03 14:43:52 +01:00
Maciej Krüger e1107898c8
nixosTests.lxd-image-server: init 2021-11-03 14:32:47 +01:00
Robert Hensing c8a63f5adf
Merge pull request #114456 from thefloweringash/elk-update
elk: 7.5.1 -> 7.11.1
2021-11-03 13:16:02 +01:00
github-actions[bot] bf39715fe0
Merge staging-next into staging 2021-11-03 12:01:58 +00:00
Robert Hensing 15e4c45cc7 nixos/tests/elk: Restructure attribute layout to avoid ELK-7 (non-OSS) on Hydra
... or any other tool that respects the recurseForDerivations attribute.
2021-11-03 12:24:41 +01:00
Robert Hensing a9952f0093 Revert "nixos/tests/elk: remove OSS ELK-7 test"
This reverts commit 35db6bc554.
2021-11-03 11:41:53 +01:00
Andrew Childs 35db6bc554 nixos/tests/elk: remove OSS ELK-7 test 2021-11-03 11:37:07 +01:00
Andrew Childs b7f4556002 nixos/tests/elk: propagate pkgs and system to test runner 2021-11-03 11:37:07 +01:00
Alyssa Ross 703ffa2f5d
Merge remote-tracking branch 'nixpkgs/staging-next' into staging 2021-11-03 07:34:33 +00:00
Maciej Krüger 1c31f8db6a
nixosTest.lxdImage: add lxdImage test 2021-11-03 07:49:54 +01:00
Maciej Krüger f21e2644d3
nixosTests.odoo: init 2021-11-03 03:52:42 +01:00
Martin Weinelt 8f5da907b0 Merge remote-tracking branch 'origin/staging-next' into staging 2021-11-02 23:31:28 +01:00
Martin Weinelt b47fcee2a5
Merge pull request #144219 from mweinelt/firefox 2021-11-02 23:31:13 +01:00
Patrick Hilhorst bb009ea48b
nixosTests.bittorrent: fix with new transmission options 2021-11-02 17:41:55 +01:00
Jacek Galowicz 2ba0732988
Merge pull request #142747 from helsinki-systems/fix/test-runner-execute
nixos/test-runner: Fix execute() flakiness
2021-11-02 14:51:50 +01:00
Martin Weinelt d69e703b71
firefox-esr-78: drop
Firefox ESR 78.15 was the last release of this series and is now EOL.
2021-11-02 14:41:04 +01:00
github-actions[bot] 5cac0ef189
Merge staging-next into staging 2021-11-02 06:01:58 +00:00
github-actions[bot] 4b2ca106c9
Merge master into staging-next 2021-11-02 06:01:22 +00:00
oxalica 0f57c4b952 nixosTest/plasma5-systemd-start: init 2021-11-02 09:57:52 +08:00
github-actions[bot] 3f03065e05
Merge staging-next into staging 2021-11-02 00:02:12 +00:00
github-actions[bot] d27dd6653e
Merge master into staging-next 2021-11-02 00:01:32 +00:00
Julian Stecklina 6204fa6c7a
spike: move test to installCheck phase (#143832)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-11-01 21:26:38 +01:00
github-actions[bot] 83d6b7a7e0
Merge staging-next into staging 2021-11-01 18:01:40 +00:00
github-actions[bot] bd0051cd54
Merge master into staging-next 2021-11-01 18:01:02 +00:00
Anderson Torres 83c3a8b356
Merge pull request #143708 from AndersonTorres/new-misc
ucg: rewrite tests
2021-11-01 11:23:42 -03:00
Michael Weiss 22fa348963
Merge pull request #144099 from primeos/nixos-tests-chromium
nixos/tests/chromium: Add a workaround to fix the test for M96+
2021-11-01 13:09:29 +01:00
github-actions[bot] 9e9ee310f8
Merge staging-next into staging 2021-11-01 12:01:37 +00:00
github-actions[bot] cc41bb5851
Merge master into staging-next 2021-11-01 12:01:00 +00:00
Michael Weiss a188a74486
nixos/tests/chromium: Add a workaround to fix the test for M96+
Some upstream changes broke the automatic fallback to SwiftShader.
Without this workaround the GPU initialization fails (apparently due to requiring Vulkan):
machine # libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
machine # [1001:1001:1101/104304.000625:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization
machine # libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
machine # [1052:1052:1101/104305.060496:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization
machine # [1084:1084:1101/104305.165898:ERROR:angle_platform_impl.cc(44)] Display.cpp:894 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1048.
machine # [1084:1084:1101/104305.171191:ERROR:gl_surface_egl.cc(782)] EGL Driver message (Critical) eglInitialize: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1048.
machine # [1084:1084:1101/104305.178707:ERROR:gl_surface_egl.cc(1382)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
machine # [1084:1084:1101/104305.180111:ERROR:gl_ozone_egl.cc(20)] GLSurfaceEGL::InitializeOneOff failed.
machine # [1084:1084:1101/104305.189760:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization
machine # [1092:1092:1101/104305.233470:ERROR:gpu_init.cc(457)] Passthrough is not supported, GL is disabled, ANGLE is

This workaround restores the previous result:
machine # [1004:1004:1101/104551.131190:ERROR:gpu_init.cc(457)] Passthrough is not supported, GL is swiftshader, ANGLE is

The workaround is only required for Chromium, not Google Chrome.
2021-11-01 12:19:28 +01:00
Dominik Xaver Hörl 256a798f82 nixos/kernel: test all upstream kernels, reference linuxKernel directly 2021-11-01 10:20:39 +01:00
AndersonTorres dc4e3b543d ucg: rewrite tests
The tests can be easily done in the local machine, there is no necessity of
starting a virtual machine for them.
2021-10-31 21:25:12 -03:00
github-actions[bot] bef900528f
Merge staging-next into staging 2021-11-01 00:02:05 +00:00
github-actions[bot] 7eaf56d92e
Merge master into staging-next 2021-11-01 00:01:32 +00:00
Sandro 487dd864e5
Merge pull request #143813 from iAmMrinal0/move/ammoniteTest 2021-10-31 23:21:11 +01:00
Sandro afa027591c
Merge pull request #143776 from iAmMrinal0/remove/awsCliTest 2021-10-31 23:20:43 +01:00
Sandro 33f7dd3cfd
Merge pull request #143620 from jtojnar/ppd 2021-10-31 22:48:45 +01:00
Patrick Hilhorst 4fa7ac22c4
nixosTests.cifs-utils: remove
It was broken on all counts and not included in all-tests.nix, so it was never really executed anyways.
2021-10-31 21:51:01 +01:00
Guillaume Girol 9545fade8b
Merge pull request #142743 from symphorien/ihm-5-dev-2
python3.pkgs.ihatemoney: 4.2 -> 5.1.1
2021-10-31 19:32:40 +00:00
github-actions[bot] e92f6f6da8
Merge staging-next into staging 2021-10-31 18:01:34 +00:00
github-actions[bot] 7ca1d48ff2
Merge master into staging-next 2021-10-31 18:01:01 +00:00