about summary refs log tree commit diff
path: root/nixos/tests/kernel-generic.nix
AgeCommit message (Collapse)AuthorFilesLines
2024-04-04linux_6_7: dropK9001-1/+0
2024-02-28linux_6_5: removeAlyssa Ross1-1/+0
2024-02-05Merge pull request #278034 from trofi/nixosTests.kernel-generic-fix-evalMario Rodas1-1/+1
nixosTests.kernel-generic: fix the eval
2024-01-29linux/hardened/patches/6.7: init at 6.7.2-hardened1Fabián Heredia Montiel1-0/+1
2024-01-01nixosTests.kernel-generic: fix the evalSergei Trofimovich1-1/+1
Without the change the eval fails as: $ nix build --no-link -f. nixosTests.kernel-generic error: error: value is a Boolean while a set was expected This started happening after 80472e375406bb8f130 "treewide: add __attrsFailEvaluation and __recurseIntoDerivationForReleaseJobs" As a result kernel attribute set got not just `kernel => drv` maps but also `__attrsFailEvaluation => bool` one. It does not contain `name` and fails the evaluation without recovery. The change restores evaluation for me.
2023-12-14nixos/tests/kernel-generic: test hardened 6.6Maximilian Bosch1-0/+1
2023-10-15linux_4_14: removeajs1241-1/+0
2023-10-02linux_6_4: drop (EOL)Alyssa Ross1-1/+0
It's still in kernels-org.json, because even if I remove it the update script will keep putting it back, but nothing references it, and it'll be removed from that file when kernels are next updated after it's been delisted from kernel.org. linux_testing_bcachefs still needs to be updated for >6.4, so for now I've just inlined the Linux 6.4 definition in linux_testing_bcachefs's definition.
2023-09-19linux/hardened/patches/6.5: init at 6.5.3-hardened1Fabián Heredia Montiel1-0/+1
2023-08-06kernel: fix passthru.testsAtemu1-2/+4
https://github.com/NixOS/nixpkgs/pull/191540 indirectly broke kernel passthru.tests; calling the testsForLinuxPackages and testsForKernel functions with some args intended for some other exposed test-internal function. Organise the passed-through functions under `passthru` to prevent this from happening.
2023-07-22linux_6_3: drop as EOLFabián Heredia Montiel1-1/+0
2023-07-17nixos/tests/kernel-generic: also expose rt kernels and linux_libreMaximilian Bosch1-1/+6
2023-07-11linux/hardened/patches/6.4: init at 6.4.3-hardened1Fabián Heredia Montiel1-0/+1
2023-06-28linux_6_3_hardened: expose packageMaximilian Bosch1-0/+1
2023-01-23linux_6_0: dropMaximilian Bosch1-1/+0
EOLed by upstream, doesn't receive any patches anymore, so let's drop it. Currently depends on #211886 which bumps the latest compatible ZFS version to 6.1. Also, clean up some old aliases.
2023-01-15linux/hardened/patches/6.1: init at 6.1.6-hardened1K9001-0/+1
2022-11-01linuxKernel.kernels.linux_5_19: dropBernardo Meurer1-1/+1
The 5.19.x series has reached EOL, and is no longer supported upstream.
2022-09-18nixos/kernel-generic: build linux_5_19_hardenedMaximilian Bosch1-0/+1
2022-09-17linux: remove 5.18Maximilian Bosch1-1/+0
This is long overdue, the last release was almost a month ago, on 21st Aug 2022[1]. [1] https://lwn.net/Articles/905532/
2022-06-23linux_5_17: removeMaximilian Bosch1-1/+0
2022-06-10linux/hardened/patches/5.18: init at 5.18.3-hardened1Andrew Marshall1-0/+1
2022-05-06linux/hardened/patches/5.17: init at 5.17.5-hardened1Maximilian Bosch1-0/+1
2022-03-28treewide: machine -> nodes.machineRobert Hensing1-1/+1
2021-11-15linux/hardened/patches/5.15: init at 5.15.2-hardened1TredwellGit1-0/+1
2021-11-01nixos/kernel: test all upstream kernels, reference linuxKernel directlyDominik Xaver Hörl1-16/+8
2021-09-27linux_5_13: dropMaximilian Bosch1-1/+0
5.13.19 was the last 5.13 release and the version is now EOL[1]. [1] https://lwn.net/Articles/869747/
2021-09-12nixos/kernel: add 5.14 to kernel test-suiteMaximilian Bosch1-0/+1
I guess that this was just forgotten in #136150 and I realized while running these tests for the latest kernel updates.
2021-08-23nixosTests.kernel-generic: add myself as maintainerAtemu1-1/+1
2021-08-23nixosTests.kernel-generic: expose test-making functionsAtemu1-2/+6
Changed the name to be clearer, 'makeKernelTest' could imply that it wants a kernel pkg as its arg while it actually needs a set of linuxPackages.
2021-08-23nixosTests.kernel-generic: simplifyAtemu1-17/+19
2021-08-16linux: drop `*_latest_hardened`-attributes in favor of versioned attributesMaximilian Bosch1-0/+5
The problem behind this is that the hardened patchset[1]. Quite recently this led to a weird problem when Linux 5.12 was dropped (and thus had to be removed from `nixpkgs`), there were no patches for 5.13, so `linuxPackages_hardened_latest` had to be downgraded to 5.10 as base[2] which may be rather unintuitive and unexpected. To avoid these kind of "silent downgrades" in the future, it makes sense to drop the attribute entirely. If somebody wants to use a hardened kernel, it's better to explicitly pin it using the newly introduced versioned attributes, e.g. `linuxPackages_4_14_hardened`. [1] https://github.com/anthraxx/linux-hardened/ [2] https://github.com/NixOS/nixpkgs/pull/133587
2021-08-12linux_5_12: removeTredwellGit1-1/+0
https://lwn.net/ml/linux-kernel/1626791065147152@kroah.com/
2021-06-28nixos/tests/kernel-generic: fix evaluationLuke Granger-Brown1-0/+1
This is breaking the tarball build, because #128502 depends on this test existing. After this commit, nixpkgs.tarball once again evaluates.
2021-06-09nixos/tests/kernel-generic: fix evaluationMaximilian Bosch1-1/+0
The test doesn't evaluate since #125469 because Linux 5.11 got removed as it's EOL. As this fixes the evaluation of the test and it only removes a declaration that was apparently forgotten, I figured that a push to unbreak the test is fine.
2021-05-10linux_5_12: init at 5.12.2Dominik Xaver Hörl1-0/+1
2021-04-13nixos/tests/kernel-generic: make attributes derivations, not functionssternenseemann1-2/+2
Pass the args from kernel-generic.nix's top-level to the individual tests. Makes `nix-build -A nixosTests.kernel-generic.<attr>` and `nix-build nixos/tests/kernel-generic.nix -A <attr>` work as expected.
2021-04-08kernel: Add test for RC kernelsTim Steinbach1-1/+3
2021-04-08kernel: Add test for 4.4Tim Steinbach1-0/+1
2021-04-08kernel: Add test for 4.9Tim Steinbach1-0/+1
2021-04-08kernel: Add test for 4.14Tim Steinbach1-0/+1
2021-04-08kernel: Add test for 4.19Tim Steinbach1-0/+1
2021-04-08kernel: Add test for 5.4Tim Steinbach1-0/+1
2021-04-08kernel: Add test for 5.10Tim Steinbach1-0/+1
2021-04-08kernel: Add tests to passthru.testsTim Steinbach1-0/+29