b1a3d740e9
[ #102 ] Updates for failover
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-10-25 15:57:38 +03:00
0c3bb20af5
Add method to interfaces
...
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-10-24 12:41:44 +00:00
e1f3444e92
[ #100 ] Add new method for logs gathering
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-10-20 18:08:22 +03:00
cff5db5a67
Change func parsing netmap
...
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-10-18 08:29:34 +00:00
1c3bbe26f7
[ #98 ] Small dependency cleanup
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-10-17 17:45:23 +03:00
dd347dd8fb
Added unit to logs getter
...
Signed-off-by: Dmitry Anurin <d.anurin@yadro.com>
2023-10-12 11:56:30 +00:00
98f9c78f09
[ #97 ] Probe fix for filedescriptor issue
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-10-11 18:21:40 +03:00
2c2af7f8ed
Keep only one ssh connection per host
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-10-10 17:47:46 +03:00
d039bcc221
Add IfUpDown utility helper
...
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-10-10 14:41:32 +00:00
e919064bb9
[ #92 ] Fix method name
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-10-05 16:42:28 +03:00
98ccd4c382
[ #91 ] Failover enhancements
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-10-03 15:18:29 +03:00
9feb8135e3
local scenario
...
Signed-off-by: m.malygina <m.malygina@yadro.com>
2023-09-28 09:21:25 +00:00
64f004d5a5
Add read-from to verify settings
2023-09-27 10:38:28 +03:00
eb37573df8
[ #88 ] Add read from switch
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-09-25 16:26:45 +03:00
602de43bff
Use all nodes for s3 creds
2023-09-19 17:44:43 +00:00
fc1f373477
Adding interval between ssh connection attempts
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-09-19 08:59:27 +00:00
b039ee9940
Dev Env should not use sudo by default
2023-09-19 08:52:40 +00:00
be9b3f5855
Update argument func init s3
...
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-09-19 08:35:33 +00:00
f7ef8cb881
Another increase default load time
...
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2023-09-15 12:30:58 +03:00
ecf8f0841a
Change NodeNetmapInfo class
...
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-09-11 10:36:54 +03:00
19b8b96898
Use only name in ObjectSize repr and str
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-09-08 10:50:28 +00:00
f2d34dbf2e
add latency report
2023-09-08 09:33:29 +00:00
e14896400f
Add post-init for load params
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-09-06 16:51:18 +03:00
449c18bb1a
Adding options to work with any service type
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-08-30 15:28:12 +03:00
aa277fdd6a
Increase default load time
...
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2023-08-29 16:55:25 +03:00
7059596506
Support prepare locally flag
...
Signed-off-by: m.malygina <m.malygina@yadro.com>
2023-08-21 11:59:05 +00:00
7112bf9c88
Change NodeNetmapInfo class
...
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-08-17 12:54:05 +03:00
b1c21e0e5b
Add Iptables helper
...
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-08-16 12:22:14 +00:00
02c079eda3
[OBJECT-3949] delete mainchain ready
2023-08-15 12:32:36 +00:00
d28f3cdc28
Add UNDEFINED versionins status
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-08-04 14:19:49 +03:00
e4878f4d1e
Add readable enums
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-08-02 21:38:27 +03:00
807235af95
Fix multiple services start (copy array for upstream functions)
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-07-31 14:08:12 +03:00
716a780a13
Add epoch align after tick
...
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2023-07-27 16:25:53 +00:00
d6e08c477b
fix divizion by zero, when total operations is zero
2023-07-27 11:33:43 +00:00
612e088763
Fix string representation for load params with empty fields
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-07-27 10:50:02 +03:00
Yaroslava Lukoyanova
b856e82008
Added http hostname as a header to all http calls
2023-07-26 08:33:45 +00:00
2240be09d2
Add repr and str for most classes used in parametrize
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-07-24 19:34:21 +03:00
38742badf2
Add unit tests for load_config.py
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-07-21 19:12:11 +03:00
9c792c091e
Add error_threshold parameter, add error check after load
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-07-21 15:37:32 +00:00
49ccd47e81
Add сopies_number argument
...
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-07-21 13:38:32 +00:00
675183cd9a
Fix empty and zero values parsing part 2
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-07-21 11:46:01 +03:00
8dcfae5cb2
Fix empty and zero values parsing
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-07-20 11:00:34 +00:00
15862e5901
Add optional parameter "copies_number" in "frostfs-cli object put"
...
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2023-07-20 03:41:21 +03:00
4896abcec3
Adding code validation targets
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-07-18 20:38:37 +03:00
62216293f8
Updates for s3 k6
2023-07-14 13:05:23 +00:00
59b4157991
Added sudo parameter for getting shell with elevated rights or not
2023-07-13 12:48:34 +00:00
917dc6f6d8
add_wait_for_service_to_be_in_state
2023-07-12 09:52:26 +03:00
Yaroslava Lukoyanova
14c85e0a9e
Added verify=False to requests calls to ignore self signed SSL certificate
2023-07-07 16:41:59 +03:00
Yaroslava Lukoyanova
3050ccc9fa
Added -k parameter to curl to ignore self signed SSL certificate
2023-07-07 06:40:48 +00:00
f8409fa9f9
Change name metric Inner ring
...
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-07-05 09:21:24 +00:00
a14b082a4d
Make load things parallel
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-07-04 19:25:24 +03:00
05ac392485
Remove deleted parameter
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-06-27 17:06:01 +03:00
Yaroslava Lukoyanova
ac28df2652
Removed --bearer_rules parameter from init s3 credentials due to changes in 1.3
2023-06-27 09:25:53 +00:00
889e108be9
Update epoch align check
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-06-27 11:47:42 +03:00
182bd6ab36
Add loader and sceanrio runner interfaces, add support for local scenario
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-06-26 13:47:54 +00:00
13ea25bff5
Change s3 auth func
...
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-06-21 13:02:16 +03:00
c0f63e3783
New methods S3 client
...
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-06-19 13:39:35 +03:00
Yaroslava Lukoyanova
98f5075715
Functions for stop/start s3 gateway in cluster_state_controller
2023-06-13 12:07:21 +03:00
Yaroslava Lukoyanova
f2f3d3c8e3
Add get_data_directory function
2023-06-06 06:54:27 +00:00
26a78c0eae
New methods with nodes
...
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-06-05 14:12:42 +00:00
e3c0f76896
Proper usage for shards_watcher
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-06-02 13:08:17 +03:00
987e7f2a30
Revert "Update shards list command"
...
This reverts commit 584ba5f0d1
.
2023-06-02 13:03:28 +03:00
584ba5f0d1
Update shards list command
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-05-31 16:02:26 +03:00
2bad0f1db6
Add metabase and write_cache operations
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-05-30 16:32:38 +03:00
Yaroslava Lukoyanova
a26f8e9c80
Added wait_for_node_to_be_ready to starting stopped storage nodes
2023-05-29 14:01:57 +00:00
cc35b2e6da
Changes required to run multiple loads during one test
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-05-25 23:09:07 +03:00
123b5425a8
1. Increase wait time for k6 teardown after stop signal 2. Remove duplicated code
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-05-25 10:16:43 +00:00
32a8c5274a
Fix time block
...
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-05-25 10:16:30 +00:00
6cdeb497c0
Various updates for failover and to cases
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-05-24 11:18:19 +03:00
a34c34991f
Update payment_neogo.py
2023-05-23 13:28:52 +00:00
10468fa545
Use root to create dir and then transfer it to load user
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-05-19 12:42:18 +00:00
Yaroslava Lukoyanova
d9504697ba
Add interfaces for deleting fstree, blobovnocza and pilorama.db
2023-05-19 11:44:34 +00:00
d30d3d5cfd
make dir on prepare step
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-05-18 14:30:25 +03:00
7399cc9a8e
Bump version 2.0.0 -> 2.0.1
...
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2023-05-18 08:15:55 +00:00
70416d40c2
Add optional parameter "no wait for return" in panic_reboot_host
2023-05-18 09:55:12 +03:00
c8e527e9ec
Correct param name for skip in querry
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-05-15 17:07:17 +03:00
863a1075cd
Various fixes
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-05-15 14:23:40 +03:00
997e768e92
Move shared code to testlib
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-05-14 13:43:59 +03:00
d97a02d1d3
Add missing functions
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-03-20 16:56:14 +03:00
e73585cf50
Add morph remove node command
...
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2023-03-15 18:58:52 +03:00
f2ecce44bf
Adding timeout for more cli actions
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-03-09 11:29:48 +00:00
Aleksei Chetaev
8ed26cef7d
Fix issue with generate random string
...
Signed-off-by: Aleksei Chetaev <alex.chetaev@gmail.com>
2023-03-06 20:04:02 +01:00
Aleksei Chetaev
71b35d45c3
Fixing issues in imports after movin tests to pip install -e for testlib
...
Signed-off-by: Aleksei Chetaev <alex.chetaev@gmail.com>
2023-02-28 13:49:01 +01:00
Aleksei Chetaev
4fd9d69701
Refactoring utils with adding several new ones
2023-02-27 11:44:04 +01:00
Aleksei Chetaev
5568cbd0bf
Add new common erros templates
...
Signed-off-by: Aleksei Chetaev <alex.chetaev@gmail.com>
2023-02-27 11:44:04 +01:00
Aleksei Chetaev
8223e99ec8
Bump version 1.2.0 -> 1.3.0
...
Signed-off-by: Aleksei Chetaev <alex.chetaev@gmail.com>
2023-02-17 14:35:14 +01:00
Aleksei Chetaev
9c7c28e761
Add imports for the new modules
...
Signed-off-by: Aleksei Chetaev <alex.chetaev@gmail.com>
2023-02-17 14:35:14 +01:00
Aleksei Chetaev
44e9a8480a
Move errors patterns and check functions to testlib
...
Signed-off-by: Aleksei Chetaev <alex.chetaev@gmail.com>
2023-02-17 14:35:14 +01:00
Aleksei Chetaev
e891f3804c
Bump version 1.1.1 -> 1.2.0
2023-02-17 09:09:16 +01:00
Aleksei Chetaev
255c6b5eec
Fix issue in imports with analytics module
2023-02-17 09:09:16 +01:00
Aleksei Chetaev
004c5fb00a
Remove superfluous fields
...
Signed-off-by: Aleksei Chetaev <alex.chetaev@gmail.com>
2023-02-16 19:22:16 +03:00
Aleksei Chetaev
9021c5c0df
Add missed hints
...
Signed-off-by: Aleksei Chetaev <alex.chetaev@gmail.com>
2023-02-16 19:22:16 +03:00
Aleksei Chetaev
9d21d1c143
Implement test analitics export into TMS systems
...
Signed-off-by: Aleksei Chetaev <alex.chetaev@gmail.com>
2023-02-16 19:22:16 +03:00
Aleksei Chetaev
ad8fd930c8
Remove neoFS from comments and __doc__
...
Signed-off-by: Aleksei Chetaev <alex.chetaev@gmail.com>
2023-02-16 18:09:37 +03:00
adb06aa158
Delete neofs_test_lib path
...
Signed-off-by: Yulia Kovshova <y.kovshova@yadro.com>
2023-02-16 18:09:37 +03:00
6d3b6f0f2f
Rename neofs to frostfs
...
Signed-off-by: Yulia Kovshova <y.kovshova@yadro.com>
2023-02-16 17:26:12 +03:00
Aleskei Chetaev
0b42dbaab1
Bump version 1.1.0 -> 1.1.1
...
Signed-off-by: Aleskei Chetaev <alex.chetaev@gmail.com>
2023-02-08 10:52:10 +01:00
Aleskei Chetaev
f04ca55cde
Bump version 0.10.0 -> 1.0.0
...
Signed-off-by: Aleskei Chetaev <alex.chetaev@gmail.com>
2023-02-07 15:46:23 +01:00
a.chetaev
cea3ab5126
Change mamba version with update imports
...
Signed-off-by: Aleskei Chetaev <alex.chetaev@gmail.com>
2023-02-07 14:38:19 +01:00
54ac125f40
Bump version 0.9.0 -> 0.10.0
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-02-07 14:10:42 +03:00
11d65091ad
Service restart
...
Signed-off-by: Vladislav Karakozov <v.karakozov@yadro.com>
2023-02-07 13:27:26 +03:00
469ab4db43
1. Adding timeout control things 2. Add logs filtering
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-02-07 11:59:11 +03:00
22f73e6cde
Update hint for issue secret
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-01-20 12:57:37 +03:00
c55c0fccb0
Update rm command
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-01-19 18:27:52 +03:00
f6b128e113
Bump version 0.8.1 -> 0.9.0
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-01-13 15:59:28 +03:00
3034b70048
Add disks management commands
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-01-13 15:25:15 +03:00
5aeafecf39
Bump version 0.8.0 -> 0.8.1
...
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2022-12-08 13:13:29 +03:00
efdc7cf90a
Remove retry command execute for noninteractive Shell.exec()
...
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2022-12-08 12:11:32 +03:00
631a62eecf
Bump version 0.7.1 -> 0.8.0
...
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2022-12-06 12:19:17 +03:00
647f89459d
Add neofs-cli control shards command
...
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2022-12-06 09:27:35 +03:00
7c127d9d74
Bump version 0.7.0 -> 0.7.1
...
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2022-12-05 14:06:24 +03:00
b01a56f897
Bump version 0.6.0 -> 0.7.0
...
Signed-off-by: a.lipay <a.lipay@yadro.com>
2022-11-24 14:47:20 +03:00
977921cf49
Add cache_only param to delete_storage_node_data method
...
Signed-off-by: a.lipay <a.lipay@yadro.com>
2022-11-24 14:15:28 +03:00
f3bd1e2162
Bump version 0.5.0 -> 0.6.0
...
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2022-11-22 17:25:27 +03:00
04bc5a76fe
Update session usages for object cli api
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2022-11-22 16:52:26 +03:00
9b00f89798
Add expire-at flag to object lock command
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2022-11-22 14:20:16 +03:00
90c5d9a28a
Bump version 0.4.0 -> 0.5.0
...
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2022-11-18 10:26:27 +03:00
8b9706e777
Add wallet_password param for NeofsAuthmateSecret
...
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2022-11-18 10:16:49 +03:00
520cfe3bba
Fix dump_keys function. Address argument is optional
...
Signed-off-by: a.lipay <a.lipay@yadro.com>
2022-11-17 14:24:03 +03:00
841a61fc30
Add unit tests for utils
...
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2022-11-10 18:25:18 +03:00
cbfcbb559c
fix interactive ssh and tests
...
Signed-off-by: a.lipay <a.lipay@yadro.com>
2022-11-09 22:05:22 +03:00
8016ad4b86
Bump version 0.3.0 -> 0.4.0
...
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2022-11-03 22:05:07 +03:00
c6603dbf84
Add option to skip log output to logger
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2022-11-03 12:25:47 +03:00
af10bbfea6
Bump version 0.2.2 -> 0.3.0
...
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2022-10-31 14:10:37 +03:00
9af8f89305
Add storagegroup, session and sign in neofs_cli lib
...
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2022-10-31 14:10:11 +03:00
b50c4cba7b
Bump version 0.2.1 -> 0.2.2
...
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2022-10-26 16:48:32 +03:00
aebec54495
Add keywords helpers
...
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2022-10-26 16:34:41 +03:00
c05ed650c5
Bump version 0.2.0 -> 0.2.1
...
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-10-17 15:34:58 +04:00
a79b608b4b
Fix hanging of ssh shell
...
SSH shell was hanging while waiting for remote process exit code. The
hanging occurs when stdout/stderr contain large amount of data. The fix
changes how we read the data and how we wait for remote process's exit
code.
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-10-17 15:34:58 +04:00
13301fe52e
Bump version 0.1.0 -> 0.2.0
...
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-10-14 16:36:29 +04:00
a750dfd148
[ #9 ] Implement hosting package
...
Package defines interface for host management and provides implementation
for docker host (local or remote). Other hosts can be added via plugins.
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-10-14 16:36:29 +04:00
834ddede36
[ #5 ] Remove testlib config file support
...
In order to make library as flexible as possible we will try to use
configuration methods similar to function `logging.dictConfig` from the
standard library. So, we won't support configuration file
`.neofs-testlib.yaml`, but will allow users to call `configure` method
that will load plugins and initialize library components.
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-10-07 15:05:48 +04:00
c5ff64b3fd
[ #5 ] Implement plugin-based system for reporter
...
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-10-07 15:05:48 +04:00
655a86a5b0
Implement neofs-cli lib
...
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2022-10-06 10:41:32 +03:00
d3f51ee398
[ #7 ] Add contribution guideline with code style
...
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-10-06 10:59:26 +04:00
3df12e2869
[ #3 ] Add tools required to build PyPI package
...
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-09-28 13:10:35 +04:00
f5cd6a1954
[ #3 ] Move source code of testlib to src directory
...
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-09-28 13:10:35 +04:00