about summary refs log tree commit diff
path: root/nixos/tests
AgeCommit message (Collapse)AuthorFilesLines
2022-04-07Merge pull request #166130 from DeterminateSystems/zpool-expandGraham Christensen1-0/+50
zpool-auto-expand-partitions: init at 0.1.0, update auto-expand service
2022-04-07Merge pull request #166602 from talyz/keycloak-17.0.1Kim Lindberger1-2/+2
keycloak: 16.1.0 -> 17.0.1
2022-04-07services.zfs.expandOnBoot: Test that it worksGraham Christensen1-0/+50
2022-04-07Merge pull request #166894 from CameronNemo/nixos-mod-envoypennae2-0/+34
nixos/envoy: init
2022-04-07nixos/envoy: initCameron Nemo2-0/+34
2022-04-05Merge #165406: staging-next 2022-03-23Vladimír Čunát1-0/+1
2022-04-05nixos tests atop: don't allow unfree packagesFrederik Rietdijk1-8/+0
We are not supposed to enable the use of unfree packages in Nixpkgs.
2022-04-05Merge pull request #166383 from hercules-ci/always-sanitize-derivation-nameRobert Hensing1-1/+1
Always sanitize derivation name
2022-04-05nixosTests.installer.*: provide a missing dependencyVladimír Čunát1-0/+1
See errors in these three jobs: https://hydra.nixos.org/eval/1753111#tabs-still-fail It's a bit unpleasant that a single run of each test takes almost an hour for me (half an hour on Hydra in some cases).
2022-04-05Merge pull request #154981 from helsinki-systems/feat/lvm2-vdo7c6f434c4-0/+87
(k)vdo: init
2022-04-05nixos/tests/lvm2: add comment recommending a testajs1241-0/+1
2022-04-05Merge pull request #167270 from ryantm/vaultwarden-testajs1241-1/+0
nixos/vaultwarden: fix test
2022-04-04nixos/vaultwarden: fix testRyan Mulligan1-1/+0
The accept policies checkbox is no longer present on the user creation screen.
2022-04-05dockerTools: pkgs.system -> pkgs.stdenv.hostPlatform.systemzowoq2-3/+3
`pkgs.system` is an alias
2022-04-04nixos/tests/lvm2/vdo: fix machine nameajs1241-1/+1
2022-04-04nixos/tests/lvm2: initajs1244-0/+86
2022-04-04Merge pull request #166250 from gador/pgadmin-update-6.7Timo Kaufmann1-0/+1
pgadimin4: 6.5 -> 6.7
2022-04-03Merge pull request #167061 from Artturin/fixtestevalhibMartin Weinelt1-1/+1
2022-04-03Merge pull request #167048 from helsinki-systems/fix/test-boot-cdromJanne Heß1-3/+3
nixos/tests/boot: fix after aa0f27abb06ca66a1dc99493ada65e2bbd6000c9
2022-04-03nixos/tests/hibernate: fix evalArtturin1-1/+1
by removing duplicate `nodes`
2022-04-03nixos/tests/boot: fix after aa0f27abb06ca66a1dc99493ada65e2bbd6000c9ajs1241-3/+3
2022-04-03nixos/collectd: put extraconfig before pluginsGuillaume Girol1-1/+6
this is necessary to override the global option Interval. If set after the plugins, it has no effect.
2022-04-03Merge pull request #164943 from ↵Janne Heß2-0/+28
ElvishJerricco/systemd-initrd-reuse-systemd-module initrd: Opt-in bare bones systemd-based initrd
2022-04-03Merge pull request #165684 from helsinki-systems/clean/stage-2-initLassulus1-0/+5
nixos/stage-2-init: Clean up legacy commands
2022-04-03nixos: add maestral testsPeter Hoeg2-0/+73
2022-04-02nixos/tests/mtp: initmatthewcroughan2-0/+110
Adds a fully fledged NixOS VM integration test which uses jmtpfs and gvfs to test the functionality of MTP inside of NixOS. It uses USB device emulation in QEMU to create MTP device(s) which can be tested against.
2022-04-01nixos/jenkinsSlave: install javaP. R. d. O1-0/+2
Installs Java into the Jenkins agent and allows specifying the JDK/JRE package to use. This is necessary as Jenkins verifies if the agent contains Java installed through the java -fullversion command, which if not, the connection will fail.
2022-04-01keycloak: 16.1.0 -> 17.0.1talyz1-2/+2
2022-04-01nixos/systemd-initrd: Make emergency access more flexibleJanne Heß1-1/+4
2022-04-01logrotate: add logrotate-checkconf.serviceDominique Martinet1-0/+20
the build-time check is not safe (e.g. doesn't protect from bad users or nomissingok paths missing), so add a new unit for configuration switch time check
2022-04-01logrotate: add configuration check at build timeDominique Martinet1-0/+8
Now the service no longer starts immediately, check if the config we generated makes sense as soon as possible. The check isn't perfect because logrotate --debug wants to check users required, there are two problems: - /etc/passwd and /etc/group are sandboxed and we don't have visibility of system users - the check phase runs as nixbld which cannot su to other users and logrotate fails on this Until these two problems can be addressed, users-related checks are filtered out, it's still much better than no check. The check can be disabled with services.logrotate.checkConfig if required (bird also has a preCheck param, to prepare the environment before check, but we can add it if it becomes necessary) Since this makes for very verbose builds, we only show errors: There is no way to control log level, but logrotate hardcodes 'error:' at common log level, so we can use grep, taking care to keep error codes Some manual tests: ───────┬────────────────────────────────────────── │ File: valid-config.conf ───────┼────────────────────────────────────────── 1 │ missingok ───────┴────────────────────────────────────────── logrotate --debug ok grep ok ───────┬────────────────────────────────────────── │ File: postrotate-no-end.conf ───────┼────────────────────────────────────────── 1 │ missingok 2 │ /file { 3 │ postrotate 4 │ test 5 │ } ───────┴────────────────────────────────────────── error: postrotate-no-end.conf:prerotate, postrotate or preremove without endscript ───────┬────────────────────────────────────────── │ File: missing-file.conf ───────┼────────────────────────────────────────── 1 │ "test" { daily } ───────┴────────────────────────────────────────── error: stat of test failed: No such file or directory ───────┬────────────────────────────────────────── │ File: unknown-option.conf ───────┼────────────────────────────────────────── 1 │ some syntax error ───────┴────────────────────────────────────────── logrotate --debug ok error: unknown-option.conf:1 unknown option 'some' -- ignoring line ───────┬────────────────────────────────────────── │ File: unknown-user.conf ───────┼────────────────────────────────────────── 1 │ su notauser notagroup ───────┴────────────────────────────────────────── error: unknown-user.conf:1 unknown user 'notauser' In particular note that logrotate would not error on unknown option (it just ignores the line) but this change makes the check fail.
2022-04-01nixos/logrotate: convert to freeformDominique Martinet1-2/+78
using freeform is the new standard way of using modules and should replace extraConfig. In particular, this will allow us to place a condition on mails
2022-04-01logrotate: move mail dependency from package to serviceDominique Martinet1-10/+21
having pkgs.logrotate depend on mailutils brings in quite a bit of dependencies through mailutil itself and recursive dependency to guile when most people do not need it. Remove mailutils dependency from the package, and conditionally add it to the service if the user specify the mail option either at top level or in a path Fixes #162001
2022-03-31nixos/tests/gitlab: Add yayayayaka to maintainersYaya1-1/+1
2022-03-31nixos/tests/gitlab: Check HTTP response codesYaya1-4/+10
cURL always exits with `0` even when the HTTP response codes are above 400, leading to false-positive test results.
2022-03-31nixos/tests/gitlab: Fix project idYaya1-3/+3
Gitlab automatically creates a repository, taking away the project id=1.
2022-03-31nixos/tests/gitlab: Fix Authorization Bearer fieldYaya1-1/+1
Due to an incorrect shell escape the Authorization Bearer Token was not present in the cURL request headers.
2022-03-31Merge pull request #165035 from roberth/nixosTest-remove-machine-argRobert Hensing233-261/+261
nixosTest: remove `machine` syntax sugar
2022-03-31Merge pull request #165453 from ↵ajs1241-0/+4
helsinki-systems/feat/systemd-manager-environment nixos/systemd: Switch to ManagerEnvironment=
2022-03-31Merge pull request #166442 from mweinelt/botamusiqueajs1241-0/+4
botamusique: use nodejs-14_x
2022-03-30nixos/netbox: add nixos testEmber 'n0emis' Keske2-0/+31
2022-03-30nixos/systemd: Switch to ManagerEnvironment=Janne Heß1-0/+4
This accomplishes multiple things: - Allows us to start systemd without stage-2-init.sh. This was not possible before because the environment would have been wrong - `systemctl daemon-reexec` also changes the environment, giving us newer tools for the fs packages - Starts systemd in a fully clean environment, making everything more consistent and pure
2022-03-30nixosTests.botamusique: satisfy pyradios dns lookupMartin Weinelt1-0/+4
Since pyradio 1.0 the library does a DNS lookup on import, so we add the required hostname into /etc/hosts to satisfy that lookup.
2022-03-30nixos/zrepl: note about systemd unit, add snapshot testMatt Layher2-0/+67
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2022-03-30nixos/tests/nixops: Remove sanitizeDerivationNameRobert Hensing1-1/+1
2022-03-29pgadimin4: 6.5 -> 6.7Florian Brandes1-0/+1
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-03-28powerdns: 4.3.1 -> 4.6.1Nick Cao1-0/+1
2022-03-28treewide: machine -> nodes.machineRobert Hensing233-261/+261
2022-03-27nixosTests.gnome: fix testsJan Tojnar2-0/+2
GNOME Terminal is no longer installed by default, breaking the tests that depend on it. Let’s re-add it for now to unbreak them.
2022-03-27nixos/stage-2-init: Clean up legacy commandsJanne Heß1-0/+5
We can perform most of the mkdir/ln/rm using systemd-tmpfiles instead which cleans up the script. /bin and /home are created by their activation script snippets usbfs is deprecated and unused. hwclock seems to be automatically executed by systemd on startup. The mkswap to prevent hibernation cycles seems to be executed by systemd as well since the provided regression tests succeeds.