Commit graph

9786 commits

Author SHA1 Message Date
Jenny d3ba34c9e4
plausible: 2.0.0 -> 2.1.4 (#356221) 2024-12-01 18:31:00 +01:00
birkb 35d4e5e11b linuxPackages.drbd: 9.2.8 -> 9.2.9
- 6.8 kernel support added
- aligned to Nix standard build environment
- test added
- redundant installPhase and postFixup definitions removed

Signed-off-by: birkb <birk@batchworks.de>
Signed-off-by: Julian Stecklina <julian.stecklina@cyberus-technology.de>
2024-12-01 16:38:06 +01:00
TNE 12f0948900 nixos/tests/nat: Create more broad and detailed testing conditions
This code is mostly from #279629, the uninvoled client checks were removed (since they are the same as the direct connection to the client test) and the tests were adjusted to work as intended as well as bugs fixed.
In some cases, some tests are skipped when they do not make sense for the specific configuration that is being tested.
2024-12-01 09:36:03 +01:00
K900 007b4f3e71 Merge remote-tracking branch 'origin/staging-next' into staging 2024-12-01 10:29:27 +03:00
Michele Guerini Rocco 39728bf9bd
nixos/tests/networking: fix GRE test (#360349) 2024-11-30 22:33:47 +01:00
Adam C. Stephens 33b9d57c65
incus: fix container tests from image rename (#360305) 2024-11-30 15:04:26 -05:00
Bobby Rong cd45cfe9c4
nixosTests.vscodium: Workaround OCR tests
An attempt to help https://hydra.nixos.org/build/279535629/nixlog/1.

The "Get Started with" text is much easier to find.
Also scale vscodium to help OCR find the "Untitled" text.
2024-11-30 20:42:46 +08:00
rnhmjoj 9cb83c2af4
nixos/tests/networking: fix GRE test
More fallout from c6f6c282.
2024-11-30 09:51:44 +01:00
Franz Pletz 0d48c50f4b
nixos/networkd: use upstream wait-online@ unit
Use the upstream unit for systemd-networkd-wait-online@.service and fix
the spelling.
2024-11-30 07:15:46 +01:00
Adam C. Stephens c494726b98
incus: fix container tests from image rename 2024-11-30 00:08:02 -05:00
Adam C. Stephens 9ab59bb5fb
incus: format 2024-11-30 00:04:54 -05:00
Grimmauld 407bd6b344
nixos/tests/apparmor: adopt 2024-11-29 19:38:23 +01:00
github-actions[bot] da1fc0632d
Merge staging-next into staging 2024-11-29 12:06:39 +00:00
matthewcroughan 1e925a2dfd nixos/scion: fix nixosTest dates and validity period for TRCs
The validity period for TRCs cannot be set to an rfc3339 date, only an
offset from the current system time, which if set to 3650d rather than
36500d will still give us quite a long time before it becomes invalid,
which is acceptable for the time being.
2024-11-29 10:22:40 +00:00
OPNA2608 00ee3ec75f tests/lomiri-mediaplayer-app: init 2024-11-28 23:51:57 +01:00
github-actions[bot] d6e8bb12d1
Merge staging-next into staging 2024-11-28 18:05:03 +00:00
Ilan Joselevich c7c136a610
kanidm: allow hydra to cache alternative build with secret provisioning (#358782) 2024-11-28 19:35:25 +02:00
Flo dc8d92608d Add tests 2024-11-28 13:50:44 +01:00
Flo f5080d12b3 Rebuild password update functionality, add tests 2024-11-28 13:47:45 +01:00
github-actions[bot] a7d715306f
Merge staging-next into staging 2024-11-27 00:15:38 +00:00
matthewcroughan c8446a92ab nixos/scion: hardcode large expiry timestamps in bootstrap.sh
This makes timestamps and cert expiry less of a spurious issue in VM
Tests, and in CI/Hydra, by hardcoding large values, and allowing certs
to begin at 0 seconds from UNIX epoch time
2024-11-26 15:56:41 +00:00
K900 3b5cb28a23 Merge remote-tracking branch 'origin/staging-next' into staging 2024-11-26 09:46:04 +03:00
Jenny ac24b97156
nixos/zammad: refactor package, module and nixos-test (#277456) 2024-11-25 19:45:58 +01:00
Emily 382ef6cd88 Merge staging-next into staging 2024-11-25 02:00:00 +00:00
Thiago Kenji Okada 006b13c56c retroarch-{bare,full}: renamed from retroarch{Bare,Full} 2024-11-24 21:58:01 +00:00
oddlama 91cbd96ffe
kanidm: allow hydra to cache alternative build with secret provisioning 2024-11-24 19:24:43 +01:00
Franz Pletz d4b1fcdbe6
nixos/redlib: format, add maintainer, add cfg.settings, use upstream systemd unit (#345715) 2024-11-24 17:13:16 +01:00
Felix Bühler b675ca747f
nixos/mopidy: test & cleanup (#356021) 2024-11-24 16:01:21 +01:00
netali 4ad703d62e
nixos/tests/zammad: refactor test 2024-11-24 14:42:49 +01:00
Maximilian Bosch 4220a62d70
Merge: nixos/victoriametrics: check config, more tests & update desc (#353950) 2024-11-24 14:18:29 +01:00
Sefa Eyeoglu 2636739e7a
nixos/monado: add forceDefaultRuntime option (#348815) 2024-11-24 13:26:39 +01:00
Felix Buehler dddc9d800a nixos/mopidy: fmt 2024-11-24 12:03:28 +01:00
Felix Buehler 8f6ffd06a4 nixos/mopidy: add test 2024-11-24 12:03:28 +01:00
K900 15bb2bfa54 Merge remote-tracking branch 'origin/staging-next' into staging 2024-11-24 10:18:58 +03:00
Adam C. Stephens 4238856f15
incus: 6.6.0 -> 6.7.0 (#356230) 2024-11-23 17:46:48 -05:00
Adam Stephens ed24c80ef6
incus: add tpm to container test 2024-11-23 16:37:31 -05:00
Adam Stephens 0e12722d4b
incus: fix tpm support 2024-11-23 16:28:31 -05:00
Adam C. Stephens 053e9d35f3
incus: add lvm to storage test (#358528) 2024-11-23 14:27:33 -05:00
Adam C. Stephens 496390848d
incus: add lvm to storage test 2024-11-23 13:15:48 -05:00
github-actions[bot] 47c4a8d45e
Merge staging-next into staging 2024-11-23 18:04:31 +00:00
Sandro d1c079db10
nixos/suricata: Fix module and add to module-list (#349826) 2024-11-23 18:30:55 +01:00
github-actions[bot] 4573b0b668
Merge staging-next into staging 2024-11-23 06:05:56 +00:00
Connor Baker 4e54bbdea1
nixos/activation: Add pre-switch checks (#236375) 2024-11-22 17:33:20 -08:00
Emily 9bc900c020
treewide: fix sed -ie and friends (#356770) 2024-11-22 20:54:10 +00:00
Ryan Yin ad06fc936d nixos/victoriametrics: check config, more tests, update desc 2024-11-23 01:19:11 +08:00
Alexander Sieg e8c9fa5bc8 plausible: 2.0.0 -> 2.1.4 2024-11-22 13:52:18 +01:00
Guanran Wang 0f77709e0f
nixosTests.redlib: test settings mechanic 2024-11-22 15:42:09 +08:00
tomberek a42bdea0a7
rfmakecloud: 0.0.18 -> 0.0.21 (#356963) 2024-11-22 00:35:19 -05:00
tomberek b2d5ac855d
technium-dns-server: 13.0.2 -> 13.2 (#356520) 2024-11-22 00:24:16 -05:00
Jared Baur 6e192c4489
nixos/activation: Add pre-switch checks
Add an option for shell script fragments that are ran before switching
to a new NixOS system configuration (pre installation of bootloader or
system activation). Also add a new subcommand for
switch-to-configuration called "check" that will cause the program to
always exit after checks are ran.
2024-11-21 13:02:54 -08:00
Kerstin Humm ff2f00d425 nixos/canaille: init module
Co-Authored-By: Janik <80165193+Janik-Haag@users.noreply.github.com>
2024-11-21 20:28:03 +01:00
Kerstin Humm 897954b8ae nixos/open-web-calendar: init module 2024-11-21 16:34:39 +01:00
kirillrdy c8021779cd
amazon-cloudwatch-agent: init at 1.300049.1 (#337212) 2024-11-21 17:18:47 +11:00
Sefa Eyeoglu 91fee43100
nixos/monado: add forceDefaultRuntime option
This option replaces the active runtime manifest in the user directory.
Games running through Steam's Pressure Vessel cannot read /etc so
forcefully overriding the file every time the service starts, will allow
those games to use Monado.

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-11-20 21:42:06 +01:00
Daniel Sampliner a61e43e18e nixos/netdata: copy apps_groups.conf instead of symlink
Currently, it is not possible to configure `apps.plugin` via NixOS
option `services.netdata.configDir."apps_groups.conf"`. This is because
`apps.plugin` explicitly does not follow symbolic links when reading its
configuration from apps_groups.conf[^ref].

This change will copy that file instead of symlinking to address this.

Fixes #255161

[^ref]: 3849e70f93/src/collectors/apps.plugin/apps_plugin.c (L679)
2024-11-20 08:43:52 -05:00
Weijia Wang 5bdc0862bf
wordpress: 6.6.2 -> 6.7 (#356449) 2024-11-19 22:44:51 +01:00
Sefa Eyeoglu 969ad19f9d
nixos/monado: nixfmt
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-11-19 17:00:50 +01:00
commiterate 3d0e3156ea amazon-cloudwatch-agent: init at 1.300049.1 2024-11-18 19:19:35 -05:00
Cosima Neidahl e6b5e795bf
kimai, nixos/kimai: init at 2.24.0 (#353187) 2024-11-19 01:05:53 +01:00
Francesco Gazzetta dca9282154
libresprite: 1.0 -> 1.1 (#356557) 2024-11-18 21:22:07 +00:00
Dominique Martinet f27f1e0931 nixos/tests/rmfakecloud: new test 2024-11-18 22:59:41 +09:00
Wolfgang Walther 31706d4a55
treewide: fix sed -ie and friends
GNU sed's man page has this to say about "-i":

  Because -i takes an optional argument, it should not be followed by
  other short options:
  [..]
  sed -iE '...' FILE
    This is equivalent to --in-place=E, creating FILEE as backup of FILE

This means all "-iX" did not have the intended effect X, so we can
instead remove them.
2024-11-17 18:24:54 +01:00
Ratchanan Srirattanamet 29e586e508 nixos/kimai: init module & add test 2024-11-17 16:20:21 +00:00
Julien Malka 891bfded62 nixos/tests/agorakit: init test 2024-11-17 16:08:58 +01:00
Marcin Serwin 6fa830fc0d
libresprite: 1.0 -> 1.1 2024-11-17 15:07:57 +01:00
Viorel-Cătălin Răpițeanu 5705ab5bc5 wordpress: 6.6.2 -> 6.7
Update the package to the latest version.
2024-11-17 15:56:09 +02:00
Leona Maroni 84ad4442b0
nixos/gotosocial: fix failing tests (#353901) 2024-11-17 13:38:30 +01:00
gileri cc2afaa16f
tt-rss: Add simple test 2024-11-16 23:57:47 +01:00
Maximilian Bosch 97a911e8fb
Merge: nixos/postgresql: extension based hardening relaxation (#355010) 2024-11-16 22:29:36 +01:00
Leona Maroni 3013234aef
druid: 30.0.0 -> 31.0.0 (#351877) 2024-11-16 22:20:41 +01:00
Robert Rose cd96421ea9 nixos/k3s: refactor multi-node test
The refactoring parallelizes preliminary tasks like the node start and
import of the pause image to speed up execution of the test. It also
uniforms the usage of extraFlags for all nodes.
2024-11-16 22:06:22 +01:00
Maximilian Bosch 68d9643388
nixos/tests/postgresql: test plv8 hardening on non-JIT variants only
PostgreSQL with JIT support enabled doesn't work with plv8. Hence, we'd
get an evaluation failure for each
`nixosTests.postgresql.postgresql.postgresql_jit_X`.

This should be restructured in the future (less VM tests for custom
extensions, but a single VM test for this case to cover). For now, we
should get this fix out and this is a good-enough approach.
2024-11-16 21:16:06 +01:00
Tim Häring 7550580e19
technium-dns-server: 13.0.2 -> 13.2 2024-11-16 18:31:39 +01:00
Martin Weinelt e198536d26
nixosTests.postgresql: test hardening gets relaxed
The plv8 plugin requires access to pkey syscalls. The execution will
crash hard when it is not allowed by the syscall filter.

Co-Authored-By: Jan Tojnar <jtojnar@gmail.com>
2024-11-16 17:29:34 +01:00
Martin Weinelt 223a6c6ed0
nixos/postgresql: rename extraPlugins to extensions
This is the upstream lingo, and it makes everything slightly less
confusing.
2024-11-16 14:46:16 +01:00
Marcus Ramberg 0aa644e317
k3s_1_31: 1.31.1+k3s1 -> 1.31.2+k3s1 (#352182) 2024-11-16 09:42:43 +01:00
Adam C. Stephens 7ea9ba60d8
nixos/incus: add incus-user service and socket (#355645) 2024-11-15 23:34:21 -05:00
Adam Stephens 0214dd4ef2
nixos/tests/incus: test incus-user 2024-11-15 23:32:16 -05:00
Maximilian Bosch 5c01691cf2
Merge: postgresql_12: remove (#353158) 2024-11-15 12:07:14 +01:00
Maximilian Bosch 0b3eef7441
postgresql_12: remove
This will be EOL at the end of November, so there's little reason to
keep it in 24.11[1]. As discussed, we'd like to keep it for as long as
possible to make sure there's a state in nixpkgs that has the latest
minor of postgresql_12 available with the most recent CVEs fixed for
people who cannot upgrade[2].

This aspect has been made explicit in the manual now for the next .11
release.

During the discussions it has been brought up that if people just do
`services.postgresql.enable = true;` and let the code decide the
postgresql version based on `system.stateVersion`, there's a chance that
such EOL dates will be missed. To make this harder, a warning will now
be raised when using the stateVersion-condition and the oldest still
available major is selected.

Additionally regrouped the postgresql things in the release notes to
make sure these are all shown consecutively. Otherwise it's a little
hard to keep track of all the changes made to postgresql in 24.11.

[1] https://endoflife.date/postgresql
[2] https://github.com/NixOS/nixpkgs/pull/353158#issuecomment-2453056692
2024-11-15 09:17:06 +01:00
Robert Rose 2a79402b1e nixos/k3s: use same k3s package in multi-node test
The test previously violated the Kubernetes version skew policy by
deploying a kubelet of hte most recent version in a cluster with an
older apiserver.
2024-11-14 16:04:29 -03:00
Weijia Wang 9c631cfd4a
nixos/nixosTests.kerberos: add test suite for LDAP backend (#337719) 2024-11-14 17:26:05 +01:00
Pol Dellaiera cf69fc271d
nixos/glances: init (#303320) 2024-11-14 05:47:04 +01:00
Yorick 97dfe7efe4
maintainers: Remove mkaito (#355650) 2024-11-13 19:57:30 +01:00
Maximilian Bosch 0524f3b302
Merge: nixosTests.postgresql: run tests with JIT as well (#355502) 2024-11-13 16:13:01 +01:00
Nessdoor 005ec27097 nixos/nixosTests.kerberos: add test suite for LDAP backend 2024-11-13 14:42:06 +01:00
Christian Höppner 8feba149a0
mkaito: Remove 2024-11-13 12:03:00 +00:00
Claes Hallström d174bf438b nixos/glances: init module 2024-11-13 00:06:47 +01:00
Wolfgang Walther 9486472352
nixosTests.postgresql: run tests with JIT as well
This was intended for quite some time already, but ever since enableJIT
was changed to be the source of truth of JIT-iness for the PostgreSQL
module, this hasn't worked for the tests anymore.
2024-11-12 21:04:41 +01:00
Maximilian Bosch dbd8326b7f
Merge: wordpress: drop unmaintained release (#355291) 2024-11-12 19:20:25 +01:00
Weijia Wang 40d6aaaeb1 wordpress: drop unmaintained release 2024-11-11 23:26:22 +01:00
Cosima Neidahl e1b70fb061
nixos/lomiri: Better support stand-alone greeter usage (#352425) 2024-11-11 20:00:29 +01:00
Weijia Wang 99ad7da9e3
nixosTests.frr: fix node.router.config warning (#354710) 2024-11-11 00:54:13 +01:00
Maximilian Bosch 9a333460f5
Merge: postgresql: improve passthru.tests (#352966) 2024-11-10 15:34:04 +01:00
Sefa Eyeoglu e9c53bdf9a
nixos/localsend: add package option & allow udp port (#333485) 2024-11-10 12:47:30 +01:00
Robert Schütz 06be8564e5
immich: 1.119.1 -> 1.120.1 (#354083) 2024-11-09 14:53:47 -08:00
Robert Schütz ee1cffa25c immich: 1.119.1 -> 1.120.1
Changelog: https://github.com/immich-app/immich/releases/tag/v1.120.0
           https://github.com/immich-app/immich/releases/tag/v1.120.1
2024-11-09 14:44:21 -08:00
Wolfgang Walther 45cef36e39
nixosTests.postgresql: run nixfmt
Because with as many changes as in here anybody working on those test
files will have merge conflicts anyway.
2024-11-09 18:24:52 +01:00
Wolfgang Walther 128244b598
nixosTests.postgresql: use a common pattern throughout all tests
Avoiding "with", using the same names and basic structure in each test.

Consistency is key!
2024-11-09 18:24:52 +01:00
Wolfgang Walther 9035573855
nixosTests.postgresql: move all postgresql related nixosTests into one folder
This makes it possible to run all those tests at once by building
nixosTests.postgresql and allow a simple entry to ci/OWNERS for all
tests.
2024-11-09 18:24:52 +01:00
Wolfgang Walther db2d6a00ab
postgresqlPackages.anonymizer: make passthru.tests work with correct package
Same reasoning as commit before.
2024-11-09 18:24:52 +01:00
Wolfgang Walther 23c19a255f
postgresqlPackages.timescaledb: make passthru.tests work with correct package
Same reasoning as commit before.
2024-11-09 18:24:52 +01:00
Wolfgang Walther 6d7da20a90
postgresqlPackages.tsja: make passthru.tests work with correct package
Same reasoning as commit before.
2024-11-09 18:24:52 +01:00
Wolfgang Walther a5c41ae80a
postgresqlPackages.pgvecto-rs: make passthru.tests work with correct package
Same reasoning as commit before.
2024-11-09 18:24:51 +01:00
Wolfgang Walther 0af934adf7
postgresqlPackages.pgjwt: make passthru.tests work with correct package
Same reasoning as commit before.
2024-11-09 18:24:51 +01:00
Wolfgang Walther ecffab1fda
postgresqlPackages.postgis: move nixosTests.postgis into package
Same reasoning as commit before.
2024-11-09 18:24:51 +01:00
Wolfgang Walther aded718a98
postgresqlPackages.apache_datasketches: move nixosTests.apache_datasketches into package
There is no need to fire up a whole VM just to run a two line test of
creating the extension. We can use postgresqlTestExtension for that.
This has the advantage that it runs with postgresqlTestHook, so without
a VM, making it more portable.
2024-11-09 18:24:51 +01:00
Wolfgang Walther 139c546676
postgresql: add passthru.tests.postgresql-tls-client-cert
Same reasoning as commit before.
2024-11-09 18:24:51 +01:00
Wolfgang Walther f6c2de9262
postgresql: add passthru.tests.postgresql
Restructuring the nixosTests.postgresql test a little bit to allow
calling it with the specific versioned package from generic.nix.
2024-11-09 18:24:51 +01:00
Wolfgang Walther 319d82d5c2
nixosTests.postgresql-wal2json: avoid manual imports
Same reasoning as commit before.
2024-11-09 18:24:51 +01:00
Wolfgang Walther 65ef7381c8
nixosTests.postgresql-jit: avoid manual imports
Same reasoning as commit before.
2024-11-09 18:24:50 +01:00
Wolfgang Walther a1ae4377e0
nixosTests.postgresql-wal-receiver: avoid manual imports
Manually importing postgresql packages from the /pkgs/ folder or
manually importing the test from /nixos/tests/ in generic.nix is not
only ugly, but also forbidden should we ever move to pkgs/by-name.

We can achieve almost the same with a slightly different setup. We allow
overriding the postgresql package for the test via passthru.override, to
make sure that each postgresql_xx.tests.postgresql-wal-receiver is
properly teted with the right version.
2024-11-09 18:24:50 +01:00
Wolfgang Walther d3feaaebea
nixosTests.pgjwt: fix test
This seems to have broken years ago, because "CREATE EXTENSION
pgcrypto;" etc. were added to the upstream file about 6 years ago.
2024-11-09 18:23:58 +01:00
Noa Aarts 1cc81439e7
nixosTests.frr: fix warning, use nodes.router instead of nodes.router.config 2024-11-09 09:28:11 +01:00
Noa Aarts f93219dfa0
nixosTests.frr: format using nixfmt 2024-11-09 09:27:24 +01:00
K900 58626b7634
nixos/tests/acme: explicitly start the targets we wait for (#354629) 2024-11-09 09:58:58 +03:00
K900 c8fd06c3b2 nixos/tests/acme: wait for server to run before starting the target
This is really an ordering issue in the ACME module itself,
but while we think of how to fix it, this should at least unflake
the tests.
2024-11-09 09:40:38 +03:00
Weijia Wang da5252dd31
nixosTests.retroarch: fix test by changing window title (#354067) 2024-11-09 01:03:07 +01:00
Peder Bergebakken Sundt dcc6e1558c
nixos/keepassxc: fix test (#353938) 2024-11-09 00:10:04 +01:00
K900 ee6df93fe2 nixos/tests/acme: explicitly start the targets we wait for
This should address the other source of flakiness in the test.
2024-11-09 01:57:35 +03:00
K900 0453fe2395
{apache,caddy,nginx}: not "before" ACME certs using DNS validation (#336412) 2024-11-08 18:50:28 +03:00
Bruno BELANYI 58a1a6107d nixos/tests/nginx-sso: use '_secret' 2024-11-08 11:29:27 +00:00
ThinkChaos b432e86caf
nixos/acme: remove unused binding in tests 2024-11-07 20:19:12 -05:00
Emily 3a6d4d006a
treewide: use getLib when accessing clang / libclang / stdenv.cc.cc (#354197) 2024-11-07 18:16:05 +00:00
Pavel Sobolev d6d7fe94d4
nixos/whisparr: initial commit 2024-11-07 20:46:59 +03:00
Reno Dakota 52bf1163fa
treewide: use getLib when accessing clang / libclang / stdenv.cc.cc
In preparation to eliminate the lib output for the unwrapped clang, use
`lib.getLib` to access the `lib` output.
2024-11-07 10:27:41 +00:00
Fabián Heredia Montiel 2f31bf4c47 linux/hardened/patches/6.11: init at v6.11.6-hardened1 2024-11-06 18:15:54 -06:00
Noa Aarts 5d0cd804a5
nixosTests.retroarch: fix test by changing expected window title 2024-11-06 20:09:10 +01:00
Noa Aarts dd4d691d9b
nixosTests.retroarch: format using nixfmt 2024-11-06 20:08:39 +01:00
Ramses d06e176158
nixos/swapspace: init module (#348588) 2024-11-06 16:52:09 +01:00
Mrmaxmeier 3339bf30e8 virtualbox: 7.0.22 -> 7.1.4 2024-11-06 13:57:07 +01:00
Sandro 90a1d755a5
nixos/tests/redmine: Limit platforms to supported ones (#348178) 2024-11-06 10:01:27 +01:00
amesgen 0e25167336
nixos/keepassxc: stop using deprecated cli option
Addresses

    The -k option will be deprecated. Please use the --set-key-file option
    instead.

This isn't causing any problems _yet_, but it seems easy enough to fix it now
already.
2024-11-06 01:59:56 +01:00
amesgen c712874d4a
nixos/keepassxc: adapt to new UI details
There now is a "Refresh Hardware Keys" icon since 2.7.7, which we have to skip.
I also needed to add more explicit handling of the intermediate file dialog to
get the test to pass.
2024-11-06 01:59:56 +01:00
amesgen 852523aa47
nixos/keepassxc: work around OCR issues
Since https://github.com/NixOS/nixpkgs/pull/288208, the OCR got worse and can't
seem to be able to read the text from title bars 😭. Setting the background
color to white fixes the problem.

https://ice-wm.org/manual/icewm-11.html
https://ice-wm.org/man/icewm-prefoverride
2024-11-06 01:59:28 +01:00
Sandro 5634c21398
nixos/tests/prometheus-exporters: add exportarr-sonarr test (#285119) 2024-11-06 00:13:17 +01:00
Blake Smith d65243dcef nixos/gotosocial: fix failing tests
Fixes: https://github.com/NixOS/nixpkgs/issues/353896

Upstream gotosocial started caching instance user count in:

4592e29087
2024-11-05 14:17:07 -06:00
nikstur 0c02b3076c
nixos/etc-overlay: clean up temporary directories (#339802) 2024-11-05 17:13:27 +01:00
Yorick 12eedc8e88
nixos/victoriametrics: harden systemd unit, add more options. (#350737) 2024-11-05 13:36:19 +01:00
Emily ff7d68490a
nixos/activation-script: Make installBootLoader default a script (#353543) 2024-11-05 00:21:19 +00:00
Weijia Wang acf3de8d62
nixos/guix: add declarative substituters option (#353518) 2024-11-04 20:43:41 +01:00
emilylange 9a4e945ceb
nixos/tests/forgejo: fix after git v2.47 bump
git v2.47.0 made changes to trace2's nesting.

trace2.eventNesting (GIT_TRACE2_EVENT_NESTING) defaults to 2, but the
nested region we are after gained a level and is now at level 3 instead
of 2.

eventNesting describes the maximum nesting level to be logged.
So to make it log the negotated-version in connect.c again, we increase
the default by one, from 2 to 3.
2024-11-04 17:34:54 +01:00
Simon Hauser c4edf93988
Cleanup helsinki maintainer (#353611)
* maintainers: update email conni2461

* maintainers: add helsinki-jo

* tree-wide: cleanup maintainership of helsinki-systems
2024-11-04 12:59:26 +01:00
7c6f434c 2bd5a51a15
timidity: add enableVorbis option (#201828) 2024-11-04 10:24:39 +00:00
Will Fancher f92ec1bc93 nixos/tests/switchTest: Add test for dbus reloading 2024-11-04 04:12:52 -05:00
Will Fancher a7cda6835f nixos/tests/switchTest: Remove spurious dbus reload checks
Previously, the base system had grub in `systemPackages` but the
specialisations did not. This is because of a few factors:

- Grub was enabled in the nixos config
- Specialisations set `grub.device = "nodev"` (see: system/activation/no-clone.nix)
- Grub is added to `systemPackages` depending on whether `devices == ["nodev"]`

This meant that switching between the base system and a specialisation
always changed `system-path.drv`, which is a reload trigger for
dbus. With grub disabled in this test, this no longer happens.
2024-11-04 04:12:52 -05:00
Will Fancher 40b7674b98 nixos/tests/switchTest: Test no boot loader 2024-11-04 03:33:26 -05:00
Christian Kögler 563a48ffd8
nixos/tests/prometheus-exporters/varnish: make state directory explicit (#353418) 2024-11-04 07:10:21 +01:00
Aleksana 0a3743227d
varnish74: drop (#352492) 2024-11-04 10:15:01 +08:00
Gabriel Arazas 7095e0f8c1 nixos/guix: add declarative substituters option 2024-11-03 15:12:12 -06:00
Sandro f5c76ad2b5
nixos/renovate: set service type to simple (#334557) 2024-11-03 16:52:53 +01:00
Wim de With 01aab17a2e nixos/tests/prometheus-exporters/varnish: make state directory explicit 2024-11-03 16:42:04 +01:00
Guillaume Girol 257cb10f86
os-prober: 1.81 -> 1.83 (#349856) 2024-11-03 14:22:42 +01:00
Maximilian Bosch 500d745e73
Merge: nixos/postgresql: set up sandboxing (#344925) 2024-11-02 11:12:15 +01:00
Will Fancher 37ee6ba681 Revert "NixOS apply script"
Reverts #344407

This has broken nixos-rebuild switch so that it no longer updates the profile, which has bad consequences including not updating the systemd-boot menu with new generations.
2024-11-01 20:18:09 -04:00
Anderson Torres 77ec23d6af nixos/tests/mpd: update and format
mpc-cli is now mpc
2024-11-01 20:07:04 -03:00
Maximilian Bosch d9bd5a0548
Merge: Fix NixOS tests for various Prometheus exporters (#352602) 2024-11-01 16:49:37 +01:00
Nico Felbinger f2de541dfd
nixos/suricata: add module to modules-list 2024-11-01 14:43:00 +01:00
Aleksana 8013c944ee
nixos/tests/etcd: undo explicit network declaration (#352599) 2024-11-01 21:27:12 +08:00
Adam C. Stephens f1cb012f82
kanidm: 1.3.3 -> 1.4.0 (#352773) 2024-11-01 08:08:41 -04:00
Martin Weinelt 93083489ba
nixos/tests/kanidm: update for 1.4.0 2024-11-01 04:31:04 +01:00
Emily 21980f5e37
nixos/tests/boot-stage1: Adjust for new pgrep output (#352769) 2024-11-01 03:01:10 +00:00
Will Fancher ec7e6bad43 nixos/tests/boot-stage1: Adjust for new pgrep output 2024-10-31 22:37:03 -04:00
Ryan Yin 89b4cb7299 nixos/victoriametrics: harden systemd unit, add more options. 2024-10-31 23:47:02 +08:00
mnv 71efd64768 nixos/tests/etcd: undo explicit network declaration 2024-10-31 20:59:07 +05:30
superherointj 7011a66b4d nixos/tests/k3s/etcd: add etcd health check 2024-10-31 10:54:17 -03:00
Wim de With 44b35795df nixos/tests/prometheus-exporters/lnd: fix bitcoind configuration
bitcoind v28 made a breaking change that affects lnd. This setting
reverts bitcoind to old behavior until lnd is updated to be compatible
with bitcoind v28.
2024-10-31 14:08:35 +01:00
Aleksana ef04eea76a
etcd.nix: minor fixes (#350937) 2024-10-31 18:12:16 +08:00
Aleksana 7720f49ae2
nixosTests.jibri: fix evaluation (#350744) 2024-10-31 17:45:46 +08:00
Aleksana 1d335495b4
nixos/tests/docker-tools-overlay: fix test (#348113) 2024-10-31 17:22:00 +08:00
github-actions[bot] c89d3d9070
Merge master into staging-next 2024-10-31 00:14:46 +00:00
Thomas Gerbet 132cb2a957 varnish74: drop
Varnish 7.4 is EOL and not supported upstream anymore again.
2024-10-31 00:09:41 +01:00
Wim de With 93cce0becc nixos/prometheus: remove tor exporter 2024-10-30 19:42:51 +01:00
OPNA2608 23e40c0ca4 tests/lomiri: Only enable greeter in greeter test
To test a scenario where only the greeter portion is being enabled, not the whole DE.
2024-10-30 18:46:10 +01:00
phanirithvij e4c898c807 nixos/swapspace: add tests
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
2024-10-30 22:42:26 +05:30
github-actions[bot] dee80e3490
Merge master into staging-next 2024-10-30 00:14:27 +00:00
Robert Hensing d0b30777a2 nixosTests.nixos-rebuild-specialisations-legacy: init 2024-10-30 00:21:21 +01:00
Robert Hensing 313451b74a nixosTests.rebuild-target-host-legacy: init 2024-10-30 00:21:21 +01:00
Robert Hensing 6427500989 nixos/toplevel: Add bin/apply 2024-10-30 00:21:20 +01:00
RTUnreal c6053a54bb nixos/tests/mailhog: modify test to use system sendmail.
change the test to test the `services.mailhog.setSendmail` option. This
will also test the STMP connection as well.
2024-10-29 19:17:59 +01:00
Robert James Hernandez c258e18f67 nixos/auto-cpufreq: init vm test
Even though cpufreq cannot be adjusted within qemu this test is still
useful to ensure that the service is running and the auto-cpufreq cli is
able to interact with the auto-cpufreq service.
2024-10-29 13:46:32 +00:00
github-actions[bot] 6bc001ea3b
Merge master into staging-next 2024-10-29 12:06:00 +00:00
Aleksana 91d052e89a
cups vm tests: fix race condition, add more tests (#338193) 2024-10-29 18:56:19 +08:00
K900 0c45a8b5c4 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-28 21:46:13 +03:00
Pol Dellaiera dc8a253d56
nixos/send: init (#351255) 2024-10-28 18:26:33 +01:00
Thomas Gerbet a98b8f618b druid: 30.0.0 -> 31.0.0
Fixes CVE-2024-45384 and CVE-2024-45537.

Release notes:
https://github.com/apache/druid/releases/tag/druid-31.0.0
https://github.com/apache/druid/releases/tag/druid-30.0.1
2024-10-28 14:09:31 +01:00
Aleksana e3bd08b1b4
freetube: 0.21.3 -> 0.22.0 (#351551) 2024-10-28 20:13:20 +08:00
K900 66f01b7af9 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-28 15:11:30 +03:00
Ivan Mincik 120be0345d
qgis: add server support (#267301) 2024-10-28 08:17:33 +00:00
Fabián Heredia Montiel 34b62f7c47 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-27 16:10:56 -06:00
Ryan Omasta cbaccf94d4
nixos/tests/freetube: fix OCR keyword 2024-10-27 12:46:16 -06:00
Moraxyc c9086d8837
nixos/send: init 2024-10-28 00:23:07 +08:00
h7x4 620dccb431
nixos/test/fcitx5: add assertion message 2024-10-27 13:27:06 +01:00
Yarny0 9bca42857a nixos/tests/printing: test cases for domain socket only config
Add two new vm tests for the printing configuration that
test `listenAddresses = []`, i.e., the situation where cups
only listens on the unix domain socket `/run/cups/cups.sock`.

This helps catching bugs like this:

https://github.com/OpenPrinting/cups/issues/985
https://github.com/NixOS/nixpkgs/pull/337748
2024-10-27 10:52:02 +01:00
Yarny0 2e48883fc4 nixos/tests/printing: inherit lib 2024-10-27 10:47:31 +01:00
Yarny0 1693e1acc0 nixos/tests/printing: fix race of lpstat and ensure-printers
There is a nasty race condition in the cups tests.
To understand what is going on, one must first note that
printers are installed in the vms with ensure-printers.service,
which is started as part of multi-user.target.
ensure-printers.service in turn triggers a start of
cups.service as it needs to connect to the local cups daemon.

This is what happens when the test runs:
1  the test waits for cups.socket or cups.service to start up
   (subtest "Make sure that cups is up on both sides...")
2  after cups.service started
   (it starts even in the "socket" case,
   triggered by ensure-printers.service),
   ensure-printers.service is started
3  the test tries to connect to the cups daemons via curl
   (subtest "HTTP server is available too")
4  the test verifies the required printers are installed
   ("lpstat -a" called by subtest "LP status checks")

Usually, 3 needs some time, so ensure-printers.service
already installed all printers that are required by 4.
But if 3 is too fast, or if ensure-printers.service is too slow,
4 fails to find the printers it is looking for.

One can provoke the problem by adding

> systemd.services.ensure-printers.serviceConfig.ExecStartPre = "/run/current-system/sw/bin/sleep 10";

to the `nodes.client` configuration.

The commit at hand fixes the problem by changing 1:
Instead of waiting for cups,
it now waits for ensure-printers.service
(which in turn waits for cups.service and cups.socket).
This is also in accordance with the
subtest description in the code that promises to
"Make sure that cups is up [...] and printers are set up".
2024-10-27 10:45:38 +01:00
Robert Schütz 2eb3286d9d
mollysocket: 1.4.1 -> 1.5.1 (#351569) 2024-10-26 23:22:06 -07:00
Robert Schütz db2dcfb6f7 mollysocket: 1.4.1 -> 1.5.1
Diff: https://github.com/mollyim/mollysocket/compare/1.4.1...1.5.1

Changelog: https://github.com/mollyim/mollysocket/releases/tag/1.5.1
2024-10-26 21:58:15 -07:00
K900 f21f4ca3ee Merge remote-tracking branch 'origin/master' into staging-next 2024-10-26 21:05:47 +03:00
Emily 7f753fb746
nixos/systemd: Enable systemd-machine-id-commit.service (#351151) 2024-10-26 15:56:09 +01:00
Martin Weinelt 5e10c1522b
nixos/avahi-daemon: set up sandboxing (#348406) 2024-10-26 16:22:04 +02:00
Martin Weinelt ca4f13857c
nixos/coturn: set up sandboxing (#348396) 2024-10-26 16:21:46 +02:00
github-actions[bot] 02bb5e5201
Merge master into staging-next 2024-10-26 00:14:06 +00:00
Maciej Krüger e907f6aa04
odoo: fix tests and update to 18.0 (#346397) 2024-10-26 01:21:04 +02:00
K900 7f898ed413 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-25 21:06:42 +03:00
Frédéric Christ 8f4b41cfd4 nixos/systemd: Enable systemd-machine-id-commit.service
Prior to this contribution, every boot with a default configuration was
considered `ConditionFirstBoot=true` by systemd, since /etc/machine-id
was not commited to disk.

This also extends the systemd with a check for subsequent boots not
being considered first boots.
2024-10-25 14:03:15 +02:00
Rémi NICOLE 0433962e5b
netbox: 3.7.8 -> 4.1.3 (#331750) 2024-10-25 09:09:06 +00:00
github-actions[bot] ef782655d2
Merge master into staging-next 2024-10-24 18:04:38 +00:00
Sefa Eyeoglu 15aad9d3a1
nixos/ntpd: cleanup; add tests (#349633) 2024-10-24 15:21:01 +02:00
Martin Weinelt 8a2439f1c2
nixos/avahi-daemon: set up sandboxing 2024-10-24 15:04:14 +02:00
mnv 3270e162e6
etcd.nix: minor fixes
Adds explicit network configuration for etcd service
Waits for etcd to be fully healthy before running tests
Makes endpoint configuration explicit in etcdctl commands
2024-10-24 18:20:21 +05:30
Nicolas Jeannerod bb9c433426
Update nixos/tests/all-tests.nix
Co-authored-by: Manuel Bärenz <programming@manuelbaerenz.de>
2024-10-24 11:46:02 +02:00
Ivan Mincik 9067c29c9a qgis: add server support 2024-10-24 09:35:24 +02:00
K900 dee94df6f2 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-24 09:28:51 +03:00
Will Fancher c1479242ad
Remove unnecessary loop in stc-ng (#348668) 2024-10-23 23:42:34 -04:00
Minijackson 69610ea296
netbox: switch to netbox_4_1, mark netbox_3_7 as EOL
also switch the netbox-upgrade test to check upgrade from 3.7 -> 4.1
2024-10-23 21:07:32 +02:00
Minijackson c0e16ebce5
netbox_4_1: init at 4.1.3 2024-10-23 21:07:30 +02:00
Minijackson 97815535fb
netbox_4_0: init at 4.0.11
Migrate to pkgs/by-name,
and update the test so that it passes for all versions

This version is added as EOL, since NetBox 4.1 is out,
but it might be still useful in case of an upgrade issue.
2024-10-23 21:07:28 +02:00
github-actions[bot] 606bd3114c
Merge master into staging-next 2024-10-23 18:04:32 +00:00
Noa Aarts 15b94a95ae
nixos/tests/jibri: fix grep string 2024-10-23 18:54:03 +02:00
Noa Aarts ad9dc85556
nixos/tests/jibri: use security.acme.default 2024-10-23 18:51:26 +02:00
Robert Hensing 868c371827
refactor: Use modular NixOS test entrypoint (#350436) 2024-10-23 17:48:28 +02:00
Niols 7518588df6
Add basic NixOS tests for TiMidity++ 2024-10-23 13:22:44 +02:00
phanirithvij 4b7c3e65bd odoo17: init
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
2024-10-23 10:22:20 +05:30
github-actions[bot] 5a11b86f67
Merge master into staging-next 2024-10-22 18:04:37 +00:00
Franz Pletz eae71219ea
nixos/wakapi; fix logical errors; add NixOS test (#350435) 2024-10-22 19:02:05 +02:00
Fabián Heredia Montiel fdc64cfee0 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-22 09:14:28 -06:00
Kerstin Humm b12bcabd24
maintainers: remove erictapen from packages that I don't really maintain anymore 2024-10-22 12:32:29 +02:00
Robert Hensing df4376d0fd nixosTests.nixos-rebuild-target-host: Explain fix for switch-to-configuration-ng 2024-10-22 11:39:44 +02:00
NotAShelf 05d349dd29
nixos/tests: add wakapi 2024-10-22 12:33:25 +03:00
Robert Hensing d6ea764629 nixosTests.nixos-rebuild-specialisations: Use modular entrypoint
Modernize it. This allows the test to be extended, and pkgs to be
reused (later) to speed up evaluations a bit.
I believe this also makes it run on darwin hosts, but my linux-builder's
disk is too small to fit the massive closure of this test.

(cherry picked from commit 1396a03bee18a0993a4f3e97fda8938ff61c2918)
2024-10-22 11:12:35 +02:00
Robert Hensing 3362ec8692 nixosTests.nixos-rebuild-target-host: Use modular entrypoint
Modernize it. This allows the test to be extended, and pkgs to be
reused (later) to speed up evaluations a bit.
I believe this also makes it run on darwin hosts, but my linux-builder's
disk is too small to fit the massive closure of this test.

(cherry picked from commit 8c06d2cf667106dd440e7c140e70051dc1c321cb)
2024-10-22 11:11:50 +02:00
github-actions[bot] f2d7c5202d
Merge master into staging-next 2024-10-21 18:04:46 +00:00
Tom Fitzhenry 692b12ceea nixos/tests/spiped: init 2024-10-22 00:26:29 +11:00
github-actions[bot] 557897f89c
Merge master into staging-next 2024-10-21 12:06:04 +00:00
Yt a71d327ded
ejabberd: 23.10 -> 24.07 (#320617) 2024-10-21 05:23:32 -04:00
github-actions[bot] 8164a7aa6d
Merge master into staging-next 2024-10-21 00:14:52 +00:00
K900 099cde3a92
Revert "nixos/ssh: disable authorizedKeysInHomedir by default" 2024-10-20 21:32:29 +03:00
Artturin a0a7eb6616 Merge branch 'master' into staging-next 2024-10-20 19:28:48 +03:00
nicoo 06929a6fb0
nixos/ssh: disable authorizedKeysInHomedir by default (#309025) 2024-10-20 16:19:25 +00:00
github-actions[bot] c38df14dc7
Merge master into staging-next 2024-10-20 06:04:33 +00:00
Pyrox 19c40f0e11
nixos/tests/ntpd: init 2024-10-19 14:26:27 -04:00
Moraxyc 8d90446d39
nixos/cyrus-imap: init module
Co-authored-by: jtbx <jeremy@baxters.nz>
Co-authored-by: pluiedev <hi@pluie.me>
2024-10-20 00:13:24 +08:00
K900 2ab7280fa2 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-19 15:07:50 +03:00
Guillaume Girol 739f624652 nixosTests.os-prober: fix 2024-10-19 12:00:00 +00:00
Aleksana 50e65a512b
teleport_14: remove (#349546) 2024-10-19 16:04:01 +08:00
K900 7907bb800e nixos/tests/keymap: use tty2 for the VT test
tty1 is occupied by X and isn't always released in time,
so just use a clean one to avoid the race
2024-10-19 09:22:55 +03:00
K900 77eb05d7b3 nixos/tests/keymap: cleanup
- remove dead code
- pass around a lot less redundant stuff
- add a timeout to the read so it can actually fail when characters are dropped
- run the input reader in systemd-cat so we can see the errors on console

This does not actually fix the flakiness in the tests, but it should make it
easier to find.
2024-10-19 09:22:30 +03:00
K900 894462661c Merge branch 'master' into staging-next 2024-10-19 09:09:13 +03:00
Peder Bergebakken Sundt 465201822e
nixos/mihomo: fix option type and test (#345891) 2024-10-19 06:58:41 +02:00