6d040c6834
Add ACL and eACL PyTest tests
...
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2022-08-25 14:06:21 +03:00
0ca45d1ba8
Rename variable for GC waiting
...
We need just an aggregate variable that allows to wait until GC pass occurs on
a storage node, rather than a variable for specific shard. Also, we need to account
for a time that GC session itself takes.
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-08-18 14:01:33 +04:00
f9ba463d2e
Refactor container tests
...
Use wellknown ACL constants.
Remove 0x prefix from ACL, because neofs CLI changed formatting.
Remove redundant comments.
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-08-18 14:01:33 +04:00
a.y.volkov
9fea2efe83
Check binaries versions
...
Signed-off-by: a.y.volkov <a.y.volkov@yadro.com>
2022-08-15 18:49:05 +04:00
91197335ba
Add tests that start or stop services on remote vm
...
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-08-15 18:49:05 +04:00
47c55f0060
Remove redundant variables
...
Small refactoring that includes:
- Removed variables that are not used any more.
- Cleanup in helper functions' names.
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-08-05 13:31:17 +03:00
d701e2cb62
Remove redundant environment variables
...
Along with that few tweaks were made:
- Increase wait time as it seems to take more time for complex object.
- Increase timeout for create_bucket as it fails periodically.
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-08-05 13:29:31 +03:00
2c232c222c
Fix node management tests
...
When we call storage node's control endpoint we need to override storage wallet path.
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-08-05 13:29:31 +03:00
ab85389d59
Use neofs-adm to tick epoch
...
This is a more convenient way to tick epoch when we have multiple moprh blockchain nodes.
Approach that we use in devenv would require multi-signed transaction which is cumbersome.
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-08-05 13:29:31 +03:00
f60020f5aa
Fix usage of temp_dir fixture
...
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-08-05 13:29:31 +03:00
014a1fee95
Enable configuration of wallets directories
...
Add new variables to common.py that allow:
- Make paths to wallets configurable.
- Make devenv services path configurable.
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-08-05 13:29:31 +03:00
be39480ade
Fix node management tests
...
Remote connection was created to the 1st storage node only. While in reality
we want to create connection to a specific node.
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-08-05 13:29:30 +03:00
68cbb7deea
Update variables for node management tests
...
New variables allow us:
1. To configure path of CLI binaries and config file on storage node.
2. Update variable names for storage node endpoints.
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-08-05 13:29:30 +03:00
d9d74baa72
Add test suites for acl, container and node management
...
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
commit f7c68cfb423e3213179521954dccb6053fc6382d
Merge: e234b61 99bfe6b
Merge branch 'avolkov/add_ssh' into internal_tmp_b
commit 99bfe6b56cd75590f868313910068cf1a80bd43f
Tick one more epoch.
commit bd70bc49391d578cdda727edb4dcd181b832bf1e
Start nodes in case of test fail.
commit b3888ec62cfc3c18b1dff58962a94a3094342186
Catch json decode error.
commit c18e415b783ec3e4ce804f43c19246240c186a97
Add ssh-key access.
commit 7dbdeb653b7d5b7ab3874b546e05a48b502c2460
Add some tests.
commit 844367c68638c7f97ba4860dd0069c07f499d66d
Add some tests for nodes management.
commit 1b84b37048dcd3cc0888aa54639975fc11fb2d75
Add some tests for nodes management.
commit b30c1336a6919e0c8e500bdf2a9be3d5a14470ea
Add ssh execution option.
commit 2df40eca74ee20bd668778715185ffddda63cb05
Change AWS cli v1 to cli v2.
commit 7403da3d7c2a5963cfbb12b7c0f3d1d641f52a7e
Change AWS cli v1 to cli v2.
commit b110dcdb655a585e6c53e6ebc3eae7bf1f1e792f
Change AWS cli v1 to cli v2.
commit 6183756a4c064c932ee193c2e08a79343017fa49
Change AWS cli v1 to cli v2.
commit 398006544d60896faa3fc6e6a9dbb51ada06759c
Fix container run.
commit e7202136dabbe7e2d3da508e0a2ec55a0d5cb67a
Added tests with AWS CLI.
commit 042e1478ee1fd700c8572cbc6d0d9e6b312b8e8d
Fix PR comments.
commit e234b61dbb9b8b10812e069322ab03615af0d44e
Add debug for env.
commit 14febd06713dc03a8207bb80384acb4a7d32df0e
Move env variables for pytest docker into env file.
commit bafdc6131b5ac855a43b672be194cde2ccf6f75b
Move env variables for pytest docker into env file.
commit 27c2c6b11f51d2e3c085d44b814cb4c00f81b376
Move env variables for pytest docker into env file.
commit e4db4948978e092adb83aeacdf06619f5ca2f242
Merge branch 'master' into avolkov/try_pytest
commit c83a7e625e8daba3a40b65a1d69b2b1323e9ae28
WIP.
commit 42489bbf8058acd2926cdb04074dc9a8ff86a0a0
Merge branch 'avolkov/try_pytest' into internal_tmp_b
commit 62526d94dc2bf72372125bea119fa66f670cf7e1
Improve allure attachments.
commit 4564dae697cb069ac45bc4ba7eb0b5bbdcf1d153
Merge branch 'avolkov/try_pytest' into internal_tmp_b
commit ab65810b23410ca7382ed4bdd257addfa6619659
Added tests for S3 API.
commit 846c495a846c977f3e5f0bada01e5a9691a81e3d
Let's get NEOFS_IR_CONTRACTS_NEOFS from env.
commit c39bd88568b70ffcb76b76d68531b17d3747829d
Added S3 test for versioning.
commit d7c9f351abc7e02d4ebf162475604a2d6b46e712
Merge remote-tracking branch 'origin/avolkov/try_pytest' into internal_tmp_b
commit bfbed22a50ce4cb6a49de383cfef66452ba9f4c1
Added some tests for S3 API and curl tests for HTTP.
commit 1c49def3ddd0b3f7cf97f131e269ad465c70a680
Add yadro submodule
commit 2a91685f9108101ab523e05cc9287d0f5a20196b
Fix.
commit 33fc2813e205766e69ef74a42a10850db6c63ce6
Add debug.
commit aaaceca59e4c67253ecd4a741667b7327d1fb679
Add env variables for data nodes.
commit 001cb26bcc22c8543fb2672564e898928d20622b
Merge: b48a87d c70da26
Merge branch 'avolkov/try_pytest' into tmp_b
commit b48a87d9a09309fea671573ba6cf303c31b11b6a
Added submodule
commit c70da265d319950977774e34740276f324eb57a7
Added tests for S3 bucket API.
commit 3d335abe6de45d1859454f1ddf85a97514667b8f
Added tests for S3 object API.
commit 2ac829c700f5bc20c28953f1d40cd953fed8b390
flake8 changes for python_keywords module.
commit 2de5963e96b13a5e944906b695e5d9c0829de9ad
Add pytest tests.
commit 4472c079b9dfd979b7c101bea32893c80cb1fe57
Add pytest tests.
Signed-off-by: a.y.volkov <a.y.volkov@yadro.com>
2022-08-05 13:29:30 +03:00
Elizaveta Chichindaeva
da9b723498
[ #246 ] Get pubkey
...
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-07-25 18:06:56 +03:00
84230d12e3
Replace prepare_container*** fixtures with a function.
...
The change is motivated by variety of standard ACLs that will be hard to manage with set of fixtures.
Remove logic that initializes wallet from remote devenv host.
This setup action should be handled outside tests.
Add ability to establish SSH connection using SSH key instead of password.
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-07-14 10:02:28 +03:00
6e23e7d454
Simplify test checks and fixtures:
...
Remove default SSH key path.
Replace multiple fixtures for file generation with single function.
Rename references to keyword modules.
Update pytest test cases to be consistent with new keywords.
Remove gas balance checks from container operations.
Add logic to run initial gas transfer only if storage is not free.
Remove robot testsuites for s3 and http gateways.
S3 and http tests are covered and will be maintained in the future in pytest.
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-07-08 17:45:32 +03:00
a.y.volkov
8acf738147
Remove dockerfile and removed docker run command from Makefile to keep testcases environment agnostic.
...
Add logic to retrieve mainnet wallet file from control node as WIF for this wallet is not available in config anymore.
Signed-off-by: a.y.volkov <a.y.volkov@yadro.com>
2022-07-08 17:45:32 +03:00
anastasia prasolova
82139e30a0
small fixes after [ #237 ]
...
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-06-29 16:30:45 +03:00
Elizaveta Chichindaeva
c8a5a63791
[ #189 ] Remove wif from the output of Get Control Endpoint
...
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-06-28 14:57:31 +03:00
anastasia prasolova
a56734ed93
part of [ #194 ]
...
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-06-14 00:03:53 +03:00
a.y.volkov
0e27ea02c1
Some linter fixes.
...
Signed-off-by: a.y.volkov <a.y.volkov@yadro.com>
2022-06-09 16:12:55 +03:00
Elizaveta Chichindaeva
6de6af81c7
[ #218 ] Object Size defined in int
...
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-05-24 16:53:48 +03:00
anastasia prasolova
d940fe9573
storage group operations moved from neofs.py; storage group tests
...
refactored
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-05-16 14:20:31 +03:00
Elizaveta Chichindaeva
89a4c6daa7
[ #424 ] neofs-cli: WIF replaced with wallets
...
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-04-27 17:38:15 +03:00
Elizaveta Chichindaeva
e5d6662905
[ #162 ] eACL: Create eACL with neofs-cli
...
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-03-25 14:57:01 +03:00
anastasia prasolova
d66ae5b7fc
Refactored Head object
operation: removed placeholders for optional
...
parameters; JSON output set as a default
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-03-22 16:43:24 +03:00
23ed8966ec
robot: Use hyphens in hostnames ( #175 )
...
Signed-off-by: Evgenii Stratonikov <evgenii@nspcc.ru>
Co-authored-by: Evgenii Stratonikov <evgenii@nspcc.ru>
2022-03-04 16:37:24 +03:00
anastasia prasolova
e7dde52a31
[ #128 ]: mainnet block time adjusted to devenv
...
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-02-17 18:22:15 +03:00
Elizaveta Chichindaeva
38e6776fc1
[ #105 ] Change common ACL constants
...
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2021-12-30 18:27:13 +03:00
Elizaveta Chichindaeva
18c30c39ff
[ #334 ] Move common_steps*
...
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2021-12-10 19:24:17 +03:00
Elizaveta Chichindaeva
8a2f1cf50c
[ #64 ] Create container_session_token.robot test
...
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2021-12-10 16:40:15 +03:00
Elizaveta Chichindaeva
d6a73a2b23
[ #103 ] Test to check eACL filter keys for objects
...
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2021-11-24 16:54:00 +03:00
Elizaveta Chichindaeva
dcab3a5745
[ #115 ] Sticky Bit with SYSTEM group
...
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2021-11-22 12:13:22 +03:00
Elizaveta Chichindaeva
42ba6ac462
( #122 ) neofs-cli control drop-objects test case
...
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2021-10-11 11:40:52 +03:00
Anatoly Bogatyrev
1fe540fce9
Add replication test with deny eACL ( #133 )
...
* Add replication test with deny eACL
2021-10-07 14:28:31 +03:00
Elizaveta Chichindaeva
636eb65e5c
( #93 ) Add netmap_control.robot; fix resources for netmap tets; remove _get_storage_nodes
...
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2021-09-30 19:32:04 +03:00
anastasia prasolova
54835b5ee5
changed pythonpath for virtualenv; shortened test libraries imports
...
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-09-28 13:58:08 +03:00
anastasia prasolova
19f9d97328
( #102 ): neofs-cli accounting balance test
...
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-09-10 15:03:29 +03:00
anastasia prasolova
be281428b5
Waiting for container to appear in network; decrease complex object size
...
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-09-03 13:28:12 +03:00
EliChin
fe99c143aa
( #87 ) Service tests update
...
Signed-off-by: EliChin <elizaveta@nspcc.ru>
2021-09-01 16:58:22 +03:00
EliChin
ea6a01b3de
( #97 ) Common ACL variables
...
Signed-off-by: EliChin <elizaveta@nspcc.ru>
2021-08-31 12:55:33 +03:00
anastasia prasolova
11c4f21faa
Few test fixes
...
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-08-31 12:32:28 +03:00
EliChin
cc9780f4c5
Set common placement rule
...
Signed-off-by: EliChin <elizaveta@nspcc.ru>
2021-08-25 15:28:33 +03:00
EliChin
1c2fd5cead
( #37 ) Test networkinfo_rpc_method.robot
...
Signed-off-by: EliChin <elizaveta@nspcc.ru>
2021-07-14 14:20:06 +03:00
anastasia prasolova
0736cae28c
move to python3.8
...
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-07-12 19:12:27 +03:00
anastasia prasolova
a3f7583706
static eacl tables
...
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-06-25 11:52:30 +03:00
anastasia prasolova
28af257f8f
( #66 ) TEMP_DIR -> ASSETS_DIR
...
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-06-18 18:15:43 +03:00
anastasia prasolova
8d50305982
"Neofs Deposit" moved to keywords repo and changed its signature
...
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-06-17 13:26:27 +03:00
anatoly-bogatyrev
e0b0cbf823
Update testcases for NeoFS 0.20.0 version and fix issues ( #62 )
...
* update testcases for NeoFS 0.20.0 version
* fix issues
2021-05-26 17:14:46 +03:00