Commit graph

247 commits

Author SHA1 Message Date
5ae49c283a Fix endpoint parameter. 2022-07-25 18:47:16 +03:00
a.y.volkov
d7db9795b0 Add storage nodes health check before tests run.
Signed-off-by: a.y.volkov <a.y.volkov@yadro.com>
2022-07-25 09:01:40 +03:00
5b613c2487 Increase timeout for create_bucket as it fails periodically. 2022-07-21 23:19:22 +04:00
459581004d Increase wait time as it seems to take more time for complex object. 2022-07-21 23:16:17 +04:00
39ad4e53a4 Fix test name. 2022-07-21 22:29:10 +04:00
65b1b251a5 Remove redundant environment variables. 2022-07-21 22:29:10 +04:00
12eeaa9f5b Fix logic that checks presense of node in netmap.
We are now checking by node's public key as it is represented in netmap.
2022-07-21 22:29:10 +04:00
b52d725d05 Add delays to http gateway tests.
Waiting for GC pass is driven by system design.
Waiting after HTTP upload is just termporary workaround.
2022-07-21 22:29:10 +04:00
8167c1ccd5 Add logic that deletes all objects versions from versioned s3 bucket.
This is required per AWS S3 specification.
2022-07-21 22:28:42 +04:00
e4a3f45a10 Fix assert that checks presence of node in netmap.
We should be looking for node host rather than for node name that we assigned in tests code.
2022-07-21 16:25:17 +04:00
6d23a5e6e9 Fix object lifetime tests.
We should wait for GC pass on storage nodes.
2022-07-21 16:12:30 +04:00
6545f37c9b Fix ssh connection for sbercloud. 2022-07-20 14:47:20 +04:00
bed41402ee Increase timeouts for operations that sporadically fail. 2022-07-19 22:52:19 +04:00
254778eec8 Remove ssh key from sbercloud config, it is not needed there. 2022-07-19 15:08:29 +04:00
e891286735 Fix call to control endpoint for remote devenv. 2022-07-18 18:46:31 +04:00
c42d7e4a07 Fix control endpoint port. 2022-07-18 16:21:01 +04:00
72e3292b51 Fix node management tests. 2022-07-18 12:50:03 +04:00
69b3061a90 Fix call to storage node control endpoint with overriding storage wallet path. 2022-07-18 11:06:25 +04:00
72cd1f4893 Fix SSH connection to storage node in node management tests. 2022-07-18 11:05:50 +04:00
b1746f3eeb Fix config generation for sbercloud. 2022-07-18 10:56:06 +04:00
d7a93ee8bd Try fix failovers tests 2022-07-18 10:55:51 +04:00
276dc523e9 Adjust path to wallets in neofs-adm config when preparing configuration. 2022-07-18 10:53:17 +04:00
7f6cd8e3b0 Try fix failovers tests 2022-07-18 10:52:30 +04:00
dbf679bfbc Add build number to container name per Artem's request. 2022-07-18 10:50:18 +04:00
5a4ea4daad Fix path to alphabet wallets in sbercloud run. 2022-07-18 10:49:28 +04:00
a16576dbdc Added more allure logs for failovers 2022-07-18 10:46:33 +04:00
378456e6d4 Add markers for failover tests so that we can ignore them in particular environment. 2022-07-18 10:46:33 +04:00
c5085f6b47 Fix SberCloud Failovers 2022-07-18 10:46:33 +04:00
01aeacde09 Tick epoch using neofs-adm when running UAT. 2022-07-18 10:46:33 +04:00
c257a01af1 Set free storage flag for sbercloud tests. 2022-07-18 10:46:33 +04:00
6d9a135042 Add sbercloud prepare action. 2022-07-18 10:46:33 +04:00
67394c0788 Fix prepare_wallet_and_deposit fixture 2022-07-18 10:46:33 +04:00
4eceb6ba82 Fix generate_file fixture 2022-07-18 10:46:33 +04:00
c8abcab2a8 Fix moment when temp_dir fixture is invoked. 2022-07-18 10:46:33 +04:00
5a7f85ca76 Update docker image for test execution. 2022-07-18 10:46:33 +04:00
31eab0ffcc Add makefile target to setup tests to run against remote devenv. 2022-07-18 10:46:33 +04:00
26ccd9b194 Add soft reboot test 2022-07-18 10:46:33 +04:00
8d1951a3be Add test_panic_storage_node 2022-07-18 10:46:33 +04:00
6b34e6f5ef Add failovers test for storage node on SberCloud infr 2022-07-18 10:46:33 +04:00
a0677d1349 Get rid of DEV_ENV_SERVICES variable. 2022-07-18 10:46:33 +04:00
ff2ece942e Fix passing flag into container get command. 2022-07-18 10:46:33 +04:00
7473d7fb74 Make paths to wallets configurable.
Make devenv services path configurable.
2022-07-18 10:46:33 +04:00
cd53f48c15 Post-rebase fixes. 2022-07-18 10:46:33 +04:00
7f0dcbfdca Fix node management tests.
Remote connection was created to the 1st storage node only.
In reality we wanted to create connection to specific node.
2022-07-18 10:46:33 +04:00
0daa262fdb Add parameter S3_GATE_PUB_KEY.
This enables us to test s3 gateway in real environment, not just in devenv.
2022-07-18 10:46:33 +04:00
7e9e5e88ec Update variable names for storage node endpoints. 2022-07-18 10:46:33 +04:00
afa5a7be5a Skip tests that start/stop nodes via Docker API.
This works for devenv only and won't work for a real deployment.
2022-07-18 10:46:33 +04:00
73036200d8 Update variables for node management tests:
1. To configure path of CLI binaries and config file on storage node.
2. Change prefix from CONTROL_NODE to STORAGE_NODE.
2022-07-18 10:46:33 +04:00
7eb7655b10 Update pytest test suites.
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-07-18 10:46:33 +04:00
anastasia prasolova
dddffdc95a updated requirements.txt for venv.localtest
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-07-15 17:04:42 +03:00