about summary refs log tree commit diff
path: root/nixos/tests
AgeCommit message (Collapse)AuthorFilesLines
2022-08-05nixosTests.prometheus-exporters.smartctl: fix type mismatchkilianar1-2/+2
The method wait_for_open_port used in the smartctl test expects an int but was given a string. Fix the same issue in the example in the comments.
2022-08-03treewide: remove myself as maintainer from some pkgsFranz Pletz2-2/+2
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-03Merge pull request #176640 from stigtsp/package/convos-7.02Stig1-1/+1
convos: 6.42 -> 7.02
2022-08-03Merge #183748: staging-next 2022-07-29Vladimír Čunát1-103/+129
2022-08-01nixos: systemd-coredump: improve disabled statesqualus2-0/+45
The systemd-coredump module required systemd to be built with withCoredump=true, even if the module was disabled. - allow systemd to be missing systemd-coredump if the module is disabled - switch to mkDefault for the sysctl config to allow user overrides when the module is disabled - add nixos tests for both the enabled and disabled cases
2022-08-01Merge master into staging-nextgithub-actions[bot]1-2/+2
2022-07-31Merge pull request #184254 from ck3d/fix-test-machinectlmarkuskowa1-2/+2
nixos/tests/systemd-machinectl: Fix resolved and UID shift check
2022-07-31Merge master into staging-nextgithub-actions[bot]4-13/+151
2022-07-30nixos/tests/systemd-machinectl: Fix resolved and UID shift checkChristian Kögler1-2/+2
2022-07-30Merge pull request #182445 from euank/k3s-multi-node-testsuperherointj4-13/+151
nixos/tests/k3s: add multi-node test, test basic flannel networking
2022-07-30nixos/tests/k3s: add multi-node testEuan Kemp2-0/+139
This adds a basic multi-node test and verifies networking works between em.
2022-07-30nixos/tests/k3s: wait for default service account in testEuan Kemp1-10/+3
This lets us write a slightly simpler test, and more closely matches actual k8s usage
2022-07-30nixos/tests/k3s: reorganize test into a subdirectoryEuan Kemp3-3/+9
In preperation for more tests, coming soon.
2022-07-30Merge master into staging-nextgithub-actions[bot]1-2/+2
2022-07-29nixos/tests/nginx: fix nginx-etag testIzorkin1-2/+2
2022-07-28Merge staging-next into staginggithub-actions[bot]1-0/+2
2022-07-28Merge pull request #183154 from mweinelt/kea-2.2.0ajs1241-0/+2
2022-07-28Merge staging-next into staginggithub-actions[bot]1-13/+18
2022-07-28nixos/tests/vaultwarden: updateMartin Weinelt1-13/+18
New web builds required updated title information to look for. Rocket by default only listens on localhost, set to 0.0.0.0 to be reachable by the client. Selenium/Webdriver API changes required updates to function calls.
2022-07-27nixosTests.kea: set nameMartin Weinelt1-0/+2
2022-07-27Merge staging-next into staginggithub-actions[bot]1-0/+9
2022-07-27nixos/restic: add 'backups.package' option to override the restic package ↵Alan Strohm1-0/+9
(#183028)
2022-07-27Merge staging-next into staginggithub-actions[bot]2-0/+175
2022-07-26Merge pull request #152065 from chkno/stunnel-extraConfigRick van Schijndel2-0/+175
nixos/stunnel: Make free-form
2022-07-26nixos/tests/convos: fix testsStig Palmquist1-1/+1
- Fix journal grep test
2022-07-26Merge staging-next into staginggithub-actions[bot]2-0/+22
2022-07-26nixos: add lighttpd testBjørn Forsman2-0/+22
2022-07-25Merge staging-next into staginggithub-actions[bot]2-0/+122
2022-07-25Merge pull request #118093 from stuebinm/nextcloud-secretsKevin Cox2-0/+122
nixos/nextcloud: add extraOptions and secretFile options
2022-07-24Merge staging-next into staginggithub-actions[bot]2-3/+3
2022-07-24Merge pull request #182508 from primeos/signal-desktopMichael Weiss1-1/+1
nixos/tests/signal-desktop: Fix the sqlite3 part of the test (regressed)
2022-07-23nixosTests.podgrab: fix failing testkilianar1-2/+2
defaultPort and customPort aren't python variables causing the test to fail. We instead use the nix variables with string interpolation.
2022-07-23Merge staging-next into staginggithub-actions[bot]1-5/+1
2022-07-23nixos/jenkins-job-builder: set serviceConfig.Type = "oneshot"Bjørn Forsman1-5/+1
This change allows detecting configuration errors during switch-to-configuration instead of them being reported asynchronously *after* switch-to-configuration has exited. (And update the NixOS test accordingly.)
2022-07-22nixos/tests/signal-desktop: Fix the sqlite3 part of the test (regressed)Michael Weiss1-1/+1
Due to recent changes (likely a sqlite3 update) the sqlite3 meta-command did suddenly succeed while sqlite3 is still unable to read the still encrypted database. It just prints the following output and doesn't seem to try to open/read the DB (which would fail): ``` main: /home/alice/.config/Signal/sql/db.sqlite r/w ``` We can simply fix this "regression" by instructing sqlite3 to list the tables in the database (which fails because it cannot read the encrypted DB): ``` machine: must fail: su - alice -c 'sqlite3 ~/.config/Signal/sql/db.sqlite .tables' machine # [ 47.036720] su[1178]: Successful su for alice by root machine # [ 47.041049] su[1178]: pam_unix(su:session): session opened for user alice(uid=1000) by (uid=0) machine # Error: file is not a database machine # [ 47.116070] su[1178]: pam_unix(su:session): session closed for user alice (finished: must fail: su - alice -c 'sqlite3 ~/.config/Signal/sql/db.sqlite .tables', in 0.12 seconds) ``` Fix #181463.
2022-07-22openldap: load client config from /etc, not the nix storeDan Callaghan1-5/+18
We want Openldap clients to load /etc/ldap.conf at runtime, not ${pkgs.openldap}/etc/ldap.conf which is always a sample config. Pass sysconfdir=/etc at compile time, so that /etc/krb5.conf is embedded in the library as the path of its config file. Pass sysconfdir=${out}/etc at install time, so that the sample configs and schema files are correctly included in the build output. This hack works because the Makefiles are not smart enough to notice that the sysconfdir variable has changed across invocations -- because nobody ever writes their Makefiles to be that smart. :-) Fixes #181937.
2022-07-22Merge staging-next into staginggithub-actions[bot]1-0/+1
2022-07-22Revert "openldap: load client config from /etc, not the nix store"Martin Weinelt1-11/+1
2022-07-22Merge pull request #182080 from danc86/openldap-sysconfdirMartin Weinelt1-1/+11
2022-07-22Merge pull request #179597 from Mic92/openldap-pathMartin Weinelt1-103/+116
[staging] openldap: remove deprecated options, improve encapsulation
2022-07-21nixos/minecraft-server: let server shutdown cleanly (#182149)Sofi1-0/+1
2022-07-21wip: add vlan-ping testPhilippe Schaaf1-0/+40
Signed-off-by: Philippe Schaaf <philippe.schaaf@secunet.com>
2022-07-20Merge pull request #182104 from mayflower/mail-exporter-secretsMaximilian Bosch1-3/+5
nixos/prometheus-mail-exporter: support storing `passphrase` outside of the store, use umask when using envsubst
2022-07-20Merge pull request #182126 from pbsds/polaris-os-24Winter1-1/+1
nixos/tests/polaris: fix type check fail
2022-07-19nixos/tests/polaris: fix type check failPeder Bergebakken Sundt1-1/+1
This test was introduced in a PR predating typechecking, but got merged afterwards.
2022-07-19nixosTests.airsonic: fix failure (type error)kilianar1-1/+2
airsonic_is_up should return a bool, but machine.succeed returns a string causing testScriptWithTypes to fail. This is fixed by executing the cmd with machine.execute and checking the status code.
2022-07-19nixos/prometheus-mail-exporter: support storing `passphrase` outside of the ↵Maximilian Bosch1-3/+5
store
2022-07-19openldap: load client config from /etc, not the nix storeDan Callaghan1-1/+11
We want Openldap clients to load /etc/ldap.conf at runtime, not ${pkgs.openldap}/etc/ldap.conf which is always a sample config. Pass sysconfdir=/etc at compile time, so that /etc/krb5.conf is embedded in the library as the path of its config file. Pass sysconfdir=${out}/etc at install time, so that the sample configs and schema files are correctly included in the build output. This hack works because the Makefiles are not smart enough to notice that the sysconfdir variable has changed across invocations -- because nobody ever writes their Makefiles to be that smart. :-) Fixes #181937.
2022-07-17Merge pull request #181660 from anoadragon453/anoa/libuiohook_initWinter2-0/+22
libuiohook: init at 1.2.2
2022-07-17libuiohook: init at 1.2.2Andrew Morgan2-0/+22