summary refs log tree commit diff
path: root/nixos/tests
AgeCommit message (Collapse)AuthorFilesLines
2023-05-21nixos/tests: init portunusSandro Jäckel2-0/+19
2023-05-11Merge pull request #231096 from kai-tub/vector/add-pkg-optMartin Weinelt1-1/+1
vector: add `package` Option
2023-05-11nixosTests.vector: fix race conditionKai Norman Clasen1-1/+1
2023-05-11Merge pull request #231310 from Kranzes/harmoniaIlan Joselevich1-1/+3
nixos/tests/harmonia: check if settings work
2023-05-11Merge pull request #230523 from hercules-ci/fast-nixos-test-evalRobert Hensing1-1/+18
Fast nixos test eval
2023-05-11nixos/tests/harmonia: check if settings workIlan Joselevich1-1/+3
2023-05-11nixos/all-tests: Enable readOnlyPkgs by default for runTestRobert Hensing1-2/+2
Most tests are not affected by this because they use the `handleTest` function instead.
2023-05-11nixos/testing: Add node.pkgs optionRobert Hensing1-5/+1
By factoring out this logic, it's easier for other projects to make use of it this optimization too (and do it correctly).
2023-05-11nixosTests.acme: Use a read-only pkgsRobert Hensing1-1/+1
This speeds up evaluation by a factor 2. Ballpark figures from my machine: ``` $ time nix-build nixos/release.nix -A tests.acme /nix/store/q4fxp55k64clcarsx8xc8f6s10szlfvz-vm-test-run-acme /nix/store/lnfqg051sxx05hclva84bcbnjfc71c8x-vm-test-run-acme real 1m28.142s user 1m7.474s sys 0m7.932s $ time nix-build nixos/release.nix -A tests.acme /nix/store/q4fxp55k64clcarsx8xc8f6s10szlfvz-vm-test-run-acme /nix/store/lnfqg051sxx05hclva84bcbnjfc71c8x-vm-test-run-acme real 0m38.235s user 0m33.814s sys 0m2.283s ```
2023-05-11nixos/all-tests.nix: Add readOnlyPkgs moduleRobert Hensing1-0/+21
2023-05-11Merge pull request #231246 from yayayayaka/gitlab-test-fix-warningRobert Hensing2-8/+11
nixosTests.gitlab: Use module system based runner
2023-05-11nixos/tests/gitlab.nix: Document running it Robert Hensing1-0/+3
`nix-build $file` is not possible anymore, so this helps both newcomers and old hands. It's documented in the manual, but that's far away.
2023-05-11Merge pull request #231105 from helsinki-systems/upd/mariadbajs1241-2/+2
mariadb: 10.4.29, 10.5.20, 10.6.13, 10.10.4, 10.11.3
2023-05-11nixosTests.gitlab: Use module system based runnerYaya2-8/+8
2023-05-11Merge pull request #231113 from Kranzes/harmoniaIlan Joselevich2-11/+13
nixos/harmonia: adjust module and test to upstream, harmonia: 0.6.3 -> 0.6.4
2023-05-10nixos/installer/grub1: removeajs1241-39/+11
2023-05-10nixos/harmonia: adjust module and test to upstreamIlan Joselevich2-11/+13
2023-05-10nixosTests.mysql-replication: fix deprecation warningajs1241-2/+2
2023-05-10Merge pull request #230857 from s1341/bugfix_pam_sssdRyan Lahfa1-4/+76
nixos/pam: Allow password changing via sssd
2023-05-10Merge pull request #230550 from Mic92/harmoniaSandro2-0/+34
2023-05-10nixos/harmonia: init serviceJörg Thalheim2-0/+34
2023-05-10nixos/tests/aaaaxy: fix testLuflosi1-3/+4
It got broken by 5c0aa8190905e4945c407d258d0a3fb369a65def. The fix is to use a real X server instead of xvfb-run.
2023-05-10Merge pull request #230926 from bachp/geth-test-zhfJörg Thalheim1-2/+6
nixos/geth: fix failing test
2023-05-10nixos/tests/nginx: fix etag test flakinessPierre Bourdon1-5/+13
2023-05-09nixos/geth: fix failing testPascal Bach1-2/+6
Run authrpc on different ports for main and testnet to avoid collision.
2023-05-09nixos/test/sssd-ldap: do new login on a different VTs13411-7/+10
2023-05-09Merge pull request #230871 from IndeedNotJames/nixos-tests-2047mbMartin Weinelt2-2/+2
nixosTests.gitea,nixosTests.forgejo,nixosTests.wiki-js: fix test on `i686-linux`
2023-05-09nixos/test/sssd-ldap: nixpkgs-fmts13411-138/+138
2023-05-09nixosTests.wiki-js: fix test on `i686-linux`IndeedNotJames1-1/+1
Fail pattern: 1. Unsuspecting `qemu-kvm` notice: ``` server # qemu-kvm: at most 2047 MB RAM can be simulated ``` 2. Hard fail ``` self.shell.send(out_command.encode()) BrokenPipeError: [Errno 32] Broken pipe ``` (Took me a while to consider those lines are related)
2023-05-09nixosTests.gitea,nixosTests.forgejo: fix test on `i686-linux`IndeedNotJames1-1/+1
Fail pattern: 1. Unsuspecting `qemu-kvm` notice: ``` server # qemu-kvm: at most 2047 MB RAM can be simulated ``` 2. Hard fail ``` self.shell.send(out_command.encode()) BrokenPipeError: [Errno 32] Broken pipe ``` (Took me a while to consider those lines are related)
2023-05-09Merge pull request #230844 from pennae/mosquitto-test-fixMartin Weinelt1-0/+1
nixos/mosquitto: use networkd for tests
2023-05-09nixos/test/sssd-ldap: make tests actually check login, password changes13411-79/+148
2023-05-09nixos/mosquitto: use networkd for testspennae1-0/+1
the non-networkd backend does not wait for slaac to finish (ie, ipv6 addresses coming out of tentative state), and that breaks the mosquitto bind_interface test slightly. if slaac takes too long the test will run into mosquitto restart limits and fail.
2023-05-09nixos/mariadb: Fix test on i686Janne Heß1-1/+1
RocksDB is not built on that platform and the .so is missing
2023-05-08llvmPackages_latest: move to aliases.nixAlyssa Ross1-1/+1
Because llvmPackages_latest is used in Nixpkgs, by quite a few packages, it's difficult to keep it up to date, because updating it requires some level of confidence that every package that uses it is going to keep working after the update. The result of this is that llvmPackages_latest is not updated, and so we end up in the situation that "latest" is two versions older than the latest version we actually provide. This is confusing and unexpected. "But won't this end up fragmenting our LLVM versions, if every package previously using _latest is separately pinned to LLVM 14?", I hear you ask. No. That fragmentation is already happening, even with an llvmPackages_latest, because packages that actually require the _latest_ version of LLVM (15/16), have already been decoupled from llvmPackages_latest since it hasn't been upgraded. So like it or not, we can't escape packages depending on specific recent LLVMs. The only real fix is to get better at keeping the default LLVM up to date (which I'm reasonably confident we're getting into a better position to be feasibly better able to do). So, unless we want to double down on providing a confusingly named "llvmPackages_latest" attribute that refers to some arbitrary LLVM version that's probably not the latest one (or even the latest one available in Nixpkgs), we only have two options here: either we don't provide such an attribute at all, or we don't use it in Nixpkgs so we don't become scared to bump it as soon as we have a new LLVM available.
2023-05-08Merge pull request #207106 from autrimpo/gonic-moduleSandro2-0/+19
nixos/gonic: init
2023-05-07nixos/gonic: initMichal Koutenský2-0/+19
2023-05-07Merge pull request #227765 from zhaofengli/darlingIlan Joselevich2-0/+45
darling: init at unstable-2023-05-02
2023-05-06nixos/tests/darling: initZhaofeng Li2-0/+45
2023-05-06nixos/tests/kavita: initGabriel Fontes2-0/+37
2023-05-05Merge pull request #193469 from minijackson/mount-options-stage-1Ryan Lahfa2-0/+20
nixos/stage-1: follow mount options
2023-05-05Merge pull request #228111 from alyssais/nixosTest-hostnameJacek Galowicz3-2/+43
nixosTest: remove hostname limitations
2023-05-04nixos/tests/installer.nix: add missing kbd.devVladimír Čunát1-0/+1
Sometimes the tests fail since splitting kbd.dev in PR #226247 https://hydra.nixos.org/build/218620685/nixlog/2/tail Apparently the failure isn't 100% reproducible; I don't know how/why.
2023-05-03wordpress: 6.1.1 -> 6.2; wordpress6_2: initJonas Heinrich1-1/+1
2023-05-02Merge pull request #227990 from Mic92/mediawiki-webserverMartin Weinelt1-2/+22
nixos/mediawiki: make apache2 optional
2023-05-02Merge pull request #227401 from onny/maddytls2Jonas Heinrich4-3/+103
nixos/maddy: Add tls option
2023-05-01nixos/mediawiki: also test fcgi socketJörg Thalheim1-1/+10
2023-05-01nixos/mediawiki: make apache optionalJörg Thalheim1-0/+11
2023-05-01Merge pull request #229159 from Misterio77/refactor-nextcloud-createlocallyJonas Heinrich3-50/+24
nixos/nextcloud: refactor database.createLocally
2023-05-01nixos/maddy: Add tls optionJonas Heinrich4-3/+103