Commit Graph

9405 Commits

Author SHA1 Message Date
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
mnv
71efd64768 nixos/tests/etcd: undo explicit network declaration 2024-10-31 20:59:07 +05:30
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
Wim de With
93cce0becc nixos/prometheus: remove tor exporter 2024-10-30 19:42:51 +01:00
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
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