1. Add netmap command to NeofsCli wrapper.
2. Update node_management steps to use netmap.snapshot method instead of
deprecated "neofs-cli control netmap-snapshot" command.
3. Switch node's public key in netmap from base58-encoding to hex-encoding.
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
Installation of iptables was implemented in environment preparation pipeline and tests
do not need to worry about it.
Removed conditions that were checking pytest mode vs robot mode, because we got rid of
robot tests in this branch of codebase.
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
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>
Few small fixes were made:
- Fix path to binaries on storage node in cloud env.
- Add logic to prepend ssh command with sudo.
- Make re-encoding of homomorphic hash conditional.
- Increase ssh timeout.
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
Formatting has been changed in CLI tools in version v0.30 and it required us to
change logic in tests:
- Fix authmate output parsing.
- Fix format of container name in assert.
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
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>
Add logic that deletes all objects versions from the bucket before attempting to
delete the bucket itself. This is required per AWS S3 specification.
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
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>
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>
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>
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>
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>
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>
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>