Commit Graph

198 Commits

Author SHA1 Message Date
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Emily
c0aaeb7ff3 nixos/release{,-combined}: drop the VirtualBox OVA 2024-11-02 16:25:42 +00:00
K900
03188ca926
Revert "nixos/all-tests: skip hibernate test for now" (#340047) 2024-09-06 13:57:35 +03:00
Alyssa Ross
d4838fd5ef
Revert "nixos/all-tests: skip hibernate test for now"
This reverts commit a1de57d6fc.

We're now on QEMU 9.1.0, which contains the fix.
2024-09-06 12:53:55 +02:00
Emily
862911fd22 nixos/release-small: remove minimal installer ISOs
These take up 2 GiB every time anything in the minimal installer
changes, or up to 4 GiB per day. We already stopped building Amazon
images in 9426d90c67. Meaningful
installer changes are rare enough, and the couple of days it takes
for them to trickle down to the large channel acceptable enough,
that this is mostly a waste of space.

This should buy enough slack to build `stdenv` on `staging` without
contributing to cache size growth.
2024-09-06 08:56:39 +01:00
Vladimír Čunát
bb0a4e8786
nixos/release-combined: fix evaluation 2024-06-05 17:50:37 +02:00
Artturin
413707f484 nixos/release-combined: add nixosTests.nix-misc to blockers 2024-05-30 21:00:12 +03:00
K900
bf4890c37d nixos/release-combined: ship Plasma 6 ISOs instead of Plasma 5 2024-05-20 18:57:36 +03:00
Jade Lovelace
3fd324f823 nixos: remove historical maintainership of modules by eelco
Eelco has made several early contributions to NixOS including writing
the samba module among other things, but is more or less inactive these
days.

By my brief inspection, he has not committed to the nixos/ tree since
releasing Nix 2.13 in early 2023 and merging a PR to networking tests
slightly before that. A lot of these tests/modules are actually
unmaintained in practice, so we should update the code to reflect the
practical reality so someone can consider picking them up.
2024-05-12 12:48:57 -07:00
Raito Bezarius
64e51577b7 nixos/release-*: fix nixos.tests.misc which was split into multiple tests
Now, it's `nixos.tests.misc.default` and `nixos.tests.misc.lix` since
Lix introduction in #310194.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-05-12 17:22:51 +02:00
K900
a1de57d6fc nixos/all-tests: skip hibernate test for now
QEMU 8.2.3 crashes when hibernating. Disable the test for now to allow
channels to advance again.
2024-05-02 09:55:02 +03:00
K900
9cdada6d5c pkgs/top-level: split release-checks into a separate job
This should improve latency on channel updates.
2024-04-17 09:53:10 +03:00
Silvan Mosberger
f7ea336cb2 workflows/check-by-name.yml: Switch to new separate repo
The nixpkgs-check-by-name tooling is [being moved](https://github.com/NixOS/nixpkgs/issues/286559#issuecomment-2000466124)
to a [separate repo](https://github.com/NixOS/nixpkgs-check-by-name).

This commit updates Nixpkgs CI to use it instead of the tree inside
Nixpkgs

No changes have been made to the tooling locally since it was moved:
- [Exported history](55bf02190e/pkgs/test/nixpkgs-check-by-name)
- [Imported history](d579e1821d/)
2024-03-26 21:24:48 +01:00
K900
176904ac09 nixos/release: nfs3 -> nfs4 in all tested sets 2024-02-27 18:23:51 +03:00
Silvan Mosberger
8cf3cd91b2 check-by-name: Update contributor docs
Now that the tooling is pinned instead of being fetched indirectly from
the channel, the docs need some updating
2024-01-17 21:26:39 +01:00
Vladimír Čunát
454989caf5
Merge #266164: nixos/release: drop i686-linux support 2024-01-06 11:51:13 +01:00
Vladimír Čunát
80b77e9db0
nixos/release: add i686-linux mesa to channel blockers
Apart from being still a useful package, this keeps a basic sanity check
for i686, now that we dropped the installation image, etc.
Our RFC mandates that i686 stdenv is a channel blocker:
https://github.com/NixOS/rfcs/blob/master/rfcs/0046-platform-support-tiers.md#tier-3-1
2024-01-05 12:25:05 +01:00
Luflosi
c351a84eec
nixos/tests/installer: test /boot on ZFS
Let's test / on ZFS and /boot on ZFS in separate tests since the GRUB integration for ZFS seems to be not very well maintained.
If the test breaks in the future it's easier to figure out that ZFS on /boot is at fault and either fix the issue or disable the test.
The new test creates a ZFS pool where all features not compatible with GRUB2 are disabled. The dataset is then mounted on /boot and we check that the installer correctly generates a bootable configuration.
Try to use as many ZFS features as possible to verify that GRUB can handle them.
2023-12-07 13:17:49 +01:00
Raito Bezarius
b5f6f06c99 nixos/release: drop i686-linux support
At the time of writing, an increased source of failure in our CI is related to i686-linux.

While I do wish to support 32 bits x86 system further, the reality is that we cannot
identify in our community maintainers for `i686-linux` that can provide continuous maintenance
for our i686-linux packages.

As a matter of fact, `i686-linux` is probably broken in nixpkgs, we decide to rip off the band-aid
and drop the support.

Next steps could involve to extract a core package set of nixpkgs / NixOS in an out-of-tree
repository to offer a simple 32 bits NixOS support with a cache or to find maintainers
who are willing to work on i686 support.
2023-11-08 00:59:03 +01:00
Will Fancher
43487a4f80 nixos/release-combined: re-add ZFS to release-combined
Since #262982, ZFS tests works again. Also, this time we'll use the
correct systems.
2023-10-24 11:00:35 -04:00
Vladimír Čunát
1ec4e9dea4
nixos/release-combined: drop nixos-rebuild-install-bootloader
... at least until it's fixed.  /cc PR #262724 again.
2023-10-24 09:51:23 +02:00
Vladimír Čunát
7aec39cc1f
nixos/release-combined: drop ZFS+i686 from blockers
The current state is certainly very wrong - testing ZFS only on i686.
I suspect it was a typo (?) in commit 2de3caf011.

The current practical problem is that the test fails,
though in a part that looks cross-platform (which adds confusion):
https://hydra.nixos.org/build/239290208#tabs-buildsteps
2023-10-23 16:42:37 +02:00
Thiago Kenji Okada
ab3ca40d2e nixos/release-combined: add nixos-rebuild-specialisations to release-combined 2023-10-23 12:39:41 +01:00
Thiago Kenji Okada
ccebc89954 nixos/tests: add nixos-rebuild-install-bootloader 2023-10-23 12:39:40 +01:00
Yureka
bfa26b6ee3 nixos/release-combined: make gitlab a channel blocker
Prevent issues like https://github.com/NixOS/nixpkgs/pull/257932 from reaching nixos-unstable in the future
2023-10-18 00:49:29 +02:00
Vladimír Čunát
746e16f927
nixos/release: fixup evaluation of tested job (firefox)
This fixes 3b6389aa2f49e; I'm sorry for the mistake.
2023-10-15 08:18:33 +02:00
Vladimír Čunát
3b6389aa2f
nixos/release: don't block on firefox tests
I can't recall when these tests last discovered a real problem.
Having to do many manual restarts is annoying, e.g.
  https://hydra.nixos.org/build/237622614#tabs-buildsteps
2023-10-10 12:19:27 +02:00
Silvan Mosberger
34c8b0a8e5 nixos/release-combined.nix: Build pkgs/by-name tester 2023-08-29 16:35:07 +02:00
Vladimír Čunát
52006da65b
nixos/release-*: finish dropping the conntrack tests
This was forgotten in commit 84f3520c8f.
2023-03-04 09:28:09 +01:00
zowoq
ae671e1b91 Revert "nixos/release: disable nfs3.simple"
This reverts commit 5682853027.
2023-02-28 10:30:28 +10:00
rnhmjoj
4f67365482
nixos/tests/printing: split into service/socket
This splits the tests into two: one where cups.socket is started
normally, the order with socket activation.

Why? It's almost impossible to follow the test with 4 different
machines printing at the same time. It should also be more efficient
because only two VMs at a time were needed anyway.
2022-12-07 15:57:45 +01:00
Martin Weinelt
c021df5792
Merge pull request #197254 from Atemu/fstab-escape-options 2022-11-19 18:08:40 +01:00
Lily Foster
c2b3c9794d nixosTests: test spaces in mount options via btrfs subvols
Also enabled the btrfs tests for installer-systemd-stage-1 again
2022-11-06 22:15:35 +01:00
Martin Weinelt
2b85fb12da nixos/release: add acme to tested set
The ACME module has long been an important part of every nixos server
deployment and we should therefore make sure the tests are working as
expected before allowing a channel bump to happen.

Related: #197443
2022-10-25 07:22:27 +10:00
Martin Weinelt
4b6758f83e
nixos/release-combined: Enable more jobs on aarch64-linux 2022-10-11 15:33:42 +02:00
Martin Weinelt
9328b7eebf
nixos/release-combined: Build graphical ISOs for aarch64-linux 2022-10-11 15:33:41 +02:00
Martin Weinelt
cd5cc11918
nixos/release-combined: Move aarch64-linux to supportedSystems
The builders have had a good track record in the last year so this is
worth a try.
2022-10-11 15:33:41 +02:00
Franz Pletz
c092a502df
treewide: remove myself as maintainer from some pkgs
Only packages I'm not able to maintain anymore as of today. Mostly
because I'm haven't been using them in a while.
2022-08-03 14:17:51 +02:00
zowoq
bbf483c46e nixos/release: add podman, oci-containers.podman to tested 2022-05-03 19:42:33 +10:00
Vladimír Čunát
18bd82edcc
nixos/release tested job: drop nano test
It doesn't exist since PR #161707 (commit 7ef8df8767).
2022-03-01 19:28:31 +01:00
zowoq
5682853027 nixos/release: disable nfs3.simple 2022-02-27 15:04:37 -08:00
Michael Weiss
294ae3fe8c
release-combined.tested: Add the Sway test
Sway is a Wayland compositor. It should have a smaller userbase than
Gnome and KDE but Sway plays an important role in the Wayland ecosystem
(it is e.g. maintained by Simon Ser who also maintains wlroots, Wayland,
and Weston (the reference compositor) and contributes to a lot of
important packages in the Wayland ecosystem). Sway also comes with much
fewer dependencies than large desktop environments.
This should make the Sway VM test an ideal choice for testing updates to
core packages (e.g. wayland, wayland-protocols, wlroots, libdrm, mesa,
and xwayland - I maintain all but XWayland in Nixpkgs) and test failures
should be much easier to debug.

The test is fairly new but so far all 18 Hydra builds on x86_64-linux
have succeeded [0]. I'm actively maintaining the test and can look into
build failures if I'm pinged.

[0]: https://hydra.nixos.org/job/nixos/trunk-combined/nixos.tests.sway.x86_64-linux/all
2021-05-27 13:36:48 +02:00
Vladimír Čunát
b09fc82382
nixos/release-combined: fix a test name
Broken by 513143fe4 and breaking evaluation of trunk-combined jobset.
2021-05-17 22:52:28 +02:00
Jan Tojnar
468cb5980b gnome: rename from gnome3
Since GNOME version is now 40, it no longer makes sense to use the old attribute name.
2021-05-08 09:47:42 +02:00
Michael Weiss
9e9e240a27
Revert "release-combined.tested: Temporarily remove the Chromium test"
This reverts commit 2dbd08dcbd.

I've fixed the regression in 8a7a8442c1 and the rest of my
refactorings/improvements shouldn't affect the stability of the test.
2021-01-24 15:27:49 +01:00
Michael Weiss
2dbd08dcbd
release-combined.tested: Temporarily remove the Chromium test
Chromium seems to run fine but the VM test fails and prints errors like:
machine # There are no windows in the stack
machine # Invalid window '%1'
machine # Usage: windowfocus [window=%1]
machine # --sync    - only exit once the window has focus

This could be due to changes in Chromium's X11 code (or maybe some
changes for Ozone/X11). I'll investigate this but let's temporarily
remove the Chromium test from the tested jobset until I find a proper
solution/fix.
2021-01-20 15:23:55 +01:00
Tim Steinbach
49ca6941c2
release-combined: Add shadow test 2020-12-23 13:28:52 -05:00
Graham Christensen
b339462460
nixos: release-combined: only build the amazon image for x86_64,aarch64-linux -- exclude i686 2020-11-19 19:34:23 -05:00
Graham Christensen
0d87ce610e
nixos: release: add amazonImage as a channel blocker 2020-11-19 13:56:55 -05:00
Tim Steinbach
0338f728c0
nano: Add test 2020-11-16 14:00:34 -05:00