Commit Graph

6418 Commits

Author SHA1 Message Date
Raito Bezarius
7088e386ff nixosTests.kexec: reconnect properly after 2nd kexec
By some miracle, before, it was possible to reconnect to the `node1` without
doing any relevant dance.

But now we are direct booting (¿), it seems like we need to do the right things.

This introduces a `check_output` flag for `execute` because we do not want to steal the
messages from the backdoor service as we might execute the kexec too fast compared
to when we will reconnect.

Therefore, we will let the message in the pipe if needed.
2023-06-16 19:43:40 +02:00
Raito Bezarius
85c8cc7ce9 nixosTests.kexec: do not use bootloader
There's no reason to use a bootloader when testing kexec, this is a feature
that reboots *directly* in the kernel, if anything, we should just direct boot the
kernel and reboots in the kernel.

A bootloader test really makes sense to test "default" systemctl kexec behavior which is already broken
because systemctl kexec will read the ESP to determine what to kexec by default.
2023-06-16 19:43:40 +02:00
Nick Cao
c72f24ec26
Merge pull request #237933 from pbek/feature/qownnotes-tests
qownnotes: add tests
2023-06-16 06:47:48 -06:00
Patrizio Bekerle
fd800d851f
qownnotes: add tests 2023-06-16 08:20:32 +02:00
Jörg Thalheim
4f992e8da0
Merge pull request #237840 from lilyinstarlight/fix/systemd-initrd-vconsole-test
nixos/tests/systemd-initrd-vconsole: fix test and improve reliability
2023-06-15 19:41:08 +01:00
Lily Foster
9fb9774d93
nixos/tests/systemd-initrd-vconsole: fix test and improve reliability 2023-06-15 06:48:05 -04:00
Jörg Thalheim
f3ae11b096 nixos/nix-ld: also test NIX_LD fallback 2023-06-15 09:47:25 +02:00
Sandro
60d31a2a46
Merge pull request #207646 from Enzime/vsce/test-remote-ssh 2023-06-14 17:05:32 +02:00
0x4A6F
144ef637a6
nixosTests.coturn: wait_for_open_port 2023-06-13 23:21:37 +02:00
Pol Dellaiera
6dfc82118f
Merge pull request #237039 from boozedog/matomo-4.14.2
matomo: 4.10.1 -> 4.14.2
2023-06-13 15:53:00 +02:00
boozedog
d1aab88879 matomo: 4.10.1 -> 4.14.2 2023-06-13 07:36:07 -04:00
Sandro
9183a72d11
Merge pull request #232862 from misuzu/gotosocial-init 2023-06-13 11:36:46 +02:00
zi3m5f
f86645566d nixos/tests/systemd-nspawn-configfile: init
Test for presence of all specified options in the generated .nspawn
config file.
Additionally test for absence of misspelled and fixed option MachineID.
2023-06-12 12:08:39 +02:00
Martin Weinelt
3cd3713412
Merge pull request #237169 from mweinelt/evcc-0.118.0
evcc: 0.117.4 -> 0.118.0
2023-06-12 01:14:43 +02:00
Martin Weinelt
fe2f291e17
Merge pull request #236757 from max-privatevoid/pam-kanidm
nixos/pam: support Kanidm
2023-06-11 20:22:00 +02:00
Max
7575e488de nixos/tests/kanidm: test posix user creation and login 2023-06-11 17:17:43 +02:00
Martin Weinelt
9c1e60ba7d
evcc: 0.117.4 -> 0.118.0
https://github.com/evcc-io/evcc/releases/tag/0.118.0

Use a more approriate charger state.
2023-06-11 12:41:53 +02:00
Robert Hensing
493b08c410
Merge pull request #237063 from roberth/fix-systemd-boot-test
nixos: Fix systemd-boot test
2023-06-10 19:10:05 +02:00
Robert Hensing
0c3f416096 nixosTests.nixos-rebuild-specialisations: Fix 2023-06-10 18:25:04 +02:00
Robert Hensing
a54e7d299b nixosTests.systemd-boot.switch-test: Fix warnings 2023-06-10 17:51:44 +02:00
Robert Hensing
0d55eebcf5 nixosTests.systemd-boot.switch-test: Fix test
... by making the alternate configs available in machine's store.
2023-06-10 17:51:06 +02:00
Will Fancher
90d69b1634
Merge pull request #236388 from ElvishJerricco/sd-s1-networkd-stop-on-switch-root
systemd stage 1 networking: Stop systemd-networkd on switch-root
2023-06-10 00:35:56 -04:00
ajs124
bcb903cce8 nixos/tests/lvm2/thinpool: fix xfs creation on older kernels 2023-06-09 13:44:48 +02:00
ajs124
3bf06829ff nixos/tests/lvm2: also build for new LTS kernel 2023-06-09 13:44:32 +02:00
Michael Hoang
8bf8b8fd68 vscode: move rev and vscodeServer to derivation 2023-06-09 18:52:10 +10:00
Michael Hoang
011df7a76b vscode-remote-ssh: Run patchelf on included Node 2023-06-09 18:21:42 +10:00
Michael Hoang
3e9a51a78b nixos/tests: Make remote-ssh test work with flakes 2023-06-09 18:21:42 +10:00
Michael Hoang
b2ff7ceff2 nixos/tests: Test that Remote SSH can patch Node 2023-06-09 18:21:41 +10:00
Ryan Lahfa
a384c9b01d
Merge pull request #234030 from NixOS/cleanup-overlay-mounts
nixosTests: fix tests that relies on an empty rootfs using a bootloader
2023-06-08 18:20:23 +02:00
Raito Bezarius
89952f7bb6 nixosTests.luks: mount the host Nix store
Same rationale as in caf6f41e2e.
2023-06-08 16:56:07 +02:00
Raito Bezarius
ff3936e14b nixos/tests/lvm2/systemd-stage-1: mount the host Nix store
Same rationale as in caf6f41e2e.
2023-06-08 16:56:04 +02:00
Raito Bezarius
59891e405d nixosTests.systemd-initrd-networkd-ssh: bootDevice -> rootDevice
Missed deprecation fixup during the bootDisk PR.
2023-06-08 16:56:01 +02:00
Raito Bezarius
c1f0de6e20 nixosTests.systemd-initrd-luks-keyfile: mount the host Nix store
Same rationale as caf6f41e2e.
2023-06-08 16:55:58 +02:00
Raito Bezarius
bbfedea0a1 nixosTests.systemd-initrd-luks-password: mount the host Nix store
Same rationale as caf6f41e2e.
2023-06-08 16:55:55 +02:00
Raito Bezarius
efe64826c9 nixosTests.systemd-initrd-luks-tpm2: mount the host Nix store
Same rationale as caf6f41e2e.
2023-06-08 16:55:52 +02:00
Raito Bezarius
e190364fd7 nixosTests.systemd-initrd-networkd-ssh: mount the host Nix store
Same rationale as caf6f41e2e.
2023-06-08 16:55:49 +02:00
Raito Bezarius
db811f12eb nixosTests.systemd-initrd-swraid: mount the host Nix store
Same rationale as caf6f41e2e.
2023-06-08 16:55:45 +02:00
Raito Bezarius
de7f3cb2fa nixosTests.systemd-initrd-luks-fido2: mount the host Nix store
Same rationale as caf6f41e2e.
2023-06-08 16:55:29 +02:00
Raito Bezarius
955a77e1c4 nixosTests.systemd-initrd-btrfs-raid: mount the host Nix store
Same rationale as caf6f41e2e.
2023-06-08 16:55:25 +02:00
Raito Bezarius
caf6f41e2e nixosTests.initrd-luks-empty-passphrase: mount the host nix store
This is necessary because this test relies on switching the root fs to an empty one which
does not have a Nix store available in stage 1, therefore, we have to make this test
host-store only.

A better fix in the long term is to evaluate whether this is worth to enable a proper
Nix store image for it with EROFS?
2023-06-08 16:55:04 +02:00
Martin Weinelt
93d26ea597
Merge pull request #236534 from NixOS/home-assistant
home-assistant: 2023.5.4 -> 2023.6.0
2023-06-08 14:47:11 +02:00
Weijia Wang
0dfe118d22
Merge pull request #236259 from wegank/mongodb-drop
mongodb-4_2: drop
2023-06-08 14:40:30 +03:00
Will Fancher
a9e34ff905 systemd stage 1 networking: Add network-pre to flush tests
This isn't actually wanted by any units by default.
2023-06-08 00:25:15 -04:00
Martin Weinelt
4540dad9e7
nixos/tests/home-assistant: Drop esphome, fix post-restart expectation
Mentioning esphome in the config is now causing an error. Check for the
backup module post-restart, not esphome.
2023-06-07 23:55:51 +02:00
aszlig
c14dac6f25
Merge pull request #235972 (fix Taskserver test)
I'm merging this without review, since the tests run by ofborg are
succeeding. In addition to that, it's fixing a currently broken test so
the worst that could happen is that the test still does not work.
2023-06-06 17:55:22 +02:00
Weijia Wang
3f467ff45f mongodb-4_2: drop 2023-06-06 14:26:11 +03:00
github-actions[bot]
de4f02a6c8
Merge master into staging-next 2023-06-05 12:01:12 +00:00
Florian Klink
4627ee741d
Merge pull request #234877 from ElvishJerricco/auto-format-and-resize-with-systemd
Auto format and resize with systemd
2023-06-05 12:25:02 +03:00
misuzu
45ffb33514 nixos/gotosocial: init
Co-authored-by: Peder Bergebakken Sundt <pbsds@hotmail.com>
2023-06-05 09:07:34 +03:00
Will Fancher
5176a4f113 nixos: Use systemd-makefs for autoFormat 2023-06-04 22:57:20 -04:00