argus-alm 0.15.10__py3-none-any.whl → 0.15.11__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- argus/_version.py +2 -2
- argus/client/sct/client.py +20 -1
- {argus_alm-0.15.10.dist-info → argus_alm-0.15.11.dist-info}/METADATA +6 -2
- {argus_alm-0.15.10.dist-info → argus_alm-0.15.11.dist-info}/RECORD +8 -8
- {argus_alm-0.15.10.dist-info → argus_alm-0.15.11.dist-info}/WHEEL +1 -1
- {argus_alm-0.15.10.dist-info → argus_alm-0.15.11.dist-info}/entry_points.txt +0 -0
- {argus_alm-0.15.10.dist-info → argus_alm-0.15.11.dist-info}/licenses/LICENSE +0 -0
- {argus_alm-0.15.10.dist-info → argus_alm-0.15.11.dist-info}/top_level.txt +0 -0
argus/_version.py
CHANGED
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
|
28
28
|
commit_id: COMMIT_ID
|
|
29
29
|
__commit_id__: COMMIT_ID
|
|
30
30
|
|
|
31
|
-
__version__ = version = '0.15.
|
|
32
|
-
__version_tuple__ = version_tuple = (0, 15,
|
|
31
|
+
__version__ = version = '0.15.11'
|
|
32
|
+
__version_tuple__ = version_tuple = (0, 15, 11)
|
|
33
33
|
|
|
34
34
|
__commit_id__ = commit_id = None
|
argus/client/sct/client.py
CHANGED
|
@@ -28,6 +28,7 @@ class ArgusSCTClient(ArgusClient):
|
|
|
28
28
|
SUBMIT_EVENTS = "/sct/$id/events/submit"
|
|
29
29
|
SUBMIT_EVENT = "/sct/$id/event/submit"
|
|
30
30
|
SUBMIT_JUNIT_REPORT = "/sct/$id/junit/submit"
|
|
31
|
+
SUBMIT_STRESS_CMD = "/sct/$id//stress_cmd/submit"
|
|
31
32
|
SUBMIT_EMAIL = "/testrun/report/email"
|
|
32
33
|
|
|
33
34
|
def __init__(self, run_id: UUID, auth_token: str, base_url: str, api_version="v1", extra_headers: dict | None = None,
|
|
@@ -126,6 +127,22 @@ class ArgusSCTClient(ArgusClient):
|
|
|
126
127
|
)
|
|
127
128
|
self.check_response(response)
|
|
128
129
|
|
|
130
|
+
def add_stress_command(self, command: str, log_name: str, loader_name: str) -> None:
|
|
131
|
+
"""
|
|
132
|
+
Submits stress command information to be viewed inside Argus.
|
|
133
|
+
"""
|
|
134
|
+
response = self.post(
|
|
135
|
+
endpoint=self.Routes.SUBMIT_STRESS_CMD,
|
|
136
|
+
location_params={"id": str(self.run_id)},
|
|
137
|
+
body={
|
|
138
|
+
**self.generic_body,
|
|
139
|
+
"cmd": command,
|
|
140
|
+
"log_name": log_name,
|
|
141
|
+
"loader_name": loader_name,
|
|
142
|
+
}
|
|
143
|
+
)
|
|
144
|
+
self.check_response(response)
|
|
145
|
+
|
|
129
146
|
def submit_screenshots(self, screenshot_links: list[str]) -> None:
|
|
130
147
|
"""
|
|
131
148
|
Submits links to the screenshots from grafana, taken at the end of the test.
|
|
@@ -260,7 +277,8 @@ class ArgusSCTClient(ArgusClient):
|
|
|
260
277
|
self.check_response(response)
|
|
261
278
|
|
|
262
279
|
def submit_nemesis(self, name: str, class_name: str, start_time: int,
|
|
263
|
-
target_name: str, target_ip: str, target_shards: int
|
|
280
|
+
target_name: str, target_ip: str, target_shards: int,
|
|
281
|
+
description: str | None = None) -> None:
|
|
264
282
|
"""
|
|
265
283
|
Submits a nemesis record. Should then be finalized by
|
|
266
284
|
.finalize_nemesis method on nemesis completion.
|
|
@@ -277,6 +295,7 @@ class ArgusSCTClient(ArgusClient):
|
|
|
277
295
|
"node_name": target_name,
|
|
278
296
|
"node_ip": target_ip,
|
|
279
297
|
"node_shards": target_shards,
|
|
298
|
+
"description": description,
|
|
280
299
|
}
|
|
281
300
|
}
|
|
282
301
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: argus-alm
|
|
3
|
-
Version: 0.15.
|
|
3
|
+
Version: 0.15.11
|
|
4
4
|
Summary: Argus
|
|
5
5
|
Author-email: Alexey Kartashov <alexey.kartashov@scylladb.com>, Łukasz Sójka <lukasz.sojka@scylladb.com>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -11,13 +11,15 @@ Description-Content-Type: text/markdown
|
|
|
11
11
|
License-File: LICENSE
|
|
12
12
|
Requires-Dist: requests>=2.26.0
|
|
13
13
|
Requires-Dist: click>=8.1.3
|
|
14
|
+
Requires-Dist: lz4>=4.4.4
|
|
14
15
|
Provides-Extra: web-backend
|
|
15
16
|
Requires-Dist: PyYAML~=6.0.0; extra == "web-backend"
|
|
16
|
-
Requires-Dist: scylla-driver>=3.
|
|
17
|
+
Requires-Dist: scylla-driver>=3.29.4; extra == "web-backend"
|
|
17
18
|
Requires-Dist: Flask~=3.0.0; extra == "web-backend"
|
|
18
19
|
Requires-Dist: Flask-WTF~=1.0.0; extra == "web-backend"
|
|
19
20
|
Requires-Dist: Flask-Login~=0.5.0; extra == "web-backend"
|
|
20
21
|
Requires-Dist: humanize~=3.13.1; extra == "web-backend"
|
|
22
|
+
Requires-Dist: PyJWT[crypto]>=2.10.0; extra == "web-backend"
|
|
21
23
|
Requires-Dist: python-magic~=0.4.24; extra == "web-backend"
|
|
22
24
|
Requires-Dist: uwsgi~=2.0.20; extra == "web-backend"
|
|
23
25
|
Requires-Dist: python-jenkins>=1.7.0; extra == "web-backend"
|
|
@@ -43,6 +45,8 @@ Requires-Dist: nox~=2025.5.1; extra == "dev"
|
|
|
43
45
|
Requires-Dist: pytest-xdist~=3.7.0; extra == "dev"
|
|
44
46
|
Requires-Dist: pytest-subtests~=0.14.1; extra == "dev"
|
|
45
47
|
Requires-Dist: boto3-stubs~=1.38.9; extra == "dev"
|
|
48
|
+
Provides-Extra: ai
|
|
49
|
+
Requires-Dist: chromadb>=1.0.15; extra == "ai"
|
|
46
50
|
Dynamic: license-file
|
|
47
51
|
|
|
48
52
|
# Argus
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
argus/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
argus/_version.py,sha256=
|
|
2
|
+
argus/_version.py,sha256=zqWRzERP6dOOqpx9dfBOtMHiguUEuDl-DLBGfsrdxYQ,708
|
|
3
3
|
argus/client/__init__.py,sha256=bO9_j5_jK5kvTHR46KEZ0Y-p0li7CBW8QSd-K5Ez4vA,42
|
|
4
4
|
argus/client/base.py,sha256=M39ShKHcyIlpnFkvHgzpyUUBAf5BTTocYR8qOVg0pHA,9178
|
|
5
5
|
argus/client/generic_result.py,sha256=9D0zrpfEDiIL7PjL12TZnqk5Mi_1T1UvesF5wWeMfz0,6264
|
|
@@ -7,7 +7,7 @@ argus/client/driver_matrix_tests/cli.py,sha256=JpI0v1hzRQr9KkrxO7D4hEbkzumexFFC_
|
|
|
7
7
|
argus/client/driver_matrix_tests/client.py,sha256=6wRRDO8tyM_1c3cP0vD-I4xkI8wKczb6-NPE-yvqy1g,2931
|
|
8
8
|
argus/client/generic/cli.py,sha256=jsdSwzwzefX1POyrZ4lFTRcjWPmTauuXBGjceM54Zk4,4707
|
|
9
9
|
argus/client/generic/client.py,sha256=-OLeLyXN5BBrv-QouDYH3IL3W17BhywiUrLEBA-CJzw,2097
|
|
10
|
-
argus/client/sct/client.py,sha256=
|
|
10
|
+
argus/client/sct/client.py,sha256=Nk6zwvW9HE5HDHxpwpuYlg9dvYfa_8_6woDY7byZvYg,13714
|
|
11
11
|
argus/client/sct/types.py,sha256=VLgVe7qPmJtCLqtPnuX8N8kMKZq-iY3SKz68nvU6nJ4,371
|
|
12
12
|
argus/client/sirenada/client.py,sha256=RGgx4uSGI3LN55gJC4-DbCamVidA8IE2CQmU3-P9tx8,6446
|
|
13
13
|
argus/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -15,9 +15,9 @@ argus/common/email.py,sha256=YUgin4yA3-1bH6HbtXIh09SLAzYSzSJPKM9sIvroAMA,842
|
|
|
15
15
|
argus/common/enums.py,sha256=FM308aseXxsaeOqoiyM-NIDWKHpbceLysd-sLDh7TkI,1287
|
|
16
16
|
argus/common/sct_types.py,sha256=GX0S1_eH3eBOO17WqBVtsDKzz86vgL2VUM7gi9Cjrmc,1649
|
|
17
17
|
argus/common/sirenada_types.py,sha256=CZH2JXA1KYUj29eXYe8rIAAWdN1XPqOsDPAXvM25bVQ,698
|
|
18
|
-
argus_alm-0.15.
|
|
19
|
-
argus_alm-0.15.
|
|
20
|
-
argus_alm-0.15.
|
|
21
|
-
argus_alm-0.15.
|
|
22
|
-
argus_alm-0.15.
|
|
23
|
-
argus_alm-0.15.
|
|
18
|
+
argus_alm-0.15.11.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
19
|
+
argus_alm-0.15.11.dist-info/METADATA,sha256=cGDaU1VRC11FBFJZIaw6e7YYa2CQ2LPfyol4UXXR1R0,5304
|
|
20
|
+
argus_alm-0.15.11.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
21
|
+
argus_alm-0.15.11.dist-info/entry_points.txt,sha256=5mSBLLPndhFHKY5M9SCF8WhDBAArrj-S2IL-uoiaJiE,140
|
|
22
|
+
argus_alm-0.15.11.dist-info/top_level.txt,sha256=Pea173vTU-Et8xmNCctS34REW4cH0Xmjyiztu0HuM0c,6
|
|
23
|
+
argus_alm-0.15.11.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|