Commit graph

415 commits

Author SHA1 Message Date
e5093bf6ac Remove pytest hooks 2023-11-02 14:06:25 +03:00
975d06de40 Add sanity marks
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2023-11-02 13:58:16 +03:00
aab8b07726 Add time test
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-11-02 08:43:22 +00:00
3944d9ff3b update test_container_creation_deletion_parallel 2023-11-01 10:43:43 +03:00
ae57672c7d [#129] Updates for failover
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-10-31 14:28:44 +03:00
e8289a3f83 Update check Policy: REP 1 IN SPB REP 1 IN MSK REP 3 2023-10-27 16:21:46 +03:00
00f312dab9 Update check filters results with 25% node the object appearance 2023-10-27 13:19:34 +03:00
eee02d1346 Update check filters results with 50% node the object appearance 2023-10-26 16:14:30 +00:00
e7e963b1a1 Delete non actual policy test
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-10-26 10:37:54 +03:00
6749245206 Add fixture skip test interfaces
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-10-25 14:10:59 +00:00
d986fe2fb6 [#124] Use CSC in case of node shutdown
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-10-25 13:15:54 +00:00
6128468310 Update check filters results with 75% node the object appearance 2023-10-25 11:01:50 +03:00
69202cc703 Add test down interfaces
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-10-24 12:42:01 +00:00
009f2876a2 Update check filters results with 100% node the object appearance 2023-10-24 11:43:53 +03:00
c5f6d6cf2b [#120] increase 1sec wait to 15sec
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-10-23 19:42:23 +03:00
f159cd89f3 [#118] Add after-deploy healthcheck
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-10-23 15:04:41 +00:00
283149f837 Update check filters results with unique node the object appearance 2023-10-23 17:11:53 +03:00
af50be78e6 Update check filters results with one node the object appearance 2023-10-23 16:13:10 +03:00
cbbbc686f4 Update simple check the object appearance 2023-10-23 08:30:18 +00:00
b72f6daeb7 [#115] Make logs gathering parallel and in single command
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-10-20 18:50:02 +03:00
ad1254b4f3 [#113] Add new pattern
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-10-20 12:35:32 +03:00
2564f7421e Add test down all data interfaces
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-10-19 10:04:22 +00:00
bcc61303df Update placement rule 2023-10-18 14:57:52 +03:00
6b8800760d Add policy REP 1 IN SPB REP 1 IN MSK REP 3 2023-10-18 13:54:58 +03:00
5eae65b471 Add negative policy tests 2023-10-18 13:08:15 +03:00
78b0fd5b2a Update policy tests 2023-10-17 11:28:09 +00:00
20d6510c3a Add small fix and delete test
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-10-13 11:52:42 +03:00
adfd6854f8 Add network internal interface test
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-10-12 10:30:13 +03:00
b3c24828d3 [#103] Make allure treat same test differently 2023-10-10 16:17:56 +00:00
1d22162d2f Add network data interface test
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-10-10 16:39:24 +03:00
c4f4e637fa [#101] add request to proper work
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-10-06 12:13:10 +03:00
38d1bdbf83 [#100] Make special test distinct 2023-10-05 19:05:34 +03:00
b01fff85f6 Delete split-brain test
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-10-04 08:27:52 +00:00
4f78085b44 Add await mode for delete container
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-10-03 09:45:19 +03:00
f70dfd310e [#97] Use shards config path
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-10-02 07:49:44 +00:00
07debbb1ca [#96] Move healthcheck to function level
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-09-29 16:16:06 +03:00
7c788057db Fix empty map tests
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2023-09-27 18:28:56 +03:00
a0ea180aa9 add policy 2023-09-25 13:59:17 +00:00
73a9c95704 Attach ACL wallets to allure
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-09-21 19:49:31 +03:00
d38e05c100 Fix teardown for network test
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-09-19 14:35:21 +00:00
2a1d40680a Add new fixture
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-09-19 08:35:27 +00:00
ed15485b72 Add new fixture
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-09-19 08:35:27 +00:00
3021805f7e Fix tests title
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-09-11 16:59:06 +03:00
1cd077fdf3 Update test titles to conform standard 2023-09-08 10:42:47 +00:00
4d2e27a317 Fix policy
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-09-07 13:40:42 +03:00
967f4f37d9 Change file_pith fixture and change title test acl
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-09-07 08:59:03 +00:00
28a7748398 Update regex to skip panic in OID and CID
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-09-06 17:13:26 +03:00
3455c5360d add 2 cases for test object lock 2023-09-01 09:06:46 +00:00
9456a0bb28 Update regex to catch more errors 2023-08-30 11:32:59 +00:00
841d6674f6 Update fixtures to be properly reflected in the allure report 2023-08-29 16:43:16 +03:00
ee110e5baf change hostname
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-08-24 08:30:31 +03:00
da31a82126 Add replace in assert policy and fix policy
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-08-17 11:54:13 +03:00
e70532d6e0 New test Split Brain
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-08-16 11:53:14 +03:00
Yaroslava Lukoyanova
4a17bc7b9c Marked HTTP GW cases with PUT call with separate pytest mark 2023-08-09 08:08:23 +00:00
247bc5ba8d Update name for missed S3 test 2023-08-08 14:56:46 +03:00
Yaroslava Lukoyanova
0ae0cee522 Small fixes and skips for http gw test cases 2023-08-07 14:46:38 +00:00
e0a9d687f2 Update test titles for most cases 2023-08-07 12:43:16 +03:00
d40e875091 regex for versions ready 2023-08-04 09:49:59 +00:00
6449264dcf Changes for object size usage
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-08-02 14:54:03 +03:00
05b5f7d133 Mark replication test as failover and add fixture to return nodes 2023-07-31 12:27:12 +03:00
63c4ac5ac6 Add simple replication test
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2023-07-28 08:29:32 +00:00
49e1019a2c Fix method name
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-07-27 12:05:49 +03:00
Yaroslava Lukoyanova
0e1d34b2f7 Added http hostname as a header to all http calls 2023-07-25 14:08:26 +03:00
Yaroslava Lukoyanova
89a31a695b Skipped HTTP GW cases with PUT 'cause of feature deprecation 2023-07-24 06:56:29 +00:00
f4a267fe81 Changed fixture restore network
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-07-12 12:05:36 +03:00
dc13252ff2 Add logs
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-06-27 15:39:00 +00:00
Yaroslava Lukoyanova
d97d852940 Deprecated bearer-rules parameter 2023-06-26 17:23:29 +03:00
79a60c5e5b Temp disable curl upload for complex objects
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-06-23 17:50:18 +03:00
5acf19592a Fix s3_client fixture
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-06-22 10:30:09 +00:00
ead55f657f Delete object after put to container
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-06-19 07:43:48 +03:00
01f4c5217d Delete wait replication steps for tests
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-06-15 09:11:19 +03:00
Yaroslava Lukoyanova
c2cd9ba887 Added case for not ignoring unhealthy tree endpoints 2023-06-14 08:28:39 +00:00
6f77a6ab08 Fix test shutdown node
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-06-09 09:21:56 +03:00
Yaroslava Lukoyanova
dd7f91e66b Add case for loss of pilorama on one node 2023-06-05 10:39:36 +03:00
Yaroslava Lukoyanova
c071f54b56 Add test case for loss of one node 2023-06-01 14:24:48 +03:00
a0587438c4 Add write-cache loss test
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-05-31 18:31:35 +03:00
27cf9bb1bd Add metabase loss test 2023-05-30 16:45:23 +03:00
Yaroslava Lukoyanova
d0660d626b Fixture for restore stopped storage nodes in test_failover_storage 2023-05-29 17:50:02 +00:00
Yaroslava Lukoyanova
e36e18dc57 Fixed typo in test_s3_delete_versioning case assertion 2023-05-25 15:58:04 +00:00
Yaroslava Lukoyanova
8d50407439 Add pilorama loss test cases, marked as skipped 2023-05-23 17:42:52 +03:00
Yaroslava Lukoyanova
520f9fe5b5 Add test cases for S3 blobovnicza and fstree loss 2023-05-19 12:41:57 +00:00
2d174831ab Add wait block for tick epoch and add version testlib
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-05-19 15:30:29 +03:00
5be478e577 Test for invalid location constraint
Signed-off-by: Liza <e.chichindaeva@yadro.com>
2023-05-18 13:49:48 +00:00
856e5afa60 [#41] lifetime: Fix lifetime test
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-05-17 12:33:04 +03:00
8a3d617c19 Fix tests
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-05-15 20:20:27 +03:00
c77123f301 Move shared code to testlib
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-05-15 12:59:33 +03:00
Yaroslava Lukoyanova
b13f0ec33d Added new test cases for s3 gate, delete marker feature 2023-05-12 08:48:28 +00:00
cbe8847231 Node argument made optional for epoch ticks
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-05-10 11:53:47 +03:00
a6e1190f23 Add tests for node shutdown and object replication integrity
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-05-05 08:18:46 +00:00
bbf9ea7143 Use proper name for binary
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-05-03 16:23:05 +03:00
532d58abc7 Add check for Errors while deleting objects 2023-05-02 11:11:35 +03:00
e86ed765b1 Add test for putting object while one node is stopped
Signed-off-by: Liza <e.chichindaeva@yadro.com>
2023-04-20 17:40:30 +03:00
1e6d3e77f9 Divide test_expiration_epoch_in_http into several (parametrized)
Two tests now checks if an expired object can be got.
X-Attribute-System-Expiration-Epoch -> X-Attribute-System-Expiration-Epoch
python3.9 -> 3.10 in .pre-commit-config.yaml

Signed-off-by: Liza <e.chichindaeva@yadro.com>
2023-04-13 14:19:15 +03:00
520ac116df Update multipart upload abort test
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-04-06 21:47:08 +03:00
d355eccfd8 Add deletion 1001 objects test
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-04-05 19:02:42 +03:00
b995bfca41 Fix s3 tests
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-03-29 19:59:14 +03:00
4779d2be88 update headers names
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-03-27 19:49:41 +03:00
5684d11408 Fix dataloss test
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2023-03-24 13:54:08 +00:00
bb831697f7 [#25] testcases: Fix test_static_session_search
Lists should be compared sorted
Enable test after bugfix

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-03-21 16:19:01 +03:00
2b950f41cd Add test cycles feature
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-03-20 19:03:29 +03:00
eb464f422c Add tests with empty map
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2023-03-17 17:15:01 +03:00
c3947b0716 Remove payments and storagegroupe tests
Signed-off-by: Liza <e.chichindaeva@yadro.com>
2023-03-14 14:46:25 +00:00
c97855dcee Fix __FROSTFS__EXPIRATION*
Signed-off-by: Liza <e.chichindaeva@yadro.com>
2023-03-14 16:24:29 +03:00
c997e23194 Updates for testcases
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-03-14 12:21:40 +03:00
cff0e0f23e Update session token tests related to expiration rules
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-03-13 17:05:24 +03:00
06dc226ef8 Add timeout for cli commands
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-03-09 14:41:38 +03:00
ac7dae0d2d Add timeout for cli commands
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-03-09 14:13:51 +03:00
4755a2e167 import fix for some helpers and steps
Signed-off-by: Liza <e.chichindaeva@yadro.com>
2023-03-01 18:47:33 +03:00
Aleksei Chetaev
cb1b0c9bdd Fix issue with frostfs-authmate binnary name
Signed-off-by: Aleksei Chetaev <alex.chetaev@gmail.com>
2023-02-28 11:48:06 +01:00
Aleksei Chetaev
aa145357f3 Fixing path to DevEnv
Signed-off-by: Aleksei Chetaev <alex.chetaev@gmail.com>
2023-02-28 11:48:06 +01:00
Aleksei Chetaev
1fb08e36c3 Fixing comments changed by auto replace imports
Signed-off-by: Aleksei Chetaev <alex.chetaev@gmail.com>
2023-02-28 11:48:06 +01:00
Aleksei Chetaev
ee0c2527f7 Change python to 3.10
Signed-off-by: Aleksei Chetaev <alex.chetaev@gmail.com>
2023-02-28 11:48:06 +01:00
Aleksei Chetaev
52001dc23a Change all imports to imports from root and remove robot
Signed-off-by: Aleksei Chetaev <alex.chetaev@gmail.com>
2023-02-28 11:48:06 +01:00
Aleksei Chetaev
13bc98eecc Fixing imports after move utils ti frostfs-testlib
Signed-off-by: Aleksei Chetaev <alex.chetaev@gmail.com>
2023-02-27 11:44:19 +01:00
Aleksei Chetaev
d253e8f5fd Remove non used files from the repo 2023-02-27 11:44:19 +01:00
Aleksei Chetaev
7a742d57fc Move errors templates to testlib
Signed-off-by: Aleksei Chetaev <alex.chetaev@gmail.com>
2023-02-27 11:44:19 +01:00
19809c5641 Rename to frostfs
Signed-off-by: Yulia Kovshova <y.kovshova@yadro.com>
2023-02-17 16:31:07 +03:00
Aleskei Chetaev
9395a8003f Add assert_s3_acl
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2023-02-16 11:53:39 +03:00
850c0e77ec Remove wait_for_success for start/stop service methods
Signed-off-by: Vladislav Karakozov <v.karakozov@yadro.com>
2023-02-07 12:29:39 +03:00
fc6f9ac162 Update expected errors
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-01-24 13:26:50 +03:00
baf0b4dd0f Add waiting for epoch align for storage group lifetime test
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-01-16 15:45:22 +03:00
c6ebe1d67d align all nodes to be in the same epoch
Signed-off-by: Vladislav Karakozov <v.karakozov@yadro.com>
2023-01-13 19:08:08 +03:00
a942464de6 Fix epoch duration in http test
Signed-off-by: Vladislav Karakozov <v.karakozov@yadro.com>
2022-12-30 13:40:10 +03:00
690323e85d http test with bearer token
Signed-off-by: Vladislav Karakozov <v.karakozov@yadro.com>
2022-12-29 12:42:03 +03:00
ced72602ef Add too many open files to logs analyzer
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2022-12-29 11:28:24 +03:00
4099413577 #478 Update lock tests
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2022-12-28 11:27:19 +03:00
1abf544433 Add support data and internal ips
Signed-off-by: Yulia Kovshova <y.kovshova@yadro.com>
2022-12-28 11:26:22 +03:00
4f9294918d add system http system header test
Signed-off-by: Vladislav Karakozov <v.karakozov@yadro.com>
2022-12-28 10:10:13 +03:00
6209a61258 Unskip static session token tests
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2022-12-27 11:28:29 +03:00
Мария Малыгина
ad2eafd230 [fix] s3 load
Signed-off-by: Мария Малыгина <m.malygina@MacBook-Pro-Maria.local>
2022-12-26 18:08:22 +03:00
2151f0e446 Add await to delete container
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2022-12-26 17:30:36 +03:00
422636f68b Updates for local dev env runs
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2022-12-23 12:18:37 +03:00
5c4f6b6a7d new http test
Signed-off-by: Vladislav Karakozov <v.karakozov@yadro.com>
2022-12-21 17:07:29 +03:00
a2a234f1b2 Update range tests
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2022-12-20 11:26:51 +03:00
4f5aedebfe Fix wildcard flag value
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2022-12-16 15:17:02 +03:00
c7f832e77a Fix allure attaches for failover test
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2022-12-16 11:51:48 +03:00
ee204528b8 fix lock_mode
Signed-off-by: Yulia Kovshova <y.kovshova@yadro.com>
2022-12-15 16:44:18 +03:00
aa957639ec Fix policy test s3
Signed-off-by: Yulia Kovshova <y.kovshova@yadro.com>
2022-12-14 14:07:24 +03:00
4003d0115c Fix s3 range tests
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2022-12-14 11:22:11 +03:00
f89d66817b Add drop locked objects tests
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2022-12-13 14:59:04 +03:00
2f04775fce Fix delete all objects in bucket
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2022-12-13 11:40:56 +03:00
3497f3b23a Add load_param file, delete old tests, new universal, parametrized test, add stop unused nodes function.
Signed-off-by: a.lipay <a.lipay@yadro.com>
2022-12-12 19:14:17 +03:00
15677e89eb Add load_param file, delete old tests, new universal, parametrized test, add stop unused nodes function.
Signed-off-by: a.lipay <a.lipay@yadro.com>
2022-12-12 19:14:17 +03:00
1bb640a0db Add load_param file, delete old tests, new universal, parametrized test, add stop unused nodes function.
Signed-off-by: a.lipay <a.lipay@yadro.com>
2022-12-12 19:14:17 +03:00
614031a53a Fix s3 object tests after remove obj size hardcode
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2022-12-09 14:45:30 +03:00
ddf6406e10 fix generate file in http test
Signed-off-by: Vladislav Karakozov <v.karakozov@yadro.com>
2022-12-09 14:35:43 +03:00
bceea1926a Fix after remove obj size hardcode
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2022-12-09 14:34:10 +03:00
00bf387f34 Update shards test
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2022-12-09 11:59:37 +03:00
6230d2244e create http folder, and adding a new test for http attributes
Signed-off-by: Vladislav Karakozov <v.karakozov@yadro.com>
2022-12-08 17:24:20 +03:00
3afdaa0e2a Small fixes for tests
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2022-12-08 13:27:50 +03:00