Gael Gate
b88441ad0c
Improve chart cache error message
2026-03-05 10:59:06 +01:00
Gaël Goinvic
0ab5d12294
ci: retry setting up prometheus operator crds
2026-02-25 16:45:04 +01:00
Gaël Goinvic
8a2302f771
chart_from_ci_cache should not be a generator
...
- In case of exception, it yields twice, which is invalid contextmanager
behaviour
2026-02-25 11:07:05 +01:00
Gaël Goinvic
bbb079b64b
remove existing cached_ref if it exists
2026-02-25 11:07:05 +01:00
Gaël Goinvic
0a4c76fa3e
always pull remote chart, only fallback to cache if remote fails
2026-02-20 17:07:07 +01:00
Gaël Goinvic
08481a2739
pytest: cache the pyhelm oci files
...
- In CI, helm dependencies are going to be cached
- When running locally, the cache mechanism is not used
2026-02-20 17:07:07 +01:00
Gaël Goinvic
95a449fa9a
Instanciate the cluster using pytest
...
- This removes code duplication between bash & pytest
- Pytest now exists early if `TEST_VALUES_FILE` is not set
2026-01-30 16:32:38 +01:00
Gaël Goinvic
b6aeb9c295
hookshot integration test - passes
...
- Successfully creates a webhook
- Joins the admin room to get the webhook url
- Makes sure we can wend a POST request and that it generates a message
in the room timeline
2026-01-19 17:58:48 +01:00
Ben Banfield-Zanin
ac77363672
Stop test_pods_monitored flaking
2025-11-26 15:47:13 +00:00
Ben Banfield-Zanin
50f65012f7
git ls-files | xargs sed -i '/^# Copyright .* New Vector Ltd/a # Copyright 2025 Element Creations Ltd'
2025-10-27 09:36:54 +00:00
Ben Banfield-Zanin
113c585313
Dont manage user passwords in MAS tests if password logins are disabled
2025-10-10 11:39:48 +01:00
Ben Banfield-Zanin
20243ec256
Support re-running tests against an existing MAS DB
2025-10-10 11:39:43 +01:00
Ben Banfield-Zanin
1ad59b893f
Invalidate cached access tokens in tests if they aren't usable
2025-10-10 11:38:26 +01:00
Gaël Goinvic
b51d2bf65f
tests: restart curl pods on failure to fetch metrics
2025-09-16 11:40:38 +02:00
Gaël Goinvic
e7e07ad60c
dont delete curl pods on error
2025-09-15 15:42:18 +02:00
Andrew Ferrazzutti
758c847ba0
Merge pull request #728 from element-hq/af/mas-test-synapse-admin-token
...
tests: add Synapse API scope to MAS admin users
2025-09-12 10:59:27 -04:00
Gaël Goinvic
f2e8100d81
use state instead of lastState
2025-09-12 16:31:12 +02:00
Gaël Goinvic
b770fb3090
give 60 seconds to start to pods
2025-09-12 16:13:22 +02:00
Gaël Goinvic
5b715a812c
run pod with args: properly raise an error if its not ready in time
2025-09-12 16:13:06 +02:00
Andrew Ferrazzutti
b551d45c63
tests: add Synapse API scope to MAS admin users
...
When creating a MAS user for tests, if the user is to be a Synapse
admin, ensure that its OAuth 2.0 token is granted the scope for making
requests to the Synapse Admin API.
2025-09-12 00:20:49 -04:00
Gaël Goinvic
77bc13d915
add conditional in the helper as well
2025-08-13 14:48:31 +02:00
Gaël Goinvic
d8d6b1456d
add dockerhub secret to curl pods
2025-08-13 12:58:43 +02:00
Ben Banfield-Zanin
bbc87ca744
More fixing of the Synapse routing test flakes
2025-08-06 12:13:34 +01:00
Ben Banfield-Zanin
71eabde0a2
CI: add headers to aiohttp_get_json
2025-08-06 12:13:29 +01:00
Ben Banfield-Zanin
57e23c9ca3
Don't retry ClientResponseError, we end up retrying all 4xx/5xx statuses as a result
2025-07-29 13:52:41 +01:00
Gaël Goinvic
183895163e
wait for all replicasets to be ready
2025-07-28 09:25:09 +02:00
Ben Banfield-Zanin
c9d3c018a8
Split the root CA PEM into ca.crt and only include leaf and intermediate CAs certs in tls.crt
2025-07-09 14:07:44 +01:00
Ben Banfield-Zanin
24c3802577
Only trust the root CA
2025-07-09 14:04:36 +01:00
Ben Banfield-Zanin
ab24ddfa7f
Remove bundled from kubernetes_tls_secret as it is always set to true
2025-07-09 14:00:48 +01:00
Gaël Goinvic
4694f5d724
dont expect a service without name
2025-06-30 13:54:22 +02:00
Gaël Goinvic
0c35e0825b
tests: verify that metrics endpoints have metrics
2025-06-30 13:49:55 +02:00
Gaël Goinvic
d2cc1fb411
handle ClientResponseErrors
2025-06-09 14:53:46 +02:00
Gaël Goinvic
e006b80f5b
add missing if in PYTEST_EXPECTED_HTTP_STATUS_CODES parsing
2025-06-09 11:48:52 +02:00
Gaël Goinvic
bb47c09ba6
fix PYTEST_EXPECTED_HTTP_STATUS_CODES parsing
2025-06-09 11:40:47 +02:00
Gaël Goinvic
d571187daf
on upgrade, expect some 429 when synapse restart
2025-06-09 11:22:45 +02:00
Gaël Goinvic
4d850cbcec
integration tests: allow to run twice against the same release
2025-06-06 17:33:48 +02:00
Gaël Goinvic
b31ef3a937
run mypy against all tests
2025-06-06 17:24:31 +02:00
Gaël Goinvic
dab606af7e
add a helper to get dpeloyment marker
2025-06-05 16:55:50 +02:00
Gaël Goinvic
4b5c03ce05
tests: add a deploy_with_values_patch helper
2025-06-05 16:55:50 +02:00
Ben Banfield-Zanin
f65382bf56
s/aiottp_get_json/aiohttp_get_json
2025-05-02 14:22:20 +01:00
Gaël Goinvic
54a4f35591
fix well-know does not refer to element.io anymore
2025-04-08 10:39:37 +02:00
Gaël Goinvic
15914e1bf7
Update matrix RT checkov
2025-04-08 10:39:37 +02:00
Gaël Goinvic
91aa95ecc9
enhance retries on synapse tests
2025-04-08 10:39:37 +02:00
Gaël Goinvic
f811e50e89
well-known: use retries in redirect test, consistent ports, endpoint
2025-04-08 10:39:37 +02:00
Gaël Goinvic
273099b421
Licensing to AGPL-3.0-only
2025-03-20 14:15:02 +01:00
Ben Banfield-Zanin
d3c687e0ef
Add a shared async context manager for getting a AIOHTTP Client
2025-02-24 14:26:40 +00:00
Gaël Goinvic
784e06515a
tests: remove retries on 429s
2025-02-20 13:08:49 +01:00
Gaël Goinvic
bc14340223
MAS: Enhance 503 handling
2025-02-11 15:44:54 +01:00
Gaël Goinvic
72a16183f8
Use 12 retries
2025-02-10 15:07:26 +01:00
Gaël Goinvic
4c51ab7841
integration tests: reduce retries to 7
2025-02-10 14:12:34 +01:00