3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

4214 commits

Author SHA1 Message Date
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
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