redis-benchmarks-specification 0.1.90__py3-none-any.whl → 0.1.91__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.

@@ -222,6 +222,7 @@ def generate_benchmark_started_pr_comment(
222
222
  benchmark_stream_id,
223
223
  total_pending,
224
224
  total_benchmarks,
225
+ total_failed,
225
226
  ):
226
227
  comment_body = (
227
228
  "### CE Performance Automation : step 2 of 2 (benchmark) RUNNING...\n\n"
@@ -231,12 +232,15 @@ def generate_benchmark_started_pr_comment(
231
232
  )
232
233
 
233
234
  completed = total_benchmarks - total_pending
235
+ successful = completed - total_failed
234
236
  comment_body += (
235
237
  f"Status: {markdown_progress_bar(completed,total_benchmarks,80)} completed.\n\n"
236
238
  )
237
239
  comment_body += f"In total will run {total_benchmarks} benchmarks.\n"
238
240
  comment_body += f" - {total_pending} pending.\n"
239
- comment_body += f" - {completed} completed.\n"
241
+ comment_body += f" - {completed} completed:\n"
242
+ comment_body += f" - {successful} successful.\n"
243
+ comment_body += f" - {total_failed} failed.\n"
240
244
 
241
245
  if not isinstance(benchmark_stream_id, str):
242
246
  benchmark_stream_id = benchmark_stream_id.decode()
@@ -531,7 +531,9 @@ def process_self_contained_coordinator_stream(
531
531
 
532
532
  stream_test_list_pending = f"ci.benchmarks.redis/ci/redis/redis:benchmarks:{stream_id}:{running_platform}:tests_pending"
533
533
  stream_test_list_running = f"ci.benchmarks.redis/ci/redis/redis:benchmarks:{stream_id}:{running_platform}:tests_running"
534
+ stream_test_list_failed = f"ci.benchmarks.redis/ci/redis/redis:benchmarks:{stream_id}:{running_platform}:tests_failed"
534
535
  stream_test_list_completed = f"ci.benchmarks.redis/ci/redis/redis:benchmarks:{stream_id}:{running_platform}:tests_completed"
536
+
535
537
  for test_file in testsuite_spec_files:
536
538
  if defaults_filename in test_file:
537
539
  continue
@@ -573,8 +575,9 @@ def process_self_contained_coordinator_stream(
573
575
  )
574
576
  filtered_test_files.append(test_file)
575
577
  pending_tests = len(filtered_test_files)
578
+ failed_tests = 0
576
579
  comment_body = generate_benchmark_started_pr_comment(
577
- stream_id, pending_tests, len(filtered_test_files)
580
+ stream_id, pending_tests, len(filtered_test_files), failed_tests
578
581
  )
579
582
  # update on github if needed
580
583
  if is_actionable_pr:
@@ -1125,12 +1128,21 @@ def process_self_contained_coordinator_stream(
1125
1128
  conn.lrem(stream_test_list_running, 1, test_name)
1126
1129
  conn.lpush(stream_test_list_completed, test_name)
1127
1130
  conn.expire(stream_test_list_completed, REDIS_BINS_EXPIRE_SECS)
1131
+ if test_result is False:
1132
+ conn.lpush(stream_test_list_failed, test_name)
1133
+ failed_tests = failed_tests + 1
1134
+ logging.warning(
1135
+ f"updating key {stream_test_list_failed} with the failed test: {test_name}. Total failed tests {failed_tests}."
1136
+ )
1128
1137
  pending_tests = pending_tests - 1
1129
1138
 
1130
1139
  # update on github if needed
1131
1140
  if is_actionable_pr:
1132
1141
  comment_body = generate_benchmark_started_pr_comment(
1133
- stream_id, pending_tests, len(filtered_test_files)
1142
+ stream_id,
1143
+ pending_tests,
1144
+ len(filtered_test_files),
1145
+ failed_tests,
1134
1146
  )
1135
1147
  update_comment_if_needed(
1136
1148
  auto_approve_github,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: redis-benchmarks-specification
3
- Version: 0.1.90
3
+ Version: 0.1.91
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
@@ -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=WsyDjkgs8Iw8U7MS2pW0d9YiNCDtTUOGgstsuTeWFYQ,9390
16
+ redis_benchmarks_specification/__common__/github.py,sha256=mf5KBEo852w8uv6XXKTFTwf4X4aJCmk_VunMdbqt9Yo,9564
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=2HgztelRgsLJC5rhsaXaEnxu_6YMOOPhqQZKKzZGzI4,55287
36
+ redis_benchmarks_specification/__self_contained_coordinator__/self_contained_coordinator.py,sha256=__sjvSChAW2GNhZZ3tRNireT4GvuB01nmfqZJv3-GOo,55948
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.90.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
154
- redis_benchmarks_specification-0.1.90.dist-info/METADATA,sha256=S-9nJqG02WZt2Q0ibWrnANBp-sDrMG8MBeZ6WRVf7YA,22482
155
- redis_benchmarks_specification-0.1.90.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
156
- redis_benchmarks_specification-0.1.90.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
157
- redis_benchmarks_specification-0.1.90.dist-info/RECORD,,
153
+ redis_benchmarks_specification-0.1.91.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
154
+ redis_benchmarks_specification-0.1.91.dist-info/METADATA,sha256=xCm2SmLalu-0JXtVIUk0L3tW1IaJM9WTQ5pJZ0xXTcc,22482
155
+ redis_benchmarks_specification-0.1.91.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
156
+ redis_benchmarks_specification-0.1.91.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
157
+ redis_benchmarks_specification-0.1.91.dist-info/RECORD,,