Skip to content

Commit 5b16674

Browse files
committed
fix: [3.3] remove pytest-jira plugin from the branch
Signed-off-by: Debarati Basu-Nag <dbasunag@redhat.com>
1 parent 2061ee0 commit 5b16674

File tree

9 files changed

+874
-932
lines changed

9 files changed

+874
-932
lines changed

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ utilities/ # Shared utility functions
6464

6565
- **ERROR vs FAILED**: Pytest reports fixture failures as ERROR, test failures as FAILED
6666
- **Heavy imports**: Don't import heavy resources at module level; defer to fixture scope
67-
- **Flaky tests**: Use `pytest.skip()` with `@pytest.mark.jira("PROJ-123")`, never delete
67+
- **Flaky tests**: Use `pytest.skip()`
6868
- **Fixture scope**: Session fixtures in `tests/conftest.py` run once for entire suite—modify carefully
6969

7070
## Boundaries

docs/GETTING_STARTED.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,6 @@ To skip RHOAI/ODH-related tests (for example when running in upstream), pass `--
122122
To run tests with admin client only, pass `--tc=use_unprivileged_client:False` to pytest.
123123

124124

125-
### jira integration
126-
To skip running tests which have open bugs, [pytest_jira](https://github.com/rhevm-qe-automation/pytest_jira) plugin is used.
127-
To run tests with jira integration, you need to set `PYTEST_JIRA_URL` and `PYTEST_JIRA_TOKEN` environment variables.
128-
To make a test with jira marker, add: `@pytest.mark.jira(jira_id="RHOAIENG-0000", run=False)` to the test.
129-
130-
131125
### Running containerized tests
132126
Save kubeconfig file to a local directory, for example: `$HOME/kubeconfig`
133127
To run tests in containerized environment:

pyproject.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ dependencies = [
5858
"grpcio-reflection",
5959
"portforward>=0.7.1",
6060
"pytest-testconfig>=0.2.0",
61-
"pytest-jira>=0.3.21",
6261
"pygithub>=2.5.0",
6362
"timeout-sampler>=1.0.6",
6463
"shortuuid>=1.0.13",
@@ -67,7 +66,6 @@ dependencies = [
6766
"semver>=3.0.4",
6867
"sqlalchemy>=2.0.40",
6968
"pytest-order>=1.3.0",
70-
"marshmallow==3.26.2,<4", # this version is needed for pytest-jira
7169
"pytest-html>=4.1.1",
7270
"fire",
7371
"llama_stack_client>=0.4.0,<0.5",

pytest.ini

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ testpaths = tests
55
markers =
66
# General
77
polarion: Store polarion test ID
8-
jira: Store jira bug ID
98
skip_on_disconnected: Mark tests that can only be run in deployments with Internet access i.e. not on disconnected clusters.
109
parallel: marks tests that can run in parallel along with pytest-xdist
1110

@@ -61,4 +60,3 @@ addopts =
6160
--show-progress
6261
--tc-file=tests/global_config.py
6362
--tc-format=python
64-
--jira

tests/model_serving/model_server/kserve/authentication/test_kserve_token_authentication_raw.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ def test_disabled_raw_model_authentication(self, patched_remove_raw_authenticati
5151
)
5252

5353
@pytest.mark.sanity
54-
@pytest.mark.jira("RHOAIENG-19275", run=False)
5554
def test_raw_disable_enable_authentication_no_pod_rollout(self, http_s3_ovms_raw_inference_service):
5655
"""Verify no pod rollout when disabling and enabling authentication"""
5756
pod = get_pods_by_isvc_label(

tests/model_serving/model_server/kserve/components/test_custom_resources.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ def wait_for_isvc_model_status(isvc: InferenceService, target_model_state: str,
3232
raise
3333

3434

35-
@pytest.mark.jira("RHOAIENG-10765")
3635
@pytest.mark.parametrize(
3736
"unprivileged_model_namespace, serving_runtime_from_template, invalid_s3_models_inference_service",
3837
[

tests/model_serving/model_server/kserve/model_car/test_oci_image.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
)
4343
class TestKserveModelCar:
4444
@pytest.mark.smoke
45-
@pytest.mark.jira("RHOAIENG-13465")
4645
def test_model_car_no_restarts(self, model_car_inference_service):
4746
"""Verify that model pod doesn't restart"""
4847
pod = get_pods_by_isvc_label(
@@ -56,7 +55,6 @@ def test_model_car_no_restarts(self, model_car_inference_service):
5655

5756
@pytest.mark.smoke
5857
@pytest.mark.ocp_interop
59-
@pytest.mark.jira("RHOAIENG-12306")
6058
def test_model_car_using_rest(self, model_car_inference_service):
6159
"""Verify model query with token using REST"""
6260
verify_inference_response(
@@ -69,7 +67,6 @@ def test_model_car_using_rest(self, model_car_inference_service):
6967

7068
@pytest.mark.smoke
7169
@pytest.mark.ocp_interop
72-
@pytest.mark.jira("RHOAIENG-38674")
7370
def test_model_status_loaded(self, model_car_inference_service):
7471
"""Verify model status on the InferenceService resource is in a valid state."""
7572
model_status = model_car_inference_service.instance.status.modelStatus

tests/model_serving/model_server/kserve/routes/test_raw_deployment.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ def test_rest_raw_deployment_internal_route(self, s3_models_inference_service):
6060
use_default_query=True,
6161
)
6262

63-
@pytest.mark.jira("RHOAIENG-17322", run=False)
6463
@pytest.mark.parametrize(
6564
"patched_s3_caikit_kserve_isvc_visibility_label",
6665
[
@@ -191,7 +190,6 @@ def test_rest_raw_deployment_exposed_route_with_timeout(self, s3_models_inferenc
191190
indirect=True,
192191
)
193192
@pytest.mark.skip(reason="skipping grpc raw for tgis-caikit RHOAIENG-17783")
194-
@pytest.mark.jira("RHOAIENG-17783", run=False)
195193
class TestGrpcRawDeployment:
196194
def test_grpc_raw_deployment_internal_route(self, s3_models_inference_service):
197195
"""Test GRPC inference using internal route"""
@@ -248,7 +246,6 @@ def test_grpc_raw_deployment_exposed_route(self, patched_s3_caikit_kserve_isvc_v
248246
indirect=True,
249247
)
250248
@pytest.mark.skip(reason="skipping grpc raw for tgis-caikit RHOAIENG-17783")
251-
@pytest.mark.jira("RHOAIENG-17783", run=False)
252249
class TestGrpcRawDeploymentTimeout:
253250
@pytest.mark.dependency(name="test_grpc_raw_deployment_exposed_route")
254251
def test_grpc_raw_deployment_exposed_route(self, s3_models_inference_service):

0 commit comments

Comments
 (0)