Commit Graph

9446 Commits

Author SHA1 Message Date
Pol Dellaiera
dc8a253d56
nixos/send: init (#351255) 2024-10-28 18:26:33 +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
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
github-actions[bot]
d0c2de8c22
Merge master into staging-next 2024-10-19 00:14:00 +00:00
nicoo
1f08575e3a nixos/sshd: Disable authorizedKeysInHomedir if stateVersion >= 24.11
Co-authored-by: Valentin Gagarin <valentin@gagarin.work>
2024-10-18 20:21:12 +00:00
Gary Guo
9d662d95ee
nixosTests.firewall: add tests for nixos-firewall-tool
Co-authored-by: Rvfg <i@rvf6.com>
2024-10-18 20:17:01 +02:00
Justinas Stankevicius
957fc1302f teleport_14: remove 2024-10-18 17:24:12 +03:00
github-actions[bot]
7c78a608b4
Merge master into staging-next 2024-10-17 18:04:30 +00:00
Jörg Thalheim
7da0a62f4c
nixosTests.nix-upgrade: fix failing test (#346702) 2024-10-17 15:29:47 +02:00
github-actions[bot]
2d65a9d98d
Merge master into staging-next 2024-10-17 00:14:14 +00:00
r-vdp
65f375d172
etc: extend tests to ensure that temporary dirs are cleaned up 2024-10-16 22:24:46 +02:00
Ramses
7715240587
nixos/etc-overlay: avoid rebuilding the initrd every time the etc contents change (#340722) 2024-10-16 22:21:13 +02:00
Robert Schütz
a9dee7c45b
immich: 1.117.0 -> 1.118.1 (#348890) 2024-10-16 12:31:58 -07:00
kirillrdy
b1428c8f9f
nixosTests.timescaledb: fix build, bump postgres version (#348214) 2024-10-17 06:07:54 +11:00
github-actions[bot]
775bea0160
Merge master into staging-next 2024-10-16 18:04:52 +00:00
Robert Schütz
e3152f80bf nixos/immich: change default port to 2283
This was always upstream's default but they also change the internal
port, i.e. behind the reverse proxy, to 2283 in
https://github.com/immich-app/immich/pull/13185.
2024-10-16 10:30:34 -07:00
Nick Cao
8e125ab277
sing-box: 1.9.7 -> 1.10.0 (#348787) 2024-10-16 12:43:13 -04:00
r-vdp
a4f7868edf
nixos/etc-overlay: fix VM test for immutable overlay 2024-10-16 17:42:58 +02:00
r-vdp
24bf6e9cb8
nixos/etc-overlay: avoid rebuilding the initrd every time the etc contents change
Before this change, the hash of the etc metadata image was included in
the mount unit that's responsible for mounting this metadata image in the
initrd.
And because this metadata image changes with every change to the etc
contents, the initrd would be rebuild every time as well.
This can lead to a lot of rebuilds (especially when revision info is
included in /etc/os-release) and all these initrd archives use up a lot of
space on the ESP.

With this change, we instead include a symlink to the metadata image in the
top-level directory, in the same way as we already do for things like init and
prepare-root, and we deduce the store path from the init= kernel parameter,
in the same way as we already do to find the path to init and prepare-root.

Doing so avoids rebuilding the initrd all the time.
2024-10-16 17:42:58 +02:00
hellodword
a476fdb246
nixos/sing-box: test iproute2_table_index and iproute2_rule_index 2024-10-16 14:18:18 +00:00
hellodword
edd07654e4
nixos/sing-box: migration of deprecated fields 2024-10-16 13:28:06 +00:00
github-actions[bot]
05ae933cd6
Merge master into staging-next 2024-10-16 12:05:34 +00:00
Aaron Andersen
2ab323a087
nixos/github-runners: Make 'enable' functional (#342996) 2024-10-16 10:18:14 +02:00
Florian Klink
23f0d0153c
nixos/tests/gerrit: Drop dead hook to LFS plugin (#347660) 2024-10-16 08:46:51 +02:00
github-actions[bot]
961e42940f
Merge master into staging-next 2024-10-16 00:14:08 +00:00
Robert Schütz
fb2d897809
nixos/headscale: don't set deprecated options in config (#347991) 2024-10-15 16:22:18 -07:00
Felix Singer
501b85f3d5 nixos/tests/gerrit: Drop dead hook to LFS plugin
The URL scheme for downloading plugins has changed a long time ago and
the used URL is dead. Gerrit only throws an error since it can't load
the plugin but it continues to boot. However, instead of maintaining
URLs to 3rdparty plugins, which end up dead anyway, just drop it. The
test should cover Gerrit and not 3rd party plugins.

Also, while on it, drop the setting `plugins.allowRemoteAdmin = true`
since it's not needed.

Signed-off-by: Felix Singer <felixsinger@posteo.net>
2024-10-15 20:56:22 +02:00
Will Fancher
a6e54f566a
nixos/networkd: support systemd-creds in WireGuard (#346964) 2024-10-15 14:31:27 -04:00
github-actions[bot]
e2daa3d1b0
Merge master into staging-next 2024-10-15 18:04:32 +00:00
Martin Weinelt
6d9089c67d
nixos/coturn: set up sandboxing 2024-10-15 18:31:52 +02:00
Martin Weinelt
216cb62080
Merge remote-tracking branch 'origin/staging-next' into staging 2024-10-15 18:08:42 +02:00
rnhmjoj
127dcca388
nixos/tests/networking: test nameservers via DHCP 2024-10-15 11:53:05 +02:00
Yaya
209b7f634b nixosTests.snipe-it: fix test 2024-10-15 09:11:35 +02:00
Jared Baur
7c828e9e1a
nixosTests.amazon-init-shell: test switching during amazon-init
In order to emulate the `nixos-rebuild switch` that is called if the EC2
user data is a nix expression, run the switch-to-configuration script
for the current running config.
2024-10-14 20:27:16 -07:00
github-actions[bot]
31b11f1926
Merge staging-next into staging 2024-10-15 00:14:36 +00:00
Artturin
431d0a19ef
xdg-desktop-portal: Fix installedTests (#344743) 2024-10-14 21:36:39 +03:00
github-actions[bot]
873f258025
Merge staging-next into staging 2024-10-14 18:04:57 +00:00
Adam C. Stephens
86420f4ee8
nixos/atticd: init module (#347749) 2024-10-14 09:33:35 -04:00
github-actions[bot]
b9f01e6de3
Merge staging-next into staging 2024-10-14 12:06:08 +00:00