Commit graph

1105 commits

Author SHA1 Message Date
ibizaman
fabbfe6734 tests: replace deprecated copy_from_vm function 2026-06-20 11:53:20 +02:00
Dmitry
508bc9844c Add eval-only test for Let's Encrypt DNS provider configuration 2026-06-18 12:49:08 +02:00
Dmitry
bd9575783f Update Open WebUI never-onboarding patch 2026-06-17 13:55:57 +02:00
Dmitry
3cb61ca908 nix flake update to 9ae611a455b90cf061d8f332b977e387bda8e1ca (2026-06-10) 2026-06-17 13:55:57 +02:00
Dmitry
24fdbb81df Fix Open WebUI tests in offline mode
Open WebUI 0.9.6 still initializes its embedding function during startup, even when OFFLINE_MODE=true and BYPASS_EMBEDDING_AND_RETRIEVAL=true. With OFFLINE_MODE=true and no cached SentenceTransformer model, startup failed with:

ValueError: No embedding model is loaded. Set RAG_EMBEDDING_MODEL to a valid SentenceTransformer model name, or configure an external RAG_EMBEDDING_ENGINE (ollama, openai, azure_openai).

Configure the tests to use a dummy Ollama embedding endpoint so startup does not try to load or download a local embedding model. The endpoint is not meant to be contacted by these tests; it only keeps startup on the external embedding configuration path.
2026-06-17 12:50:57 +02:00
Pierre Penninckx
315b36c910
update nixpkgs to abd1ea17fdbedd48cbca770847b39e3a7a09ab5b (#733)
Automated nixpkgs update. Latest tries:

-
4d72182edd...9ae611a455

-
4d72182edd...8f7b4a3918
(bisected in the past) 
-
4d72182edd...abd1ea17fd
(bisected in the past)
2026-06-16 13:10:59 +02:00
Update Flake Lock PR
f500e23b96 update nixpkgs to abd1ea17fdbedd48cbca770847b39e3a7a09ab5b 2026-06-16 13:00:39 +02:00
Update Flake Lock PR
b1b3ac157c update nixpkgs to 8f7b4a3918b4d5c61788a8705ad117bf513baa70 2026-06-16 13:00:39 +02:00
Update Flake Lock PR
3969bfa121 update nixpkgs to 9ae611a455b90cf061d8f332b977e387bda8e1ca 2026-06-16 13:00:39 +02:00
Dmitry
e21a8f348d Change credentialsFile to environmentFile in ssl.nix
This option was renamed in https://github.com/NixOS/nixpkgs/pull/244477, and the alias was deleted in https://github.com/NixOS/nixpkgs/pull/512107.

There are currently no tests to catch the regression.
2026-06-16 12:44:59 +02:00
Pierre Penninckx
746eb96867
update nixpkgs to 4d72182edd899c02ec2018b784adab36bb105ddb (#710)
Automated nixpkgs update. Latest tries:

-
da5ad661ba...d233902339

-
da5ad661ba...bea8623f39
(bisected in the past) 
-
da5ad661ba...4d72182edd
(bisected in the past)
2026-06-15 13:06:40 +02:00
Update Flake Lock PR
6052d5ff35 update nixpkgs to 4d72182edd899c02ec2018b784adab36bb105ddb 2026-06-14 22:25:04 +00:00
Update Flake Lock PR
2a568b6a4d update nixpkgs to bea8623f390c15be9e1a9f674126cedf6dafa576 2026-06-14 23:37:11 +02:00
Update Flake Lock PR
de96f722fb update nixpkgs to d233902339c02a9c334e7e593de68855ad26c4cb 2026-06-14 23:37:11 +02:00
Dmitry
2a57f335f2 Cap deluged restarts at 2
`StartLimit` does not exactly cap the number of retries; instead, it specifies a window at the beginning of the service lifespan when the number of retries is capped.

Also assert later that the number of restarts is at most 1.
2026-06-14 18:37:08 +02:00
Dmitry
f4f4881310 Restart deluged on failure in tests
Running

```sh
nix build .#checks.x86_64-linux.vm_deluge_sso --max-jobs 1 --cores 1
```

`deluged` sometimes segfaults: https://gist.github.com/dniku/5056689d9191e839e39d4c7b3fbf6410

Fixing this does not seem in scope for SHB.
2026-06-14 18:37:08 +02:00
Dmitry
60dfb9d19b Extract Jellyfin test extraScript into commonExtraScript and prepend it in LDAP test
`commonTestScript.access.override` replaces the full extraScript, and in particular drops:

```
server.wait_until_succeeds("journalctl --since -1m --unit jellyfin --grep 'Startup complete'")
```

https://github.com/ibizaman/selfhostblocks/actions/runs/27462763816/job/81262609484?pr=731 shows the symptoms:

* https://github.com/ibizaman/selfhostblocks/actions/runs/27462763816/job/81262609484?pr=731#step:5:7163 logs `Login from client` (defined in 8871b9435b/test/common.nix (L166)) at timestamp `2026-06-14T08:34:06.7507323Z` (visible in the raw logs)
* https://github.com/ibizaman/selfhostblocks/actions/runs/27462763816/job/81262609484?pr=731#step:5:7167 is the first request from Firefox at timestamp 2026-06-14T08:34:18.2868336Z, so the attempt to fill in the username starts around there, with a 30-second timeout
*  https://github.com/ibizaman/selfhostblocks/actions/runs/27462763816/job/81262609484?pr=731#step:5:7577 logs `Main: Startup complete 0:01:00.1813498` at timestamp 2026-06-14T08:34:51.1325282Z, 45 seconds after test starts

Work around by explicitly prepending the full extraScript to the override.
2026-06-14 16:21:49 +02:00
Dmitry
8871b9435b
grafana: fix tests to use API for checking user login (#725) 2026-06-07 13:11:26 +02:00
Dmitry
1b89d47651
use Python instead of sed for secret substitution and use escapeShellArg
#720
2026-06-05 18:07:00 +02:00
Dmitry
669d4bf1b7 test(open-webui): assert SSO session instead of login toast
Open WebUI redirects from /auth to / after OIDC login and briefly shows the "You're now logged in" toast during that transition. The toast is not a stable post-login signal, so the VM test can fail even though SSO succeeded.

Wait for the final root URL and verify the authenticated Open WebUI session through /api/v1/auths/ instead. This keeps the test focused on the expected SSO outcome while avoiding the transient UI race.
2026-06-05 09:28:29 +02:00
ibizaman
066ff81def scrutiny: use correct assert in tests 2026-06-04 00:47:53 +02:00
ibizaman
81c32c75d5 scrutiny: remove click in test 2026-06-04 00:47:53 +02:00
ibizaman
8dcb2af682 scrutiny: increase delays in tests 2026-06-04 00:47:53 +02:00
ibizaman
1fa0781f09 authelia: admin defeat and comment out failing tests for now 2026-06-04 00:47:53 +02:00
ibizaman
5bfd1c4008 open-webui: increase test timeouts 2026-06-04 00:47:53 +02:00
ibizaman
9736456153 open-webui: update assert in test after wording change 2026-06-04 00:47:53 +02:00
ibizaman
aa290b517c mailserver: use same casing for passwords as for other tests 2026-06-04 00:47:53 +02:00
ibizaman
1a056b4c23 tests: use correct casing in tests 2026-06-04 00:47:53 +02:00
ibizaman
4bb9287aa4 home-assistant: fix login test 2026-06-04 00:47:53 +02:00
ibizaman
2c23d8a258 tests: keep trace even on failure 2026-06-04 00:47:53 +02:00
ibizaman
337f3ec8bc tests: fail tests if playwright cannot login 2026-06-04 00:47:53 +02:00
ibizaman
d5654165ea zfs: handle dubplicate dataset names 2026-05-26 22:47:34 +02:00
ibizaman
941f2257d0 zfs: allow snapshot before activation 2026-05-26 22:25:53 +02:00
ibizaman
5fd0b1dc83 fluentbit: remove tracing 2026-05-24 22:26:33 +02:00
ibizaman
db0b5df83d fluentbit: fix unit startup 2026-05-24 11:19:38 +02:00
ibizaman
503f1c31ea mailserver: update to e33fbde and add test 2026-05-24 01:37:52 +02:00
ibizaman
c7e404f8be tests: use hardcodedsecret for lldap secrets 2026-05-24 01:37:52 +02:00
ibizaman
672b536390 update: add nixpkgs commit in title 2026-05-14 10:16:35 +02:00
Pierre Penninckx
6bec01a954
Update nixpkgs (#708)
Automated nixpkgs update. Latest tries:

-
e28d4b75e9...da5ad661ba
2026-05-12 17:50:45 +02:00
Update Flake Lock PR
6875627d25 update nixpkgs to da5ad661ba4e5ef59ba743f0d112cbc30e474f32 2026-05-12 15:13:52 +00:00
ibizaman
1094342950 update: fix flake lock update
Fix handling of bisect_future input.
2026-05-12 17:08:21 +02:00
ibizaman
c1edcc7f77 update: fix flake lock update 2026-05-12 16:59:55 +02:00
ibizaman
3cc8ebd4a4 update: fix flake lock update 2026-05-12 16:51:45 +02:00
ibizaman
818c18554f update: fix flake lock update 2026-05-12 16:45:21 +02:00
dependabot[bot]
8eabeb2c39 build(deps): bump actions/cache from 4 to 5
Bumps [actions/cache](https://github.com/actions/cache) from 4 to 5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-12 08:58:22 +02:00
dependabot[bot]
7ee9318bd0 build(deps): bump actions/upload-pages-artifact from 4 to 5
Bumps [actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-pages-artifact/releases)
- [Commits](https://github.com/actions/upload-pages-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/upload-pages-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-11 17:21:55 +02:00
ibizaman
f933f405b4 scrutiny: fix patch by rebasing in fork 2026-05-11 01:27:27 +02:00
ibizaman
029a31cf57 update nixpkgs to e28d4b7 to fix building grafana 2026-05-11 01:27:27 +02:00
ibizaman
e07b414473 demo: add needed fsType
See https://github.com/NixOS/nixpkgs/pull/444829
2026-05-11 01:27:27 +02:00
ibizaman
acee18e7a3 monitoring: switch to fluent-bit 2026-05-11 01:27:27 +02:00