Using CPython 3.14.6 interpreter at: /usr/local/bin/python3 Creating virtual environment at: .venv Resolved 32 packages in 5.05s Building slices-monitor-test-runner @ file:///app Built slices-monitor-test-runner @ file:///app Prepared 1 package in 490ms warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance. If the cache and target directories are on different filesystems, hardlinking may not be supported. If this is intentional, set `export UV_LINK_MODE=copy` or use `--link-mode=copy` to suppress this warning. Installed 32 packages in 1.23s + annotated-types==0.8.0 + anyio==4.14.2 + authlib==1.7.2 + bcrypt==5.0.0 + certifi==2026.7.22 + cffi==2.1.0 + cryptography==49.0.0 + dnspython==2.8.0 + h11==0.16.0 + httpcore==1.0.9 + httpx==0.28.1 + httpx-oauth==0.17.0 + idna==3.18 + invoke==3.0.3 + joserfc==1.7.4 + msgspec==0.21.1 + packaging==26.2 + paramiko==4.0.0 + pycparser==3.0 + pydantic==2.13.4 + pydantic-core==2.46.4 + pyjwt==2.13.0 + pynacl==1.6.2 + pytz==2026.2 + pyyaml==6.0.3 + slices-clientlib-bi==5.1.2 + slices-clientlib-core==5.6.0 + slices-monitor-test-runner==0.1.dev187+g005dd054e (from file:///app) + tomli-w==1.2.0 + tomlkit==0.15.1 + typing-extensions==4.16.0 + typing-inspection==0.4.2 Run Test: slices-bi-health-check 2026-07-24 09:51:08.164975 UTC - Check DNS 2026-07-24 09:51:08.165097 UTC - Checking system DNS for API host slices-bi-devel.grid5000.fr 2026-07-24 09:51:08.165358 UTC - Resolved to 194.254.60.46 2026-07-24 09:51:08.165403 UTC - Checking direct DNS for API host slices-bi-devel.grid5000.fr using DNS server 8.8.8.8 2026-07-24 09:51:08.187569 UTC - Resolved to 194.254.60.46 2026-07-24 09:51:08.187642 UTC - Checking direct DNS for API host slices-bi-devel.grid5000.fr using DNS server 1.1.1.1 2026-07-24 09:51:08.241706 UTC - Resolved to 194.254.60.46 2026-07-24 09:51:08.241883 UTC - Check Basic Connectivity 2026-07-24 09:51:08.241947 UTC - Checking basic connectivity to BI API of infra fr-lyon1-bi-baremetal1 at https://slices-bi-devel.grid5000.fr/site/lyon 2026-07-24 09:51:08.241970 UTC - Connecting to: https://slices-bi-devel.grid5000.fr/site/lyon 2026-07-24 09:51:08.280903 UTC - HTTP connection works. HTTP response code: 404 2026-07-24 09:51:08.281011 UTC - Check List Flavors Failed to exchange token due to HTTP_400_BAD_REQUEST. DEBUG INFO: now: 2026-07-24T09:51:08.311048+00:00 data sent: { "grant_type": "urn:ietf:params:oauth:grant-type:token-exchange", "subject_token": "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImVjMSJ9.eyJpc3MiOiJodHRwczovL2FjY291bnQuaWxhYnQuaW1lYy5iZSIsImF1ZCI6Imh0dHBzOi8vY2xpLnNsaWNlcy1yaS5ldSIsImlhdCI6MTc4NDg4NjY2OCwiZXhwIjoxNzg0ODkwMjY4LCJhdXRoX3RpbWUiOjE3ODQ4ODY2NjgsInN1YiI6InVzZXJfYWNjb3VudC5pbGFidC5pbWVjLmJlXzFjM3gyc3hobXY4ZHF0bWt4aDkzOTJzYTBnIiwic2NvcGUiOiJvcGVuaWQgdXNlcmluZm8gcHJvamVjdHMiLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJmdGVzdGVyIiwianRpIjoiQTdoY3dCNlhjRGx1ZkhyV1RPaVo1QXFsUjN5MW5GNUsifQ.dYkghCmKnHBtAIF1xGuXnvfcOP5SZYRsRy8OV6p4JBsfvtEKNoUgp8W3H_ndV72f6v2J9mRvPSbCDCee8A1Vrg", "subject_token_type": "urn:ietf:params:oauth:token-type:access_token", "client_id": "IH56QyF0MWbhCPA8IIef7MTm", "client_secret": "rEn14uIa0JEBfWMjJdvj5py0xaKHEfQJ6TNHYPrULLnwRczo", "requested_token_type": "urn:ietf:params:oauth:token-type:access_token", "audience": "https://cli.slices-ri.eu", "scope": "openid userinfo projects" } response: b'{"error": "invalid_grant", "error_description": "Could not validate subject token"}' 2026-07-24 09:51:08.314867 UTC - Error in test step 'List Flavors': Client error '400 BAD REQUEST' for url 'https://portal.slices-ri.eu/oauth/token' For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400 2026-07-24 09:51:08.315002 UTC - Response content: {"error": "invalid_grant", "error_description": "Could not validate subject token"} ERROR:slices_monitor_test_runner.main:Test Failed with exception Traceback (most recent call last): File "/app/src/slices_monitor_test_runner/test_runners/test_runner_base.py", line 170, in step yield File "/app/src/slices_monitor_test_runner/test_runners/slices_bi_health_check.py", line 96, in run self._check_flavors() ~~~~~~~~~~~~~~~~~~~^^ File "/app/src/slices_monitor_test_runner/test_runners/slices_bi_health_check.py", line 51, in _check_flavors flavors = list(self._bi_client().flavor.list()) ~~~~~~~~~~~~~~~^^ File "/app/src/slices_monitor_test_runner/test_runners/test_runner_base.py", line 74, in _bi_client project_id = self._client().project.list()[0].id ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/app/.venv/lib/python3.14/site-packages/slices_clientlib_core/project.py", line 101, in list response = self._client.get(self.API_BASE_PATH, params=params) File "/app/.venv/lib/python3.14/site-packages/httpx/_client.py", line 1053, in get return self.request( ~~~~~~~~~~~~^ "GET", ^^^^^^ ...<7 lines>... extensions=extensions, ^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/app/.venv/lib/python3.14/site-packages/httpx/_client.py", line 825, in request return self.send(request, auth=auth, follow_redirects=follow_redirects) ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/.venv/lib/python3.14/site-packages/httpx/_client.py", line 914, in send response = self._send_handling_auth( request, ...<2 lines>... history=[], ) File "/app/.venv/lib/python3.14/site-packages/httpx/_client.py", line 939, in _send_handling_auth request = next(auth_flow) File "/app/.venv/lib/python3.14/site-packages/httpx/_auth.py", line 75, in sync_auth_flow request = next(flow) File "/app/.venv/lib/python3.14/site-packages/slices_clientlib_core/client.py", line 96, in auth_flow self._token_for_audience = get_access_token_for_audience(auth_token, self.target_audience, self.project_id) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/.venv/lib/python3.14/site-packages/slices_clientlib_core/oauth2/token_exchange.py", line 116, in get_access_token_for_audience response.raise_for_status() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/app/.venv/lib/python3.14/site-packages/httpx/_models.py", line 829, in raise_for_status raise HTTPStatusError(message, request=request, response=self) httpx.HTTPStatusError: Client error '400 BAD REQUEST' for url 'https://portal.slices-ri.eu/oauth/token' For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400 The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/app/src/slices_monitor_test_runner/main.py", line 76, in run_test return _get_test_by_test_spec(steps, test_dir, test_spec).run() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/app/src/slices_monitor_test_runner/test_runners/slices_bi_health_check.py", line 92, in run with self.step( ~~~~~~~~~^ "List Flavors", ^^^^^^^^^^^^^^^ description="Requesting flavors using Slices BI API", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ): ^ File "/usr/local/lib/python3.14/contextlib.py", line 162, in __exit__ self.gen.throw(value) ~~~~~~~~~~~~~~^^^^^^^ File "/app/src/slices_monitor_test_runner/test_runners/test_runner_base.py", line 214, in step raise SlicesTestFailure(f"Step {name!r} {retry_suffix2} failed") from e slices_monitor_test_runner.exceptions.SlicesTestFailure: Step 'List Flavors' failed