redisbench-admin 0.11.28__py3-none-any.whl → 0.11.30__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.
- redisbench_admin/compare/compare.py +1 -0
- redisbench_admin/export/export.py +1 -0
- redisbench_admin/run/run.py +1 -1
- redisbench_admin/run_local/run_local.py +1 -0
- redisbench_admin/run_remote/remote_db.py +1 -0
- redisbench_admin/run_remote/standalone.py +3 -1
- redisbench_admin/utils/remote.py +12 -3
- {redisbench_admin-0.11.28.dist-info → redisbench_admin-0.11.30.dist-info}/METADATA +1 -1
- {redisbench_admin-0.11.28.dist-info → redisbench_admin-0.11.30.dist-info}/RECORD +12 -12
- {redisbench_admin-0.11.28.dist-info → redisbench_admin-0.11.30.dist-info}/LICENSE +0 -0
- {redisbench_admin-0.11.28.dist-info → redisbench_admin-0.11.30.dist-info}/WHEEL +0 -0
- {redisbench_admin-0.11.28.dist-info → redisbench_admin-0.11.30.dist-info}/entry_points.txt +0 -0
redisbench_admin/run/run.py
CHANGED
|
@@ -124,7 +124,7 @@ def define_benchmark_plan(benchmark_definitions, default_specs):
|
|
|
124
124
|
logging.info(f"FINAL DB CONFIG: {final_db_config}")
|
|
125
125
|
test_benchmark_config["dbconfig"] = final_db_config
|
|
126
126
|
|
|
127
|
-
logging.
|
|
127
|
+
logging.debug(
|
|
128
128
|
f"final benchmark config for setup: {setup_name} and test: {test_name}. {test_benchmark_config}"
|
|
129
129
|
)
|
|
130
130
|
# add benchmark
|
|
@@ -75,7 +75,9 @@ def remote_module_files_cp(
|
|
|
75
75
|
continue_on_module_check_error=False,
|
|
76
76
|
):
|
|
77
77
|
remote_module_files = []
|
|
78
|
+
|
|
78
79
|
if local_module_files is not None:
|
|
80
|
+
logging.info(f"there is a total of {len(local_module_files)} modules")
|
|
79
81
|
for local_module_file in local_module_files:
|
|
80
82
|
splitted_module_and_plugins = []
|
|
81
83
|
if type(local_module_file) is str:
|
|
@@ -135,7 +137,7 @@ def remote_module_files_cp(
|
|
|
135
137
|
if pos > 1:
|
|
136
138
|
remote_module_files_in = remote_module_files_in + " "
|
|
137
139
|
remote_module_files_in = remote_module_files_in + remote_module_file
|
|
138
|
-
|
|
140
|
+
remote_module_files.append(remote_module_files_in)
|
|
139
141
|
logging.info(
|
|
140
142
|
"There are a total of {} remote files {}".format(
|
|
141
143
|
len(remote_module_files), remote_module_files
|
redisbench_admin/utils/remote.py
CHANGED
|
@@ -93,13 +93,22 @@ def copy_file_to_remote_setup(
|
|
|
93
93
|
cnopts=cnopts,
|
|
94
94
|
port=port,
|
|
95
95
|
)
|
|
96
|
-
srv.
|
|
97
|
-
|
|
96
|
+
if srv.exists(remote_file):
|
|
97
|
+
print(f"Remote file {remote_file} already exists. Skipping the copy.")
|
|
98
|
+
else:
|
|
99
|
+
uploaded_file = srv.put(
|
|
100
|
+
full_local_path, remote_file, callback=view_bar_simple
|
|
101
|
+
)
|
|
102
|
+
print(f"File uploaded to: {uploaded_file}")
|
|
98
103
|
logging.info(
|
|
99
104
|
"Finished Copying file {} to remote server {} ".format(
|
|
100
105
|
full_local_path, remote_file
|
|
101
106
|
)
|
|
102
107
|
)
|
|
108
|
+
file_info = srv.stat(remote_file)
|
|
109
|
+
print(f"Remote file size: {file_info.st_size} bytes")
|
|
110
|
+
print(f"Remote file permissions: {oct(file_info.st_mode)[-3:]}")
|
|
111
|
+
srv.close()
|
|
103
112
|
res = True
|
|
104
113
|
else:
|
|
105
114
|
if continue_on_module_check_error:
|
|
@@ -315,7 +324,7 @@ def setup_remote_environment(
|
|
|
315
324
|
raise_on_error=True,
|
|
316
325
|
)
|
|
317
326
|
infra_wait_secs = 60
|
|
318
|
-
logging.warning("Infra ready wait... for {infra_wait_secs} secs")
|
|
327
|
+
logging.warning(f"Infra ready wait... for {infra_wait_secs} secs")
|
|
319
328
|
time.sleep(infra_wait_secs)
|
|
320
329
|
return retrieve_tf_connection_vars(return_code, tf)
|
|
321
330
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: redisbench-admin
|
|
3
|
-
Version: 0.11.
|
|
3
|
+
Version: 0.11.30
|
|
4
4
|
Summary: Redis benchmark run helper. A wrapper around Redis and Redis Modules benchmark tools ( ftsb_redisearch, memtier_benchmark, redis-benchmark, aibench, etc... ).
|
|
5
5
|
Author: filipecosta90
|
|
6
6
|
Author-email: filipecosta.90@gmail.com
|
|
@@ -4,7 +4,7 @@ redisbench_admin/commands/__init__.py,sha256=mzVrEtqefFdopyzR-W6xx3How95dyZfToGK
|
|
|
4
4
|
redisbench_admin/commands/commands.json.py,sha256=mzVrEtqefFdopyzR-W6xx3How95dyZfToGKm1-_YzeY,95
|
|
5
5
|
redisbench_admin/compare/__init__.py,sha256=DtBXRp0Q01XgCFmY-1OIePMyyYihVNAjZ1Y8zwqSDN0,101
|
|
6
6
|
redisbench_admin/compare/args.py,sha256=z_viz1fqkppuKXn-_xjcqY00i7YMiKNc0qgcMSwpdYA,5778
|
|
7
|
-
redisbench_admin/compare/compare.py,sha256=
|
|
7
|
+
redisbench_admin/compare/compare.py,sha256=ygLRbTxki6EBDKq7hrN-siJGssehwdrw9s8Ps8t33ZU,38433
|
|
8
8
|
redisbench_admin/deploy/__init__.py,sha256=DtBXRp0Q01XgCFmY-1OIePMyyYihVNAjZ1Y8zwqSDN0,101
|
|
9
9
|
redisbench_admin/deploy/args.py,sha256=neLUcQqI__HkJItkQg2C293hl5g3yHG40t171r7-E5Y,1732
|
|
10
10
|
redisbench_admin/deploy/deploy.py,sha256=MtfJbsL97DLrbBYut6zRCzyEMebX4xWoZE-m4-JDRB8,3885
|
|
@@ -15,7 +15,7 @@ redisbench_admin/export/__init__.py,sha256=DtBXRp0Q01XgCFmY-1OIePMyyYihVNAjZ1Y8z
|
|
|
15
15
|
redisbench_admin/export/args.py,sha256=kzBfU21mXYWLZ8YPhKA8MCfxJo-OU4m8-OBZFY7VKnA,3189
|
|
16
16
|
redisbench_admin/export/common/__init__.py,sha256=DtBXRp0Q01XgCFmY-1OIePMyyYihVNAjZ1Y8zwqSDN0,101
|
|
17
17
|
redisbench_admin/export/common/common.py,sha256=LnvXjMLlJRzMTxiFIjrfRFfDx9JJm88OZHu7lnTOpFA,4331
|
|
18
|
-
redisbench_admin/export/export.py,sha256=
|
|
18
|
+
redisbench_admin/export/export.py,sha256=xxrFwUOeDT7WwT8E-6TPfCGcnQWIgq2uSg-Bw_5JZzY,10624
|
|
19
19
|
redisbench_admin/export/google_benchmark/__init__.py,sha256=DtBXRp0Q01XgCFmY-1OIePMyyYihVNAjZ1Y8zwqSDN0,101
|
|
20
20
|
redisbench_admin/export/google_benchmark/google_benchmark_json_format.py,sha256=OuMaMmmma5VvXA0rcLIQSMxIq81oa5I3xYDFhbWj-IA,1804
|
|
21
21
|
redisbench_admin/export/memtier_benchmark/__init__.py,sha256=DtBXRp0Q01XgCFmY-1OIePMyyYihVNAjZ1Y8zwqSDN0,101
|
|
@@ -190,7 +190,7 @@ redisbench_admin/run/redis_benchmark/redis_benchmark.py,sha256=e-Az2uTlt3z2W4uzl
|
|
|
190
190
|
redisbench_admin/run/redisgraph_benchmark_go/__init__.py,sha256=DtBXRp0Q01XgCFmY-1OIePMyyYihVNAjZ1Y8zwqSDN0,101
|
|
191
191
|
redisbench_admin/run/redisgraph_benchmark_go/redisgraph_benchmark_go.py,sha256=DijIoWr73e2t7Zy-UmODzC51IjUh6hH5I0LaPRJW4Vk,2241
|
|
192
192
|
redisbench_admin/run/redistimeseries.py,sha256=x3PA7QoHXu53zs5v0ekK2sVmUnA9_ZF2JxgCDf1Mui4,21331
|
|
193
|
-
redisbench_admin/run/run.py,sha256=
|
|
193
|
+
redisbench_admin/run/run.py,sha256=3_o9hDjRtrBu1LOyIZnDuVcWhFsjoY0-NCsCj40Trb4,5587
|
|
194
194
|
redisbench_admin/run/s3.py,sha256=pXQXZ1rrwDCWeBegGR4aKzbKqWWwMrmqvIjFxEB3bh4,442
|
|
195
195
|
redisbench_admin/run/ssh.py,sha256=gRW6ROoTKlaxLKhS5tM-Ejjd6zk2iO1KN9dzBzw7GOk,2835
|
|
196
196
|
redisbench_admin/run/tsbs_run_queries_redistimeseries/__init__.py,sha256=DtBXRp0Q01XgCFmY-1OIePMyyYihVNAjZ1Y8zwqSDN0,101
|
|
@@ -209,34 +209,34 @@ redisbench_admin/run_local/args.py,sha256=9Qr-IVQJ3TMqFkn9Jp597KjU2AGq3u0X5Eb82C
|
|
|
209
209
|
redisbench_admin/run_local/local_client.py,sha256=gwawMDOBrf7m--uyxu8kMZC5LBiLjbUBSKvzVOdOAas,124
|
|
210
210
|
redisbench_admin/run_local/local_db.py,sha256=9vINqKOs-wDMFEuEHT0I8KO9YnEo_h4NWNk5da3LwSY,7518
|
|
211
211
|
redisbench_admin/run_local/local_helpers.py,sha256=JyqLW2-Sbm35BXjxxfOB1yK7ADdLfcVrq08NLNdIwac,7026
|
|
212
|
-
redisbench_admin/run_local/run_local.py,sha256=
|
|
212
|
+
redisbench_admin/run_local/run_local.py,sha256=U3C8UKH-DevcLE-TFtC2EHdpAV2xL5dZmGWU6cfbras,31184
|
|
213
213
|
redisbench_admin/run_remote/__init__.py,sha256=DtBXRp0Q01XgCFmY-1OIePMyyYihVNAjZ1Y8zwqSDN0,101
|
|
214
214
|
redisbench_admin/run_remote/args.py,sha256=vhV87avBwXL8c2QLqrAkIyWD53MYhN06F-3wRv3l5xE,3829
|
|
215
215
|
redisbench_admin/run_remote/consts.py,sha256=bCMkwyeBD-EmOpoHKni7LjWy5WuaxGJhGhqpi4AL0RQ,386
|
|
216
216
|
redisbench_admin/run_remote/log.py,sha256=cD7zfXt0VEmy0b7452HvcAxX_9kVj6Vm213yNdUHP20,95
|
|
217
217
|
redisbench_admin/run_remote/notifications.py,sha256=-W9fLaftEFNfplBl2clHk37jbYxliDbHftQ62khN31k,2157
|
|
218
218
|
redisbench_admin/run_remote/remote_client.py,sha256=rRmDro1weto01wzqYpId8NMPoizEzSyudXBCjYrBVMs,14128
|
|
219
|
-
redisbench_admin/run_remote/remote_db.py,sha256=
|
|
219
|
+
redisbench_admin/run_remote/remote_db.py,sha256=GTBBo2G0Iu_9Zlw8Ws7WK8JJgNLJaGtSy9sXvfePeTs,13121
|
|
220
220
|
redisbench_admin/run_remote/remote_env.py,sha256=Ux_0QT1unNRlKl3cakzjG5Px1uuxOOfBoF_pnalx_T8,4936
|
|
221
221
|
redisbench_admin/run_remote/remote_failures.py,sha256=IOo6DyxarcwwMPCeN4gWB2JrhuC9iBLwq0nCROqr5ak,1567
|
|
222
222
|
redisbench_admin/run_remote/remote_helpers.py,sha256=ngNjPJP0EwANJFhOFmujF0eSE5Ga3O0WcVuDda9cS9E,9917
|
|
223
223
|
redisbench_admin/run_remote/run_remote.py,sha256=E42msGhMVnKmnMz0Kp7br1nuUaMCipC2bN0PzLxkbsw,67981
|
|
224
|
-
redisbench_admin/run_remote/standalone.py,sha256=
|
|
224
|
+
redisbench_admin/run_remote/standalone.py,sha256=tbnKFs6wxmkRkDuxP3A420PPdb8YSmPymDlnoL2GeOQ,6745
|
|
225
225
|
redisbench_admin/run_remote/terraform.py,sha256=vV3eWXNwj7vsnFNqUgCir5ueZS4VYopEyzWiTtoSq0Q,4018
|
|
226
226
|
redisbench_admin/utils/__init__.py,sha256=DtBXRp0Q01XgCFmY-1OIePMyyYihVNAjZ1Y8zwqSDN0,101
|
|
227
227
|
redisbench_admin/utils/benchmark_config.py,sha256=bC2C6rnj89wkkSlOXyyfe0N15unn_M1t1zfskfVkb98,21387
|
|
228
228
|
redisbench_admin/utils/local.py,sha256=zUvyVI9LZMT3qyxs1pO3mXL6Bt_1z9EZUGppaRcWNRA,3890
|
|
229
229
|
redisbench_admin/utils/redisearch.py,sha256=lchUEzpt0zB1rHwlDlw9LLifAnxFWcLP-PePw7TjL-0,1602
|
|
230
230
|
redisbench_admin/utils/redisgraph_benchmark_go.py,sha256=os7EJt6kBxsFJLKkSoANbjMT7-cEq4-Ns-49alk2Tf8,2048
|
|
231
|
-
redisbench_admin/utils/remote.py,sha256=
|
|
231
|
+
redisbench_admin/utils/remote.py,sha256=McW1vI-QTrzjODbt0LdjgYUDUNILUVGfgjtSoZ8ileI,40251
|
|
232
232
|
redisbench_admin/utils/results.py,sha256=uKk3uNJ--bSXlUj_HGQ2OaV6MVqmXJVM8xTzFV6EOw4,3267
|
|
233
233
|
redisbench_admin/utils/ssh.py,sha256=QW4AwlocMHJt05QMdN_4f8WeDmxiEwR80ny8VBThq6k,6533
|
|
234
234
|
redisbench_admin/utils/utils.py,sha256=YxuSPS6dtBw7T8e09678rUNNiCSkuFtVXNc05-qytbI,14370
|
|
235
235
|
redisbench_admin/watchdog/__init__.py,sha256=cD7zfXt0VEmy0b7452HvcAxX_9kVj6Vm213yNdUHP20,95
|
|
236
236
|
redisbench_admin/watchdog/args.py,sha256=nKsG1G6ATOZlAMHMtT9u3kXxduKCbejSZ5x8oB_ynZ8,1312
|
|
237
237
|
redisbench_admin/watchdog/watchdog.py,sha256=jFGtm5ktjKuXKWvH7lnmf3pp-ch1WBJUOomXILJMDAg,6158
|
|
238
|
-
redisbench_admin-0.11.
|
|
239
|
-
redisbench_admin-0.11.
|
|
240
|
-
redisbench_admin-0.11.
|
|
241
|
-
redisbench_admin-0.11.
|
|
242
|
-
redisbench_admin-0.11.
|
|
238
|
+
redisbench_admin-0.11.30.dist-info/LICENSE,sha256=AAMtfs82zOOvmG68vILivm6lxi2rcOlGObmA8jzxQvw,10768
|
|
239
|
+
redisbench_admin-0.11.30.dist-info/METADATA,sha256=SuoOct7LqePq2d-g4QrQZGYSaMkS4MRTn0DfutPoutc,5389
|
|
240
|
+
redisbench_admin-0.11.30.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
241
|
+
redisbench_admin-0.11.30.dist-info/entry_points.txt,sha256=UUawXk_AS-PlieKJ1QxPQXGsRLb6OW_F0MtmA1W0KE8,113
|
|
242
|
+
redisbench_admin-0.11.30.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|