about summary refs log tree commit diff
path: root/nixos/tests
Commit message (Collapse)AuthorAge
* Merge pull request #161837 from bobby285271/appstreamdavidak2022-03-09
|\ | | | | appstream: 0.14.4 → 0.15.2
| * nixosTests.installed-tests.appstream-qt: initBobby Rong2022-03-02
| |
| * nixosTests.installed-tests.appstream: initBobby Rong2022-03-02
| |
* | Merge pull request #146653 from DarkDNA/nixos/fix-systemd-exporter/extraFlagspennae2022-03-09
|\ \ | | | | | | nixos/prometheus/systemd: Implement the extraFlags config option.
| * | nixos/tests/prometheus-exporters: Add a test to cover a regression.Amanda Cameron2021-11-19
| | |
* | | Merge pull request #162095 from midchildan/fix/keycloak-mysqlKim Lindberger2022-03-07
|\ \ \ | | | | | | | | nixos/keycloak: fix database provisioning issues
| * | | nixosTests.keycloak: replace libtidy with html-tidymidchildan2022-02-28
| | | | | | | | | | | | | | | | Follow-up of cc700ad55b3fc4bc257826b3167c3a1247b50a5b.
* | | | Merge pull request #160777 from LunNova/improve-input-remapper-moduleTimo Kaufmann2022-03-07
|\ \ \ \ | | | | | | | | | | nixos/input-remapper: Fix missing [], add more options, add test
| * | | | nixos/input-remapper: document pkexec workaround in testLuna Nova2022-03-07
| | | | |
| * | | | nixos/input-remapper: add nixos test for input-remapperLuna Nova2022-03-07
| | | | |
* | | | | nixos/nats: fix testJos van Bakel2022-03-07
|/ / / /
* | | | Merge pull request #158605 from mweinelt/synapse-rfc42piegames2022-03-05
|\ \ \ \ | | | | | | | | | | nixos/matrix-synapse: migrate to rfc42 settings and formatter
| * | | | nixos/tests/pantalaimon: use synapse setting optionMartin Weinelt2022-03-04
| | | | |
| * | | | nixos/tests/mjolnir: use synapse setting optionMartin Weinelt2022-03-04
| | | | |
| * | | | nixos/tests/matrix-appservice-irc: use synapse settings optionMartin Weinelt2022-03-04
| | | | |
| * | | | nixos/tests/matrix-synapse: use settings optionMartin Weinelt2022-03-04
| | | | |
* | | | | Merge pull request #156858: nixos/polkit: don't enable by defaultpiegames2022-03-05
|\ \ \ \ \
| * | | | | nixos/tests/tinywl: enable polkitMartin Weinelt2022-01-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tinywl just segfaults when polkit is missing, probably because it can't access required resources.
* | | | | | nixos/tests/home-assistant: drop mqtt testsMartin Weinelt2022-03-05
| |/ / / / |/| | | | | | | | | | | | | | | | | | | With Home Assistant 2022.3.0 the MQTT configuration cannot be done declaratively anymore, so this test scenario has been rendered moot.
* | | | | nixos/switchTest: Make checks more preciseJanne Heß2022-03-03
| | | | |
* | | | | nixos/switch-to-configuration: Document and test socket-activated servicesJanne Heß2022-03-03
| | | | |
* | | | | Merge pull request #162612 from hercules-ci/update-nixopsUnstableRobert Hensing2022-03-03
|\ \ \ \ \ | | | | | | | | | | | | nixopsUnstable: 2.0.0-pre (2021-12-01) -> 2.0.0-pre (2022-02-21)
| * | | | | nixopsUnstable -> nixops_unstableRobert Hensing2022-03-03
| | | | | | | | | | | | | | | | | | | | | | | | Conform to https://nixos.org/manual/nixpkgs/unstable/#sec-package-naming
* | | | | | Merge pull request #162582 from JJJollyjim/cntr-testJörg Thalheim2022-03-03
|\ \ \ \ \ \ | |/ / / / / |/| | | | | nixos/tests: fix flaky cntr test
| * | | | | nixos/tests: fix flaky cntr testJamie McClymont2022-03-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The cntr sometimes hangs until the 10-hour hydra limit. This behaviour appears to be an edge-case related to the type of TTY in which the cntr command runs during test execution. We can work around this by running the command as a background job. I additionally added a wait_for_open_port to fix nondeterministic test failures I observed after fixing the hanging issue.
* | | | | | nixos/systemd-confinement: Allow shipped unit fileaszlig2022-03-02
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In issue #157787 @martined wrote: Trying to use confinement on packages providing their systemd units with systemd.packages, for example mpd, fails with the following error: system-units> ln: failed to create symbolic link '/nix/store/...-system-units/mpd.service': File exists This is because systemd-confinement and mpd both provide a mpd.service file through systemd.packages. (mpd got updated that way recently to use upstream's service file) To address this, we now place the unit file containing the bind-mounted paths of the Nix closure into a drop-in directory instead of using the name of a unit file directly. This does come with the implication that the options set in the drop-in directory won't apply if the main unit file is missing. In practice however this should not happen for two reasons: * The systemd-confinement module already sets additional options via systemd.services and thus we should get a main unit file * In the unlikely event that we don't get a main unit file regardless of the previous point, the unit would be a no-op even if the options of the drop-in directory would apply Another thing to consider is the order in which those options are merged, since systemd loads the files from the drop-in directory in alphabetical order. So given that we have confinement.conf and overrides.conf, the confinement options are loaded before the NixOS overrides. Since we're only setting the BindReadOnlyPaths option, the order isn't that important since all those paths are merged anyway and we still don't lose the ability to reset the option since overrides.conf comes afterwards. Fixes: https://github.com/NixOS/nixpkgs/issues/157787 Signed-off-by: aszlig <aszlig@nix.build>
* | | | | Merge pull request #158613 from ConnorBaker/masterRok Garbas2022-03-01
|\ \ \ \ \ | | | | | | | | | | | | hadoop: add aarch64 support
| * | | | | hadoop: add back dots in names of nixos testsConnor Baker2022-02-23
| | | | | |
| * | | | | hadoop: add aarch64 supportConnor Baker2022-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit also changes the names of the tests for Hadoop so they use dashes instead of dots, and makes the default `hadoop` test what would have been `hadoop-all` after the rename. This change should mean that we're able to run `nix build github:nixos/nixpkgs/master#nixosTests.hadoop` which I was unable to do prior to this change.
* | | | | | vsftpd: enable seccomp (#158974)ajs1242022-03-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * vsftpd: enable seccomp * nixos/tests/vsftpd: add basic test * vsftpd: add test to passthru
* | | | | | Merge pull request #161929 from martinetd/switchTestJanne Heß2022-02-28
|\ \ \ \ \ \ | | | | | | | | | | | | | | logrotate: do not enable logrotate.service itself
| * | | | | | nixosTests.switchTest: fix race condition on /testpathNaïm Favier2022-02-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the test-watch.service gets started in a loop as long as /testpath exists, so `rm /testpath /testpath-modified` runs into a race condition where if the service was just getting activated, it will create /testpath-modified and make the test fail. This is fixed by making the service RemainAfterExit so that it only starts once, and stopping it manually after we remove /testpath.
| * | | | | | logrotate: do not enable logrotate.service itselfDominique Martinet2022-02-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | logrotate.timer is enough for rotating logs. Enabling logrotate.service would make the service start on every configuration switch, leading to tests failure when logrotate is enabled. Also update test to make sure the timer is active and runs the service on date change.
* | | | | | | Merge pull request #157693 from Radvendii/zammadRok Garbas2022-02-28
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | | zammad: init at 5.0.2
| * | | | | | zammad: test passes!Taeer Bar-Yam2022-02-23
| | | | | | |
| * | | | | | zammad: reformatTaeer Bar-Yam2022-02-23
| | | | | | |
| * | | | | | Zammad: more fixesTaeer Bar-Yam2022-02-23
| | | | | | |
| * | | | | | zammad: fix module databasesTaeer Bar-Yam2022-02-23
| | | | | | |
| * | | | | | zammad: fix module/testTaeer Bar-Yam2022-02-23
| | | | | | |
| * | | | | | zammad: add module testTaeer Bar-Yam2022-02-23
| | | | | | |
* | | | | | | Merge pull request #162056 from NickCao/bird-reloadJörg Thalheim2022-02-27
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | nixos/bird: run service as non-root user, add test for reload
| * | | | | | | nixos/bird: run service as non-root user, add test for reloadNick Cao2022-02-27
| | | | | | | |
* | | | | | | | shiori: fix NixOS test (#161969)Rémi NICOLE2022-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * nixos/tests/shiori: fix auth JSON * shiori: link NixOS test in passthru.tests
* | | | | | | | logrotate/systemd: add 'minsize = 1M' to wtmp/btmp rotationDominique Martinet2022-02-27
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | align with upstream logrotate which added the minsize rule at some point. This avoids needlessly rotating the files too often as brought up in https://github.com/NixOS/nixpkgs/pull/159187#issuecomment-1052426774
* | | | | | | tests/pgadmin4-standalone: addMaciej Krüger2022-02-26
| | | | | | |
* | | | | | | pgadmin4: init at 6.3florian on nixos (Florian Brandes)2022-02-26
| |/ / / / / |/| | | | | | | | | | | | | | | | | Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
* | | | | | Merge #161734: nixos/tests/networking: Fix link testVladimír Čunát2022-02-25
|\ \ \ \ \ \
| * | | | | | nixos/tests/networking: Fix link testMartin Weinelt2022-02-24
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test was looking at the wrong interface and relying on silly behaviour by the dummy driver, which autocreated a `dummy0` interface on modprobe. Fix this by making it look at the actual `foo` interface that the test creates.
* | | | | | bird1: drop package + modulesJörg Thalheim2022-02-25
| | | | | | | | | | | | | | | | | | | | | | | | reason: no longer maintained upstream.
* | | | | | nixos/kubernetes: use kubectl from kuberneteszowoq2022-02-25
| | | | | | | | | | | | | | | | | | | | | | | | - also clarify kubectl wrapper naming