Commit Graph

9508 Commits

Author SHA1 Message Date
K900
58626b7634
nixos/tests/acme: explicitly start the targets we wait for (#354629) 2024-11-09 09:58:58 +03:00
K900
c8fd06c3b2 nixos/tests/acme: wait for server to run before starting the target
This is really an ordering issue in the ACME module itself,
but while we think of how to fix it, this should at least unflake
the tests.
2024-11-09 09:40:38 +03:00
Weijia Wang
da5252dd31
nixosTests.retroarch: fix test by changing window title (#354067) 2024-11-09 01:03:07 +01:00
Peder Bergebakken Sundt
dcc6e1558c
nixos/keepassxc: fix test (#353938) 2024-11-09 00:10:04 +01:00
K900
ee6df93fe2 nixos/tests/acme: explicitly start the targets we wait for
This should address the other source of flakiness in the test.
2024-11-09 01:57:35 +03:00
K900
0453fe2395
{apache,caddy,nginx}: not "before" ACME certs using DNS validation (#336412) 2024-11-08 18:50:28 +03:00
ThinkChaos
b432e86caf
nixos/acme: remove unused binding in tests 2024-11-07 20:19:12 -05:00
Emily
3a6d4d006a
treewide: use getLib when accessing clang / libclang / stdenv.cc.cc (#354197) 2024-11-07 18:16:05 +00:00
Reno Dakota
52bf1163fa
treewide: use getLib when accessing clang / libclang / stdenv.cc.cc
In preparation to eliminate the lib output for the unwrapped clang, use
`lib.getLib` to access the `lib` output.
2024-11-07 10:27:41 +00:00
Fabián Heredia Montiel
2f31bf4c47 linux/hardened/patches/6.11: init at v6.11.6-hardened1 2024-11-06 18:15:54 -06:00
Noa Aarts
5d0cd804a5
nixosTests.retroarch: fix test by changing expected window title 2024-11-06 20:09:10 +01:00
Noa Aarts
dd4d691d9b
nixosTests.retroarch: format using nixfmt 2024-11-06 20:08:39 +01:00
Ramses
d06e176158
nixos/swapspace: init module (#348588) 2024-11-06 16:52:09 +01:00
Sandro
90a1d755a5
nixos/tests/redmine: Limit platforms to supported ones (#348178) 2024-11-06 10:01:27 +01:00
amesgen
0e25167336
nixos/keepassxc: stop using deprecated cli option
Addresses

    The -k option will be deprecated. Please use the --set-key-file option
    instead.

This isn't causing any problems _yet_, but it seems easy enough to fix it now
already.
2024-11-06 01:59:56 +01:00
amesgen
c712874d4a
nixos/keepassxc: adapt to new UI details
There now is a "Refresh Hardware Keys" icon since 2.7.7, which we have to skip.
I also needed to add more explicit handling of the intermediate file dialog to
get the test to pass.
2024-11-06 01:59:56 +01:00
amesgen
852523aa47
nixos/keepassxc: work around OCR issues
Since https://github.com/NixOS/nixpkgs/pull/288208, the OCR got worse and can't
seem to be able to read the text from title bars 😭. Setting the background
color to white fixes the problem.

https://ice-wm.org/manual/icewm-11.html
https://ice-wm.org/man/icewm-prefoverride
2024-11-06 01:59:28 +01:00
Sandro
5634c21398
nixos/tests/prometheus-exporters: add exportarr-sonarr test (#285119) 2024-11-06 00:13:17 +01:00
nikstur
0c02b3076c
nixos/etc-overlay: clean up temporary directories (#339802) 2024-11-05 17:13:27 +01:00
Yorick
12eedc8e88
nixos/victoriametrics: harden systemd unit, add more options. (#350737) 2024-11-05 13:36:19 +01:00
Emily
ff7d68490a
nixos/activation-script: Make installBootLoader default a script (#353543) 2024-11-05 00:21:19 +00:00
Weijia Wang
acf3de8d62
nixos/guix: add declarative substituters option (#353518) 2024-11-04 20:43:41 +01:00
emilylange
9a4e945ceb
nixos/tests/forgejo: fix after git v2.47 bump
git v2.47.0 made changes to trace2's nesting.

trace2.eventNesting (GIT_TRACE2_EVENT_NESTING) defaults to 2, but the
nested region we are after gained a level and is now at level 3 instead
of 2.

eventNesting describes the maximum nesting level to be logged.
So to make it log the negotated-version in connect.c again, we increase
the default by one, from 2 to 3.
2024-11-04 17:34:54 +01:00
Simon Hauser
c4edf93988
Cleanup helsinki maintainer (#353611)
* maintainers: update email conni2461

* maintainers: add helsinki-jo

* tree-wide: cleanup maintainership of helsinki-systems
2024-11-04 12:59:26 +01:00
7c6f434c
2bd5a51a15
timidity: add enableVorbis option (#201828) 2024-11-04 10:24:39 +00:00
Will Fancher
f92ec1bc93 nixos/tests/switchTest: Add test for dbus reloading 2024-11-04 04:12:52 -05:00
Will Fancher
a7cda6835f nixos/tests/switchTest: Remove spurious dbus reload checks
Previously, the base system had grub in `systemPackages` but the
specialisations did not. This is because of a few factors:

- Grub was enabled in the nixos config
- Specialisations set `grub.device = "nodev"` (see: system/activation/no-clone.nix)
- Grub is added to `systemPackages` depending on whether `devices == ["nodev"]`

This meant that switching between the base system and a specialisation
always changed `system-path.drv`, which is a reload trigger for
dbus. With grub disabled in this test, this no longer happens.
2024-11-04 04:12:52 -05:00
Will Fancher
40b7674b98 nixos/tests/switchTest: Test no boot loader 2024-11-04 03:33:26 -05:00
Christian Kögler
563a48ffd8
nixos/tests/prometheus-exporters/varnish: make state directory explicit (#353418) 2024-11-04 07:10:21 +01:00
Aleksana
0a3743227d
varnish74: drop (#352492) 2024-11-04 10:15:01 +08:00
Gabriel Arazas
7095e0f8c1 nixos/guix: add declarative substituters option 2024-11-03 15:12:12 -06:00
Sandro
f5c76ad2b5
nixos/renovate: set service type to simple (#334557) 2024-11-03 16:52:53 +01:00
Wim de With
01aab17a2e nixos/tests/prometheus-exporters/varnish: make state directory explicit 2024-11-03 16:42:04 +01:00
Guillaume Girol
257cb10f86
os-prober: 1.81 -> 1.83 (#349856) 2024-11-03 14:22:42 +01:00
Maximilian Bosch
500d745e73
Merge: nixos/postgresql: set up sandboxing (#344925) 2024-11-02 11:12:15 +01:00
Will Fancher
37ee6ba681 Revert "NixOS apply script"
Reverts #344407

This has broken nixos-rebuild switch so that it no longer updates the profile, which has bad consequences including not updating the systemd-boot menu with new generations.
2024-11-01 20:18:09 -04:00
Anderson Torres
77ec23d6af nixos/tests/mpd: update and format
mpc-cli is now mpc
2024-11-01 20:07:04 -03:00
Maximilian Bosch
d9bd5a0548
Merge: Fix NixOS tests for various Prometheus exporters (#352602) 2024-11-01 16:49:37 +01:00
Aleksana
8013c944ee
nixos/tests/etcd: undo explicit network declaration (#352599) 2024-11-01 21:27:12 +08:00
Adam C. Stephens
f1cb012f82
kanidm: 1.3.3 -> 1.4.0 (#352773) 2024-11-01 08:08:41 -04:00
Martin Weinelt
93083489ba
nixos/tests/kanidm: update for 1.4.0 2024-11-01 04:31:04 +01:00
Emily
21980f5e37
nixos/tests/boot-stage1: Adjust for new pgrep output (#352769) 2024-11-01 03:01:10 +00:00
Will Fancher
ec7e6bad43 nixos/tests/boot-stage1: Adjust for new pgrep output 2024-10-31 22:37:03 -04:00
Ryan Yin
89b4cb7299 nixos/victoriametrics: harden systemd unit, add more options. 2024-10-31 23:47:02 +08:00
mnv
71efd64768 nixos/tests/etcd: undo explicit network declaration 2024-10-31 20:59:07 +05:30
Wim de With
44b35795df nixos/tests/prometheus-exporters/lnd: fix bitcoind configuration
bitcoind v28 made a breaking change that affects lnd. This setting
reverts bitcoind to old behavior until lnd is updated to be compatible
with bitcoind v28.
2024-10-31 14:08:35 +01:00
Aleksana
ef04eea76a
etcd.nix: minor fixes (#350937) 2024-10-31 18:12:16 +08:00
Aleksana
7720f49ae2
nixosTests.jibri: fix evaluation (#350744) 2024-10-31 17:45:46 +08:00
Aleksana
1d335495b4
nixos/tests/docker-tools-overlay: fix test (#348113) 2024-10-31 17:22:00 +08:00
github-actions[bot]
c89d3d9070
Merge master into staging-next 2024-10-31 00:14:46 +00:00
Thomas Gerbet
132cb2a957 varnish74: drop
Varnish 7.4 is EOL and not supported upstream anymore again.
2024-10-31 00:09:41 +01:00
Wim de With
93cce0becc nixos/prometheus: remove tor exporter 2024-10-30 19:42:51 +01:00
OPNA2608
23e40c0ca4 tests/lomiri: Only enable greeter in greeter test
To test a scenario where only the greeter portion is being enabled, not the whole DE.
2024-10-30 18:46:10 +01:00
phanirithvij
e4c898c807 nixos/swapspace: add tests
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
2024-10-30 22:42:26 +05:30
github-actions[bot]
dee80e3490
Merge master into staging-next 2024-10-30 00:14:27 +00:00
Robert Hensing
d0b30777a2 nixosTests.nixos-rebuild-specialisations-legacy: init 2024-10-30 00:21:21 +01:00
Robert Hensing
313451b74a nixosTests.rebuild-target-host-legacy: init 2024-10-30 00:21:21 +01:00
Robert Hensing
6427500989 nixos/toplevel: Add bin/apply 2024-10-30 00:21:20 +01:00
github-actions[bot]
6bc001ea3b
Merge master into staging-next 2024-10-29 12:06:00 +00:00
Aleksana
91d052e89a
cups vm tests: fix race condition, add more tests (#338193) 2024-10-29 18:56:19 +08:00
K900
0c45a8b5c4 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-28 21:46:13 +03:00
Pol Dellaiera
dc8a253d56
nixos/send: init (#351255) 2024-10-28 18:26:33 +01:00
Aleksana
e3bd08b1b4
freetube: 0.21.3 -> 0.22.0 (#351551) 2024-10-28 20:13:20 +08:00
K900
66f01b7af9 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-28 15:11:30 +03:00
Ivan Mincik
120be0345d
qgis: add server support (#267301) 2024-10-28 08:17:33 +00:00
Fabián Heredia Montiel
34b62f7c47 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-27 16:10:56 -06:00
Ryan Omasta
cbaccf94d4
nixos/tests/freetube: fix OCR keyword 2024-10-27 12:46:16 -06:00
Moraxyc
c9086d8837
nixos/send: init 2024-10-28 00:23:07 +08:00
Yarny0
9bca42857a nixos/tests/printing: test cases for domain socket only config
Add two new vm tests for the printing configuration that
test `listenAddresses = []`, i.e., the situation where cups
only listens on the unix domain socket `/run/cups/cups.sock`.

This helps catching bugs like this:

https://github.com/OpenPrinting/cups/issues/985
https://github.com/NixOS/nixpkgs/pull/337748
2024-10-27 10:52:02 +01:00
Yarny0
2e48883fc4 nixos/tests/printing: inherit lib 2024-10-27 10:47:31 +01:00
Yarny0
1693e1acc0 nixos/tests/printing: fix race of lpstat and ensure-printers
There is a nasty race condition in the cups tests.
To understand what is going on, one must first note that
printers are installed in the vms with ensure-printers.service,
which is started as part of multi-user.target.
ensure-printers.service in turn triggers a start of
cups.service as it needs to connect to the local cups daemon.

This is what happens when the test runs:
1  the test waits for cups.socket or cups.service to start up
   (subtest "Make sure that cups is up on both sides...")
2  after cups.service started
   (it starts even in the "socket" case,
   triggered by ensure-printers.service),
   ensure-printers.service is started
3  the test tries to connect to the cups daemons via curl
   (subtest "HTTP server is available too")
4  the test verifies the required printers are installed
   ("lpstat -a" called by subtest "LP status checks")

Usually, 3 needs some time, so ensure-printers.service
already installed all printers that are required by 4.
But if 3 is too fast, or if ensure-printers.service is too slow,
4 fails to find the printers it is looking for.

One can provoke the problem by adding

> systemd.services.ensure-printers.serviceConfig.ExecStartPre = "/run/current-system/sw/bin/sleep 10";

to the `nodes.client` configuration.

The commit at hand fixes the problem by changing 1:
Instead of waiting for cups,
it now waits for ensure-printers.service
(which in turn waits for cups.service and cups.socket).
This is also in accordance with the
subtest description in the code that promises to
"Make sure that cups is up [...] and printers are set up".
2024-10-27 10:45:38 +01:00
Robert Schütz
2eb3286d9d
mollysocket: 1.4.1 -> 1.5.1 (#351569) 2024-10-26 23:22:06 -07:00
Robert Schütz
db2dcfb6f7 mollysocket: 1.4.1 -> 1.5.1
Diff: https://github.com/mollyim/mollysocket/compare/1.4.1...1.5.1

Changelog: https://github.com/mollyim/mollysocket/releases/tag/1.5.1
2024-10-26 21:58:15 -07:00
K900
f21f4ca3ee Merge remote-tracking branch 'origin/master' into staging-next 2024-10-26 21:05:47 +03:00
Emily
7f753fb746
nixos/systemd: Enable systemd-machine-id-commit.service (#351151) 2024-10-26 15:56:09 +01:00
Martin Weinelt
5e10c1522b
nixos/avahi-daemon: set up sandboxing (#348406) 2024-10-26 16:22:04 +02:00
Martin Weinelt
ca4f13857c
nixos/coturn: set up sandboxing (#348396) 2024-10-26 16:21:46 +02:00
github-actions[bot]
02bb5e5201
Merge master into staging-next 2024-10-26 00:14:06 +00:00
Maciej Krüger
e907f6aa04
odoo: fix tests and update to 18.0 (#346397) 2024-10-26 01:21:04 +02:00
K900
7f898ed413 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-25 21:06:42 +03:00
Frédéric Christ
8f4b41cfd4 nixos/systemd: Enable systemd-machine-id-commit.service
Prior to this contribution, every boot with a default configuration was
considered `ConditionFirstBoot=true` by systemd, since /etc/machine-id
was not commited to disk.

This also extends the systemd with a check for subsequent boots not
being considered first boots.
2024-10-25 14:03:15 +02:00
Rémi NICOLE
0433962e5b
netbox: 3.7.8 -> 4.1.3 (#331750) 2024-10-25 09:09:06 +00:00
github-actions[bot]
ef782655d2
Merge master into staging-next 2024-10-24 18:04:38 +00:00
Sefa Eyeoglu
15aad9d3a1
nixos/ntpd: cleanup; add tests (#349633) 2024-10-24 15:21:01 +02:00
Martin Weinelt
8a2439f1c2
nixos/avahi-daemon: set up sandboxing 2024-10-24 15:04:14 +02:00
mnv
3270e162e6
etcd.nix: minor fixes
Adds explicit network configuration for etcd service
Waits for etcd to be fully healthy before running tests
Makes endpoint configuration explicit in etcdctl commands
2024-10-24 18:20:21 +05:30
Nicolas Jeannerod
bb9c433426
Update nixos/tests/all-tests.nix
Co-authored-by: Manuel Bärenz <programming@manuelbaerenz.de>
2024-10-24 11:46:02 +02:00
Ivan Mincik
9067c29c9a qgis: add server support 2024-10-24 09:35:24 +02:00
K900
dee94df6f2 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-24 09:28:51 +03:00
Will Fancher
c1479242ad
Remove unnecessary loop in stc-ng (#348668) 2024-10-23 23:42:34 -04:00
Minijackson
69610ea296
netbox: switch to netbox_4_1, mark netbox_3_7 as EOL
also switch the netbox-upgrade test to check upgrade from 3.7 -> 4.1
2024-10-23 21:07:32 +02:00
Minijackson
c0e16ebce5
netbox_4_1: init at 4.1.3 2024-10-23 21:07:30 +02:00
Minijackson
97815535fb
netbox_4_0: init at 4.0.11
Migrate to pkgs/by-name,
and update the test so that it passes for all versions

This version is added as EOL, since NetBox 4.1 is out,
but it might be still useful in case of an upgrade issue.
2024-10-23 21:07:28 +02:00
github-actions[bot]
606bd3114c
Merge master into staging-next 2024-10-23 18:04:32 +00:00
Noa Aarts
15b94a95ae
nixos/tests/jibri: fix grep string 2024-10-23 18:54:03 +02:00
Noa Aarts
ad9dc85556
nixos/tests/jibri: use security.acme.default 2024-10-23 18:51:26 +02:00
Robert Hensing
868c371827
refactor: Use modular NixOS test entrypoint (#350436) 2024-10-23 17:48:28 +02:00
Niols
7518588df6
Add basic NixOS tests for TiMidity++ 2024-10-23 13:22:44 +02:00
phanirithvij
4b7c3e65bd odoo17: init
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
2024-10-23 10:22:20 +05:30
github-actions[bot]
5a11b86f67
Merge master into staging-next 2024-10-22 18:04:37 +00:00