redis-benchmarks-specification 0.1.102__py3-none-any.whl → 0.1.204__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.
Potentially problematic release.
This version of redis-benchmarks-specification might be problematic. Click here for more details.
- redis_benchmarks_specification/__builder__/builder.py +2 -2
- redis_benchmarks_specification/__common__/github.py +5 -3
- redis_benchmarks_specification/__self_contained_coordinator__/self_contained_coordinator.py +37 -0
- {redis_benchmarks_specification-0.1.102.dist-info → redis_benchmarks_specification-0.1.204.dist-info}/METADATA +1 -1
- {redis_benchmarks_specification-0.1.102.dist-info → redis_benchmarks_specification-0.1.204.dist-info}/RECORD +8 -8
- {redis_benchmarks_specification-0.1.102.dist-info → redis_benchmarks_specification-0.1.204.dist-info}/LICENSE +0 -0
- {redis_benchmarks_specification-0.1.102.dist-info → redis_benchmarks_specification-0.1.204.dist-info}/WHEEL +0 -0
- {redis_benchmarks_specification-0.1.102.dist-info → redis_benchmarks_specification-0.1.204.dist-info}/entry_points.txt +0 -0
|
@@ -245,10 +245,10 @@ def builder_process_stream(
|
|
|
245
245
|
use_git_timestamp = False
|
|
246
246
|
commit_datetime = "n/a"
|
|
247
247
|
if b"commit_datetime" in testDetails:
|
|
248
|
-
commit_datetime =
|
|
248
|
+
commit_datetime = testDetails[b"commit_datetime"].decode()
|
|
249
249
|
commit_summary = "n/a"
|
|
250
250
|
if b"commit_summary" in testDetails:
|
|
251
|
-
commit_summary =
|
|
251
|
+
commit_summary = testDetails[b"commit_summary"].decode()
|
|
252
252
|
git_branch, git_version = get_branch_version_from_test_details(testDetails)
|
|
253
253
|
if b"use_git_timestamp" in testDetails:
|
|
254
254
|
use_git_timestamp = bool(testDetails[b"use_git_timestamp"])
|
|
@@ -104,6 +104,7 @@ def check_github_available_and_actionable(
|
|
|
104
104
|
regression_comment = None
|
|
105
105
|
github_pr = None
|
|
106
106
|
old_regression_comment_body = ""
|
|
107
|
+
pr_link = None
|
|
107
108
|
if github_token is not None:
|
|
108
109
|
logging.info("Detected github token")
|
|
109
110
|
g = Github(github_token)
|
|
@@ -134,9 +135,10 @@ def check_github_available_and_actionable(
|
|
|
134
135
|
print("".join(["-" for x in range(1, 80)]))
|
|
135
136
|
else:
|
|
136
137
|
logging.info("Does not contain PR comment")
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
logging.info(
|
|
139
|
+
f"contains_regression_comment: {contains_regression_comment}, is_actionable_pr: {is_actionable_pr}, pr_link: {pr_link}"
|
|
140
|
+
)
|
|
141
|
+
|
|
140
142
|
return (
|
|
141
143
|
contains_regression_comment,
|
|
142
144
|
github_pr,
|
|
@@ -537,6 +537,13 @@ def process_self_contained_coordinator_stream(
|
|
|
537
537
|
f"detected a regexp definition on the streamdata {test_regexp}"
|
|
538
538
|
)
|
|
539
539
|
|
|
540
|
+
command_groups_regexp = None
|
|
541
|
+
if b"tests_groups_regexp" in testDetails:
|
|
542
|
+
command_groups_regexp = testDetails[b"tests_groups_regexp"].decode()
|
|
543
|
+
logging.info(
|
|
544
|
+
f"detected a command groups regexp definition on the streamdata {command_groups_regexp}"
|
|
545
|
+
)
|
|
546
|
+
|
|
540
547
|
skip_test = False
|
|
541
548
|
if b"platform" in testDetails:
|
|
542
549
|
platform = testDetails[b"platform"]
|
|
@@ -591,6 +598,7 @@ def process_self_contained_coordinator_stream(
|
|
|
591
598
|
priority_upper_limit,
|
|
592
599
|
test_regexp,
|
|
593
600
|
testsuite_spec_files,
|
|
601
|
+
command_groups_regexp,
|
|
594
602
|
)
|
|
595
603
|
|
|
596
604
|
for test_file in filtered_test_files:
|
|
@@ -1362,6 +1370,7 @@ def filter_test_files(
|
|
|
1362
1370
|
priority_upper_limit,
|
|
1363
1371
|
test_regexp,
|
|
1364
1372
|
testsuite_spec_files,
|
|
1373
|
+
command_groups_regexp=None,
|
|
1365
1374
|
):
|
|
1366
1375
|
filtered_test_files = []
|
|
1367
1376
|
for test_file in testsuite_spec_files:
|
|
@@ -1397,6 +1406,34 @@ def filter_test_files(
|
|
|
1397
1406
|
)
|
|
1398
1407
|
continue
|
|
1399
1408
|
|
|
1409
|
+
if command_groups_regexp is not None:
|
|
1410
|
+
logging.info(
|
|
1411
|
+
"Filtering all test command groups via a regular expression: {}".format(
|
|
1412
|
+
command_groups_regexp
|
|
1413
|
+
)
|
|
1414
|
+
)
|
|
1415
|
+
if "tested-groups" in benchmark_config:
|
|
1416
|
+
command_groups = benchmark_config["tested-groups"]
|
|
1417
|
+
logging.info(
|
|
1418
|
+
f"The file {test_file} (test name = {test_name}) contains the following groups: {command_groups}"
|
|
1419
|
+
)
|
|
1420
|
+
groups_regex_string = re.compile(command_groups_regexp)
|
|
1421
|
+
found = False
|
|
1422
|
+
for command_group in command_groups:
|
|
1423
|
+
match_obj = re.search(groups_regex_string, command_group)
|
|
1424
|
+
if match_obj is not None:
|
|
1425
|
+
found = True
|
|
1426
|
+
logging.info(f"found the command group {command_group}")
|
|
1427
|
+
if found is False:
|
|
1428
|
+
logging.info(
|
|
1429
|
+
f"Skipping {test_file} given the following groups: {command_groups} does not match command group regex {command_groups_regexp}"
|
|
1430
|
+
)
|
|
1431
|
+
continue
|
|
1432
|
+
else:
|
|
1433
|
+
logging.warning(
|
|
1434
|
+
f"The file {test_file} (test name = {test_name}) does not contain the property 'tested-groups'. Cannot filter based uppon groups..."
|
|
1435
|
+
)
|
|
1436
|
+
|
|
1400
1437
|
if "priority" in benchmark_config:
|
|
1401
1438
|
priority = benchmark_config["priority"]
|
|
1402
1439
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: redis-benchmarks-specification
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.204
|
|
4
4
|
Summary: The Redis benchmarks specification describes the cross-language/tools requirements and expectations to foster performance and observability standards around redis related technologies. Members from both industry and academia, including organizations and individuals are encouraged to contribute.
|
|
5
5
|
Author: filipecosta90
|
|
6
6
|
Author-email: filipecosta.90@gmail.com
|
|
@@ -4,7 +4,7 @@ redis_benchmarks_specification/__api__/api.py,sha256=k_CMICtMm1z8jY3hByaL0hIr_5v
|
|
|
4
4
|
redis_benchmarks_specification/__api__/app.py,sha256=JzQm84DjIVdfLbDO423BJbrds6gFzMbA0syRkHE_aUU,7063
|
|
5
5
|
redis_benchmarks_specification/__builder__/Readme.md,sha256=O6MV_J3OSgzW-ir2TbukP8Vhkm_LOzQJJndG1Cykqic,111
|
|
6
6
|
redis_benchmarks_specification/__builder__/__init__.py,sha256=l-G1z-t6twUgi8QLueqoTQLvJmv3hJoEYskGm6H7L6M,83
|
|
7
|
-
redis_benchmarks_specification/__builder__/builder.py,sha256=
|
|
7
|
+
redis_benchmarks_specification/__builder__/builder.py,sha256=iMINXlKMqlVYW3Uc7IuEGht9FPb-RdJpR7VLsznr9P0,24531
|
|
8
8
|
redis_benchmarks_specification/__builder__/schema.py,sha256=1wcmyVJBcWrBvK58pghN9NCoWLCO3BzPsmdKWYfkVog,584
|
|
9
9
|
redis_benchmarks_specification/__cli__/__init__.py,sha256=l-G1z-t6twUgi8QLueqoTQLvJmv3hJoEYskGm6H7L6M,83
|
|
10
10
|
redis_benchmarks_specification/__cli__/args.py,sha256=GU7lJBTLtufypa1R25Ey2PeBUu9fr0Tv4iGk6wfrsRQ,6186
|
|
@@ -13,7 +13,7 @@ redis_benchmarks_specification/__cli__/stats.py,sha256=wahzZRbpfokv8dQU8O4BH5JFr
|
|
|
13
13
|
redis_benchmarks_specification/__common__/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
14
|
redis_benchmarks_specification/__common__/builder_schema.py,sha256=LW00BSz_LXa83wbgRFylOCyRMMH4-3YpWgYh2hevOFM,5693
|
|
15
15
|
redis_benchmarks_specification/__common__/env.py,sha256=l58AH5LC2jQcyPRJA4ue_4kMloOewcqnLvkLWfzph_A,3119
|
|
16
|
-
redis_benchmarks_specification/__common__/github.py,sha256=
|
|
16
|
+
redis_benchmarks_specification/__common__/github.py,sha256=lS7s5R4s6STsJieKog1JMveuWE0oIWrw8BdNsX60WDQ,10445
|
|
17
17
|
redis_benchmarks_specification/__common__/package.py,sha256=4uVt1BAZ999LV2rZkq--Tk6otAVIf9YR3g3KGeUpiW4,834
|
|
18
18
|
redis_benchmarks_specification/__common__/runner.py,sha256=6x1L8UAo-gmxLMcsUU4FGQ5OLV08fqygDnoVZ1rVUVQ,6642
|
|
19
19
|
redis_benchmarks_specification/__common__/spec.py,sha256=3hvfAb7RuAsqB_PNEo_-iuOtgz1ZCWe3ouMwS5Mw54A,1002
|
|
@@ -33,7 +33,7 @@ redis_benchmarks_specification/__self_contained_coordinator__/cpuset.py,sha256=s
|
|
|
33
33
|
redis_benchmarks_specification/__self_contained_coordinator__/docker.py,sha256=iivxZ55vL2kVHHkqVbXY2ftvxvceqH_Zw079KLCv9N8,2507
|
|
34
34
|
redis_benchmarks_specification/__self_contained_coordinator__/prepopulation.py,sha256=ajhpzxsBy6tiHrO79gEIKQYxZR-Us6B4rC6NYg1EZjM,2875
|
|
35
35
|
redis_benchmarks_specification/__self_contained_coordinator__/runners.py,sha256=Ul8UoxvWRxCVWmyaCBadpLMDOVEoNSp-A9KMPtPmUwM,28483
|
|
36
|
-
redis_benchmarks_specification/__self_contained_coordinator__/self_contained_coordinator.py,sha256=
|
|
36
|
+
redis_benchmarks_specification/__self_contained_coordinator__/self_contained_coordinator.py,sha256=tD3ut8DiKNWsV67WmRGSue4l6uusQJSjMEfvV6kn81E,68628
|
|
37
37
|
redis_benchmarks_specification/__setups__/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
38
38
|
redis_benchmarks_specification/__setups__/topologies.py,sha256=xQ1IJkcTji_ZjLiJd3vOxZpvbNtBLZw9cPkw5hGJKHU,481
|
|
39
39
|
redis_benchmarks_specification/__spec__/__init__.py,sha256=l-G1z-t6twUgi8QLueqoTQLvJmv3hJoEYskGm6H7L6M,83
|
|
@@ -150,8 +150,8 @@ redis_benchmarks_specification/test-suites/memtier_benchmark-2keys-set-10-100-el
|
|
|
150
150
|
redis_benchmarks_specification/test-suites/memtier_benchmark-2keys-stream-5-entries-xread-all-entries-pipeline-10.yml,sha256=RSkNgV5SsjdkXhM0mifi2GlwIxtiHR8N3u-ieI23BoQ,1126
|
|
151
151
|
redis_benchmarks_specification/test-suites/memtier_benchmark-2keys-stream-5-entries-xread-all-entries.yml,sha256=w7-dOIU-eATHXCvJbSeih6Vt54oygtkXKskQdzCll3o,1100
|
|
152
152
|
redis_benchmarks_specification/test-suites/template.txt,sha256=qrci_94QV9bPUJe0cL8lsUaQmX5Woz-jT-pDF0629AE,423
|
|
153
|
-
redis_benchmarks_specification-0.1.
|
|
154
|
-
redis_benchmarks_specification-0.1.
|
|
155
|
-
redis_benchmarks_specification-0.1.
|
|
156
|
-
redis_benchmarks_specification-0.1.
|
|
157
|
-
redis_benchmarks_specification-0.1.
|
|
153
|
+
redis_benchmarks_specification-0.1.204.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
154
|
+
redis_benchmarks_specification-0.1.204.dist-info/METADATA,sha256=hQkXQn9WSUjT65RtQq1NFDEnXXu0ws2tE-u8v341yCQ,22483
|
|
155
|
+
redis_benchmarks_specification-0.1.204.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
|
|
156
|
+
redis_benchmarks_specification-0.1.204.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
|
|
157
|
+
redis_benchmarks_specification-0.1.204.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|