Replace service_helper with hosting class from the testlib.
Instead of invoking commands on remote via ssh_helper, we now use
shell from the hosting.
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
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>