Commit graph

13,716 commits

Author SHA1 Message Date
Will Fancher
f8ed5f30c0 nixos/filesystems: Remove default = "auto" from fsType
NixOS has traditionally enabled the `ext` family of file systems by
default. Originally, when switching to systemd initrd, we wanted to
transition to making this explicit so that initrds could be made
without `ext`. The problem is that anyone with `fsType = "auto";` for
an `ext` file system in initrd will fail to boot, which is not really
an acceptable regression as we switch to systemd initrd by default.

By removing `default = "auto"` from `fsType`, we rule out the vast
majority of these regressions as eval errors, since most users of
`fsType = "auto"` for ext file systems are using it because of the
default value.

In hindsight, this is probably what #225352 was really about.
2026-04-05 19:06:28 -04:00
Cosima Neidahl
1c9777a095
nixosTests.lomiri-clock-app: Fix OCR further (#502290) 2026-03-31 19:08:53 +00:00
Grimmauld
ecb3ef385e
nixos/tests/audit-testsuite: init (#465550) 2026-03-31 18:41:51 +00:00
Cosima Neidahl
cba1823432
lomiri-qt6: init (#467662) 2026-03-31 15:27:11 +00:00
dotlambda
1d48df8aab
shelfmark: init at 1.2.0, add NixOS module and test (#498942) 2026-03-31 03:42:58 +00:00
Jamie Magee
e1df3ce76b nixos/tests/shelfmark: init
Starts the service and checks that /api/health responds.
2026-03-30 20:35:16 -07:00
Sizhe Zhao
7b8fdb9b35
nixosTests.mitmproxy: fix certificate location passed to curl (#504385) 2026-03-31 03:09:14 +00:00
phanirithvij
852987500b
nixosTests.mitmproxy: fix certificate location passed to curl
Broken since
- https://hydra.nixos.org/build/322094860 (logs missing)
- https://hydra.nixos.org/build/323032381 (next run with logs)

https://hydra.nixos.org/job/nixos/unstable/nixos.tests.mitmproxy.x86_64-linux/all

Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
2026-03-31 08:22:54 +05:30
Michael Daniels
629fb71147
nixosTests.dolibarr: fix test regression (#504756) 2026-03-30 21:31:20 +00:00
kirillrdy
582de948c4
nixos/prometheus: tests: ui: fix race conditions in Selenium assertions (#500864) 2026-03-30 19:42:43 +00:00
OPNA2608
5dee41c88b nixosTests.lomiri.desktop-appinteractions: Adjust to re-enabled Morph
Gallery entry is somewhere else now.
2026-03-30 15:04:46 +02:00
OPNA2608
7f002233ed nixosTests.lomiri.desktop-basics: Re-enable Morph check 2026-03-30 15:04:46 +02:00
OPNA2608
6ed37bcdd3 nixosTests.morph-browser: Turn into attrset of Qt5 & Qt6 variant tests 2026-03-30 15:04:46 +02:00
Defelo
6422f90ca9
nixos/tests/radicle-ci-broker: add radicle team as maintainer 2026-03-30 12:57:35 +02:00
Defelo
970a3308f0
nixos/tests/radicle: add radicle team as maintainer 2026-03-30 12:57:35 +02:00
Wim de With
6b92fa00c1 nixosTests.dolibarr: fix test regression
In 401e2b5e84, these sanity check curl
commands were uncommented. Since this scripted install process is rather
fragile, these requests change some internal state which in turn breaks
the installer, because the conf.php file does not get written properly.
Note that these lines have always been commented from the first commit
(c2563fe476) until they were uncommented
and broke the test.
2026-03-29 19:14:52 +02:00
Sandro
e525f12af6
stirling-pdf: 2.6.0 -> 2.8.0; nixos/stirling-pdf: add integration tests (#499612) 2026-03-28 20:26:40 +00:00
Pol Dellaiera
8f926630d5
treewide: Remove my maintainer status from some modules (#498990) 2026-03-28 18:23:16 +00:00
r-vdp
b411346133
nixos/tests/fish: fix test broken by coreutils 9.10
coreutils 9.10 man pages are generated by help2man 1.50 which embeds
tty hyperlink escape codes (\X'tty: link ...'). These break fish's
create_manpage_completions.py parser, so coreutils.fish is no longer
generated.

Switch to coreutils-full (the minimal coreutils has no man pages at
all) and check for chmod.fish which still parses successfully.
2026-03-28 10:47:37 +01:00
Kevin Cox
7b908702ec
jellyseerr: rename jellyseerr to seerr (#500782) 2026-03-27 18:08:31 +00:00
dotlambda
82456e159c
linkwarden: 2.13.5 -> 2.14.0 (#503929) 2026-03-27 17:19:55 +00:00
Robert Hensing
d7df9adf42
nixos/tests: respect meta.hydraPlatforms (#503721) 2026-03-27 10:22:32 +00:00
Diogo Correia
46a07b5d5e
linkwarden: 2.13.5 -> 2.14.0 2026-03-27 02:45:31 +00:00
Sandro
25820c5a5f
nixos/beszel: fix agent status check (#502990) 2026-03-26 20:43:07 +00:00
Maximilian Bosch
ec2c7515b3
nixos/tests: don't build nspawn tests on hydra.nixos.org 2026-03-26 14:12:23 +01:00
Arnout Engelen
fa2179a5be
nixosTests.nixos-rebuild-target-host: fix (#503423) 2026-03-25 20:16:28 +00:00
K900
3c3429791c nixos/tests/misc: simplify check
The recent changes to the man page made is so that when rendering
on a terminal, which is width justified, the man viewer adds a
double space between "NixOS" and "module", which fails the test.

Yes, this is real. Somehow. Just remove any chances of this happening
ever again.
2026-03-25 22:15:26 +03:00
Tim Häring
8a181e033c
nixos/stirling-pdf: add integration tests
Co-authored-by: phanirithvij <phanirithvij2000@gmail.com>
2026-03-25 18:04:44 +01:00
Arnout Engelen
3ee50e7760
nixosTests.nixos-rebuild-target-host: fix
Overlay is no longer needed/possible since #495501
2026-03-25 17:24:29 +01:00
Marie
3576d07e30
nixos/tdarr: init module (#495417) 2026-03-25 13:23:05 +00:00
fallenbagel
25ac400605 maintainers: add fallenbagel to the maintainers
Signed-off-by: Nicolas Dumazet <nicdumz.commits@gmail.com>
2026-03-25 11:11:10 +01:00
Ludovic Ortega
849bac24f8 nixos/jellyseerr: rename jellyseerr module to seerr
Paths are purposedly not changing for now.

Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
Signed-off-by: Nicolas Dumazet <nicdumz.commits@gmail.com>
2026-03-25 11:11:10 +01:00
Paul Haerle
6f8040e396
nixos/tests: remove broken entry for removed test (#503015) 2026-03-25 07:42:09 +00:00
Philip Taron
cfaddae84d
nixosTests: fix writeText warning when userData is null
makeEc2Test's userData parameter is required but image-contents.nix
passes null, triggering a deprecation warning from writeText. Make
userData optional (defaulting to null) and create an empty user-data
file when it's not provided.
2026-03-24 18:40:48 -07:00
Philip Taron
a35e3e9777
nixosTests.ec2-image: fix systemd start-limit-hit in decompression tests
The decompression subtests restart fetch-ec2-metadata multiple times
in quick succession, hitting systemd's rate limiter. Reset the failure
counter before each restart.
2026-03-24 18:40:48 -07:00
Philip Taron
aa80ef70bb
nixosTests.openstack-image: fix hardcoded image filename
The test hardcoded "/nixos.qcow2" but the actual output filename
is derived from image.baseName and image.extension (e.g.
"nixos-image-...-x86_64-linux.qcow2"). Use image.fileName to get
the correct path, matching the pattern in ec2-image.nix.

Also make the IMDS server's token validation conditional: when no
token file exists in the metadata directory, requests are served
without authentication. This supports both EC2 (IMDSv2 with tokens)
and OpenStack (plain GET) metadata fetchers.
2026-03-24 18:40:48 -07:00
Philip Taron
4e9154173d
nixosTests.ec2-nixops: fix image.imageFile -> image.fileName
The image.imageFile option was renamed to image.fileName. This broke
the ec2-nixops test at evaluation time.
2026-03-24 15:38:21 -07:00
Philip Taron
7494e88f86
nixosTests: share IMDSv2 server across EC2 test infrastructure
- Extract imds-server derivation into common/imds-server.nix so both
  ec2-image.nix and common/ec2.nix share the same definition.

- Update common/ec2.nix (makeEc2Test) to use the IMDSv2 server
  instead of micro_httpd, and add token/instance-id to the metadata
  directory so the full IMDSv2 flow works.

- Simplify ec2-image.nix to import from the shared definition.
2026-03-24 15:38:21 -07:00
Philip Taron
c66b3b2d55
nixosTests.ec2-image: replace micro_httpd with IMDSv2-aware server
micro_httpd returns 501 for PUT requests, so IMDSv2 token acquisition
was never actually tested. Replace it with a minimal Python IMDS server
that handles the full IMDSv2 flow: PUT for token, token validation on
GET requests, and file serving from a metadata directory.

This means the test now validates that:
- The fetcher correctly obtains an IMDSv2 token via PUT
- The token is passed on subsequent metadata GET requests
- Requests without a valid token are rejected (401)
2026-03-24 15:38:20 -07:00
Philip Taron
81dce7843c
nixosTests.ec2-image: add IPv6 IMDS fallback subtest
Tests that the EC2 metadata fetcher falls back to the IPv6 IMDS
endpoint (fd00:ec2::254) when the IPv4 endpoint is unreachable.

Works around QEMU guestfwd being IPv4-only by running socat +
micro_httpd inside the guest on the IPv6 address, then blocking
IPv4 IMDS with iptables and re-running the fetcher.
2026-03-24 15:38:20 -07:00
Philip Taron
d09e847072
nixos/ec2-metadata-fetcher: add lzip user-data decompression
Support decompressing lzip-compressed EC2 user data via lzip -dc.
Includes a corresponding NixOS test.
2026-03-24 14:51:59 -07:00
Philip Taron
f3b392af9b
nixos/ec2-metadata-fetcher: add zstd user-data decompression
Support decompressing Zstandard-compressed EC2 user data via zstdcat.
Includes a corresponding NixOS test.
2026-03-24 14:51:59 -07:00
Philip Taron
e3789300b1
nixos/ec2-metadata-fetcher: add xz user-data decompression
Support decompressing XZ-compressed EC2 user data via xzcat.
Includes a corresponding NixOS test.
2026-03-24 14:51:59 -07:00
Philip Taron
45d8ed8f4e
nixos/ec2-metadata-fetcher: add bzip2 user-data decompression
Refactor try_decompress to use a decompress_cmd variable, making it
straightforward to add new compression formats. Add bzip2 support
and a corresponding NixOS test.
2026-03-24 14:51:58 -07:00
Philip Taron
ea11e1de45
nixos/ec2-image: add test for gzip user-data decompression
Verify that fetch-ec2-metadata correctly decompresses gzip-compressed
EC2 user data. Adds a test helper for reuse by subsequent compression
format tests.
2026-03-24 14:51:58 -07:00
Pratham Patel
775082198f
nixos/tests: remove broken entry for removed test
This test was removed in 7a131bebe7 ("nixseparatedebuginfod: remove")
but the entry in `nixos/all-tests.nix` wasn't removed.
2026-03-24 16:45:43 +05:30
Defelo
33e6a3abef
nixos/tests/radicle-ci-broker: enable ssh backdoor in interactive mode 2026-03-24 12:01:23 +01:00
Defelo
392642c7db
nixos/tests/radicle: add defelo as maintainer 2026-03-24 12:01:23 +01:00
nyanloutre
b7097ba9d3 nixos/beszel: fix agent status check 2026-03-24 10:18:03 +00:00
Paul Haerle
25d0442b48
nixos/utils: add regressions tests to genJqSecretsReplacement (#495933) 2026-03-23 22:34:00 +00:00