Skip to content

Commit 68b4c94

Browse files
author
wip-management
committed
test: tag known-bug scenarios with expected-failure-EAI-* for skiponfailure
Scenarios that exercise filed bugs are now tagged with expected-failure-EAI-XXXX (e.g. expected-failure-EAI-7219). Robot Framework's --skiponfailure flag marks these as SKIP instead of FAIL, keeping CI green while the bugs are open. When a bug is fixed, its test starts passing and reports PASS — signaling the tag can be removed. Tag mapping: - EAI-7218: scenario 15 (PyTorch dependency resolution) - EAI-7219: scenarios 5, 6, 12, 16 (alias resolution) - EAI-7220: scenarios 7, 8, 9, 17 (service registry / detection) - EAI-7221: scenario 14 (TUI hardcodes model name) - EAI-7223: scenario 18 (vLLM tool-calling) Signed-off-by: wip-management <wip@localhost>
1 parent c2a34de commit 68b4c94

5 files changed

Lines changed: 15 additions & 11 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,7 @@ jobs:
450450
python3 -m robot \
451451
--pythonpath tests/e2e \
452452
--outputdir tests/e2e/results \
453+
--skiponfailure "expected-failure-*" \
453454
--include smoke \
454455
--include mock \
455456
tests/e2e/suites/
@@ -482,6 +483,7 @@ jobs:
482483
python3 -m robot \
483484
--pythonpath tests/e2e \
484485
--outputdir tests/e2e/results \
486+
--skiponfailure "expected-failure-*" \
485487
--include gpu \
486488
tests/e2e/suites/
487489

tests/e2e/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ def user_serves_model(self, alias: str, engine: str):
204204
| `runtime` | Runtime setup and management |
205205
| `model-serving` | Model serving and endpoint behavior |
206206
| `chat` | TUI chat and endpoint detection |
207+
| `expected-failure-EAI-*` | Known bug — test is skipped on failure via `--skiponfailure`. Remove the tag when the bug is fixed. |
207208

208209
## Test design principles
209210

tests/e2e/run.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,5 @@ mkdir -p "${RESULTS_DIR}"
3030
exec python3 -m robot \
3131
--pythonpath "${E2E_DIR}" \
3232
--outputdir "${RESULTS_DIR}" \
33+
--skiponfailure "expected-failure-*" \
3334
"${ROBOT_ARGS[@]:-${E2E_DIR}/suites/}"

tests/e2e/suites/chat.robot

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Suite Teardown Teardown Isolated Environment
1818
# ── Mock tier ────────────────────────────────────────────────────────
1919

2020
Scenario: 9 - Detection finds a served model through the services registry
21-
[Tags] gpu network chat
21+
[Tags] gpu network chat expected-failure-EAI-7220
2222
Given a mock model server is running
2323
And the server is registered as a managed service
2424
When the dashboard checks for a local engine
@@ -40,13 +40,13 @@ Scenario: 11 - The privacy notice is accurate for local endpoints
4040

4141

4242
Scenario: 17 - The default serve port is included in engine detection
43-
[Tags] gpu network chat
43+
[Tags] gpu network chat expected-failure-EAI-7220
4444
Given a model is served in the background
4545
When the user lists running services
4646
Then the endpoint port matches the default serve port
4747

4848
Scenario: 18 - Chat completion with tool definitions does not fail
49-
[Tags] gpu network chat
49+
[Tags] gpu network chat expected-failure-EAI-7223
5050
Given a managed runtime is active
5151
And a model is served in the background
5252
When a chat completion request with tools is sent to the endpoint
@@ -56,7 +56,7 @@ Scenario: 18 - Chat completion with tool definitions does not fail
5656
# ── GPU tier ─────────────────────────────────────────────────────────
5757

5858
Scenario: 14 - End-to-end chat through a locally served model
59-
[Tags] gpu network chat
59+
[Tags] gpu network chat expected-failure-EAI-7221
6060
Given a managed runtime is active
6161
And a model is served in the background
6262
And the dashboard has detected the served model

tests/e2e/suites/model_serving.robot

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,40 +18,40 @@ Suite Teardown Teardown Isolated Environment
1818
# ── Mock tier ────────────────────────────────────────────────────────
1919

2020
Scenario: 5 - Serve plan resolves a model alias to the full identifier
21-
[Tags] gpu network model-serving
21+
[Tags] gpu network model-serving expected-failure-EAI-7219
2222
Given a managed runtime is active
2323
When the user requests a serve plan for a model alias
2424
Then the serve plan shows the full model identifier
2525

2626
Scenario: 6 - Alias resolution is consistent across engines
27-
[Tags] gpu network model-serving
27+
[Tags] gpu network model-serving expected-failure-EAI-7219
2828
Given a managed runtime is active
2929
When the user requests a serve plan for the same alias with different engines
3030
Then all serve plans resolve to the same full model identifier
3131

3232
Scenario: 7 - A managed server appears in the services list with its model name
33-
[Tags] gpu network model-serving
33+
[Tags] gpu network model-serving expected-failure-EAI-7220
3434
Given a mock model server is running on the default port
3535
And the server is registered as a managed service
3636
When the user lists running services
3737
Then the service appears with the correct model name and endpoint
3838

3939
Scenario: 8 - The services registry reports the actual endpoint port
40-
[Tags] gpu network model-serving
40+
[Tags] gpu network model-serving expected-failure-EAI-7220
4141
Given a mock model server is running on a non-default port
4242
And the server is registered as a managed service
4343
When the user lists running services
4444
Then the endpoint matches the actual server port
4545

4646

4747
Scenario: 15 - Serving with the PyTorch engine resolves dependencies correctly
48-
[Tags] gpu network model-serving
48+
[Tags] gpu network model-serving expected-failure-EAI-7218
4949
Given a managed runtime is active
5050
When the user serves a model using the PyTorch engine
5151
Then the serve command does not fail with a dependency resolution error
5252

5353
Scenario: 16 - Serve plan shows the full model identifier when given an alias
54-
[Tags] gpu network model-serving
54+
[Tags] gpu network model-serving expected-failure-EAI-7219
5555
Given a managed runtime is active
5656
When the user requests a serve plan for a model alias
5757
Then the serve plan shows the full model identifier
@@ -60,7 +60,7 @@ Scenario: 16 - Serve plan shows the full model identifier when given an alias
6060
# ── GPU tier ─────────────────────────────────────────────────────────
6161

6262
Scenario: 12 - A served model responds to inference requests
63-
[Tags] gpu network model-serving
63+
[Tags] gpu network model-serving expected-failure-EAI-7219
6464
Given a managed runtime is active
6565
And a model is being served on GPU
6666
When the user sends a chat completion request to the endpoint

0 commit comments

Comments
 (0)