argus-alm 0.15.10__py3-none-any.whl → 0.15.12__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 +37 -1
- {argus_alm-0.15.10.dist-info → argus_alm-0.15.12.dist-info}/METADATA +6 -2
- {argus_alm-0.15.10.dist-info → argus_alm-0.15.12.dist-info}/RECORD +8 -8
- {argus_alm-0.15.10.dist-info → argus_alm-0.15.12.dist-info}/WHEEL +1 -1
- {argus_alm-0.15.10.dist-info → argus_alm-0.15.12.dist-info}/entry_points.txt +0 -0
- {argus_alm-0.15.10.dist-info → argus_alm-0.15.12.dist-info}/licenses/LICENSE +0 -0
- {argus_alm-0.15.10.dist-info → argus_alm-0.15.12.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.12'
|
|
32
|
+
__version_tuple__ = version_tuple = (0, 15, 12)
|
|
33
33
|
|
|
34
34
|
__commit_id__ = commit_id = None
|
argus/client/sct/client.py
CHANGED
|
@@ -28,7 +28,9 @@ 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"
|
|
33
|
+
SUBMIT_CONFIG = "/$id/config/submit"
|
|
32
34
|
|
|
33
35
|
def __init__(self, run_id: UUID, auth_token: str, base_url: str, api_version="v1", extra_headers: dict | None = None,
|
|
34
36
|
timeout: int = 60, max_retries: int = 3) -> None:
|
|
@@ -126,6 +128,22 @@ class ArgusSCTClient(ArgusClient):
|
|
|
126
128
|
)
|
|
127
129
|
self.check_response(response)
|
|
128
130
|
|
|
131
|
+
def add_stress_command(self, command: str, log_name: str, loader_name: str) -> None:
|
|
132
|
+
"""
|
|
133
|
+
Submits stress command information to be viewed inside Argus.
|
|
134
|
+
"""
|
|
135
|
+
response = self.post(
|
|
136
|
+
endpoint=self.Routes.SUBMIT_STRESS_CMD,
|
|
137
|
+
location_params={"id": str(self.run_id)},
|
|
138
|
+
body={
|
|
139
|
+
**self.generic_body,
|
|
140
|
+
"cmd": command,
|
|
141
|
+
"log_name": log_name,
|
|
142
|
+
"loader_name": loader_name,
|
|
143
|
+
}
|
|
144
|
+
)
|
|
145
|
+
self.check_response(response)
|
|
146
|
+
|
|
129
147
|
def submit_screenshots(self, screenshot_links: list[str]) -> None:
|
|
130
148
|
"""
|
|
131
149
|
Submits links to the screenshots from grafana, taken at the end of the test.
|
|
@@ -260,7 +278,8 @@ class ArgusSCTClient(ArgusClient):
|
|
|
260
278
|
self.check_response(response)
|
|
261
279
|
|
|
262
280
|
def submit_nemesis(self, name: str, class_name: str, start_time: int,
|
|
263
|
-
target_name: str, target_ip: str, target_shards: int
|
|
281
|
+
target_name: str, target_ip: str, target_shards: int,
|
|
282
|
+
description: str | None = None) -> None:
|
|
264
283
|
"""
|
|
265
284
|
Submits a nemesis record. Should then be finalized by
|
|
266
285
|
.finalize_nemesis method on nemesis completion.
|
|
@@ -277,6 +296,7 @@ class ArgusSCTClient(ArgusClient):
|
|
|
277
296
|
"node_name": target_name,
|
|
278
297
|
"node_ip": target_ip,
|
|
279
298
|
"node_shards": target_shards,
|
|
299
|
+
"description": description,
|
|
280
300
|
}
|
|
281
301
|
}
|
|
282
302
|
)
|
|
@@ -334,3 +354,19 @@ class ArgusSCTClient(ArgusClient):
|
|
|
334
354
|
"content": str(base64.encodebytes(bytes(raw_content, encoding="utf-8")), encoding="utf-8")
|
|
335
355
|
}
|
|
336
356
|
)
|
|
357
|
+
self.check_response(response)
|
|
358
|
+
|
|
359
|
+
def sct_submit_config(self, name: str, content: str) -> None:
|
|
360
|
+
"""
|
|
361
|
+
Submit a config file.
|
|
362
|
+
"""
|
|
363
|
+
response = self.post(
|
|
364
|
+
endpoint=self.Routes.SUBMIT_CONFIG,
|
|
365
|
+
location_params={"id": str(self.run_id)},
|
|
366
|
+
body={
|
|
367
|
+
**self.generic_body,
|
|
368
|
+
"name": name,
|
|
369
|
+
"content": str(base64.encodebytes(bytes(content, encoding="utf-8")), encoding="utf-8")
|
|
370
|
+
}
|
|
371
|
+
)
|
|
372
|
+
self.check_response(response)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: argus-alm
|
|
3
|
-
Version: 0.15.
|
|
3
|
+
Version: 0.15.12
|
|
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=SwckcTlyae_Jb7y-U2Uq28PLoMXAbTV5h-wWGwc14h0,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=NUOFQIHQWf2QWlrAmsSRgAyV7iEz3ZGKrwiP7bmyD9A,14305
|
|
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.12.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
19
|
+
argus_alm-0.15.12.dist-info/METADATA,sha256=Ootkcdd0B-ZN4PqdC3Z5AGiABp_vfwoSd88XTf0mRq4,5304
|
|
20
|
+
argus_alm-0.15.12.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
21
|
+
argus_alm-0.15.12.dist-info/entry_points.txt,sha256=5mSBLLPndhFHKY5M9SCF8WhDBAArrj-S2IL-uoiaJiE,140
|
|
22
|
+
argus_alm-0.15.12.dist-info/top_level.txt,sha256=Pea173vTU-Et8xmNCctS34REW4cH0Xmjyiztu0HuM0c,6
|
|
23
|
+
argus_alm-0.15.12.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|